Karl Kurbjun
8a1fd8c686
Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 04:48:20 +00:00
Dave Chapman
dbcd321813
Non-functional change - use the firmware __backlight_on() function instead of writing directly to the ports to turn the backlight on
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13128 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 17:58:02 +00:00
Jonathan Gordon
ceb1e7a2fe
minor code cleanup and policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:55:51 +00:00
Jonathan Gordon
a76947f2a2
Enable usb detection in the sansa bootloader (loads OF if detected)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:45:19 +00:00
Barry Wardell
7e03b0a2e0
Fix build errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12867 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:56:51 +00:00
Barry Wardell
7cd559dde0
Oops, the mi4 magic was being looked for in the wrong place when decrypting. Also decrease verbosity of PP bootloader a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:18:35 +00:00
Barry Wardell
9a9aebb99e
We should check the CRC32 whether it is encrypted or not.
...
Do the encryption in-place so that it is faster.
Add comment explaining why we need our own CRC32 implemenatation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12864 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:02:26 +00:00
Barry Wardell
3de41f5250
Add support for encrypted mi4 bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12863 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 20:45:25 +00:00
Barry Wardell
bada0b7190
Hopefully fix CRC32 errors when loading the Sansa OF from the firmware partition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12852 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 12:35:45 +00:00
Barry Wardell
0c1a304620
PP bootloader:
...
1) Proper error handling when we can't find the firmware.
2) Show verbose debug messages when any button is pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12847 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 10:36:26 +00:00
Barry Wardell
ca8f7bf352
The model and type strings are only 4 characters long. Also remove the 20 at the start of the version string - it should never have been there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12839 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 11:20:22 +00:00
Barry Wardell
e293bbb451
If loading rockbox.mi4 fails, then drop back to trying rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:07:20 +00:00
Barry Wardell
b8a5adfcdb
Partition type 0x84 is "OS/2 hidden C: drive"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:41:55 +00:00
Barry Wardell
a91a35be74
The hidden partition stuff is only used Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12803 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:36:14 +00:00
Barry Wardell
14ed3ca8d8
In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
...
When loading the OF:
1) first try to load from a hidden disk partition
2) try loading /System/OF.mi4
3) finally fall back to loading /System/OF.bin which is what the old bootloader used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:28:00 +00:00
Barry Wardell
a42070df85
Make it possible to boot the OF and show verbose messages at the same time in the PP bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12791 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:32:58 +00:00
Barry Wardell
2370998a87
Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 22:12:20 +00:00
Steve Bavin
88f249d807
Allow H300 to be started up from a non-LCD remote
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12668 a1c6a512-1295-4272-9138-f99709370657
2007-03-07 11:52:17 +00:00
Dave Chapman
a02c426179
Fix the loading of RetailOS from a file (apple_os.ipod in the root or .rockbox/)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12644 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 14:05:43 +00:00
Dave Chapman
dc1fc3c51b
Remove the leading "20" from the version string - it no longer makes sense with the SVN revision number
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12642 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 09:49:09 +00:00
Dave Chapman
582d02dbdf
Fix error in Sansa and H10 bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12641 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 09:11:22 +00:00
Dave Chapman
4d25bffc8a
Disable bootloader messages in the ipod bootloader unless the RIGHT button is being held. Messages are still displayed if an error occurs. This needs implementing for the other bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12631 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 23:56:28 +00:00
Jens Arnold
f8ffca489c
Fix wrong target binary name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12612 a1c6a512-1295-4272-9138-f99709370657
2007-03-05 00:14:14 +00:00
Jens Arnold
b4994a08ca
Added new iAudio M5 target, including some adjustments to make the bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 14:09:21 +00:00
Barry Wardell
8b061252c4
Replace some inl/outl with register #define's instead. Also tidy up pp5020.h so that it's in increasing address order.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 17:25:20 +00:00
Robert Kukla
a7311331d5
look for rockbox.gigabeat in /.rockbox/ first like other SWCODEC targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12573 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 16:02:14 +00:00
Linus Nielsen Feltzing
4855615944
Kill a few warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12548 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 13:58:00 +00:00
Linus Nielsen Feltzing
8448d3b6be
H300 bootloader: init the ISP1362 chip, and set the CPU to idle mode while charging, to save power
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12547 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 13:04:57 +00:00
Linus Nielsen Feltzing
ff17905d7c
H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging screen, move to a separate source file, backlight is on during USB mode (again)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12546 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 11:28:23 +00:00
Linus Nielsen Feltzing
343c428f2c
H100/H300 bootloader: Better remote control output, removed a wild pointer access when loading Rockbox, add a 2 second delay before rebooting when Rockbox is not found
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12519 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 08:40:37 +00:00
Linus Nielsen Feltzing
237ff9e615
Better working USB bootloader mode for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12514 a1c6a512-1295-4272-9138-f99709370657
2007-02-28 00:06:35 +00:00
Linus Nielsen Feltzing
c5df4f844e
Proper file header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12458 a1c6a512-1295-4272-9138-f99709370657
2007-02-23 09:30:09 +00:00
Linus Nielsen Feltzing
4fb389f90b
Set properties correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12457 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 21:44:12 +00:00
Linus Nielsen Feltzing
ec549ec42e
Put the X5 bootloader in a separate file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12456 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 21:38:59 +00:00
Nicolas Pennequin
bd073cdb8d
Correct the Gigabeat bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12455 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 21:19:48 +00:00
Linus Nielsen Feltzing
46597c9539
FS#6554 - Move bootloader code into a common file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 15:09:49 +00:00
Linus Nielsen Feltzing
b58e4e79ff
Use -ffunction-sections and -fdata-sections for all bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12449 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 10:05:39 +00:00
Barry Wardell
7908740b94
Oops. sleep() doesn't work on PortalPlayer builds. Use udelay() instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12138 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 20:40:58 +00:00
Barry Wardell
84b509dc43
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 18:42:11 +00:00
Linus Nielsen Feltzing
97d59dd38c
Verbose error messages in the iPod bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12064 a1c6a512-1295-4272-9138-f99709370657
2007-01-18 10:07:07 +00:00
Greg White
3b65fc2480
Read bootsplash from disk rather than hardcoding it
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12050 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 18:31:40 +00:00
Barry Wardell
e9327a947f
Fix build warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12043 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:35:22 +00:00
Barry Wardell
f4709d0c7c
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
...
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:20:38 +00:00
Greg White
8b3c8791f9
Created bootsplash image
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12035 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 01:49:19 +00:00
Linus Nielsen Feltzing
f3f0d1c9bb
Added printf() instead of snprintf/lcd_puts/lcd_update
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12033 a1c6a512-1295-4272-9138-f99709370657
2007-01-16 23:12:02 +00:00
Miika Pekkarinen
20171c181f
Fixed the bootloader for H100 also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11997 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 09:08:18 +00:00
Miika Pekkarinen
886c302d00
Fixed the X5 bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11996 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 08:16:02 +00:00
Greg White
355be5010a
Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memory
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 a1c6a512-1295-4272-9138-f99709370657
2007-01-13 02:24:15 +00:00
Miika Pekkarinen
35b0c3f24f
Updated bootloader for H120/H140 and entirely disabled flashing code for H100 until somebody tests it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11993 a1c6a512-1295-4272-9138-f99709370657
2007-01-12 20:45:37 +00:00
Marcoen Hirschberg
295367686e
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 02:49:12 +00:00