[Armadillo:04096] Re: Atmark-dist上でKernelコンパイルエラーが発生します。対象方法ご教授

nakai email@hidden
2009年 3月 5日 (木) 19:19:30 JST


nakai$B$G$9!#(B

> make
> $B$9$k$H(B
> http://download.atmark-techno.com/misc/android/linux-a500fx-android-tmp-081210.bin.gz
> $B$HF1$8%$%a!<%8$,$G$-$k$O$:$G$9!#(B

$B$3$3$iJU$email@hidden@ITB-$G$9$M!#(B
$B"-$K%S%k%I<j=g$N0lMw$,=q$+$l$F$$$^$7$?!#(B
http://lists.atmark-techno.com/pipermail/armadillo/2008-December/003858.html

$B;29M$K$I$&$>!#(B

nakai $B$5$s$O=q$-$^$7$?(B:
> nakai$B$G$9!#(B
> 
> kernel$B$K(Bandroid$BMQ$N%Q%C%A$,Ev$?$C$F$$$J$$$+$i$8$c$J$$$G$7$g$&$+!)(B
> 
> http://download.atmark-techno.com/misc/android/linux-2.6.26-at-android-tmp-081210.patch
> 
> $B$rEv$F$?$"$H!"(B
> make armadillo500fx_dev_android_defconfig
> make
> $B$9$k$H(B
> http://download.atmark-techno.com/misc/android/linux-a500fx-android-tmp-081210.bin.gz
> $B$HF1$8%$%a!<%8$,$G$-$k$O$:$G$9!#(B
> 
> 
> $BKL=j(B $B90;J(B $B$5$s$O=q$-$^$7$?(B:
>> $BKL=j$G$9!#(B
>>
>> $B0J2<$NBP1~$G(BKernel$B$r:email@hidden$G$-$k$h$&$K$J$j$^$7$?!#(B
>> $B$"$j$,$H$&$4$6$$$^$7$?!#(B
>>> ATDE2$B$N(BDebian etch$B$N%3%s%=!<%k$G!"0J2<$N%3%^%s%I$r<B9T$7$F$/$@$5$$!#(B
>>> [PC ~]# apt-get update
>>> [PC ~]# apt-get install a500fx-development-environment
>> $B$7$+$7$J$,$i!":#EY$O$G$-$?(BKernel$B$G$N(BAndroid$B5/F0$GLdBj$,(B
>> $B:#EY$O0J2<$N<j=g$G(BKernel$B$r>h$;JQ$($F(BBOOT$B$9$k$N$G$9$,H/@8$7$F$$$^$9!#(B
>> $BLdBj$O!"(BLinux$B$ON)$A>e$,$k$N$G$9$,!"(BAndroid$B$rN)$A>e$2$k$H$-0J2<$N(B
>> $B%3%^%s%I$G(BSegmentation fault$B$H$J$jN)$A>e$,$j$^$;$s!#(B
>>
>> [Android$B5/F0;~$N%(%i!<FbMF(B]
>> # chroot /mnt/android /init
>> Segmentation fault
>>
>> Kernel$B$N(BConfigulation$B$KLdBj$,$"$k$H;W$&$N$G$9$,!"(B
>> $B$I$3$,0-$$$N$+$,J,$+$j$^$;$s(B
>> $B$J$K$+!"%R%s%H$dBP=hJ}K!Ey$,$"$j$^$7$?$iBP1~J}K!$N$465<x$NDx$*4j$$$7$^$9!#(B
>> ($B:#2s$3$N:n6H$,$&$^$/$$$1$P!"(BDriver$BEy$rDI2C$7$F$$$/M=Dj$G$"$j!"(B
>>  Kernel$B$N%3%s%Q%$%k$rI,MW$@$H9M$($F$$$^$9!#(B)
>>
>> $BA0Ds>r7o$H$7$F!"(B
>> Kernel$B$r>h$;$+$($kA0$K0J2<$N(BPage$B$K$"$k(B"Armadillo-500 FX$B$G(BAndroid$B$r;H$C$F$_$k(B"
>> $B$GL5;v$K<+F05/F0$GF0:n$5$;$F$*$j!"(BKernel$B$@$1$r>h$;JQ$($F$$$^$9!#(B
>> http://armadillo.atmark-techno.com/howto/try-android-on-armadillo
>> $B$h$C$F!"(BAndroid$B%f!<%6%i%s%I%$%a!<%8Ey$OJQ99$7$F$$$^$;$s!#(B
>>
>>  [PC$B4D6-(B]
>>  Core2Duo 2GHz/RAM 2GB WindowsXP Pro NotePC
>>  VMware Player V2.5.1 ($B8=:_F~<j$G$-$k:G?7HG(B)
>>  $B>e$G(BATDE$B$G%S%k%I(B
>>  
>>  [Download$B$7$?$b$N(B]
>>  $B0J2<$N(BArmadillo-500 $B:G?7%@%&%s%m!<%I%Z!<%8$h$j(B
>>  http://armadillo.atmark-techno.com/armadillo-500-fx/downloads
>>  $B-!(BATDE         V20071018
>>  $B-"(BAtmark-dist  V20090126
>>  $B-#(BLinux$B%+!<%M%k(B v2.6.26-at3
>>
>>  [$BA0Ds>r7o(B]
>>  $B-!(B Kernel$B$r>h$;$+$($kA0$K0J2<$N(BPage$B$K$"$k(B
>>     "Armadillo-500 FX$B$G(BAndroid$B$r;H$C$F$_$k(B"
>>     $B$GL5;v$K<+F05/F0$GF0:n$5$;$F$*$j!"(BKernel$B$@$1$r>h$;JQ$($F$$$^$9!#(B
>>     http://armadillo.atmark-techno.com/howto/try-android-on-armadillo
>>  $B-"(B VMware$B>e$N(BATDE$B>e$G0J2<$N%3%^%s%I$G4D6-$O(BUpdate$B:Q$_(B
>>     [PC ~]# apt-get update
>>     [PC ~]# apt-get install a500fx-development-environment
>>  
>>  [VMware$B>e$N(BLinux(ADTE)$B$G$N(Bmake & Kernel$B>h49(B & Armadillo$B5/F0<j=g(B]
>>  $B-!(BVMware$B>e$N(B/mnt/hgst/share$B%U%)%k%@$H(BWindwos$B$N%U%)%k%@$r6&email@hidden$9$k(B
>>    $B6&email@hidden$5$l$?%U%)%k%@$email@hidden$[$I(BDownload$B$7$F$-$?(BAtmark-disk,Linux
>>    $B%+!<%M%k$r3JG<(B
>>  $B-"(BGnome$BC<Kv>e$G(BAtmark-dist,Linux$B%+!<%M%k$rE83+(B
>>    tar zxvf /mnt/hgfs/share/atmark-dist-20090126.tar.gz
>>    .....
>>    tar zxvf /mnt/hgfs/share/linux2.6.26-at3.tar.gz
>>  $B-#(BGnome$BC<Kv>e$G(Batmark-dist$B4D6-$G(Blinux$B$r%j%s%/(B
>>    $cd atmark-dist-20090126
>>    $ln -s ../linux-2.6.26-at3 linux-2.6.x
>>  $B-$(BGnome$BC<Kv>e$G(Bmake config
>>    $ make config
>>    Vendor$B$N9`L\$G(BAtmarkTechno$B$HF~NO(B
>>    AtmarkTechno Products$B$N9`L\$G(BArmadillo-500-FX.dev$B$HF~NO(B
>>    Cross-dev$B$N9`L\$G(Bdefault$B$HF~NO(B
>>    Libc Version$B$N9`L\$G(BNone$B$HF~NO(B
>>    Default all settings$B$N9`L\$G(By$B$HF~NO(B
>>    Customize Kernel Settings$B$N9`L\$G(Bn$B$HF~NO(B
>>    Customize Vendor/User Settings$B$N9`L\$G(Bn$B$HF~NO(B
>>    Update Default Vendor Settings$B$N9`L\$G(Bn$B$HF~NO(B
>>  
>>    $B=PNO(B
>>    ....
>>    *** End of Linux kernel configuration.
>>    *** Check the top-level Makefile for additional configuration.
>>    *** Next, you must run 'make dep'.
>>    make[2]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126/config' $B$+(B
>>    $B$i=P$^$9(B
>>    make[1]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126' $B$+$i$i(B
>>    $B=P$^$9(B
>>
>>  $B-%(BGnome$BC<Kv>e$G(Bmake menuconfig
>>    - Kernel/Library/Defaults Selection  
>>              ---> [*] Customize Kernel Settings
>>       Do you wish to save your new kernel configuration?  <Yes>
>>    - Linux Kernel Configuration Menu
>>      Kernel Features  --->  
>>        [*] Preemptible Kernel (EXPERIMENTAL)
>>            $B$O$8$a$+$iA*$P$l$F$$$?$N$G$=$N$^$^(B
>>        [*] Use the ARM EABI to compile the kernel
>>            $BK\9`L\$rA*$Y$H$&$$(BAndroid$email@hidden;v$,B?$+$C$?$N$GA*Br(B
>>        [*]   Allow old ABI binaries to run with this kernel (EXPERIMENTA
>>            $B>e$rA*$Y$PK\9`L\$,=P$F$-$F(Bdefault$B$G(B[*]$B$H$J$C$?$N$G$3$N$^$^(B
>>      <ESC><ESC>$B$GH4$1(B
>>       Do you wish to save your new kernel configuration?
>>       <ESC><ESC> to continue.  <Yes>
>>  
>>  $B-&(BGnome$BC<Kv>e$G(Bmake dep all
>>  # make dep all
>>    ...0090126/images/linux.bin.gz >>
>>    /home/atmark/atmark-dist-20090126/images/linux.bin.gz
>>    make[1]: $B%G%#%l%/%H%j(B `/home/atmark/atmark-dist-20090126/vendors
>>    /AtmarkTechno/Armadillo-500-FX.dev' $B$+$i=P$^$9(B
>>  # ls -lt images/ 
>>    $B9g7W(B 31280
>>    -rwxr-xr-x 1 atmark atmark  3436884 2009-03-04 12:43 linux.bin
>>    -rw-r--r-- 1 atmark atmark  1706443 2009-03-04 12:43 linux.bin.gz
>>    -rw-r--r-- 1 atmark atmark  7562969 2009-03-04 12:43 romfs.img.gz
>>    -rw-r--r-- 1 atmark atmark 19267628 2009-03-04 12:43 romfs.img
>>
>>  $B-'(BImage$B$r(BWindows$B%"%W%j(B(Hermit.exe)$B$G=q$-9~$_(B
>>    - Armadillo$BB&(BJP4 Pin SHORT$B$7EE8;(BON
>>    - Hermit.exe$B5/F0(B
>>      Image  : linux.bin.gz
>>      Region : kernel
>>
>>  $B-((BArmadillo$B5/F0(B
>>    - Armadillo$BB&(BJP4 Pin OPEN$B$7EE8;(BON(reset)
>>      rc.local$B$K0J2<$NL?Na$G(BSegmentation Fault$BH/@8(B
>>         mount /dev/sda1 /mnt
>>           ---> $BL5;email@hidden(B Mount$B$7$F$$$k(B
>>         chroot /mnt/android /init
>>                Segmentation fault
>>
>>  $B-)(Broot$B$G(BLogin$B$7$F(B
>>    # df -k 
>> Filesystem           1k-blocks      Used Available Use% Mounted on
>> /dev/ram0                 8059      6348      1302  83% /
>> /dev/sda1               987096     83308    853644   9% /mnt
>>    # chroot /mnt/android /init
>>      Segmentation fault
>>        ($B2hLL$OJQ99$5$l$J$$(B)
>>    # /mnt/android/init
>>      init: cannot open '/initlogo.rle'
>>      Segmentation fault
>>        ($B2hLL$O(BClear$B$5$l!"2hLLCf1{$h$j<c43$7$?$K(B ANDROID _ $B$NJ8;z$,I=<((B)
>>    Linux$B$OLdBj$J$/F0:nCf(B
>>
>>
>>  $B0J>e!"$h$m$7$/$*4j$$CW$7$^$9!#(B
>>  
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> armadillo mailing list
>> email@hidden
>> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo



armadillo メーリングリストの案内