Quote:
Originally Posted by dancol90
I've replaced uboot and hwconfig section with the original mini ones, but it does not work, it stucks with this message:
Code:
Waiting for root device /dev/mmcblk0p1...
|
Hi Dancol90!
This is perfect! You started the kernel!! I feel you will mange to run it

I see you have serial port connected and you can see u-boot messages! That's great! It will be very very helpful (I was doing everything blindly

).
You're very very close to success. The correct root partition is "/dev/mmcblk0p2" not mmcblk0p1 (p1 is user data - fat32). Please change that number and try again.
> I think that the kernel parameters are hard coded in the bootloader, but I have no idea how to change them from sources.
Yes. I wouldn't bother with recompiling it. I edited my parameters with hex editor. It is multi-string - every line ends with a single 0x00. Last line ends with a double 0x00. Knowing that you can replace u-boot config lines not bothering if single lines are longer or not. Just don't make it longer (as a whole block) than previous one. If you don't have space to add parameters just remove unused lines (take a look how I did it in my image without uboot recompilation - plenty of empty spaces erasing unused lines). I've removed boot args for mmc (external card?) for example when I was out of space. You can copy my boot params and update adresses if they are differnt in kobo mini. Just rember:
- exactly one 0x00 after every line
- two 0x00 after the last line
- spaces don't count
- don't make it larger than original (as a whole block)
But if you started the kernel already, the change from "mmcblk0p1" -> 2 should take you much farther.
If Android won't start after that you may need to pass additional u-boot parameters needed by Android. For sure "init=/init" is a must!