Android
Jump to navigation
Jump to search
Build SD Card[edit | edit source]
venture@lab-ubuntu:~/android-sd-image/image_folder_om37$ sudo ./prepare-sd.sh --dev /dev/sdf --config config_am35.sd
[sudo] password for venture:
RootFS is a .TAR archive
Using the following software:
X-Loader:
Texas Instruments X-Loader 1.46 (May 11 2011 - 19:19:54)
U-Boot:
U-Boot 2009.11 (May 16 2012 - 19:03:07)
Boot.scr:
Image Name: Boot script
Created: Wed Aug 1 19:35:01 2012
Kernel:
Image Name: Linux-2.6.37+
Created: Wed Aug 1 21:36:46 2012
Creating partition table ... done.
Formatting the 1st partition ... done.
Formatting the 2nd partition ...
sync
sync
Loading u-boot[edit | edit source]
See LinuxBoard3.4
Default u-boot Environment[edit | edit source]
bootcmd=if mmc init; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=3
baudrate=115200
bootfile=uImage
loadaddr=0x82000000
usbtty=cdc_acm
console=ttyS2,115200n8
mmcargs=setenv bootargs console=${console} root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
nandargs=setenv bootargs console=${console} root=/dev/mtdblock4 rw rootfstype=jffs2
loadbootscript=fatload mmc 0 ${loadaddr} boot.scr
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
loaduimage=fatload mmc 0 ${loadaddr} uImage
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
nandboot=echo Booting from nand ...; run nandargs; onenand read ${loadaddr} 280000 400000; bootm ${loadaddr}
ethact=smc911x-0
filesize=6FA60
ethaddr=f8:dc:7a:00:f3:29
bootargs=mem=256M console=ttyS2,115200n8 noinitrd ethaddr=f8:dc:7a:00:f3:29 ip=dhcp
stdin=serial
stdout=serial
stderr=serial
Environment size: 958/131068 bytes
Android Shell[edit | edit source]
configure ethernet[edit | edit source]
netcfg eth0 up netcfg eth0 dhcp ifconfig eth0