Support and General Use > Hardware

SD card support in bootloader?

(1/4) > >>

johnb:
Hi Mihail,
I have seen your commit on the front page:
http://git.rockbox.org/?p=rockbox.git;a=commit;h=7cb1e5a AMS: enable SD card support in bootloader


I have two questions:
- As you have only changed device specific code, does that mean that the current bootloader is already capable of booting rockbox off the SDcard?
- Does this only work if the internal storage is not accessible (I had removed the .rockbox directory from the internal storage and installed the new build on SD, but it did not boot).

Overall I think this will be a very useful feature as I have one clip+ where I think the internal flash is dying ...

Thanks
johnb

saratoga:
Those changes are in the bootloader, so you'll need to install an updated bootloader, which we haven't released yet.  Mihail can answer the other points, but I believe if your internal storage doesn't have a file system it should try to boot from the SD once the new bootloader is installed.

Mihail Zenkov:

--- Quote from: johnb on April 22, 2016, 03:23:45 PM ---As you have only changed device specific code, does that mean that the current bootloader is already capable of booting rockbox off the SDcard?

--- End quote ---

No, you should update bootloader.


--- Quote from: johnb on April 22, 2016, 03:23:45 PM ---Does this only work if the internal storage is not accessible (I had removed the .rockbox directory from the internal storage and installed the new build on SD, but it did not boot).

--- End quote ---

Yes. It work only if rockbox can't mount internal storage. It useful if internal storage corrupted (by software or hardware). I think it should good solution for partially bricked players - when bootloader still work (you can see rockbox logo at startup)  but cannot mount and boot from internal storage.

In near future I want add booting from sd card by default if it have .rockbox folder. It can be useful when internal storage can be mounted but FS broken. Also it can be useful if someone want update rockbox on player with broken usb.


--- Quote from: johnb on April 22, 2016, 03:23:45 PM ---Overall I think this will be a very useful feature as I have one clip+ where I think the internal flash is dying ...

--- End quote ---

Yes, but you should update bootloader before your player bricked - player should to be able update firmware.

At this moment we don't provide new builds of bootloaders.

saratoga: Can you build and post links to this topic?

saratoga:
http://web.mit.edu/mgg6/www/bootloader-clipzip.sansa
http://web.mit.edu/mgg6/www/bootloader-clipplus.sansa
http://web.mit.edu/mgg6/www/bootloader-clipv2.sansa
http://web.mit.edu/mgg6/www/bootloader-fuzev2.sansa

Use these with mkamsboot (available from the manual or wiki) and the original firmware file of your choice.  Note that I have not tested these, so beware. 

Mihail Zenkov:

--- Quote from: saratoga on April 22, 2016, 04:25:28 PM ---Note that I have not tested these, so beware.

--- End quote ---

In any case it should be safe as we don't change dualboot code and loading to OF should work.

P.S. Charge your player and check disk for errors before update firmware.

Navigation

[0] Message Index

[#] Next page

Go to full version