[Q] How to pack correctly a zImage and a ramdisk for flashing via fastboot ?
I've recompiled the CyanogenMod 10.2 kernel for my TF300T with NFSv3 and CIFS support built into it. I have also a working ramdisk that i've unpacked from my own build of the CyanogenMod 10.2 ROM from CyanogenMod sources.
I've packed my zImage and the ramdisk using the following command line :
mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel my-zImage --ramdisk my-ramdisk-archive -o my-boot-image
And then i created a blob file from it :
blobpack my-blob LNX my-boot-image
Finally i've tried to flash it to my TF300T with fastboot :
fastboot flash staging my-blob
...the flash procedure output is as usual :
sending 'staging' (5550 KB)...
OKAY [ 2.370s]
OKAY [ 1.964s]
finished. total time: 4.335s
... but the :
command just hangs !
I must then press the power button for some time to restart the device and when it's back alive, i'm still with the old kernel !
Please correct me if i am wrong but i think after searching over here and there over the Internet that i've inputed wrong parameters to the mkbootimg executable in order to generate my boot.img file ...
After reading carrefully with a 'not perfect' english this article : Unpack/repack boot.img/ramdisk for Android
... i've not understood how to get the correct parameters for mkbootimg ...
Any help will be greatly appreciated,