2011-11-07 00:01:51 +00:00
|
|
|
#compile kernel and make boot.img/recovery.img
|
2011-11-06 23:26:22 +00:00
|
|
|
#make ARCH=arm CROSS_COMPILE=arm-none-eabi-
|
2011-11-06 23:48:03 +00:00
|
|
|
mkbootimg --kernel zImage --ramdisk initrd.gz --cmdline "" --base 0x11800000 -o android_boot.img
|
2011-11-07 00:03:59 +00:00
|
|
|
mkbootimg --cmdline "" --base 0x11800000 --kernel zImage --ramdisk initrd.gz -o boot.img
|
2011-11-06 23:50:25 +00:00
|
|
|
mkbootimg --base 0x11800000 --cmdline "no_console_suspend=0" --kernel zImage --ramdisk initrd.gz -o android_boot.img
|
2011-11-07 00:01:51 +00:00
|
|
|
|
|
|
|
#create initrd.gz
|
|
|
|
find . | cpio -o -H newc | gzip > ../initrd.gz
|
|
|
|
|
|
|
|
#flash boot img from zImage and initrd.gz
|
|
|
|
fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz
|