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

Last change on this file since 164 was 111, checked in by kztaka, 7 years ago

コンパイラを バージョン4.8のものに入れ替えました

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