Support and General Use > Hardware

SD card support in bootloader?

<< < (3/4) > >>

Mihail Zenkov:
Patch to boot rockbox from sd card by default: http://knk.square7.ch/rb/rockbox-boot_from_sd_card.patch
It have hardcoded path and should be reworked. But it enough to check first is we have rockbox on sd card and boot from it.

If you boot from sd card and your internal memory still mounted by rockbox, you should also apply this patch: http://knk.square7.ch/rb/rockbox-dont_mount_internal_drive.patch
So internal drive will be ignored and you can load all rockbox stuff (codecs/plugins/settings/etc) from sd card.

asymsucon:
My question probably got lost in another thread, but it's an important issue, so let me touch it again.
What is the procedure for loading alternative bootloader when one's clip has already defective (read-only) internal flash?
Holding down select during boot won't mount the damaged volume:


--- Code: ---[  104.394323] hub 1-0:1.0: unable to enumerate USB device on port 2
[  105.700082] usb 1-2: new high-speed USB device number 5 using ehci_hcd
[  105.816926] usb 1-2: New USB device found, idVendor=0781, idProduct=74d1
[  105.816934] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  105.816941] usb 1-2: Product: Rockbox media player
[  105.816946] usb 1-2: Manufacturer: Rockbox.org
[  105.816951] usb 1-2: SerialNumber: 2A8C381030AEE202100000000
[  105.818804] input: Rockbox.org Rockbox media player as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input9
[  105.819215] generic-usb 0003:0781:74D1.0003: input,hidraw2: USB HID v1.10 Keyboard [Rockbox.org Rockbox media player] on usb-0000:00:1d.7-2/input0
--- End code ---
So what should one do in such case?

saratoga:
You can't install a bootloader from inside rockbox anyway, you have to boot into the OF and patch it from there just like you did the first time you installed rockbox. 

asymsucon:
Fair enough, but it's not possible to boot into OF with corrupted internal flash (it freezes on Sansa logo). So what then?

Mihail Zenkov:

--- Quote from: asymsucon on February 07, 2017, 12:10:10 AM ---What is the procedure for loading alternative bootloader when one's clip has already defective (read-only) internal flash?
Holding down select during boot won't mount the damaged volume:

--- End quote ---

It's don't look like read-only case. At read-only you should still able mount drive but all changes on it ignored.  Can you show what you have in dmesg if you connect after rockbox loading?


--- Quote from: asymsucon on February 07, 2017, 02:13:18 AM ---Fair enough, but it's not possible to boot into OF with corrupted internal flash (it freezes on Sansa logo). So what then?

--- End quote ---

You should install bootloader before problems with internal flash. If you try install new bootloader on bad internal flash - you just brick device.

In your case: if rockbox still loading and you can see sd card - you can load new rockbox from sd card by hands.
Extract "rockbox.zip" to sd card. Enter to ".rockbox" dir and copy "rockbox.sansa" to root dir. Then boot rockbox and select Files > rockbox on sd card.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version