Auto-tools/Projects/Pandaboard Setup/Using Linaro Prebuilt Image
< Auto-tools | Projects | Pandaboard Setup
- Download image from http://releases.linaro.org/12.05/android/leb-panda/
- Write to SD card
- Mount SD card on computer
- Download and run install-binaries.sh script to install graphics drivers to SD card
- Locate boot partition on SD card, modify boot.txt (u-boot script) line to read:
- setenv initrd_high "0xffffffff"
- setenv fdt_high "0xffffffff"
- setenv bootargs "console=ttyO2,115200n8 rootwait ro earlyprintk fixrtc nocompcache vram=48M omapfb.vram=0:24M,1:24M mem=456M@0x80000000 mem=512M@0xA0000000 init=/init androidboot.console=ttyO2 omapdss.def_disp=dvi omapfb.mode=dvi:1024x768MR-24@60 consoleblank=0"
- setenv bootandroid "echo Booting Android from SDcard; fatload mmc 0:1 0x80200000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80200000 0x81600000"
- setenv bootpxefirst "echo Launching PXE boot... ; if usb start; then set autoload no; bootp; setenv serverip 10.12.48.27; if pxe get; then pxe boot; else run bootandroid; fi; fi"
- run bootpxefirst
NOTE: to build the boot.scr without pxebooting, change 'run bootpxefirst' to 'run bootandroid'. This can be helpful for images being debugged or developed on since the pxeboot step adds a couple minutes to the boot time.
- Still in boot partition, regenerate boot.scr:
- mkimage -A arm -T script -O linux -C none -a 0 -e 0 -n "boot.scr" -d boot.txt boot.scr
- Put SD card in pandaboard and boot it
- adb shell date $(date +%s)
- Fix DHCP on eth0 by loading Settings app on device, click "Ethernet Configuration" under "Wireless & Networks", click "Ethernet Configuration", then click on the list under "Ethernet Devices" and select "eth0". Click "Save".
- Replace su command (from adb shell):
- mount -o remount,rw -t ext4 /dev/block/mmcblk0p2 /system
- cp /system/xbin/su /system/xbin/su.old
- cp /system/bin/sh /system/xbin/su
- To get rid of annoying live wallpaper, install http://code.google.com/p/black-npe-live-wallpaper/ (wallpaper images fail due to not enough gfx memory)
- Install SUTAgent and Watcher