Commit graph

77 commits

Author SHA1 Message Date
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