kernel only booting into download mode. [solved]

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,302
27,636
0
i am normally building my kernel standalone, but now i wanted to add inline-kernel-building support for it.

for this i have commited this:
https://github.com/DerTeufel/androi...mmit/70104d40af4355346590a84391882a70e53ccabc

and in my defconfig i am pointing to the initramfs to use:
CONFIG_INITRAMFS_SOURCE="source/ramdisks/t0lte-combo/"

it's the same as i use always, just added source/ in front.

link to ramdisks: https://github.com/DerTeufel/android_kernel_samsung_smdk4412/tree/dualboot/ramdisks

if i am flashing the resulting boot.img now, the device boots straight into dl mode, even without asking to confirm it with power up.

what am i mssing here?
 
Last edited:

goodoane

Senior Member
Jul 22, 2007
366
183
0
Ramdisk is not correctly packed on your boot.img or is a problem with boot partition. If is jump straight to download mode the boot.img is corrupted or missing.

Trimis de pe al meu GT-N7100
 
  • Like
Reactions: DerTeufel1980

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,302
27,636
0
Ramdisk is not correctly packed on your boot.img or is a problem with boot partition. If is jump straight to download mode the boot.img is corrupted or missing.

Trimis de pe al meu GT-N7100
Is there something wrong with my commit to /build? I had seen, galaxy s1 is building in a similar way

Gesendet von meinem GT-N7105 mit Tapatalk 2
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,302
27,636
0
I have realised now, that on the s1 I just can take the zImage and rename it to boot.img to make everything work. This does not work for the note2. I guess this is the problem here.
My question is now, how can I modify the build system to create a proper boot.img, without adding the Ramdisk twice? By building the kernel standalone, I am only adding the modules to the Ramdisk. But for this I need to build the kernel and modules before building the Ramdisk. Anyone can tell me how to do this?

Gesendet von meinem SGH-I317 mit Tapatalk 2
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,302
27,636
0
Thx, but sadly this is not what I am needing. I want to modify build system to build the boot.img the way I need it, not afterwards, because I want building the kernel to be automated.

Gesendet von meinem GT-N7105 mit Tapatalk 2
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone