
On Wednesday 25 January 2012 21:56:37 Marek Vasut wrote:
On Wednesday 25 January 2012 19:20:01 Marek Vasut wrote:
So why not just replace the bootloader right away?
Booting process on n900:
- Omap bootrom
- Nokia X-Loader
- Nokia NOLO Bootloader
- Linux kernel
...
To make it clear, I own N900 myself ;-)
Nokia X-Loader and NOLO are stored in first nand part. It has size 128kB. Nokia X-Loader is signed (size 14.5kB), so cannot be replaced. NOLO bootloader is not signed (so theoretically can be replaced), but size is limited to 113kB. I do not know how to compile U-Boot binary with size < 113kB...
Size of part where is stored linux kernel has 2MB and it is enought for U-Boot with kernel image (~200kB + ~1.6MB). Also U-Boot can boot kernel from eMMC/SD.
You didn't answer my question, so again ... why can't you replace NOLO? Because there's the 113kb limit? Use SPL then.
I only tried to boot U-Boot in qemu wich increased boot part - but not worked. (NOLO in qemu can boot u-boot without problems). So NOLO do some extra work - which I do not know... Also limit is problem to test on real n900.