Rockbox

Tasklist

FS#7977 - Bootloader logo

Attached to Project: Rockbox
Opened by Barry Wardell (barrywardell) - Tuesday, 16 October 2007, 23:36 GMT
Last edited by Barry Wardell (barrywardell) - Monday, 05 May 2008, 12:05 GMT
Task Type Patches
Category Applications
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Currently the bootloaders show nothing on screen unless there is an error or a button is pressed. This patch makes the bootloader show the Rockbox logo and bootloader version, similar to what the main Rockbox binary does while booting.

Tested on Sansa e280 and H10 20GB. I've adjusted the code for all other targets too, but haven't tested it.
This task depends upon

Closed by  Barry Wardell (barrywardell)
Monday, 05 May 2008, 12:05 GMT
Reason for closing:  Accepted
Comment by Barry Wardell (barrywardell) - Wednesday, 30 April 2008, 16:06 GMT
Synced to svn. I've also made some changes in this version. To enable a bootloader logo for a target, it is now necessary to put #define HAVE_BOOTLOADER_LOGO in the relevant config-*.h file. This patch does so for e200 only for now as that's all I've tested on.
Comment by Barry Wardell (barrywardell) - Wednesday, 30 April 2008, 16:09 GMT
Another quick update. This time, the bitmaps are just read directly from the apps build dir. I'm not sure if this is the best way to do things, but it works for me.
Comment by Barry Wardell (barrywardell) - Thursday, 01 May 2008, 11:57 GMT
Updated version:
* Only builds the bitmaps that are actually used by the bootloader (i.e. rockboxlogo)
* Checks the size of the produced mi4. If it's too big to fit into IRAM, delete it and produce a warning.
Comment by Barry Wardell (barrywardell) - Thursday, 01 May 2008, 16:27 GMT
Another update. This time it uses the linker to tell if it's too big to fit in IRAM.
Comment by Barry Wardell (barrywardell) - Monday, 05 May 2008, 12:05 GMT
Final version committed to svn. I removed the need for HAVE_BOOTLOADER_LOGO, but otherwise this is unchanged.

Loading...