Commit graph

284 commits

Author SHA1 Message Date
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
Barry Wardell
2f16d4f1b3 Add working dual-boot bootloaders for H10 and Sansa, which allow booting the OF and Rockbox. Rolo also works.
Changes made:

Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader.

Define MODEL_NAME string in config-*.h for use in bootloader.

Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S.

Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe):
* Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100).
* Remove unused DEBUG and STUB code from crt0-pp.S.
* Make CPU wait for COP to be sleeping when we put the COP to sleep.
* Invalidate COP cache when COP wakes
* Flush CPU cache before waking COP
* Make sure only the CPU clears the BSS (not the COP)
* Make sure only the CPU sets up its own stack (not the COP)

Rolo works on H10, so enable it.

Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 11:33:53 +00:00
Dave Chapman
0025a97b95 Restrict the width of some displayed messages (fixes display on Minis and Nano).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 10:23:51 +00:00
Dave Chapman
02aeacbafa Changes to ipod bootloader to bring in line with the capabilities of ipodpatcher: Detect if the bootloader has been installed without the Apple firmware; load the Apple firmware from an apple_os.ipod file on the FAT32 partition. Also change to use hold switch to decide when to boot into the Apple firmware (turning hold on whilst booting will start the Apple firmware). Plus a cosmetic change to white text on a black background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11780 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 00:32:54 +00:00
Dave Chapman
0a8d88228b Remove unused code in (and hence simplify) the ipod bootloader - the image header parsing and memmove isn't used in Rockbox, it was just leftover from the original ipodlinux loader. Note that we still need the empty space in the bootloader (400 bytes starting at 0x100 - the 'boot_table' definition in firmware/target/arm/crt0-pp.S) to maintain compatibility with ipod_fw/make_fw (which will write information there that we have always ignored).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11704 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 13:33:12 +00:00
Marcoen Hirschberg
6c2e1b824e first step in audio driver unification: renaming the functions to audio_*
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11671 a1c6a512-1295-4272-9138-f99709370657
2006-12-06 10:36:20 +00:00
Michael Sevakis
58825f6e73 Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 18:47:41 +00:00
Michael Sevakis
0f5cb94aa4 Big Patch adds primarily: Samplerate and format selection to recording for SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 a1c6a512-1295-4272-9138-f99709370657
2006-11-06 18:07:30 +00:00
Michael Sevakis
9e8fe0e4c6 General: changed local adc to voltage conversions in several places to use battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 11:33:38 +00:00
Jens Arnold
f40f0debcb Adapted more Makefiles to the more efficient info printing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 01:40:20 +00:00
Daniel Ankers
d8ef7c58d8 Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. Add ADC driver (may not be needed). Fix a bug in the button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11237 a1c6a512-1295-4272-9138-f99709370657
2006-10-16 17:21:36 +00:00
Daniel Ankers
2740914ee1 Changes to make Sansa bootloader run. Thanks to Peter Praest.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11177 a1c6a512-1295-4272-9138-f99709370657
2006-10-10 19:02:49 +00:00
Miika Pekkarinen
973ee5d8d9 Gracefully shutdown unless firmware is found.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10879 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 16:06:11 +00:00
Dave Chapman
657dcb5165 Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 19:19:35 +00:00
Barry Wardell
1920df36d8 Add Rockbox bootloader for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10781 a1c6a512-1295-4272-9138-f99709370657
2006-08-28 08:11:32 +00:00
Dave Chapman
38a5aa1133 Fix a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10688 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 08:04:51 +00:00
Daniel Stenberg
70c8b75ab7 use h10.c for H10 GB as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10678 a1c6a512-1295-4272-9138-f99709370657
2006-08-21 15:14:50 +00:00
Barry Wardell
9272dfd34c Functional, but minimal LCD driver for H10.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10663 a1c6a512-1295-4272-9138-f99709370657
2006-08-20 10:18:47 +00:00
Peter D'Hoye
c4a59a290b eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, added debug entry for h3x0 that allows to write to the eeprom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
2006-08-15 22:54:06 +00:00
Marcoen Hirschberg
0a0682474e initial gigabeat bootloader (only test code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10536 a1c6a512-1295-4272-9138-f99709370657
2006-08-12 08:27:48 +00:00
Miika Pekkarinen
22860a910a Fixed hold switch detection from bootloader when rockbox has been
flashed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10533 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 19:59:16 +00:00
Hristo Kovachev
1204136632 Some indent/c99 style cleanup by Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10524 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 09:51:04 +00:00
Hristo Kovachev
9dc0e62229 Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 08:35:27 +00:00
Miika Pekkarinen
e1eb91b976 Bootloader support to search firmware also from flash. Bootloader <->
Rockbox communication when Rockbox has been flashed.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10499 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 12:04:13 +00:00
Daniel Ankers
cec7cdc3bb Initial work for coprocessor support on iPods. FS#5755
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 16:29:42 +00:00
Daniel Stenberg
f2591d38c3 cleared the lot, add your own test code like this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10432 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 09:19:32 +00:00
Daniel Stenberg
4d3964182c more and proper use of $(SILENT)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10430 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 08:40:41 +00:00
Daniel Stenberg
5747049a44 cut out all the ipod cruft we don't need
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10408 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 09:47:17 +00:00
Dave Chapman
8cc73f152b Check for IPOD_ARCH instead of PP5002/PP5020 to decide when to build ipod.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10401 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 23:28:39 +00:00
Daniel Stenberg
0fc30d1174 added mostly dummy changes to allow building of a Sansa e200 bootloader
without functionality


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 a1c6a512-1295-4272-9138-f99709370657
2006-08-01 22:28:14 +00:00
Rani Hod
78f425d174 Applied FS #5727 (fix backlight flicker on X5) by Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10360 a1c6a512-1295-4272-9138-f99709370657
2006-07-29 13:31:43 +00:00
Frank Dischner
5d9eccd85b Fix button driver for ipod mini 1G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 18:06:56 +00:00
Jens Arnold
7f88088739 iPod mini 2G: Working button check in bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9416 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 00:20:11 +00:00
Linus Nielsen Feltzing
ce6527b7d2 iAudio X5 bootloader, plus some cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9180 a1c6a512-1295-4272-9138-f99709370657
2006-03-22 11:45:33 +00:00
Linus Nielsen Feltzing
eed02bebcd Add the target directory tree to the include path, and set the TARGET_TREE macro for the targets that use it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8945 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 12:45:45 +00:00
Dave Chapman
285079138b Patch #3060 from Andrew Scott - iPod mini button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Dave Chapman
8adc81dffb iPod 3G: Use correct DRAM_START address when branching to Rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8767 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 21:13:03 +00:00
Dave Chapman
8b1297a0b6 Patch #1435744 from Andrew Scott - initial iPod Mini support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-21 15:01:25 +00:00
Dave Chapman
fa74356083 iPod 3G support in Bootloader from Seven Le Mesle
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8587 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 19:05:55 +00:00
Linus Nielsen Feltzing
2fcd1b09d4 iAudio: don't call UDA1380 functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8567 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 23:09:56 +00:00
Dave Chapman
1446b210eb Oops - fix red iPod bootloader build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 09:40:21 +00:00
Dave Chapman
f9dac40cf3 iPod: Fix the detection of lcd type for the iPod Photo - this should fix problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 01:50:07 +00:00
Thom Johansen
1c69caf214 Line too wide for nano screen, split it up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8376 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 23:02:00 +00:00
Dave Chapman
3ded3cea75 Remove logos from bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8373 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 19:52:02 +00:00
Linus Nielsen Feltzing
780cfff956 H300: Removed lcd_enable() and added a delay to let the hard drive settle before entering USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8335 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:37:08 +00:00
Linus Nielsen Feltzing
54da924e43 H300: Bootloader USB mode detection on EXTON wakeup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-10 23:11:57 +00:00
Linus Nielsen Feltzing
1917cd5f12 H300: bootloader must call lcd_enable() since the backlight thread isn't running
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8316 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 13:22:00 +00:00
Dave Chapman
cb7e695ef9 iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2006-01-05 17:02:48 +00:00
Linus Nielsen Feltzing
01917ec980 H300 bootloader USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8168 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 12:12:29 +00:00
Linus Nielsen Feltzing
b68cb9b052 H300 bootloader: don't turn on the HD too soon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8130 a1c6a512-1295-4272-9138-f99709370657
2005-12-03 00:54:59 +00:00
Dave Chapman
20eed88b0e iPod: Change bootloader so that Rockbox loads by default. Holding down MENU now boots to the Apple firmware. Check .rockbox/ for a firmware file (to be consistent with the iriver bootloader) and remove the cosmetic sleep.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8012 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 10:57:53 +00:00
Linus Nielsen Feltzing
bbe919bdcb iriver bootloader: Better handling of the Hold buttons, turn on the remote backlight when booting, look for /.rockbox/rockbox.iriver before trying /rockbox.iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7976 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:33:28 +00:00
Dave Chapman
4d7ef948fa iPod: Correct the background colour of the IPL logo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7926 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 09:59:26 +00:00
Dave Chapman
f5aebf7848 Fixes for new 16-bit framebuffer type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7883 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 21:54:23 +00:00
Dave Chapman
061f38096a Implement (unreliable) button detection using code from ipodlinux bootloader - this needs replacing by a better button driver in firmware/ and triple-boot bootloader functionality. Current button mappings: MENU loads rockbox.ipod and checks the checksum (but doesn't execute it), PLAY will load and execute a Linux kernel (linux.bin). An error in either of those two actions, or no keypress will load the original firmware
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7848 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 20:59:30 +00:00
Dave Chapman
d8c5d1b0be Ooops. There was an unclosed comment in the source.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7788 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 09:07:13 +00:00
Dave Chapman
38e8fb65d8 Initial check-in of work-in-progress iPod bootloader. Current targets are iPod Color/Photo and iPod Nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7784 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 00:52:39 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Linus Nielsen Feltzing
e244f7f2a6 Added a dummy sys_poweroff() in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7518 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:44:45 +00:00
Linus Nielsen Feltzing
1310390348 The iriver bootloader now doesn't reboot after USB mode, it just continues booting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7196 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 11:03:00 +00:00
Linus Nielsen Feltzing
e628b5c941 iriver bootloader: slightly faster startup, backlight off in usb mode, minor code policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7192 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 08:08:33 +00:00
Linus Nielsen Feltzing
aa1042286a Fixed RoLo for H100 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 15:50:06 +00:00
Linus Nielsen Feltzing
a2e8cf713e Automated version string handling in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7152 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 07:42:25 +00:00
Linus Nielsen Feltzing
d2ca7fc5de Cleaned up the bootloader code a little
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7113 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 05:25:42 +00:00
Jens Arnold
5d9f67d37c Added missing dependencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7108 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 20:36:12 +00:00
Linus Nielsen Feltzing
dfa8ecbe60 iriver bootloader: enable backlight at boot, reset uda1380, warning when low battery, let the user try with USB when the ATA init fails
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7100 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 14:01:45 +00:00
Linus Nielsen Feltzing
d1af08f9cb Correct Rec+ON check in the iriver bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 19:48:22 +00:00
Linus Nielsen Feltzing
a75f0e579f iriver bootloader: display the model number for which the rockbox.iriver was built, start original firmware with rec+play on the remote, bumped to version 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7085 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 09:04:37 +00:00
Linus Nielsen Feltzing
62c768c0db Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Linus Nielsen Feltzing
a39026ac5e Removed the start-original-with-remote bootloader feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7073 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:36:12 +00:00
Linus Nielsen Feltzing
e82df4e597 Bootloader adjustments for H110
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7072 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:09:44 +00:00
Linus Nielsen Feltzing
0f381854cf Boot from the correct address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7015 a1c6a512-1295-4272-9138-f99709370657
2005-07-04 22:42:24 +00:00
Linus Nielsen Feltzing
794220c116 iRiver: The hard drive power is now OFF by default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
2005-06-02 21:40:52 +00:00
Linus Nielsen Feltzing
8e958b540b Boot loader: correct handling of CPU frequency setting, better button handling, USB mode handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6492 a1c6a512-1295-4272-9138-f99709370657
2005-05-20 18:16:45 +00:00
Daniel Stenberg
001f52bd68 adjusted to the new build tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6424 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 23:16:25 +00:00
Linus Nielsen Feltzing
1c40d3cee5 Ooops. DRAM can't start at 0x30000000 on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-04-20 06:48:17 +00:00
Linus Nielsen Feltzing
d4ad14c2b0 Correct check for BUTTON_RC_ON, reset cookie when Hold swicth is on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5899 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 09:02:46 +00:00
Linus Nielsen Feltzing
b8a00d2afe iRiver boot: faster startup, don't start with Hold on, always start original when started with the remote, start the original if unable to load rockbox.iriver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5888 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:55:48 +00:00
Linus Nielsen Feltzing
2a3856f613 Better feedback when booting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5825 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 01:47:47 +00:00
Linus Nielsen Feltzing
a0ed6077a4 Cleaned up the hardware init in the boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 03:27:38 +00:00
Linus Nielsen Feltzing
f1530d8a82 Boot loader safety measures
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5791 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 18:24:58 +00:00
Daniel Stenberg
86f4955423 make sure these files end up in the source tarballs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5708 a1c6a512-1295-4272-9138-f99709370657
2005-01-29 18:06:20 +00:00
Daniel Stenberg
e2c140e419 fixed depfile file name
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5705 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 23:25:40 +00:00
Linus Nielsen Feltzing
2a77d3a35e Cleaning up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5697 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 13:27:58 +00:00
Linus Nielsen Feltzing
d397145554 iRiver Boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5694 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 12:51:10 +00:00