LoginSignup
4
3

dockerでathrill(アスリル) TOPPERSと相性のよいv850シミュレータ。docker(144)

Last updated at Posted at 2018-10-23

athrill

athrill2を使用してTOPPERS/ATK2-SC1を実行する
https://qiita.com/kanetugu2018/items/d07dac56c4f57ce10f65

TOPPERSを利用した模擬試験(simulation)ができる。
記事にあるgithubのbinフォルダの下にLinuxというフォルダがある。
https://github.com/tmori/athrill

きっとLinuxで動くのだろう。
athrillとathrill2の違いはわかっていない。
まず使ってみる。

<この項は書きかけです。順次追記します。>

Athrill is

licensed under the TOPPERS License Agreement (http://www.toppers.jp/en/license.html).

docker 導入手順(1)ひとまず入れたものをpullする場合

$ docker run -it kaizenjapan/athrill /bin/bash

kaizenjapan/athrillは、下記手順で作成したもの。

docker導入手順(2)OSから入れる。

まずubuntuを入れる。

$ docker run -it -p 8888:8888 ubuntu /bin/bash
Unable to find image 'ubuntu:latest' locally
latest: Pulling from library/ubuntu
473ede7ed136: Pull complete 
c46b5fa4d940: Pull complete 
93ae3df89c92: Pull complete 
6b1eed27cade: Pull complete 
Digest: sha256:29934af957c53004d7fb6340139880d23fb1952505a15d69a03af0d1418878cb
Status: Downloaded newer image for ubuntu:latest

ひとまず git clone。

root@f999ac124566:/# git clone https://github.com/tmori/athrill
bash: git: command not found

そうだった、素のubuntuはgitがない。

root@f999ac124566:/# apt-get update
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1364 B]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [235 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]  
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]                                                             
Get:11 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]                                                        
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [718 kB]                                                  
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [532 kB]                                                      
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6161 B]                                                
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [10.8 kB]                                               
Get:16 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [2975 B]                                                
Fetched 15.0 MB in 12s (1284 kB/s)                                                                                                       
Reading package lists... Done

apt でgit導入

root@f999ac124566:/# apt install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  ca-certificates git-man krb5-locales less libasn1-8-heimdal libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm-compat4
  libgdbm5 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
  libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14 libperl5.26 libpsl5
  libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.0.0 libssl1.1 libwind0-heimdal
  libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 multiarch-support netbase openssh-client openssl patch perl
  perl-modules-5.26 publicsuffix xauth
Suggested packages:
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n
  krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make
The following NEW packages will be installed:
  ca-certificates git git-man krb5-locales less libasn1-8-heimdal libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1
  libgdbm-compat4 libgdbm5 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
  libhx509-5-heimdal libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libnghttp2-14
  libperl5.26 libpsl5 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.0.0 libssl1.1
  libwind0-heimdal libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 multiarch-support netbase openssh-client openssl
  patch perl perl-modules-5.26 publicsuffix xauth
0 upgraded, 54 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.6 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 multiarch-support amd64 2.27-3ubuntu1 [6916 B]

(中略)

Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.

gitでathrill導入

root@f999ac124566:/# git clone https://github.com/tmori/athrill
Cloning into 'athrill'...
remote: Enumerating objects: 18, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 13117 (delta 4), reused 14 (delta 3), pack-reused 13099
Receiving objects: 100% (13117/13117), 122.68 MiB | 2.95 MiB/s, done.
Resolving deltas: 100% (8511/8511), done.
Checking out files: 100% (19064/19064), done.

athrillは実行可能。
athrill2が実行可能になっていなかった。

root@f999ac124566:/# ls
athrill  bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@f999ac124566:/# cd athrill/
root@f999ac124566:/athrill# ls
README.ja.md         bin     sample  toppers-contest-application-cover-2017.doc  toppers-contest-application-cover-2018.pdf
README.md            design  test    toppers-contest-application-cover-2017.pdf  trunk
athrill-manual.xlsx  input   tools   toppers-contest-application-cover-2018.doc
root@f999ac124566:/athrill# cd bin
root@f999ac124566:/athrill/bin# ls
linux  windows
root@f999ac124566:/athrill/bin# cd linux
root@f999ac124566:/athrill/bin/linux# ls
athrill  athrill2  athrill_extfunc.sh  athrill_remote  geany.sh  variable_conflict_check.groovy  variable_conflict_check.sh
root@f999ac124566:/athrill/bin/linux# athrill2 -i -c1 -m memory.txt -d device_config.txt atk2-sc1
bash: athrill2: command not found
root@f999ac124566:/athrill/bin/linux# ls
athrill  athrill2  athrill_extfunc.sh  athrill_remote  geany.sh  variable_conflict_check.groovy  variable_conflict_check.sh
root@f999ac124566:/athrill/bin/linux# ls -al
total 2872
drwxr-xr-x 2 root root    4096 Oct 23 04:14 .
drwxr-xr-x 4 root root    4096 Oct 23 04:14 ..
-rwxr-xr-x 1 root root 1359864 Oct 23 04:14 athrill
-rw-r--r-- 1 root root 1528160 Oct 23 04:14 athrill2
-rwxr-xr-x 1 root root      18 Oct 23 04:14 athrill_extfunc.sh
-rwxr-xr-x 1 root root   21088 Oct 23 04:14 athrill_remote
-rwxr-xr-x 1 root root     437 Oct 23 04:14 geany.sh
-rwxr-xr-x 1 root root    2391 Oct 23 04:14 variable_conflict_check.groovy
-rwxr-xr-x 1 root root     102 Oct 23 04:14 variable_conflict_check.sh
root@f999ac124566:/athrill/bin/linux# ./athrill2 -i -c1 -m memory.txt -d device_config.txt atk2-sc1
bash: ./athrill2: Permission denied
root@f999ac124566:/athrill/bin/linux# sudo ./athrill2 -i -c1 -m memory.txt -d device_config.txt atk2-sc1
bash: sudo: command not found
root@f999ac124566:/athrill/bin/linux# apt-get install sudo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 428 kB of archives.
After this operation, 1765 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 sudo amd64 1.8.21p2-3ubuntu1 [428 kB]
Fetched 428 kB in 3s (145 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package sudo.
(Reading database ... 7785 files and directories currently installed.)
Preparing to unpack .../sudo_1.8.21p2-3ubuntu1_amd64.deb ...
Unpacking sudo (1.8.21p2-3ubuntu1) ...
Setting up sudo (1.8.21p2-3ubuntu1) ...
root@f999ac124566:/athrill/bin/linux# chmod +x athrill2

athrill2実行

root@f999ac124566:/athrill/bin/linux# ./athrill2 -i -c1 -m memory.txt -d device_config.txt atk2-sc1
ERROR can not open atk2-sc1
ERROR: not found devcfg(device_config.txt)

関連ファイルのあるところで実行せねば。

root@f999ac124566:/athrill/bin/linux# ls -al
total 2872
drwxr-xr-x 2 root root    4096 Oct 23 04:14 .
drwxr-xr-x 4 root root    4096 Oct 23 04:14 ..
-rwxr-xr-x 1 root root 1359864 Oct 23 04:14 athrill
-rwxr-xr-x 1 root root 1528160 Oct 23 04:14 athrill2
-rwxr-xr-x 1 root root      18 Oct 23 04:14 athrill_extfunc.sh
-rwxr-xr-x 1 root root   21088 Oct 23 04:14 athrill_remote
-rwxr-xr-x 1 root root     437 Oct 23 04:14 geany.sh
-rwxr-xr-x 1 root root    2391 Oct 23 04:14 variable_conflict_check.groovy
-rwxr-xr-x 1 root root     102 Oct 23 04:14 variable_conflict_check.sh
root@f999ac124566:/athrill/bin/linux# find / -name memory.txt -print
/athrill/sample/os/asp3/OBJ/memory.txt
/athrill/sample/os/atk2-sc1-mc_1.4.2/OBJ/memory.txt
/athrill/sample/os/atk2-sc1_1.4.2/OBJ/memory.txt
/athrill/sample/athrill2/ros/node2/memory.txt
/athrill/sample/athrill2/ros/node1/memory.txt
/athrill/sample/athrill2/mputest/build/memory.txt
/athrill/sample/athrill2/mputest2/build/memory.txt
/athrill/sample/barmetal/build/v850esfk3/memory.txt
/athrill/sample/barmetal/step5/memory.txt
/athrill/sample/barmetal/step4/memory.txt
/athrill/sample/barmetal/mputest/memory.txt
/athrill/sample/barmetal/step6/memory.txt
/athrill/test/test_os/asp3/OBJ/memory.txt
/athrill/test/test_os/asp/OBJ/memory.txt
/athrill/test/config/memory.txt
root@f999ac124566:/athrill/bin/linux# find / -name device_config.tx -print
root@f999ac124566:/athrill/bin/linux# find / -name atk2-sc1 -print
/athrill/sample/os/atk2-sc1_1.4.2/OBJ/atk2-sc1

あれ、device_config.txtはいずこ。

at1.png

あった。device_config.txで検索してた。

TOPPERS/ATK2カーネル向け実機レス環境(athrill2)
https://qiita.com/kanetugu2018/items/75dadc340f3db2a344ab

root@f999ac124566:/athrill/sample/athrill2/mputest/build# cd ..
root@f999ac124566:/athrill/sample/athrill2/mputest# cd ..
root@f999ac124566:/athrill/sample/athrill2# ls
mputest  mputest2  ros
root@f999ac124566:/athrill/sample/athrill2# cd mputest2
root@f999ac124566:/athrill/sample/athrill2/mputest2# ls
build  inc  kernel  user  user1  user2
root@f999ac124566:/athrill/sample/athrill2/mputest2# cd build
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# ls
Makefile  device_config.txt  memory.txt  v850asm.inc  v850e2m.ld
root@f999ac124566:/athrill/sample/athrill2/mputest2/build#  athrill2 -i -d device_config.txt -m memory.txt -c1 mputest.elf
bash: athrill2: command not found

pathが切ってなかった。full pathで実行。

root@f999ac124566:/athrill/sample/athrill2/mputest2/build# /athrill/bin/linux/athrill2 -i -m memory.txt -d device_config.txt -c1 mputest.elf
ERROR can not open mputest.elf
core id num=1
ROM : START=0x0 SIZE=512
ROM : START=0x100000 SIZE=512
ROM : START=0x200000 SIZE=512
RAM : START=0x6000000 SIZE=512
RAM : START=0x7000000 SIZE=512
RAM : START=0x8000000 SIZE=512
RAM : START=0x9000000 SIZE=512
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# make clean;make
bash: make: command not found
bash: make: command not found
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# apt-get install make
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 154 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Fetched 154 kB in 2s (87.2 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package make.
(Reading database ... 7840 files and directories currently installed.)
Preparing to unpack .../make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Setting up make (4.1-9.1ubuntu1) ...
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# make clean;make
rm -f start.o vector.o interrupt.o interrupt_table.o timer.o interrupt_asm.o main.o kernel_task.o kernel_service.o svc_asm.o user1_task.o user2_task.o user_shared_data.o mputest.elf *.map *.dump
v850-elf-gcc -c -I. -I../../../../trunk/src/config/target/v850e2m -I../kernel -I../user -I../inc -O0 -mdisable-callt -mno-app-regs -mtda=0 -gdwarf-2 -Wall -Wno-unused-label -Wpointer-arith  -mv850e2v3 -Wa,-mno-bcond17 -msoft-float -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow ../kernel/start.S
make: v850-elf-gcc: Command not found
Makefile:51: recipe for target 'start.o' failed
make: *** [start.o] Error 127
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# apt-get install v850-elf-gcc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package v850-elf-gcc
root@f999ac124566:/athrill/sample/athrill2/mputest2/build# 

athrill(アスリル)機能マニュアル
https://qiita.com/kanetugu2018/items/cf3dea16710a3f0737e8

root@f999ac124566:/athrill/sample/barmetal/build# find / -name *.elf -print
/athrill/trunk/src/test/target/v850esfk3/test/add1/test_main.elf
/athrill/sample/athrill2/mputest/build/mputest.elf

root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1# pwd
/athrill/trunk/src/test/target/v850esfk3/test/add1
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1#  /athrill/bin/linux/athrill -i -m memory.txt -d device_config.txt -1 test_main.elf
/athrill/bin/linux/athrill: invalid option -- '1'
parse_args:error! '?' '1'
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1#  /athrill/bin/linux/athrill -i -m memory.txt -d device_config.txt -c1 test_main.elf
ERROR: not found devcfg(device_config.txt)
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1# cp /athrill/sample/athrill2/mputest2/build/device_config.txt .
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1# /athrill/bin/linux/athrill -i -m memory.txt -d device_config.txt -c1 test_main.elf
ERROR: not found memory.txt(memory.txt)
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1# cp /athrill/sample/athrill2/mputest2/build/memory.txt .
root@f999ac124566:/athrill/trunk/src/test/target/v850esfk3/test/add1# /athrill/bin/linux/athrill -i -m memory.txt -d device_config.txt -c1 test_main.elf
core id num=1
ROM : START=0x0 SIZE=512
ROM : START=0x100000 SIZE=512
ROM : START=0x200000 SIZE=512
RAM : START=0x6000000 SIZE=512
RAM : START=0x7000000 SIZE=512
RAM : START=0x8000000 SIZE=512
RAM : START=0x9000000 SIZE=512
Elf loading was succeeded:0x0 - 0x4670 : 17.624 KB
Elf loading was succeeded:0x4670 - 0x4a74 : 0.0 KB
ELF SYMBOL SECTION LOADED:index=15
ELF SYMBOL SECTION LOADED:sym_num=198
ELF STRING TABLE SECTION LOADED:index=16
search_region:not found error:addr=0x3ff7000
search_region:not found error:addr=0x3ff7400
[DBG>
HIT break:0x0
[NEXT> pc=0x0 vector.S 6
b user_task
ERROR: not found symbol user_task
[DBG>c
[CPU>search_region:not found error:addr=0x3ff73fc
Exec Error code[0]=0xff63 code[1]=0x5 type_id=0x6
CPU(pc=0x864) Exception!!
[NEXT> pc=0x864 main.c 19
cpu
PC		0x864 main(+0x2)
R0		0x0
R1		0x0
R2		0x0
R3		0x3ff73f8 stack_data(+0x3f8) Stack Pointer
R4		0x0
R5		0x0
R6		0x0 Arg1
R7		0x0 Arg2
R8		0x0 Arg3
R9		0x0 Arg4
R10		0x0 Return Value
R11		0x0
R12		0x0
R13		0x0
R14		0x0
R15		0x0
R16		0x0
R17		0x0
R18		0x0
R19		0x0
R20		0x0
R21		0x0
R22		0x0
R23		0x0
R24		0x0
R25		0x0
R26		0x0
R27		0x0
R28		0x0
R29		0x0
R30		0x0
R31		0x0
EIPC		0x0
EIPSW		0x0
ECR		0x0
PSW		0x8
FEPC		0x0
FEPSW 		0x0
CTBP		0x0
[DBG>n
search_region:not found error:addr=0x3ff73fc
Exec Error code[0]=0xff63 code[1]=0x5 type_id=0x6
CPU(pc=0x864) Exception!!
[NEXT> pc=0x864 main.c 19
[DBG>p
ERROR: p :command not found
[DBG>c
[CPU>search_region:not found error:addr=0x3ff73fc
Exec Error code[0]=0xff63 code[1]=0x5 type_id=0x6
CPU(pc=0x864) Exception!!
[NEXT> pc=0x864 main.c 19
p
ERROR: p :command not found
[DBG>w
ERROR: w :command not found
[DBG>c
[CPU>search_region:not found error:addr=0x3ff73fc
Exec Error code[0]=0xff63 code[1]=0x5 type_id=0x6
CPU(pc=0x864) Exception!!
[NEXT> pc=0x864 main.c 19
w
ERROR: w :command not found
[DBG>n
search_region:not found error:addr=0x3ff73fc
Exec Error code[0]=0xff63 code[1]=0x5 type_id=0x6
CPU(pc=0x864) Exception!!
[NEXT> pc=0x864 main.c 19

マルチコア対応仮想環境(athrill)を使用して TOPPERS/ATK2 を実行する
https://qiita.com/kanetugu2018/items/b43c5715124f42a0393d

メモリ保護対応版 athrill(アスリル) のご紹介
https://qiita.com/kanetugu2018/items/f2205475c4a4eae699c0

cd /athrill/sample/athrill2/mputest/build/

root@f999ac124566:/athrill/sample/athrill2/mputest/build# athrill2 -c1 -m memory.txt -d device_config.txt -i mputest.elf
bash: athrill2: command not found

root@f999ac124566:/athrill/sample/athrill2/mputest/build# /athrill/bin/linux/athrill2 -c1 -m memory.txt -d device_config.txt -i mputest.elf
core id num=1
ROM : START=0x0 SIZE=512
ROM : START=0x100000 SIZE=512
RAM : START=0x6000000 SIZE=512
RAM : START=0x7000000 SIZE=512
Elf loading was succeeded:0x0 - 0xff8 : 3.1016 KB
Elf loading was succeeded:0xff8 - 0x1094 : 0.12 KB
Elf loading was succeeded:0x100000 - 0x100144 : 0.324 KB
ELF SYMBOL SECTION LOADED:index=22
ELF SYMBOL SECTION LOADED:sym_num=99
ELF STRING TABLE SECTION LOADED:index=23
[DBG>
HIT break:0x0
[NEXT> pc=0x0 vector.S 9
b user_task
break user_task 0x100000
[DBG>c
[CPU>Hello Kernel World!!

HIT break:0x100000 user_task(+0x0)
[NEXT> pc=0x100000 user_task.c 8
cpu
***CPU<0>***
PC		0x100000 user_task(+0x0)
R0		0x0
R1		0x0
R2		0x0
R3		0x7000400 Stack Pointer
R4		0x0
R5		0x0
R6		0xfb8 Arg1
R7		0x7 Arg2
R8		0x0 Arg3
R9		0x0 Arg4
R10		0xf0020 Return Value
R11		0x20
R12		0xfb8
R13		0x0
R14		0x0
R15		0x0
R16		0x0
R17		0x0
R18		0x0
R19		0x0
R20		0x0
R21		0x0
R22		0x0
R23		0x0
R24		0x0
R25		0x0
R26		0x0
R27		0x0
R28		0x0
R29		0x6000494 stack_data(+0x3f8)
R30		0x0
R31		0x100084 user_start(+0x24)
EIPC		0x0
EIPSW		0x0
ECR		0x0
PSW		0xf0000
SCCFG		0x2
SCBP		0x1000c0 svc_table(+0x0)
EIIC		0x0
FEIC		0x0
FEPC		0x0
FEPSW 		0x0
CTBP		0x0
EIWR		0x0
FEWR		0x0
BSEL		0x0
VSECR = 0x00000000
VSTID = 0x00000000
VSADR = 0x00000000
VMECR = 0x00000000
VMTID = 0x00000000
VMADR = 0x00000000
MPM = 0x00000003
MPC = 0x00000000
TID = 0x00000000
IPA1L = 0x00100001 IPA1U = 0x001ffff3 mask_method = 0
 al = 0x00100000 au = 0x001fffff
 enable_read = 1 enable_exec = 1
DPA2L = 0x07000001 DPA2U = 0x070ffff6 mask_method = 0
 al = 0x07000000 au = 0x070fffff
 enable_read = 1 enable_write = 1
[DBG> pc=0x100090 svc_asm.S 181
ERROR:  pc=0x100090 svc_asm.S 181 :command not found
[DBG>n
[DONE> core0 pc=0x100000 user_task(+0) 0x100000: ADD imm5(-16),r3(117441536):117441520
[NEXT> pc=0x100002 user_task.c 8
[DBG>^Z
[1]+  Stopped                 /athrill/bin/linux/athrill2 -c1 -m memory.txt -d device_config.txt -i mputest.elf
root@f999ac124566:/athrill/sample/athrill2/mputest/build# 

docker hubに登録

クロスコンパイラはまだ入っていない。

$ docker commit f999ac124566  kaizenjapan/ubuntu-athrill
sha256:37c8169cdd146efa5f83d85160256eddd69c5721f8a93383f957b1f0e6d71a53
OgawaKishinoMBP:python ogawakiyoshi$ docker push kaizenjapan/ubuntu-athrill
The push refers to repository [docker.io/kaizenjapan/ubuntu-athrill]
c3c46869cab8: Pushing [===>                                               ]  37.85MB/593.6MB
76c033092e10: Mounted from library/ubuntu 
2146d867acf3: Mounted from library/ubuntu 
ae1f631f14b7: Mounted from library/ubuntu 
102645f1cf72: Mounted from library/ubuntu 

クロスコンパイラの作成は、現在作業中

64bitCPUへの道 and/or 64歳の決意(1)V850/RH850 gcc 64bit
https://qiita.com/kaizen_nagoya/items/9934c0f9911ad29779b5

画面表示

画面表示をブラウザ、X-windowのいずれで出すか検討中。

dockerで画面表示
https://qiita.com/kaizen_nagoya/items/a353862ec69fccce8bc2

参考文献(reference)

TOPPERSまとめ #名古屋のIoTは名古屋のOSで
https://qiita.com/kaizen_nagoya/items/9026c049cb0309b9d451

Ethernet 記事一覧 Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48)
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網(Wi-Fi)空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

小川清最終講義、小川清最終講義(再)計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>

文書履歴(document history)

ver. 0.10 初稿 20181023 午後
ver. 0.11 docker pull, push 20181023 夕
ver. 0.12 はじめの記述整理 20181024 朝
ver. 0.13 参考文献、タグ追記 20181025
ver. 0.14 画面表示 追記 20181027

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3