Support and General Use > Hardware

iRiver H140 iHP-140 with big hard drive on Rockbox

<< < (2/3) > >>

iRiverer:
@TriTL:
I thougt after installing the modified bootloader it is stored in the ROM area of the player? I should not even load it from the hdd anymore, why should on still have the bootloader in the rockbox dir?

bluebrother:

--- Quote from: TriTL on November 16, 2011, 08:22:39 PM ---As i said: keep in mind to keep the modified bootloader file in your rockbox directory.
If you delete it you are no longer able to boot rockbox.

--- End quote ---

This is nonsense. On H100 / H300 the bootloader is stored in flash. That's why installing Rockbox involves patching an original firmware file. Even if you remove the original firmware later (only possible on H100 with per-7 bootloader) the bootloader is loaded from flash.

DTSyX:
Well, I've noticed that the boot screen shows "loading rockbox.iriver".
Previously I would have also said that the 7pre4 booloader is stored in flash. But right now I think it might also be possible that the "flashing procedure" just puts a "link" into the ROM to load the rockbox.iriver file from hdd.
To test my hypothesis I just put the hdd from my backup iriver into the 7pre4 flashed on, e voilá: when trying to boot it says "file not found" where it say "loading rockbox.iriver" whith the other hdd.

So, for the 7pre4 bootloader, it's apparently not completely stored in flash. But it also might have to do with the way I "installed" it. So far I only used the Rockbox Utility for upgrading the booloader. With the 7pre4 I just followed the instructions, which means flashing using the rockbox menu of the player after loading the file to the .rockbox folder.

bluebrother:

--- Quote from: DTSyX on November 21, 2011, 04:32:09 AM ---Well, I've noticed that the boot screen shows "loading rockbox.iriver".
--- End quote ---

That's the output of the bootloader.


--- Quote ---Previously I would have also said that the 7pre4 booloader is stored in flash. But right now I think it might also be possible that the "flashing procedure" just puts a "link" into the ROM to load the rockbox.iriver file from hdd.
--- End quote ---

It's not a "link". The bootloader is code to load the main Rockbox firmware from disk. It's always been that way.


--- Quote ---To test my hypothesis I just put the hdd from my backup iriver into the 7pre4 flashed on, e voilá: when trying to boot it says "file not found" where it say "loading rockbox.iriver" whith the other hdd.
--- End quote ---

which is to be expected, since the bootloader cannot find the main Rockbox binary.


--- Quote ---So, for the 7pre4 bootloader, it's apparently not completely stored in flash. But it also might have to do with the way I "installed" it. So far I only used the Rockbox Utility for upgrading the booloader. With the 7pre4 I just followed the instructions, which means flashing using the rockbox menu of the player after loading the file to the .rockbox folder.
--- End quote ---

Again, this is nonsense.

The Rockbox bootloader is stored in the flash memory of the player. This is necessary since the original firmware runs from flash, and therefore the player by itself cannot boot from disk. Exactly that's the purpose of the bootloader: run from flash and load the main Rockbox binary from disk. This allows easy upgrading the installed Rockbox without the need to flash each time. It also provides the possibility to provide some recovery mechanism in case the main binary is missing -- bootloader USB mode is exactly that, and a way to boot the original firmware. rockbox.iriver is the Rockbox main binary, not the bootloader, and if you delete it from disk the observed behaviour is exactly what is expected. You cannot store "half" a bootloader on disk because the purpose of the bootloader is exactly to boot things. How do you want to boot if you only have half of the code that does the actual booting?

With the H100 7pre bootloader you can also store the main Rockbox binary in flash. That's a different story though. The original claim (you need to keep the bootloader file on the player) is still wrong and won't get any better just because people seem to confuse loading the bootloader with the main binary.

DTSyX:
Your absolutely right. And I'm wrong and sorry.

I totally forgot, that I haven't yet "rockboxed" the spare iriver. And I was too lazy to try the "delete bootloader.iriver file from disk" way to test.

The best would be to delete my previous post not to confuse anyone.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version