[rockbox] / trunk / firmware / system.c Repository:
ViewVC logotype

Log of /trunk/firmware/system.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 17847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 28 18:10:04 2008 UTC (5 months ago) by bagder
File length: 6522 byte(s)
Diff to previous 17820
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml

Revision 17820 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 27 23:44:17 2008 UTC (5 months, 1 week ago) by markun
File length: 6422 byte(s)
Diff to previous 17819
remove leftover debug stuff

Revision 17819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 27 23:24:34 2008 UTC (5 months, 1 week ago) by markun
File length: 6480 byte(s)
Diff to previous 17289
initial Meizu M6SL port (take 2)

Revision 17289 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 29 06:19:32 2008 UTC (7 months ago) by amiconn
File length: 6422 byte(s)
Diff to previous 16981
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).

Revision 16981 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 6 04:34:57 2008 UTC (7 months, 4 weeks ago) by jethead71
File length: 6482 byte(s)
Diff to previous 16243
Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).

Revision 16243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 8 02:20:05 2008 UTC (9 months, 3 weeks ago) by jethead71
File length: 6486 byte(s)
Diff to previous 16105
Gigabeat S: Interrupt enabled bootloader. Miscellaneous integration changes.

Revision 16105 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 18 13:12:33 2008 UTC (10 months, 2 weeks ago) by jethead71
File length: 6426 byte(s)
Diff to previous 15243
Finally, out goes struct spinlock for anything but mutiprocessor targets where it becomes a reenterable corelock.

Revision 15243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 21 11:02:51 2007 UTC (13 months, 2 weeks ago) by miipekk
File length: 6451 byte(s)
Diff to previous 15134
Fixed warnings when logf is enabled.

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 16 01:25:17 2007 UTC (13 months, 2 weeks ago) by jethead71
File length: 6404 byte(s)
Diff to previous 14879
Finally full multicore support for PortalPlayer 502x targets with an eye towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties.

Revision 14879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 28 10:20:02 2007 UTC (14 months ago) by jethead71
File length: 5547 byte(s)
Diff to previous 13832
Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly.

Revision 13832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 9 13:53:12 2007 UTC (16 months, 3 weeks ago) by jethead71
File length: 5424 byte(s)
Diff to previous 13240
Add divide-by-zero trap for ARM instead of just silently ignoring them.

Revision 13240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 12:27:54 2007 UTC (19 months, 1 week ago) by barrywardell
File length: 5146 byte(s)
Diff to previous 13239
Fix build errors.


Revision 13239 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 12:03:17 2007 UTC (19 months, 1 week ago) by barrywardell
File length: 5216 byte(s)
Diff to previous 13238
Move PortalPlayer system.c code into the target tree.

Revision 13238 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 22 11:30:32 2007 UTC (19 months, 1 week ago) by barrywardell
File length: 14888 byte(s)
Diff to previous 13155
Fix some very probable typo's.
CPU_INT_STAT is at 0x60004000, not 0x64004000.
CPU_HI_INT_STAT is at 0x60004100, not 0x64004100.
Fix wrong IRQ CLR addresses being used by system_init().

Revision 13155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 14 11:15:43 2007 UTC (19 months, 3 weeks ago) by jethead71
File length: 14856 byte(s)
Diff to previous 13114
PP5020/PP5024: Add ASM optimized inline current_core.

Revision 13114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 23:51:00 2007 UTC (19 months, 3 weeks ago) by amiconn
File length: 14987 byte(s)
Diff to previous 13050
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.

Revision 13050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 6 22:55:00 2007 UTC (19 months, 4 weeks ago) by amiconn
File length: 29161 byte(s)
Diff to previous 12927
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.

Revision 12927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 17:29:04 2007 UTC (20 months, 1 week ago) by miipekk
File length: 29192 byte(s)
Diff to previous 12926
Fixed compilation problems with boostctrl_mtx.

Revision 12926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 16:55:17 2007 UTC (20 months, 1 week ago) by miipekk
File length: 29040 byte(s)
Diff to previous 12904
Make scheduler functions thread safe core wise. A big step towards playback running on COP (not yet possible because more protection on file system level is necessary).

Revision 12904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 24 19:26:13 2007 UTC (20 months, 1 week ago) by tomal
File length: 28866 byte(s)
Diff to previous 12601
PNX0101 changes:
Make PNX0101-specific system.c and crt0.S.
Add new register names from LPC2880 user manual.
Add support for timer.
Enable CPU frequency changing. 

Revision 12601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 4 20:06:41 2007 UTC (21 months ago) by dan_a
File length: 30602 byte(s)
Diff to previous 12574
Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.)  This allows threads to be run on either core provided that all communications between the cores is done using uncached memory.  There should be no significant change in battery life from doing this.  Documentation (on the RockboxKernel wiki page) will follow shortly.

Revision 12574 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 3 17:25:20 2007 UTC (21 months ago) by barrywardell
File length: 29022 byte(s)
Diff to previous 12467
Replace some inl/outl with register #define's instead. Also tidy up pp5020.h so that it's in increasing address order.

Revision 12467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 23 23:22:03 2007 UTC (21 months, 1 week ago) by dave
File length: 29040 byte(s)
Diff to previous 12087
Remap flash ROM to 0x20000000 on the ipods and H10s, and implement dbg_save_roms() in the debug menu for those targets to dump the content to a file.

Revision 12087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 22 10:41:25 2007 UTC (22 months, 1 week ago) by jdgordon
File length: 28748 byte(s)
Diff to previous 11991
Simple cpu boost tracker for LOGF builds. Shows the last 64 cpu_boost() calls from the debug menu

Revision 11991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 12 18:34:00 2007 UTC (22 months, 3 weeks ago) by miipekk
File length: 27392 byte(s)
Diff to previous 11903
Prepare core support for the iriver bootloader supporting ROM images

Revision 11903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 11:33:13 2007 UTC (23 months ago) by gwhite
File length: 27025 byte(s)
Diff to previous 11850
Move system specific reboot

Revision 11850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 29 02:49:12 2006 UTC (23 months ago) by markun
File length: 27313 byte(s)
Diff to previous 11665
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.

Revision 11665 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 5 20:01:48 2006 UTC (23 months, 4 weeks ago) by miipekk
File length: 27117 byte(s)
Diff to previous 11570
Removed the cpu boost tracking debug feature for now because of
different kind of problems. Better implementation can be done later.

Revision 11570 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 00:49:16 2006 UTC (2 years ago) by dan_a
File length: 28077 byte(s)
Diff to previous 11504
Sansa doesn't use a Wolfson codec.  Various other changes to allow Sansa to compile correctly with a normal build.  Based on FS#6336 by Pavel Gnelitsa

Revision 11504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 10 20:26:01 2006 UTC (2 years ago) by amiconn
File length: 27944 byte(s)
Diff to previous 11470
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.

Revision 11470 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 8 18:33:06 2006 UTC (2 years ago) by jethead71
File length: 33188 byte(s)
Diff to previous 11452
Use HAVE_FLASHED_ROCKBOX when target is flashable. Currenly only used by the H100 series.

Revision 11452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 6 18:07:30 2006 UTC (2 years ago) by jethead71
File length: 33242 byte(s)
Diff to previous 11399
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.

Revision 11399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 30 14:17:14 2006 UTC (2 years, 1 month ago) by jethead71
File length: 33330 byte(s)
Diff to previous 11392
Moved coldfire code in system.c and system.h into target tree.

Revision 11392 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 30 08:56:06 2006 UTC (2 years, 1 month ago) by jdgordon
File length: 44679 byte(s)
Diff to previous 11207
move the iriver h1x0/h3x0 targets to the target tree

Revision 11207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 12 20:22:16 2006 UTC (2 years, 1 month ago) by linus
File length: 48638 byte(s)
Diff to previous 11154
Logf output on the serial port for h100 targets

Revision 11154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 8 21:34:26 2006 UTC (2 years, 1 month ago) by amiconn
File length: 48070 byte(s)
Diff to previous 11153
UIE(), panicf(): Make reboot with ON react immediately on targets with real LED (archos recorders, player).

Revision 11153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 8 20:21:16 2006 UTC (2 years, 1 month ago) by peter
File length: 48044 byte(s)
Diff to previous 11125
coldfire: set INTBASE and SPURVEC at startup, fixed typo in GPI0 int name

Revision 11125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 10:07:03 2006 UTC (2 years, 1 month ago) by pondlife
File length: 47974 byte(s)
Diff to previous 11015
Add CPU boost tracker to see where boosts are coming from

Revision 11015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 20 23:21:59 2006 UTC (2 years, 2 months ago) by barrywardell
File length: 46925 byte(s)
Diff to previous 10828
Detect charger connected on H10. No need to sleep(HZ) when powering off.
More sensible USB support for H10: plugging in puts it into USB charging mode and leaves Rockbox usable, holding 'O' while pluggin in the USB cable will reboot the H10 (continuing to hold 'O' starts it up in UMS mode), holding any other button brings up the USB screen as previously.
Implement system_reboot() for all PP5020 devices.

Revision 10828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 19:19:35 2006 UTC (2 years, 3 months ago) by dave
File length: 46882 byte(s)
Diff to previous 10806
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.

Revision 10806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 30 15:36:55 2006 UTC (2 years, 3 months ago) by barrywardell
File length: 46857 byte(s)
Diff to previous 10681
Enable CPU boosting on H10 models.

Revision 10681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 21 17:35:35 2006 UTC (2 years, 3 months ago) by dan_a
File length: 46807 byte(s)
Diff to previous 10668
Threading changes in preparation for multiple core support

Revision 10668 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 23:05:47 2006 UTC (2 years, 3 months ago) by barrywardell
File length: 46647 byte(s)
Diff to previous 10535
Fix errors when building H10 Normal build.

Revision 10535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 12 08:01:54 2006 UTC (2 years, 3 months ago) by markun
File length: 46332 byte(s)
Diff to previous 10525
update the gigabeat code and move to target_tree

Revision 10525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 10:13:16 2006 UTC (2 years, 3 months ago) by miipekk
File length: 46241 byte(s)
Diff to previous 10464
Properly handle early USB mode, dircache and tagcache state files with
flashed rockbox.

Revision 10464 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 5 20:19:10 2006 UTC (2 years, 3 months ago) by miipekk
File length: 46069 byte(s)
Diff to previous 10313
Initial support and use for EEPROM memory on H120 & H140 players when
Rockbox firmware has been flashed over original firmware (not yet
possible to do). Dircache & tagcache serialization for fast bootup
without the need to scan disk when Rockbox is in flash.

Revision 10313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 24 22:49:06 2006 UTC (2 years, 4 months ago) by dan_a
File length: 45652 byte(s)
Diff to previous 10129
Implement frequency scaling on iPod 3Gs - FS #5686

Revision 10129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 18:13:35 2006 UTC (2 years, 5 months ago) by amiconn
File length: 44903 byte(s)
Diff to previous 10128
Iriver: Faster ata timing.

Revision 10128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 17:34:18 2006 UTC (2 years, 5 months ago) by amiconn
File length: 44903 byte(s)
Diff to previous 9859
H300: Rudimentary driver for the ISP1362 USB on-the-go controller. For now it just sends the chip to sleep, solving the poor battery runtime issue.

Revision 9859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 2 07:36:39 2006 UTC (2 years, 7 months ago) by amiconn
File length: 44427 byte(s)
Diff to previous 9857
Oops, correctly calculate the interrupt number in UIE().

Revision 9857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 1 22:15:36 2006 UTC (2 years, 7 months ago) by amiconn
File length: 44427 byte(s)
Diff to previous 9833
Fix red bootbox builds with gcc 4.x and -Os. Save a bit of code by not including the never called UIE0..UIE3.

Revision 9833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 29 13:18:40 2006 UTC (2 years, 7 months ago) by amiconn
File length: 44659 byte(s)
Diff to previous 9832
Ooops. Fix red bootbox builds.

Revision 9832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 29 12:42:55 2006 UTC (2 years, 7 months ago) by amiconn
File length: 44481 byte(s)
Diff to previous 9694
SH1: Moved exception vector table generation and weak aliasing into an asm block. Allows building with gcc 4.x

Revision 9694 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 23:37:48 2006 UTC (2 years, 7 months ago) by amiconn
File length: 46115 byte(s)
Diff to previous 9693
Ooops.

Revision 9693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 23:16:32 2006 UTC (2 years, 7 months ago) by amiconn
File length: 46093 byte(s)
Diff to previous 9609
H300: Optimised PCF50606 driver, significantly reduces CPU power drain from the button tick (with both main & remote buttons: 50%->13% at 11MHz, 12%->6% at 45MHz): * Delay is adapted to the current CPU clock, aiming at constant 400kHz i2c clock. * Reduced number of port accesses (accessing GPIO is very slow, especially with the atomic boolean instructions) by implementing an open-collector-like behaviour. * Time-critical functions implemented in assembler.

Revision 9609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 11 13:49:05 2006 UTC (2 years, 7 months ago) by preglow
File length: 45857 byte(s)
Diff to previous 9597
New crossfeed complete with no volume reducing bugs. Feedback on all the
new options is appreciated. Thanks to Dan Everton for the settings/GUI
code.

Revision 9597 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 10 20:33:35 2006 UTC (2 years, 7 months ago) by amiconn
File length: 45618 byte(s)
Diff to previous 9548
Coldfire: More appropriate condition for the refresh timings.

Revision 9548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 7 12:16:27 2006 UTC (2 years, 7 months ago) by dave
File length: 45624 byte(s)
Diff to previous 9364
iPod: Enable dynamic CPU frequency changing on the 4G (both greyscale and colour) and the first generation mini

Revision 9364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 18:14:08 2006 UTC (2 years, 8 months ago) by amiconn
File length: 45090 byte(s)
Diff to previous 9354
iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. Buttons working now, rockbox no longer hangs at boot.

Revision 9354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 10:01:04 2006 UTC (2 years, 8 months ago) by linus
File length: 45050 byte(s)
Diff to previous 9104
Better sound quality on the iAudio X5 using the correct MCLK frequency

Revision 9104 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 18 21:29:17 2006 UTC (2 years, 8 months ago) by linus
File length: 45050 byte(s)
Diff to previous 9077
iAudio: working PLL settings

Revision 9077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 14:27:09 2006 UTC (2 years, 8 months ago) by preglow
File length: 45024 byte(s)
Diff to previous 9074
More sane define checking. To disable cpu boosting on ipods, just
commenting out the HAVE_ADJUSTABLE_CPU_FREQ line in the
config-ipodxxxx.h file will work now.

Revision 9074 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 02:44:55 2006 UTC (2 years, 8 months ago) by preglow
File length: 45071 byte(s)
Diff to previous 9073
We need to allow set_cpu_frequency in the bootloader for adjustable CPU
freq targets. Fixes red build.

Revision 9073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 02:13:49 2006 UTC (2 years, 8 months ago) by preglow
File length: 45072 byte(s)
Diff to previous 9070
Remove tabs...

Revision 9070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 02:02:13 2006 UTC (2 years, 8 months ago) by preglow
File length: 45051 byte(s)
Diff to previous 9068
CPU boosting support for ipod nano and video. The rest of the targets
are either untested or do not work with the current code.

Revision 9068 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 00:18:22 2006 UTC (2 years, 8 months ago) by preglow
File length: 43972 byte(s)
Diff to previous 9067
Remove tabs...

Revision 9067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 17 00:08:39 2006 UTC (2 years, 8 months ago) by preglow
File length: 43963 byte(s)
Diff to previous 8857
Add timer.c module support for ipods. Remove uneeded SIMULATOR check.
Introduce TIMER_FREQ define.

Revision 8857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 27 12:35:05 2006 UTC (2 years, 9 months ago) by dave
File length: 43742 byte(s)
Diff to previous 8847
Patch #3060 from Andrew Scott - iPod mini button driver

Revision 8847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 26 15:59:46 2006 UTC (2 years, 9 months ago) by dave
File length: 43487 byte(s)
Diff to previous 8835
iPod 3G - initial (completely untested) attempt at audio support

Revision 8835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 24 20:54:09 2006 UTC (2 years, 9 months ago) by dave
File length: 43549 byte(s)
Diff to previous 8583
More iPod 3G work from Seven Le Mesle

Revision 8583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 5 17:34:49 2006 UTC (2 years, 9 months ago) by dave
File length: 43586 byte(s)
Diff to previous 8555
Further iPod 3G work from Seven Le Mesle

Revision 8555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 23:26:14 2006 UTC (2 years, 10 months ago) by tomal
File length: 41629 byte(s)
Diff to previous 8501
Added empty fiq routine for iFP.

Revision 8501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 31 09:40:21 2006 UTC (2 years, 10 months ago) by dave
File length: 41609 byte(s)
Diff to previous 8499
Oops - fix red iPod bootloader build

Revision 8499 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 31 01:50:07 2006 UTC (2 years, 10 months ago) by dave
File length: 41609 byte(s)
Diff to previous 8441
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.

Revision 8441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 23:32:16 2006 UTC (2 years, 10 months ago) by tomal
File length: 41385 byte(s)
Diff to previous 8438
made UIE for iPod common to all ARM targets

Revision 8438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 22:31:57 2006 UTC (2 years, 10 months ago) by preglow
File length: 41311 byte(s)
Diff to previous 8388
Removed PP5020_ prefix from register defines and added/renamed some
defines.

Revision 8388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 19 15:03:34 2006 UTC (2 years, 10 months ago) by preglow
File length: 41339 byte(s)
Diff to previous 8342
UIE handler for ARM/iPod. Currently does not support interrupts. Will
probably also work for other ARM based targets, like iFP.

Revision 8342 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 00:35:50 2006 UTC (2 years, 10 months ago) by dave
File length: 40679 byte(s)
Diff to previous 8301
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski

Revision 8301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 5 17:02:48 2006 UTC (2 years, 10 months ago) by dave
File length: 38990 byte(s)
Diff to previous 8261
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.

Revision 8261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 18 13:04:00 2005 UTC (2 years, 11 months ago) by dave
File length: 38982 byte(s)
Diff to previous 8257
New target - iPod Video.

Revision 8257 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 17 19:11:43 2005 UTC (2 years, 11 months ago) by preglow
File length: 38829 byte(s)
Diff to previous 8256
Raise iPod CPU frequency and enable cache and add function needed for button driver.

Revision 8256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 17 19:08:55 2005 UTC (2 years, 11 months ago) by preglow
File length: 37626 byte(s)
Diff to previous 8224
Button and click wheel driver for iPod 4g and Nano.

Revision 8224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 12 13:53:22 2005 UTC (2 years, 11 months ago) by preglow
File length: 37503 byte(s)
Diff to previous 8208
Add interrupt handler for iPod. Add timer tick support. Remove temporary thread sleep solution. Remove temporary iPod current_tick solution.

Revision 8208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 00:42:06 2005 UTC (2 years, 11 months ago) by linus
File length: 37237 byte(s)
Diff to previous 8077
H300 max CPU frequency is now back to 124MHz

Revision 8077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 27 01:12:16 2005 UTC (3 years ago) by linus
File length: 37304 byte(s)
Diff to previous 7825
Temporarily set the max CPU frequency to 90MHz on the H300

Revision 7825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 12 15:29:43 2005 UTC (3 years ago) by dave
File length: 37237 byte(s)
Diff to previous 7812
More iPod changes

Revision 7812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 17:51:35 2005 UTC (3 years ago) by dave
File length: 37163 byte(s)
Diff to previous 7799
iPod: Code cleanup - the bootloader now compiles with zero warnings

Revision 7799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 9 00:54:43 2005 UTC (3 years ago) by amiconn
File length: 37166 byte(s)
Diff to previous 7781
SH1: Changed UIE() to use the same reset method as on coldfire, using the watchdog timer. Should be more reliable this way. Disabled LED handling and added reboot-with-on for Ondio. * All: #ifdef cleanup in panicf(), added reboot-with-on for Ondio.

Revision 7781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 23:07:19 2005 UTC (3 years ago) by dave
File length: 36838 byte(s)
Diff to previous 7756
Initial commit of work-in-progress iPod port

Revision 7756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 5 11:34:57 2005 UTC (3 years ago) by amiconn
File length: 36716 byte(s)
Diff to previous 7744
System reboot from UIE() now works in all cases, even from a debug interrupt (memory guard).

Revision 7744 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 20:34:34 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36166 byte(s)
Diff to previous 7743
Coldfire: The memory guard configuration routine didn't correctly return the old mode when setting a new one.

Revision 7743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 20:01:58 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36149 byte(s)
Diff to previous 7630
Coldfire: Properly handle the SDRAM refresh timing on CPU frequency changes. For >= 92 MHz operation, tRC needs to be 6 clocks, otherwise 3 clocks are sufficient.

Revision 7630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 06:01:37 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36089 byte(s)
Diff to previous 7629
Removed unused variable.

Revision 7629 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 05:52:24 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36101 byte(s)
Diff to previous 7611
Coldfire: (1) Keep the correct CRSEL and CLSEL values in the PLLCR register for CPUFREQ_DEFAULT. Fixes non-working treble & bass controls in radio screen. (2) Save a bit more power by powering down the PLL at CPUFREQ_DEFAULT.

Revision 7611 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 10 19:24:39 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36021 byte(s)
Diff to previous 7600
Iriver: No write protection for flash ROM area, correct number of waitstates.

Revision 7600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 8 20:09:07 2005 UTC (3 years, 1 month ago) by amiconn
File length: 36021 byte(s)
Diff to previous 7576
Ported the memory guard debug feature to coldfire, using the breakpoint logic. There are 3 shortcomings compared to SH1: (1) While the setting itself survives RoLo, it cannot be read back because the debug module programming model is write only. (2) system_reboot() from a 'Debug' exception doesn't work because the CPU enters emulation mode, and the only way leaving this mode is via an rte instruction. (3) (fixable) Catching write accesses to the flash doesn't actually do anything because the flash memory area is set write protected in CSMR2, so a write attempt stalls the bus. * Cosmetic changes in system.c

Revision 7576 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 3 09:24:36 2005 UTC (3 years, 2 months ago) by amiconn
File length: 34534 byte(s)
Diff to previous 7483
Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.

Revision 7483 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 6 20:53:39 2005 UTC (3 years, 2 months ago) by linus
File length: 34256 byte(s)
Diff to previous 7479
Moved the system_reboot() call to the correct place

Revision 7479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 6 20:22:34 2005 UTC (3 years, 2 months ago) by linus
File length: 34256 byte(s)
Diff to previous 7304
Call system_reboot() instead of rolo_load() in the UIE handler

Revision 7304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 19:00:55 2005 UTC (3 years, 3 months ago) by linus
File length: 34303 byte(s)
Diff to previous 7186
iriver: Moved the I2C prescaler setting to i2c_init(), and removed it from set_cpu_frequency(). The Coldfire I2C controller can't handle on-the-fly prescaler changes. Also removed the unnecessary slave address setting in i2c_init.

Revision 7186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 18 12:40:29 2005 UTC (3 years, 4 months ago) by christian
File length: 34655 byte(s)
Diff to previous 7181
Added CPU_COLDFIRE define - one step closer to iAudio-port

Revision 7181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 17 15:59:32 2005 UTC (3 years, 4 months ago) by linus
File length: 34661 byte(s)
Diff to previous 7179
iriver: Reduced LCD write cycle length to 65ns, almost halving the execution time for lcd_update, from 1.8ms to 1ms in 120MHz

Revision 7179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 17 13:42:59 2005 UTC (3 years, 4 months ago) by linus
File length: 34661 byte(s)
Diff to previous 7118
iriver: Adjusted to optimal I2C bit rates

Revision 7118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 10:30:30 2005 UTC (3 years, 4 months ago) by linus
File length: 34654 byte(s)
Diff to previous 7069
Removed an extra semicolon

Revision 7069 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 8 15:03:05 2005 UTC (3 years, 4 months ago) by linus
File length: 34655 byte(s)
Diff to previous 7044
Adjusted refresh timer for H110

Revision 7044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 6 20:42:00 2005 UTC (3 years, 4 months ago) by tomas
File length: 34467 byte(s)
Diff to previous 7023
(1) Set cpu to 11 Mhz when we "crash" to prevent overheating.
(2) Bind the ON button to reboot when we are in the crashed state.

Revision 7023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 07:58:19 2005 UTC (3 years, 5 months ago) by linus
File length: 34228 byte(s)
Diff to previous 6747
New power-conserving CPU idle mode

Revision 6747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 18 12:53:57 2005 UTC (3 years, 5 months ago) by miipekk
File length: 33791 byte(s)
Diff to previous 6604
Initial support for iriver backlight dimming. Unfortunately dimming
remote control's EL-backlight is not possible.

Revision 6604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 8 07:37:32 2005 UTC (3 years, 5 months ago) by linus
File length: 33745 byte(s)
Diff to previous 6491
ColdFire: DCR is a 16-bit register

Revision 6491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 18:15:14 2005 UTC (3 years, 6 months ago) by linus
File length: 33765 byte(s)
Diff to previous 6282
Added system_reboot() for iRiver

Revision 6282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 05:56:36 2005 UTC (3 years, 7 months ago) by linus
File length: 33465 byte(s)
Diff to previous 6206
Wrong setting of AUDIOSEL caused double pitch 120MHz playback

Revision 6206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 11:36:48 2005 UTC (3 years, 8 months ago) by linus
File length: 33465 byte(s)
Diff to previous 6161
I2C clock settings and ATA timing for iRiver

Revision 6161 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 7 10:51:43 2005 UTC (3 years, 8 months ago) by linus
File length: 33128 byte(s)
Diff to previous 6125
Dedicated CPU frequency debug screen for CPU's with PLL

Revision 6125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 21:48:02 2005 UTC (3 years, 9 months ago) by linus
File length: 33109 byte(s)
Diff to previous 6118
iRiver: Increased the max CPU frequency to 120MHz

Revision 6118 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 16:29:02 2005 UTC (3 years, 9 months ago) by jyp
File length: 33109 byte(s)
Diff to previous 6108
gmini: variable CPU frequency

Revision 6108 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 12:17:45 2005 UTC (3 years, 9 months ago) by preglow
File length: 32427 byte(s)
Diff to previous 6093
Added new coldfire assembly LPC decoder routine to libFLAC.
Added clear accumulator policy.

Revision 6093 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 1 14:35:10 2005 UTC (3 years, 9 months ago) by linus
File length: 32063 byte(s)
Diff to previous 6047
Adjustable CPU frequency for iRiver

Revision 6047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 15:03:46 2005 UTC (3 years, 9 months ago) by jyp
File length: 29286 byte(s)
Diff to previous 6030
fixed setup of the gmini GPIO

Revision 6030 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 22 09:55:40 2005 UTC (3 years, 9 months ago) by jyp
File length: 29294 byte(s)
Diff to previous 6023
Gmini SMSC chip improvements

Revision 6023 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 19 21:34:03 2005 UTC (3 years, 9 months ago) by jyp
File length: 29282 byte(s)
Diff to previous 6022
Gmini
 * advances in the handling of the smsc chip
 * moved stuff to where it belongs

Revision 6022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 19 17:49:58 2005 UTC (3 years, 9 months ago) by jyp
File length: 29282 byte(s)
Diff to previous 5951
Gmini work:
* Better USB
* Better comments
* Better coding style

Revision 5951 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 15 14:00:21 2005 UTC (3 years, 9 months ago) by jyp
File length: 28274 byte(s)
Diff to previous 5852
better PLL support & slight fix (probably in keepalive handling)

Revision 5852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 8 15:11:58 2005 UTC (3 years, 9 months ago) by jyp
File length: 27620 byte(s)
Diff to previous 5749
Variants for gmini dma transfers

Revision 5749 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 2 21:56:03 2005 UTC (3 years, 10 months ago) by bagder
File length: 26772 byte(s)
Diff to previous 5644
provide system_memory_guard() and system_reboot() dummies for coldfire target

Revision 5644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 24 00:01:37 2005 UTC (3 years, 10 months ago) by jyp
File length: 26577 byte(s)
Diff to previous 5472
Some more gmini hw support

Revision 5472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 1 00:33:18 2004 UTC (4 years ago) by amiconn
File length: 24531 byte(s)
Diff to previous 5376
Button driver overhaul: (1) Unified the button driver functions as much as possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2

Revision 5376 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 22:24:30 2004 UTC (4 years, 1 month ago) by linus
File length: 24437 byte(s)
Diff to previous 5366
Correct handling of unhandled exceptions for coldfire

Revision 5366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 27 06:52:25 2004 UTC (4 years, 1 month ago) by linus
File length: 24132 byte(s)
Diff to previous 5285
Coldfire: the timers can only be autovectored, let's put the tick timer at level 3

Revision 5285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 15 11:33:58 2004 UTC (4 years, 1 month ago) by linus
File length: 24132 byte(s)
Diff to previous 5256
Ported interrupt vector handling to Coldfire

Revision 5256 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 12 09:09:16 2004 UTC (4 years, 1 month ago) by amiconn
File length: 16550 byte(s)
Diff to previous 5248
Bus controller inits are valid for all models. Corrected WCR1 init according to the datasheet (dontcare bits shall be written as 1)

Revision 5248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 10 22:37:56 2004 UTC (4 years, 1 month ago) by amiconn
File length: 16726 byte(s)
Diff to previous 5026
Properly initialize the bus controller for Ondio as well. Fixes coldstart from flash on Ondio SP, both classic and RomBox

Revision 5026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 30 19:52:45 2004 UTC