Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

How to get the Android distribution

1,093 bytes added, 09:16, 23 February 2011
Build Android Froyo from sources
=== Build Android Froyo from sources ===
'''...WORK IN PROGRESS...'''
Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
$ wget http://downloads.igep.es/binaries/x-loader/v1.4.4-1/x-load-1.4.4-1.igep0020-sdcard.bin.ift
$ wget http://downloads.igep.es/binaries/u-boot-arm/v2010.06-1/u-boot-arm-2010.06-1.igep0020.bin
 
Create ONE of these scripts (boot.source)
 
*'''a) DM3730 + DVI 1280x720 '''
 
mmc init 0
fatload mmc 0 80200000 uImage
setenv bootargs 'mem=71M@0x80000000 mem=384M@0x88000000 console=tty0 console=ttyS2,115200n8 \
androidboot.console=ttyS2 root=/dev/mmcblk0p2 rw rootfstype=ext3 init=/init rootwait ip=off \
omap_vout.vid1_static_vrfb_alloc=y omapfb.mode=dvi:1280x720MR-16 mpurate=1000'
bootm 0x80200000
 
*'''b) DM3730 + Seiko 7.0 inch WVGA (800 x RGB x 480) TFT with Touch-Panel '''
mmc init 0
setenv bootargs 'mem=71M@0x80000000 mem=384M@0x88000000 console=tty0 console=ttyS2,115200n8 \
androidboot.console=ttyS2 root=/dev/mmcblk0p2 rw rootfstype=ext3 init=/init rootwait ip=off \
omap_vout.vid1_static_vrfb_alloc=y omapdss.def_disp=lcd-70 omapfb.mode=dvi:1280x720MR-16 mpurate=8001000'
bootm 0x80200000
 
*'''c) DM3730 + Powertip 4.3 inch (480 x RGB x 272) TFT with Touch-Panel (not tested yet) '''
 
mmc init 0
fatload mmc 0 80200000 uImage
setenv bootargs 'mem=71M@0x80000000 mem=384M@0x88000000 console=tty0 console=ttyS2,115200n8 \
androidboot.console=ttyS2 root=/dev/mmcblk0p2 rw rootfstype=ext3 init=/init rootwait ip=off \
omap_vout.vid1_static_vrfb_alloc=y omapdss.def_disp=lcd-70 omapfb.mode=dvi:1280x720MR-16 mpurate=1000'
bootm 0x80200000
 
and build the u-boot script with
$ mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Boot setup script' -d boot.source boot.scr
finally create the sdcard with the mkmmc-android.sh scriptdownload some media samples
$ mkdir Mediawget http://downloads.igep.es/files/media-samples.tar.gz $ tar xzf media-samples.tar.gz
copy media files to Media directoryfinally create the sdcard with the mkmmc-android.sh script
$ wget http://downloads.igep.es/android/froyo-2.2/mkmmc-android.sh
$ sudo ./mkmmc-android.sh <device> x-load-1.4.4-1.igep0020-sdcard.bin.ift u-boot-arm-2010.06-1.igep0020.bin kernel/arch/arm/boot/uImage boot.scr froyo-rootfs.tar.bz2 Mediamedia-samples
'''Warning:''' Provide the right device name after the script name when you invoke the script. If you get this wrong it can wipe your HDD.
0
edits