Michael Sevakis
|
1ec35841d6
|
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17444 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-10 18:32:34 +00:00 |
|
Michael Sevakis
|
80278e45aa
|
Bring Gigabeat S bootloader one step close to a release version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17442 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-10 18:00:11 +00:00 |
|
Michael Sevakis
|
6df1a86e99
|
Remove inner loop from button scanning on Gigabeat S. Requires changing the button codes but it's not a "functional port" so no plugin API version increase is done though a full update will be needed since any using the values will be incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17432 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-09 21:19:58 +00:00 |
|
Michael Sevakis
|
25583656d9
|
Backlight brightness setting for Gigabeat S. Cleanup headers in target backlight file too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17428 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 22:03:49 +00:00 |
|
Nils Wallménius
|
ad5c4b6511
|
Add two missing rockbox headers and set svn:eol-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17418 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 16:47:24 +00:00 |
|
Nils Wallménius
|
f24eaabcad
|
Disable clocks for most modules in the imx31l on startup, individual drivers handle enabling/disabling clocks for used modules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17417 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 16:27:23 +00:00 |
|
Nils Wallménius
|
89aca6aa77
|
Oops, it's called mc13783...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17416 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 15:49:46 +00:00 |
|
Michael Sevakis
|
3ff1d584ef
|
Hehe. Should probably implement ide_powered if implementing ide_power_enable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17415 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 14:11:26 +00:00 |
|
Michael Sevakis
|
6dd6ea74af
|
Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 12:09:14 +00:00 |
|
Michael Sevakis
|
86680e7f4b
|
Gigabeat S: Put in (so it appears) proper delays for USB PHY reset. Use the atomic regmod functions to change bits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17411 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 09:03:19 +00:00 |
|
Michael Sevakis
|
6e5e20b1e1
|
Remove an unneeded #include and a lone "#" on a line (it's early).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17410 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 08:09:24 +00:00 |
|
Michael Sevakis
|
df4bd0697d
|
Gigabeat S: Add ATA/IDE power management. Fix parameter order of regmod32 as it was intended (had some things mixed up :P).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17409 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-08 08:03:08 +00:00 |
|
Michael Sevakis
|
607b63a827
|
Gigabeat S technical correction: Fix instruction order because clean dcache operand is SBZ.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17401 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-07 06:13:35 +00:00 |
|
Michael Sevakis
|
6edb95d050
|
Gigabeat S: Make sure ATA interface is idle before a reset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17396 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-06 10:02:46 +00:00 |
|
Michael Sevakis
|
0218397cf4
|
Gigabeat S bootloader: 1) Switch order of .vectors to be contiguous with initialized sections. 2) Clean all caches in main before doing anything else because vector copying counts as self-modifying code. Up to v.00000012.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17381 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 13:30:29 +00:00 |
|
Michael Sevakis
|
57cbd77788
|
Gigabeat S: Do the controller timing settings a more cleanly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17379 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 13:00:08 +00:00 |
|
Nils Wallménius
|
90a4a43430
|
Alarm wake up support for Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17376 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 12:37:42 +00:00 |
|
Michael Sevakis
|
9560ba6696
|
Mind repeat calls to ata_device_init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17373 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 11:21:04 +00:00 |
|
Michael Sevakis
|
12884bd1b7
|
Don't need the extra idle check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17372 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 10:57:34 +00:00 |
|
Michael Sevakis
|
be0c7d0ff3
|
Gigabeat S: Use the fastest PIO mode the installed drive allows instead of always PIO0. Centralize clock information in clkctl-imx31.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17371 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-05 10:53:06 +00:00 |
|
Michael Sevakis
|
5df4405317
|
Gigabeat S: Man it's so loud in here. We have SOUND! Someone please make keymaps consistent; it's rather messy atm.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17327 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-03 15:14:52 +00:00 |
|
Michael Sevakis
|
05423386d4
|
Remove some cruft not being used that interferes with building rockboy on Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17302 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-02 00:34:19 +00:00 |
|
Michael Sevakis
|
f74cf934d6
|
Fix an oops in ARMv6 flush_icache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17301 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-02 00:30:06 +00:00 |
|
Jens Arnold
|
0e73b8a0a9
|
Remove wrong usage of '.global'. These symbols are imported, not exported.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17290 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-29 06:47:34 +00:00 |
|
Jens Arnold
|
2bbacf89fe
|
Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-29 06:19:32 +00:00 |
|
Michael Sevakis
|
054c728c9c
|
Gigabeat S: Define the used ADC channels, get the channel order correct, enable charge current channel conversion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17272 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-27 22:35:24 +00:00 |
|
Michael Sevakis
|
39ed7087b3
|
IMX31: Try to catch the interrupt that was the reason irq_handler was called since it never should be. The bootloader occasionally shows one but it's not saying what.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17271 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-27 22:01:25 +00:00 |
|
Michael Sevakis
|
88451d59c4
|
IMX31: Use template structures to access modules' registers from a base address (as for i2c) which makes drivers look nicer and makes array accesses of registers simpler. Throw in minor fix to fiq_handler dispatcher, otherwise no functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17270 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-27 21:32:10 +00:00 |
|
Michael Sevakis
|
27fac88548
|
Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17254 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-27 10:30:54 +00:00 |
|
Michael Sevakis
|
45786ca7fd
|
Make Gigabeat S keypad correctly detect multiple key down events in a row. Properly exclude BUTTON_POWER in interrupt enable decision. Shorten delays in KPP_HANDLER and hopefully get away with it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17242 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-24 20:18:41 +00:00 |
|
Michael Sevakis
|
8ec1dca0da
|
Enable program flow prediction in the system control coprocessor setup in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17211 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-21 21:45:58 +00:00 |
|
Frank Gevaerts
|
fe5a35ce06
|
Also declare .qharray for the bootloader on imx31. Usb is also supported there...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17195 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 18:54:19 +00:00 |
|
Frank Gevaerts
|
7a2d9ddb08
|
move some data around to place qh_array at the start of iram. This saves up to about 2k iram on PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17194 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 18:43:47 +00:00 |
|
Michael Sevakis
|
0e71c589e0
|
Oops, clean up and use usb_drv.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17182 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 03:35:21 +00:00 |
|
Michael Sevakis
|
9003dbe5b2
|
Make the inital connect problem go away on Gigabeat S. Would be nice if a better way were found but it works for me. Update the bootloader to have it work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17181 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-20 03:30:57 +00:00 |
|
Michael Sevakis
|
3b90ab5ab1
|
Fix bootloader red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17155 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-18 17:04:04 +00:00 |
|
Michael Sevakis
|
94f7d0f290
|
UMS for the Gigabeat S. Bootloader USB mode. Has a couple quirks 1) First plug has problems if cold. Replug if it doesn't connect or not at high speed 2) Linux doesn't like the odd bootable flag value used in the partitions so it won't mount but Windows works. Fix minor OTG driver bugs and clean up device memory handling. Generic name for ARC controller driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17154 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-18 16:42:50 +00:00 |
|
Michael Sevakis
|
99a65dfc1e
|
Cache functions should include data and instruction barriers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17150 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-17 00:07:06 +00:00 |
|
Michael Sevakis
|
040b6cc654
|
Kill warnings that annoy me when building for Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17120 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-15 14:44:32 +00:00 |
|
Michael Sevakis
|
595d0659d4
|
Make the transparent bitmaps work on Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17118 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-15 13:06:29 +00:00 |
|
Michael Sevakis
|
0257547d58
|
Gigabeat S: Make ADC battery voltage reading correct. Tiny tweak to ADC driver traffic limiting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17105 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-14 06:52:38 +00:00 |
|
Michael Sevakis
|
25ebc85842
|
Oops...simple math proves elusive at times. Get the array calcs right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17104 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-14 04:22:47 +00:00 |
|
Michael Sevakis
|
b12c69bac7
|
ADC driver for Gigabeat S - a bit on the general side for now. Needs to have scales set properly (what physical value a reading represents isn't clear from the docs or I'm just lazy atm). Throw-in a _bunch_ more reg defines for the PMIC. Show all 16 raw channels values in debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17100 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-13 20:03:08 +00:00 |
|
Nils Wallménius
|
8c5d552ebd
|
Charger detection for Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17093 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-13 10:04:21 +00:00 |
|
Michael Sevakis
|
a7af9e4a7f
|
Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-12 16:56:45 +00:00 |
|
Michael Sevakis
|
ef97db1011
|
Big oops. Fix enum spi_module_number to set right enum values. :p.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17079 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-12 05:11:50 +00:00 |
|
Michael Sevakis
|
57742e0ef7
|
Add a "View I/O Ports" screen for imx31. Show all GPIO contents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17072 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-11 15:49:48 +00:00 |
|
Michael Sevakis
|
0b1d7e76d7
|
Serial driver for imx31. Perhaps not 100% but maybe 80-90% (future developments will tell). Factor-out the mc13783 stuff and make that driver a layer above the SPI. TODO: start processing PMIC interrupts. Start a clkctl API for imx31 (we'll see if this sticks around but it seems reasonable here). Misc. stuff for convenience/neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17070 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-11 08:51:27 +00:00 |
|
Robert Kukla
|
feb3b588e3
|
explicitly align the ibss section by adjusting _iramend - fixes hang on m:robe (and potential problem on other arm targets)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17024 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-07 18:24:23 +00:00 |
|
Michael Sevakis
|
dd88663fe0
|
gigabeat S: Set the tick speed correctly (calced from clocking regdump). Use bit #defines instead as well. Throw a header in the file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16928 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-02 05:17:05 +00:00 |
|