Andrew Ryabinin
fa4e1baa83
Introduce HiFi E.T MA9 port.
...
Change-Id: I79aadc958fd5222f26f91ed127f8c6fb2c465dc2
2013-05-06 14:09:24 +04:00
Andrew Ryabinin
cdb71c707b
Fix red.
...
Change-Id: I64cf91a2ddc4fbf89d83bb5a401e9e4021f8c160
2013-04-30 15:18:27 +04:00
Andrew Ryabinin
61f9dbce3b
rk27xx: initialize i2c driver in bootloader.
...
Change-Id: I0b343425d0cfef4d4609cabca79c1f31d8327d3b
Reviewed-on: http://gerrit.rockbox.org/459
Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
2013-04-30 13:09:49 +02:00
Szymon Dziok
95fe4eb3e0
Another optimization for the OF in the mi4 format.
...
What it does:
- removes unnecessary file operations for the OF (one lseek() and one read() per one key),
- simplifies the code and reduces the code size.
Speedup is not noticeable but theoretically some is.
Change-Id: I43a6dd21d3af48ea8d3b27d676c84b2084c0b88c
Reviewed-on: http://gerrit.rockbox.org/287
Tested-by: Szymon Dziok <b0hoon@o2.pl>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
2012-11-24 22:33:09 +01:00
Amaury Pouly
27248888c3
imx233: display battery voltage in bootloader (along with percent)
...
Change-Id: I7b14496ba891a9ff2f6373571a11835d37abee4e
2012-08-30 01:10:35 +02:00
Marcin Bukat
b43171dcdf
rk27xx: support entering rkusb mode on rk2706A
...
We know about two different bootroms. First can be found in rk2706A,
the second in rk2706B and rk2705. This two versions are very
similar but memory addresses are different. It seems it is possible
to distinguish bootrom version by reading SCU_ID register.
Change-Id: I01681b5e3a82930ae74a5cce6ab0244d7cd333d2
2012-07-10 09:14:09 +02:00
Szymon Dziok
ba3b6ceb4b
pp bootloader: speed up loading of the OF in the mi4 format
...
This change replaces an odd way to increment tea key in a function responsible
for finding the proper key (it doesn't have to be done in a for loop, it's just
adding a 32bit number to a 128bit number). It reduces the time needed to find
the key practically to zero and it gives in the best case 2 seconds of overall
speedup in loading the OF.
Change-Id: I0632526c3dfeb4d0603e77239f298a89076b630b
Reviewed-on: http://gerrit.rockbox.org/230
Tested-by: Szymon Dziok <b0hoon@o2.pl>
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
2012-06-23 18:06:52 +02:00
Bertrik Sikken
620982a0f3
Make Meizu M3 compile again
...
Change-Id: I44436068cf6f2c3942fb63f988bf627eaa9abb97
2012-05-20 16:16:50 +02:00
Amaury Pouly
07138ba2ba
imx233: move the freescale partition handling to its own file
...
The freescale firmware partitions has a lots of quirks that
need to be dealt with, so do it the proper way.
Change-Id: I8a5bd3fb462a4df143bc6c931057f3ffedd4b3d3
2012-05-19 16:10:52 +02:00
Rafaël Carré
7ca2081036
remove debug-target.h
2012-05-07 00:55:59 -04:00
Andrew Ryabinin
a3e3791342
rk27xx: Print rockbox version in bootloader.
...
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
2012-04-30 17:54:06 +04:00
Marcin Bukat
79a667d3e2
rk27xx: Add failsafe mode to the bootloader
...
Change-Id: Iba8fdc50b3c71831a6f55d15779fee8d1f12cb4f
2012-04-27 16:19:42 +02:00
Thomas Martitz
4b56ee048a
Refactor and unify objcopy calls in the build system. Also now properly handles DEBUG builds on hosted targets to keep debug symbols if necessary.
...
Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-04-04 21:48:19 +02:00
Thomas Martitz
045c69c51d
Fix bootloaders.
...
Change-Id: I7e1666d604c554509375a4ae858ff3cd7be96b3a
2012-03-26 23:55:02 +02:00
Marcin Bukat
69978d7046
center logo horizontaly in bootloader version of show_logo()
...
Change-Id: I537466825de7f3bc8d55d9519cd27f562fbb344f
2012-03-19 08:45:11 +01:00
Amaury Pouly
a4fd5bf7cb
imx233: enable charging in bootloader USB mode by including powermgmt
...
Change-Id: I8b91b3ab60cb9ffaa127333e9bcef8c33be742fa
2012-03-15 15:01:11 +01:00
Marcin Bukat
ecbda694b2
rename rkw.h header file
...
Change-Id: I2cb6ea7da9c20ed0ef87f4b8ea90d2e4a4a3bca2
2012-03-04 00:36:02 +01:00
Marcin Bukat
0263fe37e4
rk27xx: Implement dualboot capable bootloader
...
Change-Id: I399e10635f611bdf6f7c1bd5843fa132dc88bfb4
2012-03-04 00:35:48 +01:00
Amaury Pouly
c4450b9baf
imx233: print power up source in the bootloader
...
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
2012-02-28 22:45:30 +01:00
Marcin Bukat
164cb21fe5
unwarminder: fix bootloader builds
...
Change-Id: I045a4c9639ff17c96b514996574d41f586b5bd7c
2012-02-22 09:01:09 +01:00
Thomas Martitz
c1bd9b0361
Rework powermgmt to enable code re-use on appliation and sims.
...
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.
* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,
* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
Rafaël Carré
0ff5c5d3ed
The connect is not a PP and doesn't have ATA storage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31531 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 04:31:12 +00:00
Michael Sevakis
36bc6a1fd5
Gigabeat S: Revert removal of usb_plugged in r31489
...
Synchronous cable read is still required because the timing of the receipt of
the cable event cannot be known for sure-- basically it introduced a thread
race between main and pmic. If a keypress is desired instead to enter BL USB
mode a la AS3525, then it's possible to remove that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31510 a1c6a512-1295-4272-9138-f99709370657
2012-01-01 03:19:52 +00:00
Rafaël Carré
568c441fd8
usb-target.h: remove
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:44:55 +00:00
Rafaël Carré
2115eac7bb
usb_plugged() is PP only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31489 a1c6a512-1295-4272-9138-f99709370657
2011-12-31 18:43:59 +00:00
Amaury Pouly
0b885f2628
imx233: print rockbox version in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31446 a1c6a512-1295-4272-9138-f99709370657
2011-12-26 19:13:29 +00:00
Michael Sevakis
09769827fe
Swap red and yellow for green on r31339's cranky builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31340 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 07:54:00 +00:00
Michael Sevakis
6a67707b5e
Commit to certain names for cache coherency APIs and discard the aliases.
...
Wouldn't surprise me a bit to get some non-green.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
2011-12-17 07:27:24 +00:00
Michael Sevakis
bfd69f2aa1
Fix the real issue with AMS bootloader USB mode. A call to usb_enable was missing in usb.c when using the USB stack and USB_DETECT_BY_CORE was not enabled. Try to do it in a clean-ish way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31245 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 09:19:50 +00:00
Rafaël Carré
845cd59e3f
Sansa AMS: fix usb in bootloader
...
No need to define HAVE_BOOTLOADER_USB_MODE
That define might need some cleaning up
Fix FS#12384
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31241 a1c6a512-1295-4272-9138-f99709370657
2011-12-14 05:07:11 +00:00
Tomasz Moń
e8a8a1be43
Sandisk Sansa Connect port (FS #12363 )
...
Included are drivers for buttons, backlight, lcd, audio and storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Thomas Martitz
9a70c42241
Add the ability to create a prefilled struct bitmap along with generated images.
...
This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx);
Also fixes builtin list icons on non-mono targets, as they didn't have the
format field set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:37:16 +00:00
Thomas Jarosch
158e14a8c6
Fix file descriptor leak
...
Probably not much of an error since it's in the bootloader :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30965 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 17:44:56 +00:00
Andrew Ryabinin
2164aab902
Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 11:53:02 +00:00
Marcin Bukat
32f763c39a
Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30765 a1c6a512-1295-4272-9138-f99709370657
2011-10-17 10:32:19 +00:00
Amaury Pouly
1322b58b17
imx233/fuze+: rework crt0 and linker script to be able to load at any address and self-copy at the right one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657
2011-09-23 20:40:52 +00:00
Amaury Pouly
d945c36677
imx233/fuze+: rework linker script to load the bootloader at ram start + 1Mb to leave a load for the firmware
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30521 a1c6a512-1295-4272-9138-f99709370657
2011-09-13 23:38:08 +00:00
Bertrik Sikken
7e3a3f491d
Remove return value from show_logo() in bootloader/
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30485 a1c6a512-1295-4272-9138-f99709370657
2011-09-08 18:31:15 +00:00
Amaury Pouly
333b9ed2c3
imx233/fuze+: fix apps linker script, add comment in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30436 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 18:32:40 +00:00
Amaury Pouly
25f0060d21
imx233/fuze+: don't reboot after usb more, enter usb more after storage init, remove useless printf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30434 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 13:58:29 +00:00
Amaury Pouly
7d4fed53cc
imx233:fuze+: major memory and usb rework
...
- now identity map dram uncached and have a cached and buffered virtual alias
- rework dma to handle virtual to physical pointers conversion
- fix lcd frame pointer
- implement usb detection properly
- implement bootloader usb properly
- allow the bootloader to disable MMC windowing (useful for recovery)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30432 a1c6a512-1295-4272-9138-f99709370657
2011-09-05 11:29:32 +00:00
Frank Gevaerts
2b9e944021
Rework c200wipe to use proper partitioning and formatting code, which makes the code size-independent.
...
Also support the e200 with this code. Apparently it's also possible to get the e200 in a state where .fmt files don't help.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30413 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 21:34:28 +00:00
Bertrik Sikken
463b3ed8b2
Initial framework for the Sandisk Sansa Clip Zip
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
2011-08-27 16:21:19 +00:00
Amaury Pouly
82f70b8efd
imx233/fuze+: add SD detection support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30196 a1c6a512-1295-4272-9138-f99709370657
2011-07-22 15:45:58 +00:00
Amaury Pouly
5a2681161b
imx233/fuze+: make SOURCES more correct, implement i2c for fmradio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30135 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 17:14:05 +00:00
Rafaël Carré
8c954e28b7
sansa AMS bootloader: make strings static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:20 +00:00
Rafaël Carré
e59558277e
bootloaders: cleanup
...
- make printf buffer static and local to printf()
- use '\0' instead of 0 for setting char
- remove unused dummy functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30117 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:49:15 +00:00
Amaury Pouly
82ecc75e68
imx233/fuze+: make config.h more correct, remove logo from bootloader, update linker file and crt0 to produce a single blob into dram
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
2011-07-02 02:12:10 +00:00
Amaury Pouly
617d1e9f6b
imx233/fuze+: ssp, dma, mmc now work properly, partially implement cpu frequency changing, implement panic waiting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30104 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 17:31:40 +00:00
Jens Arnold
91ce4b2a60
Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.
...
In order to enable it, #define HAVE_DUALBOOT when building the bootloader.
Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot
to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and
bootloader.bin.
The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.
As a bonus, the Play button read (for hold check) is done a bit earlier for
single-boot mode as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 17:23:18 +00:00
Amaury Pouly
2cf3313382
fuze+: add more clocking code, add dma code, add ssp code, add stub usb code, update storage to SD + MMC, beginning of the driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30010 a1c6a512-1295-4272-9138-f99709370657
2011-06-17 22:30:58 +00:00
Marcin Bukat
dceceef052
Move dbg_hw_info() into target tree. FS#11735 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 10:26:06 +00:00
Marcin Bukat
976a1699da
Rockchip rk27xx port initial commit. This is still work in progress.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29935 a1c6a512-1295-4272-9138-f99709370657
2011-05-30 21:10:37 +00:00
Amaury Pouly
86e8c28330
fuze+: implement Synaptics RMI driver on top of i2c, add touchpad debug screen, bootloader enters debug screen by default
...
Since the bootloader currently always fails at storage point (unimplemented), always enter touchpad debug screen and power off which pressing power button.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29859 a1c6a512-1295-4272-9138-f99709370657
2011-05-11 22:38:09 +00:00
Amaury Pouly
08fb3f6574
Sansa Fuze+: initial commit (bootloader only, LCD basically working)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 13:02:46 +00:00
Karl Kurbjun
fff80b038c
M:Robe 500 bootloader: change the order of the backlight/lcd setup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29237 a1c6a512-1295-4272-9138-f99709370657
2011-02-06 21:04:51 +00:00
Michael Sevakis
480c663e5b
i.MX31: Now that it matters because there's a debug screeen that allows changing things while running, some DVFS/DPTC stuff has to be done more carefully. Trim out some stuff and group functions better as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29122 a1c6a512-1295-4272-9138-f99709370657
2011-01-23 20:21:35 +00:00
Michael Sevakis
863c03f2ae
Gigabeat S: Renovate bootloader a bit to show splash, implement verbose, shutdown on low battery, handle hold-switch-on and wait only so long for USB if a USB charger is inserted at boot instead of being connected to a host. 'Bootloader USB mode' display is just part of normal printf stream now. Move interrupt stacks into .bss area so they aren't loaded (for firmware too).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29099 a1c6a512-1295-4272-9138-f99709370657
2011-01-21 07:05:51 +00:00
Michael Sevakis
453550a687
Try to get some control over #ifdef hell in usb.c by refactoring and inline function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29084 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 14:10:06 +00:00
Michael Sevakis
5bf25bbd4f
Fix typo on macro made during previous PPBL commits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29061 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 00:35:22 +00:00
Michael Sevakis
d0178ba01c
Display messages only when entering USB mode in Portal Player bootloader to keep timed-out charger-only connects going into verbose mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29060 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 00:21:54 +00:00
Michael Sevakis
7b7cfc31c5
Fix r29054 red...yeah?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29055 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:01:55 +00:00
Michael Sevakis
71651cacb6
Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29054 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 08:52:59 +00:00
Michael Sevakis
3a1127785b
Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29053 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 08:19:30 +00:00
Michael Sevakis
0afad89f53
SA9200 boot: Add OF.ebn to the list of OF filenames to check.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29014 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 19:31:41 +00:00
Michael Sevakis
89a7a8138e
Gigabeat S: Make it a removable mass-storage device. Windows will assign a drive to only the main data partition by default. To access the bootloader partition instead, press 'Vol -' while it connects (in bootloader and firmware). Hopefully doesn't break anything for anyone.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28972 a1c6a512-1295-4272-9138-f99709370657
2011-01-05 19:35:51 +00:00
Marcin Bukat
67feb81084
MPIO bootloader - turn off backlight when hold is on. Usefull feature when charging during night.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28958 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 13:11:48 +00:00
Marcin Bukat
0358e7b864
MPIO HD200, HD300: Make USB bridge handling more correct (this doesn't solve problems with USB inside rockbox on HD300 unfortunately).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28780 a1c6a512-1295-4272-9138-f99709370657
2010-12-09 11:31:08 +00:00
Marcin Bukat
a73102f2c2
HD300: Fix bootloader hang when RTC alarm fires. Make entering bootmenu more reliable. Add some comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28739 a1c6a512-1295-4272-9138-f99709370657
2010-12-06 10:24:29 +00:00
Marcin Bukat
15a0a3c263
Rename bootloader file for MPIO players as it supports both HD200 and HD300.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28700 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 23:10:09 +00:00
Marcin Bukat
9a24892e2e
MPIO HD300 - initial commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 23:28:08 +00:00
Marcin Bukat
650a2941fd
MPIO HD200: fix red (I missed bootloader and simulator when renaming buttons)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28444 a1c6a512-1295-4272-9138-f99709370657
2010-11-02 10:51:04 +00:00
Marcin Bukat
082c7d3c6b
Set svn properties
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28326 a1c6a512-1295-4272-9138-f99709370657
2010-10-22 12:28:43 +00:00
Marcin Bukat
38edf679f2
MPIO HD200 - squash long standing bug in bootloader which prevented booting OF if doing coldstart on battery only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28324 a1c6a512-1295-4272-9138-f99709370657
2010-10-22 12:11:58 +00:00
Michael Sparmann
c599da333e
Commit FS#11663 by me - Patch: iPod Nano 2G Bootloader: Boot OF if MENU button is held
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28237 a1c6a512-1295-4272-9138-f99709370657
2010-10-10 20:52:46 +00:00
Thomas Martitz
0e2286f226
Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
2010-08-12 13:38:25 +00:00
Thomas Martitz
240923a801
Rockbox as an application: Commit current Android port progress.
...
General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too).
Problems:
- Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now.
- no cabbiev2 (only some preliminary files for it), no other default theme.
- screen flickers sometimes if the updates are too frequent
- no multi screen apk/package
- strange behavior when a phone call comes in
The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder.
I've put a small README in there for instructions. There are some steps needed after the make part, which are described there,
and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
2010-08-02 20:34:47 +00:00
Marcin Bukat
a6478fda4f
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27356 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 09:18:40 +00:00
Marcin Bukat
78d54fae75
HD200 - Add delay when leaving bootloader USB mode. Add more comments in bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27355 a1c6a512-1295-4272-9138-f99709370657
2010-07-09 09:12:51 +00:00
Marcin Bukat
57484bdf04
HD200 - add support for remote in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27316 a1c6a512-1295-4272-9138-f99709370657
2010-07-06 17:30:10 +00:00
Frank Gevaerts
b8286d45be
Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
2010-07-03 20:58:22 +00:00
Rafaël Carré
64d3a22ec0
sansa AMS bootloader: build if USE_ROCKBOX_USB isn't defined
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27076 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 05:16:24 +00:00
Rafaël Carré
1ec821244a
Sansa AMS bootloader: enter USB mode only when needed
...
- If an error happens when reading partitions / rockbox.sansa
- If the select button was pressed
add an argument to error() to not power off, when we're going to enter
USB mode to try to fix the problem, but display the error message anyway
for debugging purpose
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27075 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 05:08:36 +00:00
Rafaël Carré
fd715fa95c
as3525*: enable MMU in bootloader
...
Reserve 1MB of DRAM for loading rockbox and use the rest as BSS
Write sdram setup in assembler and move it to a separate file, together
with MMU init code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26926 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 17:33:51 +00:00
Rafaël Carré
f9b0f81d63
Sansa AMS: fix bootloader USB mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26914 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 13:30:25 +00:00
Rafaël Carré
b812465bff
as3525: bootloader USB mode
...
not working yet : an empty drive is detected
won't link on fuzev1: drivers allocated in usb_storage.c are too large
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26905 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 01:47:39 +00:00
Marcin Bukat
cd87971bad
HD200 - use ide_power_enable() in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26844 a1c6a512-1295-4272-9138-f99709370657
2010-06-14 10:42:45 +00:00
Bertrik Sikken
a5248a2995
Update Samsung YP-S3 bootloader demo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26417 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 21:43:14 +00:00
Rafaël Carré
5d236b2bfd
Generate C file / header for svn version string
...
It's now easier to force rebuild of files depending on the svn revision
version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries
APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)
Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion
You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h
To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Frank Gevaerts
ab4a162763
Fix gigabeat S includes so it builds again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25855 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 22:13:54 +00:00
Thomas Martitz
77dfff5a55
Fix some more snprintf related warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25853 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:37:03 +00:00
Thomas Martitz
0a1d7c28b7
Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:13 +00:00
Thomas Martitz
c61e89c0ed
Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrapped via a static inline.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:04 +00:00
Michael Sevakis
0defb8483c
Gigabeat S bootloader: Fix archaic call placement in dptc_stop which hangs the bootloader before jumping to FW. Let the backlight LED ramp up after unplugging USB which just looks better.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25840 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 04:45:05 +00:00
Marcin Bukat
69fa42d905
HD200 - rework bootloader logic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25806 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:16:17 +00:00
Marcin Bukat
28d54c6016
Add MPIO HD200 port - new files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25725 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:16 +00:00
Marcin Bukat
b09d3aec39
Add MPIO HD200 port - changed files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:00 +00:00
Torne Wuff
0d24df8b95
FS#11199: ipod bootloader: reboot to disk mode on cable insert, following a fatal error
...
If the ipod bootloader dies with a fatal error it prompts you to press buttons to reset and enter disk mode. With this change it now also polls for USB/firewire insertion and if the cable is detected, it reboots to disk mode directly for you, avoiding user problems with rebooting correctly by hand.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25643 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 22:17:42 +00:00
Michael Sevakis
011b0fa66a
Gigabeat S: Fix bootloader red from r25547 commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25548 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 01:28:19 +00:00
Frank Gevaerts
2dbafc1086
Fix some forgotten storage_(read|write)_sectors() calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25461 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:18:16 +00:00
Rafaël Carré
dee432fd95
as3525v2: silence bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25369 a1c6a512-1295-4272-9138-f99709370657
2010-03-28 04:10:40 +00:00
Szymon Dziok
492fafe879
Packard Bell Vibe 500: remove the old bootloader code (actually a lack of code) and make the main-pp.c acting like a true bootloader for the DAP. It's the first step to integrate the DAP with the RBUtil.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25311 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 21:28:25 +00:00
Rafaël Carré
97c1497b8d
Clip+ : make the bootloader not verbose by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25201 a1c6a512-1295-4272-9138-f99709370657
2010-03-15 11:47:50 +00:00
Michael Sparmann
e5c815272d
Add more information to the battery debug screen for Nano2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 15:57:53 +00:00
Andree Buschmann
dfe46436b1
Remove tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24547 a1c6a512-1295-4272-9138-f99709370657
2010-02-07 17:50:24 +00:00
Rafaël Carré
12af2926e5
Make Clip+ bootloader build
...
Now making the Fuzev2 bootloader build should be pretty easy
TODO:
- write button driver (FlynDice found all buttons already)
- find button light
- decide if lcd-ssd1303.c must be modified for Clip+ using SSP or forked
- check if backlight code works (I copied Clipv2 code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24520 a1c6a512-1295-4272-9138-f99709370657
2010-02-05 12:40:25 +00:00
Frank Gevaerts
553626a958
Add initial Packard Bell Vibe 500 port, by Szymon Dziok
...
Author: Szymon Dziok
Flyspray: FS#10912
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 19:05:20 +00:00
Bertrik Sikken
6fef14bd16
Set svn:keywords property on .c and .h files that didn't already have it. Correct svn:executable property on some files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24165 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 14:28:09 +00:00
Andree Buschmann
5cebdcd06b
More tabs removed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24157 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 11:12:31 +00:00
Rafaël Carré
2392bb4199
FS#10047 : Clipv2
...
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 19:15:20 +00:00
Mark Arigo
6908cc5235
Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Robert Kukla
2d722a17ec
make tpj1022 bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 16:12:49 +00:00
Dominik Wenger
d25baecc0b
make mini2440 bootloader compile again, and remove a few warnings from sd driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23440 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 16:48:08 +00:00
Dominik Wenger
90b576f55e
Many more drivers for mini2440. Now the main binary compiles and runs.
...
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:16:58 +00:00
Bertrik Sikken
52ca187f68
Meizu M6 SP: update lcd driver, it is now possible to display a rockbox logo (with some limitations, see comments in lcd-m6sp.c)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23345 a1c6a512-1295-4272-9138-f99709370657
2009-10-25 11:31:13 +00:00
Dominik Wenger
5b4938a8ca
Working Bootloader for mini2440.
...
Flyspray: FS#10701
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23316 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 17:45:02 +00:00
Dominik Wenger
41c497025f
Initial mini2440 port.
...
Flyspray: FS#10627
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:14:27 +00:00
Dave Chapman
a70c7bf862
Nano2G bootloader - fix dual-booting the Apple firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23139 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 19:46:45 +00:00
Dave Chapman
f2bf463d90
Nano2G: Initial (non-working) attempt to load an encrypted copy of the original firmware from the "osbk" image in the firmware partition. Code based on iloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23123 a1c6a512-1295-4272-9138-f99709370657
2009-10-12 00:57:07 +00:00
Bertrik Sikken
b68d7f54ae
Samsung YP-S3: make bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23107 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:15:23 +00:00
Dave Chapman
b04a7a86e1
Make the Nano2G bootloader actually function as a bootloader. The resulting bootloader-ipodnano2g.ipod file needs to be encrypted on a target using the crypt_firmware plugin to create bootloader-ipodnano2g.ipodx, which can then be written to the firmware partition using the ipodpatcher patch at FS#10609. Dual-booting doesn't work yet - only Rockbox can be run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23084 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 01:37:12 +00:00
Vitja Makarov
0152fe604b
bootloader/telechips: disable irqs before jumping to rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22762 a1c6a512-1295-4272-9138-f99709370657
2009-09-21 08:38:52 +00:00
Thomas Martitz
164d28af62
Make Samsung YH* bootloaders non-verbose (i.e. show the bootlogo) (backported from the ams/pp bootloader branch)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22747 a1c6a512-1295-4272-9138-f99709370657
2009-09-20 12:25:03 +00:00
Thomas Martitz
e2ccabf89d
Samsung YH925: Reset the LCD orientation to what the OF expects before branching to it in dualbooting
...
Author: Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22659 a1c6a512-1295-4272-9138-f99709370657
2009-09-08 13:57:13 +00:00
Maurus Cuelenaere
bfd42d6b59
Onda VX747/VX777 bootloader: power off after holding the poweroff button for 2 seconds (BUTTON_REPEAT doesn't seem to work in bootloader)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22589 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 07:57:56 +00:00
Maurus Cuelenaere
f7b4ed369e
Onda VX747/VX777 bootloader: make boot menu more robust + add reset Rockbox configuration option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22459 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 22:37:27 +00:00
Nils Wallménius
304c622899
fix more red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:36:39 +00:00
Nils Wallménius
47608e06b3
fix red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 22:15:45 +00:00
Maurus Cuelenaere
caf2011311
Onda's: add touchscreen boot menu for targets without/not much physical buttons (VX777)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22416 a1c6a512-1295-4272-9138-f99709370657
2009-08-19 00:26:06 +00:00
Bertrik Sikken
5aeaa84cab
Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Bertrik Sikken
4632fc0682
Samsung YP-S3: allow player to stay powered up without the USB cable plugged and implement power_off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22175 a1c6a512-1295-4272-9138-f99709370657
2009-08-05 16:16:17 +00:00
Bertrik Sikken
0dc5cc8002
Samsung YP-S3: update bootloader demo app with test code for the wmcodec (volume control of fm radio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22138 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 14:24:28 +00:00
Bertrik Sikken
ee0ab03286
Samsung YP-S3: update backlight brightness curve again (can't go all the way down to 1/256 brightness) and update yp-s3 bootloader demo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:43:58 +00:00
Bertrik Sikken
2fb73842a9
Start of a Rockbox port to the Samsung YP-S3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Maurus Cuelenaere
4ce26ff328
Onda VX747: don't fully init the LCD when not doing an USB_BOOT compile (fixes flashes when booting up)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22051 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 13:27:12 +00:00
Dave Chapman
386503502b
Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Maurus Cuelenaere
cf9935d636
Onda VX747: add dual-boot capability + make it possible to permanently 'stick' Rockbox to your DAP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21919 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 14:30:42 +00:00
Dave Chapman
0270e4c591
Get the Nano2G bootloader running - it now runs and displays a logo on one type of Nano2G LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21900 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 00:57:02 +00:00
Robert Keevil
eea149bd13
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Dave Chapman
afe43d3fcb
Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:16:51 +00:00
Bertrik Sikken
80fbb4ec99
Update initialisation and display of debug info in meizu M3 bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21673 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 19:14:46 +00:00
Maurus Cuelenaere
c468273e6d
Onda VX747: clean up bootloader a bit and make sure storage doesn't get init'd twice
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21593 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 14:39:39 +00:00
Maurus Cuelenaere
278b8f84d6
Onda VX747 bootloader: don't init storage twice
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21591 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 13:53:19 +00:00
Rob Purchase
f62388f82c
TCC78x: Enable interrupts/threading in the bootloader (required now that the storage driver yields).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21486 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 07:37:11 +00:00
Bertrik Sikken
743dcf7f69
Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
2009-06-23 18:11:03 +00:00
Maurus Cuelenaere
582942016b
* Commit a modified FS#10354 (thanks to Davide Quarta) - add support the VX747+ in scramble and configure
...
* Add support for the VX777
* Remove the touchscreen mode switching combo from the button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 10:54:13 +00:00
Rafaël Carré
3520d8e90e
Sansa c200v2 : lcd & backlight support, using the c200v1 lcd driver
...
The LCD driver is unified and lcd_send_command now takes 2 arguments : the command and its argument.
If there is no argument, it's set to 0 and a NOP command is issued
If there is more than one argument (set X/Y address), the 2nd argument is sent as a 2nd command, and a NOP command is issued after it.
Benefit : c200v2 transfers the command and the argument in one 16 bits transfer
Performance should not be affected since commands without argument are only used in lcd_init() and lcd_enable()
lcd_send_data() now transfers whole lines (or columns) instead of single pixels
yuv is disabled for c200v2 for now
Some buttons can be read, including left button (bit 6 of DBOP_DIN), but for some reason they have no effect in rockbox: to be investigated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21321 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 19:55:27 +00:00
Rafaël Carré
f504153857
FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
...
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)
Before reporting any problem, please check your filesystem or format your player from the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:05:33 +00:00
Mark Arigo
758bb3bc62
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Thomas Martitz
4633446517
Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This will hopefully make ongoing mmu work easier as less places need to be changed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 21:09:53 +00:00