summaryrefslogtreecommitdiff
path: root/firmware/export/config-h10.h (follow)
Commit message (Collapse)AuthorAge
* Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell2006-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OF and Rockbox. Rolo also works. Changes made: Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader. Define MODEL_NAME string in config-*.h for use in bootloader. Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S. Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe): * Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100). * Remove unused DEBUG and STUB code from crt0-pp.S. * Make CPU wait for COP to be sleeping when we put the COP to sleep. * Invalidate COP cache when COP wakes * Flush CPU cache before waking COP * Make sure only the CPU clears the BSS (not the COP) * Make sure only the CPU sets up its own stack (not the COP) Rolo works on H10, so enable it. Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
* FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod ↵Barry Wardell2006-12-18
| | | | | | | | | | | | | | | | | | | | Color, iPod Nano). * Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined. * Fix bug in AIFF encoder header creation on little endian targets. * Add recording screen keymaps for H10 and iPod. * Move pcm_playback PP specific code to target tree. * Add recording code to wmcodec drivers. * Add pcm_record code. Some problems still remain: * Playback doesn't work after recording until Rockbox is restarted. * Gain control not implemented. * Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz. * Line-in recording not tested on H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
* Fixed H10 build.Tomasz Malesinski2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11484 a1c6a512-1295-4272-9138-f99709370657
* ifdef all the tagcache code, allows rombox to be compiled again, Thanks ↵Jonathan Gordon2006-10-25
| | | | | | Austin Appel git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11338 a1c6a512-1295-4272-9138-f99709370657
* Add keymap for A-B repeat on H10 and enable support for it.Barry Wardell2006-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11238 a1c6a512-1295-4272-9138-f99709370657
* Enable ATA poweroff option on H10 for a nice increase in battery life.Barry Wardell2006-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11107 a1c6a512-1295-4272-9138-f99709370657
* Apply Mike Sevakis' recent sleep/contrast fixes for the X5 LCD driver to the ↵Barry Wardell2006-09-28
| | | | | | H10 20GB LCD driver. With this fix, sleeping the LCD on the H10 20GB now works as it should so enable it as an option to save extra battery. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11085 a1c6a512-1295-4272-9138-f99709370657
* Enable LCD invert setting in the menu for all targets that support it. This ↵Barry Wardell2006-09-25
| | | | | | adds the menu option to H10 20GB and X5 builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11048 a1c6a512-1295-4272-9138-f99709370657
* Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when ↵Barry Wardell2006-09-23
| | | | | | starting up on H10. Calibrated battery for H10 20GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
* Detect charger connected on H10. No need to sleep(HZ) when powering off.Barry Wardell2006-09-20
| | | | | | | | 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. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11015 a1c6a512-1295-4272-9138-f99709370657
* H10 fixes: Split LCD driver up into two drivers, one for each LCD type. ↵Barry Wardell2006-09-09
| | | | | | Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
* Fix display bugs with H10 LCDs (both 20GB and 5/6GB models). The 20GB LCD is ↵Barry Wardell2006-09-04
| | | | | | actually a 128x160 LCD rotated 90 degrees, so we need to take account of this. The 5/6GB LCD is not rotated by 90 degrees but was treated as if it was (FS #5925, patch thanks to Thilo-Alexander Ginkel) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10886 a1c6a512-1295-4272-9138-f99709370657
* Disable cpu frequency adjusting for H10 for now as it is causing freezes.Barry Wardell2006-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10878 a1c6a512-1295-4272-9138-f99709370657
* Enable CPU boosting on H10 models.Barry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10806 a1c6a512-1295-4272-9138-f99709370657
* RTC driver for H10 by Laurent BaumBarry Wardell2006-08-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10799 a1c6a512-1295-4272-9138-f99709370657
* Add Rockbox bootloader for H10Barry Wardell2006-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10781 a1c6a512-1295-4272-9138-f99709370657
* Fix errors when building H10 Normal build.Barry Wardell2006-08-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
* Functional, but minimal LCD driver for H10.Barry Wardell2006-08-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10663 a1c6a512-1295-4272-9138-f99709370657
* Add keymaps for pitchscreen and graphical equalizer on H10Barry Wardell2006-08-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10662 a1c6a512-1295-4272-9138-f99709370657
* Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!Hristo Kovachev2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
* Barry Wardell's H10 adjustmentsDaniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10448 a1c6a512-1295-4272-9138-f99709370657
* added mostly dummy changes to allow building of a Sansa e200 bootloaderDaniel Stenberg2006-08-01
without functionality git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 a1c6a512-1295-4272-9138-f99709370657