Rockbox General > Rockbox General Discussion

Sorting out information from (old?) desinformation gathered from the internet...

<< < (3/4) > >>

mcc01:
Hi Serenity,

Uhhhmmmm...oh I think I have the wrong picture of the control of
the boot process in my head...

I /thought/ that the CPU jumps at a certain point of system flash
(block 0 for example) and executes the code there ... the bootloader,
which in turn reads some buttons to decide whether to boot OF or RB.
If decided the according FW is executed.
I /thought/ the bootloader is part of RB and therefore changeable...
So - for my wrong? point of view - the bootloader "only" needs to
pull the RBFW from the sdcard instead from system flash.

Where can I read about the real, the TRUE ... the one and only
BOOTPROCESS ?

"May the rockbox be with you, Luke!" = Clip Zip Kenobi
"I am your bootloader!" = Darth Loader

Best regards,
mcc

Serenity:
I'm not a programmer, so you would have better knowledge of the process than me. As far as I know, the bootloader is also open source, but trickier to compile.

"You've never heard of Rockbox? It's the firmware that made the Kessel run in less than 12 parsecs." --Zip Solo  8)

gbl08ma:
Your idea for how the boot process works is more or less correct, I think. The problem is that to make the bootloader load Rockbox from the SD card, you'd need to modify the bootloader source code and compile it - there is no user-accessible option to select the "boot device", and I doubt the developers are willing to support two different bootloaders (one for internal and another for SD boot). Depending on your expertise (and on how trivial the changes to the source code turn out to be) following this approach may not be easy. And from what I know, you would end up with an unsupported build of Rockbox.

monoid:
If I am not wrong iRiver H1xx allows in RB to run one of two instances of RB. One from flash (where bootloader and firmware is) and one from flash memory where song files are. User could somehow select desired version of RB during boot.

So, there is sort of precedens of two different locations for RB. So, I guess one could be also on memory card. I am not telling, it would be easy to implement (I have no idea) nor it is sensible idea...

Just telling, loading of RB from two different locations have been implemented in at least one bootloader.

mcc01:
Hi monoid,

Oh yeah! Sounds very interesting!
The reason why I am asking that question is: If one is changing the code
to implement something new, which needs the real hardware and not
"only" (not meant negativly!) a gui simulator, s/he may temporarily introduce bugs
in RB, which lead to a couple of new features...one may the hang of the device
for a unknown period of time.
If one is able to simple pull off the sdcard in question and the bootloader
then falls back to something which is known to boot cleanly...TADA!
And minimizing the counts of write accesses to the internal flash seems not a too bad idea to me, too ;)

Have a nice evening!
Best regards,
mcc

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version