Commit graph

191 commits

Author SHA1 Message Date
Catalin Patulea
f57ea9acd7 m:robe 500i port: Add backlight support to the main build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15404 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 06:13:43 +00:00
Catalin Patulea
574b1009a6 m:robe 500i port: Add support for the backlight client in the SPI subsystem
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15402 a1c6a512-1295-4272-9138-f99709370657
2007-11-02 05:07:52 +00:00
Dave Chapman
a4d48d0c0d Button driver for Logik DAX, plus some changes to the debug info displayed in the bootloader build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15396 a1c6a512-1295-4272-9138-f99709370657
2007-11-01 23:38:57 +00:00
Dave Chapman
28f6ae49ec Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 11:08:10 +00:00
Karl Kurbjun
0a632680e9 Some small cleanups and code for testing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15312 a1c6a512-1295-4272-9138-f99709370657
2007-10-26 05:17:15 +00:00
Karl Kurbjun
5a9a2b7bc4 Unify the Gigabeat F/X and M:Robe MMU code while enabling it for the M:Robe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15275 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 03:29:15 +00:00
Jonathan Gordon
12d1ff912c touchpad driver for the mrobe. nothing in apps/ uses it yet.
Changes to button driver: HAVE_BUTTON_DATA targets pass the button data straight back in the button_read_device() call


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15262 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 07:01:59 +00:00
Karl Kurbjun
fdbc01c6e2 More M:Robe work including a fix to lcd-as-memframe for larger screens thanks to Michael Sevakis. Also fixes simulator builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 23:12:17 +00:00
Barry Wardell
8b6bf8f734 Fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15226 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 18:30:41 +00:00
Barry Wardell
d46cf97024 Support database rebuild disabling when USB is connected for all e200 OF versions. Some people may have to update the OF (to any version they want) using sansapatcher before it will work. This just ensures that the NVPARAMS are in a good state and we can be sure where to look for the rebuild flag.The c200 OF doesn't reboot before rebuilding the database, so our trick won't ever work there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15225 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 17:08:41 +00:00
Barry Wardell
003fc494c2 Make the firmware partition dump code compile again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15223 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 15:41:44 +00:00
Jonathan Gordon
eee3745d70 Add 3 more OF datbase refresh locations for the e200 bootloader (FS#7990)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15219 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 10:01:05 +00:00
Jonathan Gordon
61f1ab27ff init spi and uart in the main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
2007-10-19 02:14:09 +00:00
Jonathan Gordon
d8667df357 slightly better touchpad driver. Still not brilliant, but the bootloader/debugger can follow a stylus with a cursor, so we can start work on getting apps/ working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15187 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 12:15:56 +00:00
Karl Kurbjun
fa1a38e7ce Some changes to the UART/button driver - reduce the number of interrupts - more work is needed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15180 a1c6a512-1295-4272-9138-f99709370657
2007-10-18 05:14:10 +00:00
Karl Kurbjun
f6bc19158e Turns out you can boot the main build by copying apps/rockbox.bin to /rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
2007-10-17 05:19:20 +00:00
Barry Wardell
f1fead0c9b Turn on the backlight in the e200 booloader. This is necessary for when we replace the sansa bootloader altogether.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15109 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 18:20:23 +00:00
Jonathan Gordon
d777a367ad clean up the e200r installer app to make it more user friendly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15104 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 11:16:20 +00:00
Karl Kurbjun
f96fc52f00 Cleanup more warnings on the M:Robe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15097 a1c6a512-1295-4272-9138-f99709370657
2007-10-13 16:27:41 +00:00
Jonathan Gordon
274c2b8d69 touchpad calibration (very simple calibration screen is in mrobe500.c
but will not actually be used in the bootloader once rockbox main is running)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14937 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 07:52:39 +00:00
Karl Kurbjun
a56b65342f Move some more files around and get the main build compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14919 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 16:29:21 +00:00
Jonathan Gordon
e108964ec0 IRQ driven touchpad driver, crude but working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14914 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 11:15:14 +00:00
Jonathan Gordon
a5e788fe85 slow - but working - IRQ based uart/button driver.
change some of the uart function names from CamelCase


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14908 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 08:18:46 +00:00
Karl Kurbjun
968ba0a277 More ATA work (that doesn't work)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14848 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 01:44:57 +00:00
Karl Kurbjun
9ac9cc6024 Working DM320 interrupts, changed the way registers are accessed in spi and uart drivers. Uart might be broken with interrupts - buttons on remote don't seem to respond when interrupts are enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14836 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 23:08:39 +00:00
Karl Kurbjun
67ef4500e3 More interupt/timer work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14823 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 23:17:52 +00:00
Jonathan Gordon
d331d00a2d start of the tsc2100 driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14816 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 14:21:07 +00:00
Karl Kurbjun
4a42723c33 Seperate M:Robe crt0.S, fix the vector tables for the bootloader, and show touchscreen values on single line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14814 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 06:04:14 +00:00
Will Robertson
590501cfe4 Merge the Gigabeat S branch back into trunk. Fingers crossed nothing breaks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14805 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 15:51:53 +00:00
Catalin Patulea
8664a4d425 m:robe 500i port: Less warnings = good.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14799 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:09:59 +00:00
Catalin Patulea
c3126e0f3c m:robe 500i port: Add primitives for the SPI bus and start moving toward new-style register definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14798 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:06:02 +00:00
Jonathan Gordon
d7c3d80258 (mr500) reset if power is pressed, not very nice, but im sick of using the remote to reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14780 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 14:16:25 +00:00
Björn Stenberg
ab7975b1c9 Sansa C200 bootloader works fine, no need to be verbose anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14775 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 12:11:04 +00:00
Jonathan Gordon
300f64c99a uart driver (which the buttons need) and button test code in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14768 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 09:08:40 +00:00
Karl Kurbjun
7b97fe21c0 Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 04:46:41 +00:00
Daniel Stenberg
98a39fb057 key added used for C200 A1.00.03
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14742 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 13:58:12 +00:00
Jens Arnold
c41470d33d 1st/2nd gen bootloader: * Don't be verbose by default anymore. * Don't enable the backlight, as it looks bad in a bright environment due to backlight inversion, and it needs a lot of power.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14678 a1c6a512-1295-4272-9138-f99709370657
2007-09-12 22:21:03 +00:00
Jonathan Gordon
9db22efd1f Firmware "hacker" code for the e200r install so the full bootloader rom doesnt need to be written.
Requires a custom version of e200tool which isnt available yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14654 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 11:20:20 +00:00
Mark Arigo
dbc6b4e39a Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:28:58 +00:00
Jonathan Gordon
95101c19f2 dont bother waiting for a usb connection if we arnt getting usb power (speeds up the e200 bootloader by about 1.25s)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14601 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:14:47 +00:00
Dave Chapman
1672350378 FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Daniel Stenberg
9b3be37f84 fix warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14598 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 21:26:39 +00:00
Daniel Stenberg
8701494630 added two keys, and made NUM_KEYS work without needing a fixed number
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14597 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 21:23:57 +00:00
Jens Arnold
0b7391e06b Fix more yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14377 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 07:06:54 +00:00
Jens Arnold
839ffbff5f Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14376 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:59:05 +00:00
Jens Arnold
0fac492c3d First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:45:18 +00:00
Michael Sevakis
0a1b2485f8 Get the last errors?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14037 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:58:05 +00:00
Michael Sevakis
5832b59c85 Fix warnings and errors. Remove some added stuff that wasn't needed afterall.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14036 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:45:57 +00:00
Jens Arnold
90eacb2616 G1/G2 bootloader working (always in verbose mode for now). Corrected fatal error help text for G1..G3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14020 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 07:32:55 +00:00
Dave Chapman
ebc076bc15 Remove the hack which read the ipod hardware revision from flash in the bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-07-25 13:12:38 +00:00