This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9369 - Bootloaders for 3.0 please test
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Saturday, 06 September 2008, 11:36 GMT+1
Last edited by Nils Wallménius (nls) - Wednesday, 15 October 2008, 23:18 GMT+1
Opened by Nils Wallménius (nls) - Saturday, 06 September 2008, 11:36 GMT+1
Last edited by Nils Wallménius (nls) - Wednesday, 15 October 2008, 23:18 GMT+1
|
DetailsThis is a batch of bootloaders built from the 3.0 branch. I don't have any of these players myself so I can't test, only players which are recoverable from a bad bootloader are included (not sure about the gigabeat though) so no h100/h300.
The most notable fix is proper support for CF modded targets so if you have one of them any test results would be extra nice, ipod nano is included because the official bootloader uses some kind of nasty hack that was later fixed in the code, no other flash based targets for now. The archos bootbox is not included either, I'll try to look into that. Please test these and report success/failure here. edit: pp5020.mi4 is for the m:robe 100 other file names should be self explanatory |
This task depends upon
* mr100: no issues
* e200: no issues.
The 'gigabeat' logo screen loads, then hangs with the progress bar about halfway full, and shortly after, the logo screen shows what looks like TV interference; seemingly random 'static' of some sort, which in turn becomes vertical lines, still over the initial 'gigabeat logo' screen. It all finishes with a dark grayish-colored screen that fades to white.
I've hard-reset the player and watched this three separate times while typing this; same result each time.
I'm not sure if it makes any difference, but I'm using the modified/shortened bootloader files to decrease boot time (can't find the page on rockbox.org right now, though, strangely enough. I've used those files and the old bootloader for quite a few months without updating).
Its OF is v3.0, the Japanese version, if that's useful to know...
Also, the bootloader does not enter the normal recovery mode when started with the USB cable plugged in, however, it does turn off (when plugged in) at the point when it otherwise faded to a white screen.
(The trick with opening and hot-plugging the hard disk and reverting the bootloader should fix it, though; and I've done it before... shouldn't be a problem.)
I'll see if the bootloader continues to fail with all of the original boot files in place and report back if something changes...
* ipod mini 2G CF-modded (transcend 32GB) (your bl): works
* sansa c200 (self-built bl): works
* AJB 6000 (self-built archos.mod): doesn't work
* X5L (your bl): works
* Gigabeat F60 (your bl and self-built): doesn't boot
Karl, great work!
Is that fix suitable for the 3.0 branch? It would be nice to have it on the branch so all bootloaders could be built directly from there.
It doesn't change anything functionally so I think it would be fine to include in the 3.0 branch. I do not know how to commit to that branch though.
Still get ATA Error: -1
edit: deleted the file, new one posted further down
C:\ipodboot>ipodpatcher -a bootloader-ipodcolor.ipod
ipodpatcher v2.0 with v2.0 bootloaders - (C) Dave Chapman 2006-2007
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[INFO] Scanning disk devices...
[INFO] Ipod found - Photo/Color ("winpod") - disk device 7
[INFO] Reading partition table from \\.\PhysicalDrive7
[INFO] Sector size is 512 bytes
[INFO] Part Start Sector End Sector Size (MB) Type
[INFO] 0 63 80324 39.2 Empty (0x00)
[INFO] 1 80325 39063022 19034.5 W95 FAT32 (0x0b)
[INFO] Ipod model: Photo/Color ("winpod")
[INFO] Checksum OK in bootloader-ipodcolor.ipod
[INFO] Reading original firmware...
[INFO] Wrote 5440000 bytes to firmware partition
[INFO] Bootloader bootloader-ipodcolor.ipod written to device.
creation details:
filesystem:
sudo mformat -t 1189 -h 255 -s 32 -F i:
bootloader:
[INFO] Scanning disk devices...
[INFO] Ipod found - 1st or 2nd Generation ("winpod") - /dev/disk2
[INFO] Reading partition table from /dev/disk2
[INFO] Sector size is 512 bytes
[INFO] Part Start Sector End Sector Size (MB) Type
[INFO] 0 63 80324 39.2 Empty (0x00)
[INFO] 1 80325 9780748 4736.5 W95 FAT32 (0x0b)
[INFO] Ipod model: 1st or 2nd Generation ("winpod")
[INFO] Scanning disk devices...
[INFO] Ipod found - Photo/Color ("winpod") - disk device 7
[INFO] Reading partition table from \\.\PhysicalDrive7
[INFO] Sector size is 512 bytes
[INFO] Part Start Sector End Sector Size (MB) Type
[INFO] 0 63 80324 39.2 Empty (0x00)
[INFO] 1 80325 39063022 19034.5 W95 FAT32 (0x0b)
[INFO] Ipod model: Photo/Color ("winpod")
[INFO] Checksum OK in bootloader-ipodcolor.ipod
[INFO] Reading original firmware...
[INFO] Wrote 5434368 bytes to firmware partition
[INFO] Bootloader bootloader-ipodcolor.ipod written to device.
Best thing is, this appears to be smaller than the last one :) Thanks for your work!
Once again thanks for testing everyone :)
When will the new bootloader be used by the Rockbox utility?
Here's the linux one.
Edit: this is a 32 bit version.
Edit2: forgot to mention that this is only tested to see that it runs, i don't have any ipods to test it with...
My 4G iPod color and 5.5G iPod video both got detected.
rockbox itself seems to have problems writing to the card, but that's a different story.
it boots but apparently freezes on writes
Try this:
http://forums.rockbox.org/index.php?topic=18201.msg136533#msg136533
Hd based players that have still not had a new bootloader are: (excluding h100/h300)
iaudio: x5, m5, m3
iriver: h10, h10-small
mrobe: mr100
(it seems amiconn is working on the archoses)
we might want to release a new one for the sansas too which would also require new sansapatchers.
My H300 is of the variety that never gives a working bootloader USB mode with the v5 bootloader, with either the original 40GB drive, or the current 80GB Toshiba drive (an MK8007GAH, IIRC).
(Note that the M in the revision is purely a mistake where I'd removed a couple of DEBUGF() lines from albumart.c...)
Edit -- And here it is. Tested with my c240 on a PPC Mac with OS X 10.4.11; bootloader installed successfully.
Edit 2 -- Deleted the disk image; will build a new version shortly.
the slightly larger sansapatcher is for 64 bit linux the smaller one 32 bit.
Version string for the new bootloaders is 5.0 (older e200 bootloader was 4.0)
Sansapatcher is now 0.7
The patchers are just tested to see that they run, not tested with actual installation, bootloaders are not tested at all.
Test to your heart's content. :)
Uninstalling bootloader v4: OK
Installing bootloader v5: OK
bootloader v5 works: OK
Sansa e250