maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   startup_nokia_logo (https://talk.maemo.org/showthread.php?t=46281)

tuxsavvy 2011-12-03 06:35

Re: startup_nokia_logo
 
Quote:

Originally Posted by Alfred (Post 1132364)
I beleive there was a post a while ago from some Russian dude, who got into NOLO thing, and actually did some stuff to it, don't remember who and what that was though...

The person and the thread you're talking about is the one I have linked in my previous posting :). Have a look for that orange coloured word.

Mentalist Traceur 2011-12-03 07:35

Re: startup_nokia_logo
 
We need an open source nolo replacement. Then this **** wouldn't be an issue and we'd have a possibility to create a truly nigh-unbreakable emergency recovery shell to implant into the bootloader itself. If only I actually knew what the hell I was doing with hardware at such a low level, I could contribute to some NOLO reverse engineering.

zifis 2011-12-09 16:07

Re: startup_nokia_logo
 
Hmmm interesting topic. It must really be hard to replace the logo which would explain why this thread hasn't got the attention it deserves!

pali 2011-12-09 16:22

Re: startup_nokia_logo
 
Quote:

Originally Posted by Hurrian (Post 1131996)
The "NOKIA" boot logo is part of NOLO.
And I assume the white background is somewhere in NOLO code too. I have to check uboot to see how it sets the screen black, and that can probably be injected as a JMP in NOLO before it prints the NOKIA logo.

U-Boot directly write to framebuffer address and I think NOLO do it too...

Hurrian 2011-12-10 05:03

Re: startup_nokia_logo
 
Hmm, Nokia's NOLO looks like it's the second-stage bootloader for OMAP, which means that it can be replaced by U-boot straight.

OMAP x-loader is open source, but who knows if it's modified for the N900? And what devices does it initialize, etc?

pali 2011-12-10 10:07

Re: startup_nokia_logo
 
First stage boot loader is not Omap X-Loader. It is totally different bootloader (but only with similar name Nokia X-Loader). X-Loader is signed, so we cannot repleace it.

Second stage boot loader is NOLO (Nokia Omap Loader) which is not signed, so teoretically could be replaced. But U-Boot binary is too big (bigger then NOLO), so we cannot easily relplace it. And we do not have *working* U-Boot port for N900 (as second stage bootloader, which initialize HW) - only port which behave like linux kernel...

Hurrian 2011-12-10 10:31

Re: startup_nokia_logo
 
Quote:

Originally Posted by pali (Post 1135807)
First stage boot loader is not Omap X-Loader. It is totally different bootloader (but only with similar name Nokia X-Loader). X-Loader is signed, so we cannot repleace it.

Second stage boot loader is NOLO (Nokia Omap Loader) which is not signed, so teoretically could be replaced. But U-Boot binary is too big (bigger then NOLO), so we cannot easily relplace it. And we do not have *working* U-Boot port for N900 (as second stage bootloader, which initialize HW) - only port which behave like linux kernel...

Thanks pali, didn't know that Nokia wrote their own x-loader.
I have an idea though, if u-boot can't be shoehorned into mtd1, why not put it on mtd4 (initfs?)
That should be enough space for a bootloader.

EDIT: I totally forgot that NOLO was completely neutered for the release of the N900, unable to select default boot device, etc, and mtd4 as wasted space.

New idea: move kernel out of mtd2, put u-boot there, stuff kernel in mtd4 (it should be about the same size, right?) Flasher will need to be patched, though.

pali 2011-12-10 10:36

Re: startup_nokia_logo
 
Quote:

Originally Posted by Hurrian (Post 1135815)
Thanks pali, didn't know that Nokia wrote their own x-loader.
I have an idea though, if u-boot can't be shoehorned into mtd1, why not put it on mtd4 (initfs?)
That should be enough space for a bootloader.

And who will boot from mtd initfs? Nobody - NOLO can only boot from mtd kernel...

See U-Boot thread: http://talk.maemo.org/showthread.php...57#post1089657

Hurrian 2011-12-10 10:37

Re: startup_nokia_logo
 
Quote:

Originally Posted by pali (Post 1135821)
And who will boot from mtd initfs? Nobody - NOLO can only boot from mtd kernel...

Damn you're fast. Edited my post accordingly.

pali 2011-12-10 10:38

Re: startup_nokia_logo
 
Now uboot is stored with kernel on same mtd part :-)


All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8