Arif Ali
6092922424
* ROMHDR base addr is spl virtual 0x80000000 = 11800000 physical, LK will relocate to correct address (MEMBASE) * save reboot reason at 0x2FFB0000 (ramconsole - 0x1000 (PAGE_SIZE)) and @0x2FFB0004 XOR 0x004b4c63 (cLK signature) * added oem cmd to fastboot and oemcmd.bat for PC
11 lines
573 B
Plaintext
11 lines
573 B
Plaintext
#compile kernel and make boot.img/recovery.img
|
|
#make ARCH=arm CROSS_COMPILE=arm-none-eabi-
|
|
mkbootimg --kernel zImage --ramdisk initrd.gz --cmdline "" --base 0x11800000 -o android_boot.img
|
|
mkbootimg --cmdline "" --base 0x11800000 --kernel zImage --ramdisk initrd.gz -o boot.img
|
|
mkbootimg --base 0x11800000 --cmdline "no_console_suspend=0" --kernel zImage --ramdisk initrd.gz -o android_boot.img
|
|
|
|
#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 |