source: CROS-TOOL-VMWARE/イメージファイルの説明.txt@ 98

Last change on this file since 98 was 98, checked in by kztaka, 8 years ago

armのクロスコンパイラセットアップ済み の
ubuntu1404 x96 VMware Player 6.x イメージです。
mruby-on-asp+tecs_for_ev3_package-141118.tar.gz
がビルドできることを確認しています。

File size: 4.4 KB
Line 
1‰º‹Lƒƒ‚‚Å‚·‚ªAVMWAREƒCƒ[ƒW‚́A‰º‹L@4.2‚Ü‚ÅŽÀŽ{‚µ‚½‚à‚Ì‚É‚È‚è‚Ü‚·B
2i@ubuntu14.04 32bit”łɂāj
3TECS‚ðƒrƒ‹ƒh‚·‚é‚ɂ́A4.3‚©‚çŽÀŽ{‚¢‚½‚¾‚¯‚é‚ÆŽv‚¢‚Ü‚·B
4
52015.6.2 ƒAƒ‰ƒCƒuƒrƒWƒ‡ƒ“ƒ\ƒtƒgƒEƒFƒAŠ”Ž®‰ïŽÐ@ûü‹´
6----------------------------------------------------------------
7
81.‘ΏۃpƒbƒP[ƒW
9@mruby-on-asp+tecs_for_ev3_package-141118.tar.gz
10 ‚Å‚·B@‚±‚ê‚Í‚Ç‚±‚©‚ÉŒöŠJ‚³‚ê‚Ä‚¢‚é‚©‚Ç‚¤‚©‚æ‚­‚í‚©‚è‚Ü‚¹‚ñB
11@‚Æ‚è‚ ‚¦‚¸‚±‚ê‚Å‚·‚Æ‚¢‚¤‚±‚ƂŃRƒs[‚ð“n‚³‚ê‚Ü‚µ‚½B
12
132.ŠÂ‹«
14@Windows8.1 64bit
15 Vmware6.05
16 ubuntu12.04 32bit (ubuntu japanese Team‚ª”z•z‚µ‚Ä‚¢‚é‚à‚́j
17
18’ljÁ‚ÅŠm”F‚µ‚½ŠÂ‹«
19@ubuntu14.04 32bit”Å
20
213.‘¼‚É•K—v‚È‚à‚Ì
22@TOPPERS‚̃Rƒ“ƒtƒBƒOƒŒ[ƒ^@linux 32—p
23https://www.toppers.jp/download.cgi/cfg-mingw-static-1_9_4.zip
24 microSDƒJ[ƒh@FATƒtƒH[ƒ}ƒbƒg
25
26’ù³
27> @TOPPERS‚̃Rƒ“ƒtƒBƒOƒŒ[ƒ^@linux 32—p
28> https://www.toppers.jp/download.cgi/cfg-mingw-static-1_9_4.zip
29--> ³‚µ‚­‚́@https://www.toppers.jp/download.cgi/cfg-linux-static-1_9_4.gz
30
31
324.Žè‡
334.1.armƒc[ƒ‹ƒ`ƒF[ƒ“‚̍\’z
34http://dev.toppers.jp/trac_user/ev3pf/wiki/DevEnvLinux
35‚ðƒx[ƒX‚ɍ\’z‚µ‚Ü‚·@‚ªAubuntu12.04‚Í‚à‚Ì‚ªŒÃ‚¢‚Ì‚Å‚»‚Ì‚Ü‚Ü‚Å‚«‚Ü‚¹‚ñ
36
37‚»‚ê‚Å
38$ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi
39$ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
40$ sudo apt-get update
41
42‚±‚±‚Ü‚Å‚Í“¯‚¶
43
44ˆÈ‰º
45$ sudo apt-get install gcc-arm-none-eabi=4.9.3.2014q4-0trusty12 u-boot-tools libboost1.55-all-dev
46‚±‚ê‚ð
47$ sudo apt-get install gcc-arm-none-eabi u-boot-tools libboost1.46-all-dev
48‚É‚µ‚½‚çAƒCƒ“ƒXƒg[ƒ‹‚Í‚Å‚«‚Ü‚µ‚½B@ƒo[ƒWƒ‡ƒ“‚Ì–â‘肪‚ ‚é‚©‚à‚µ‚ê‚Ü‚¹‚ñB
49
50Ubuntu1404 x86‚Å‚Í
51ƒRƒ“ƒpƒCƒ‰‚̃Cƒ“ƒXƒg[ƒ‹‚͈ȉº‚ÅŽÀŽ{
52 $ sudo apt-get install gcc-arm-none-eabi u-boot-tools libboost1.55-all-dev
53
544.2.ƒc[ƒ‹ƒ`ƒF[ƒ“ˆÈŠO‚̃c[ƒ‹‚̃Cƒ“ƒXƒg[ƒ‹
55@ruby ‚Ɓ@bison ‚ð“ü‚ê‚Ü‚·
56#sudo apt-get install ruby bison
57‚Å‚¢‚¯‚½‚ÆŽv‚¢‚Ü‚·B
58
594.3.mruby–{‘̂̃rƒ‹ƒh
60@‰ð“€ƒpƒbƒP[ƒW‚̃‹[ƒg‚ðˆÈ‰º@HOME‚Æ‹LÚ‚µ‚Ü‚·B
61@cd HOME/mruby
62 make
63 ‚Åmake‚µ‚Ü‚·B
64
654.4. ƒRƒ“ƒtƒBƒMƒ…
66ƒŒ[ƒ^‚ðTOPPERSƒz[ƒ€ƒy[ƒW‚©‚玝‚Á‚Ä‚«‚Ü‚·
67@@HOME/asp+tecs/cfg/cfg ‚̃fƒBƒŒƒNƒgƒŠ‚Ɂ@cfg‚ð’u‚«‚Ü‚·
68@@ƒtƒ‹ƒpƒX‚́@HOME/asp+tecs/cfg/cfg/cfg ‚É‚È‚è‚Ü‚·B
69
704.5. ƒTƒ“ƒvƒ‹‚ÌMakefileC³
71@ƒTƒ“ƒvƒ‹‚͈ȉº‚̃fƒBƒŒƒNƒgƒŠ‚É•¡”‚ ‚è‚Ü‚·B
72@@HOME/asp+tecs/ev3_samples
73 ¡‰ñ‚Í
74@@HOME/asp+tecs/ev3_samples/mruby_linetrace
75 ‚Æ‚µ‚Ü‚µ‚½B
76@‚»‚̃fƒBƒŒƒNƒgƒŠ‚ÌMakefile‚ðgenerater‚ðlinux—p‚ɃRƒƒ“ƒg‚ð•ÏX‚µ‚Ü‚·B
77@125s–Ú‚®‚ç‚¢‚ŁAˆÈ‰º‚̂悤‚É‚µ‚Ü‚·B
78#
79# TECSƒCƒ“ƒ^ƒtƒF[ƒXƒWƒFƒlƒŒ[ƒ^ŠÖŒW‚Ì’è‹`
80#
81#TECSGEN = $(SRCDIR)/../bin/tecsgen.exe -k euc
82
83#tecsgen.rb (ruby + racc)‚ð—˜—p‚·‚éê‡‚͉º‹L‚ÌRUBYLIB‚ÆTECSGEN‚Ì’è‹`‚ð—˜—p‚·‚é
84RUBYLIB = $(SRCDIR)/../tecsgen/tecsgen
85TECSGEN =$(RUBY) $(SRCDIR)/../tecsgen/tecsgen/tecsgen.rb -L $(RUBYLIB)
86
87 1sƒRƒƒ“ƒgƒAƒEƒgA2sƒRƒƒ“ƒg‚©‚ç•œŠˆ
88
894.6 ƒrƒ‹ƒh‚ÌŽÀs
90@#make tecs
91 ‚Åtecs‚̃WƒFƒlƒŒ[ƒ^‚ª“®‚­‚»‚¤‚Å‚·B
92@‚»‚ÌŒã
93@#make
94 ‚ŁB@asp.bin ‚Ü‚Å‚Å‚«‚½‚ç‚n‚j@ÅŒãˆÈ‰º‚̂悤‚ɃGƒ‰[‚É‚È‚è‚Ü‚·B
95
96../../../bin/mkimage.exe -A arm -O linux -T kernel -C none -a 0xc0008000 -e 0xc0008000 -n "TOPPERS/ASP Kernel with TECS(EV3)" -d asp.bin uImage
97../../../bin/mkimage.exe: 1: ../../../bin/mkimage.exe: ‚à‚¶‚΂¯: not found
98../../../bin/mkimage.exe: 2: ../../../bin/mkimage.exe: Syntax error: newline unexpected
99make: *** [uImage] ƒGƒ‰[ 2
100
1014.7 Windows‚̃Rƒ}ƒ“ƒhƒvƒƒ“ƒvƒg‚ÅuImage‚ðì¬
102@@mkimage.exe‚ªWindows‚̃vƒƒOƒ‰ƒ€‚Ȃ̂ŁAWindows‚ɃRƒs[‚µ‚ÄŽÀs‚µ‚Ü‚·B
103@@asp.bin‚à‡‚킹‚āAWindows‚ɃRƒs[‚µ‚Ü‚·B
104
105
106D:\usr\share\WK\TECS>mkimage.exe -A arm -O linux -T kernel -C none -a 0xc0008000
107 -e 0xc0008000 -n "TOPPERS/ASP Kernel with TECS(EV3)" -d asp.bin uImage
108Image Name: TOPPERS/ASP Kernel with TECS(EV3
109Created: Mon Mar 23 23:01:54 2015
110Image Type: ARM Linux Kernel Image (uncompressed)
111Data Size: 417016 Bytes = 407.24 kB = 0.40 MB
112Load Address: c0008000
113Entry Point: c0008000
114
115D:\usr\share\WK\TECS>dir
116 ƒhƒ‰ƒCƒu D ‚̃{ƒŠƒ…
117[ƒ€ ƒ‰ƒxƒ‹‚Í ƒ{ƒŠƒ…
118[ƒ€ ‚Å‚·
119 ƒ{ƒŠƒ…
120[ƒ€ ƒVƒŠƒAƒ‹”ԍ†‚Í 364F-86A5 ‚Å‚·
121
122 D:\usr\share\WK\TECS ‚̃fƒBƒŒƒNƒgƒŠ
123
1242015/03/23 23:01 <DIR> .
1252015/03/23 23:01 <DIR> ..
1262015/03/22 16:22 417,016 asp.bin
1272014/11/17 21:34 44,544 mkimage.exe
1282015/03/23 23:01 417,080 uImage
129 3 ŒÂ‚̃tƒ@ƒCƒ‹ 878,640 ƒoƒCƒg
130 2 ŒÂ‚̃fƒBƒŒƒNƒgƒŠ 371,264,856,064 ƒoƒCƒg‚̋󂫗̈æ
131
132D:\usr\share\WK\TECS>
133
134‚Æ‚È‚Á‚½‚çOK‚È‚Í‚¸‚Å‚·B
135uImage‚ð@microSD‚ɃRƒs[‚·‚ê‚΂¢‚¢‚Í‚¸‚Å‚·B
136‚±‚̐æ‚́AEV3‚ª‚È‚¢‚Ì‚ÅŽŽ‚¹‚Ä‚¢‚Ü‚¹‚ñB
137
138
Note: See TracBrowser for help on using the repository browser.