diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-12-24 11:56:46 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-12-24 11:56:46 +0000 |
commit | 249bba03f1051f4984538f66b9e7d36674c61e5c (patch) | |
tree | b9a0d78e05269ed2043521ab0dfdad83aeaf2aff /firmware/export/config.h | |
parent | 567e0ad93ef3048f2266932b10dcdb309b1a77c9 (diff) | |
download | rockbox-249bba03f1051f4984538f66b9e7d36674c61e5c.tar.gz rockbox-249bba03f1051f4984538f66b9e7d36674c61e5c.zip |
Initial commit of the Samsung YP-R0 port.
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 039b48a759..542587fc9d 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -143,6 +143,7 @@ | |||
143 | #define HM60X_PAD 50 | 143 | #define HM60X_PAD 50 |
144 | #define HM801_PAD 51 | 144 | #define HM801_PAD 51 |
145 | #define SANSA_CONNECT_PAD 52 | 145 | #define SANSA_CONNECT_PAD 52 |
146 | #define SAMSUNG_YPR0_PAD 53 | ||
146 | 147 | ||
147 | /* CONFIG_REMOTE_KEYPAD */ | 148 | /* CONFIG_REMOTE_KEYPAD */ |
148 | #define H100_REMOTE 1 | 149 | #define H100_REMOTE 1 |
@@ -232,6 +233,7 @@ | |||
232 | #define LCD_HX8340B 44 /* as used by the HiFiMAN HM-601/HM-602/HM-801 */ | 233 | #define LCD_HX8340B 44 /* as used by the HiFiMAN HM-601/HM-602/HM-801 */ |
233 | #define LCD_CONNECT 45 /* as used by the Sandisk Sansa Connect */ | 234 | #define LCD_CONNECT 45 /* as used by the Sandisk Sansa Connect */ |
234 | #define LCD_GIGABEATS 46 | 235 | #define LCD_GIGABEATS 46 |
236 | #define LCD_YPR0 47 | ||
235 | 237 | ||
236 | /* LCD_PIXELFORMAT */ | 238 | /* LCD_PIXELFORMAT */ |
237 | #define HORIZONTAL_PACKING 1 | 239 | #define HORIZONTAL_PACKING 1 |
@@ -483,6 +485,8 @@ Lyre prototype 1 */ | |||
483 | #include "config/nokian900.h" | 485 | #include "config/nokian900.h" |
484 | #elif defined(PANDORA) | 486 | #elif defined(PANDORA) |
485 | #include "config/pandora.h" | 487 | #include "config/pandora.h" |
488 | #elif defined(SAMSUNG_YPR0) | ||
489 | #include "config/ypr0.h" | ||
486 | #else | 490 | #else |
487 | /* no known platform */ | 491 | /* no known platform */ |
488 | #endif | 492 | #endif |
@@ -580,6 +584,10 @@ Lyre prototype 1 */ | |||
580 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING | 584 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING |
581 | #endif | 585 | #endif |
582 | 586 | ||
587 | #ifndef CONFIG_I2C | ||
588 | #define CONFIG_I2C I2C_NONE | ||
589 | #endif | ||
590 | |||
583 | #ifndef CONFIG_TUNER | 591 | #ifndef CONFIG_TUNER |
584 | #define CONFIG_TUNER 0 | 592 | #define CONFIG_TUNER 0 |
585 | #endif | 593 | #endif |
@@ -600,6 +608,14 @@ Lyre prototype 1 */ | |||
600 | #define CONFIG_RTC 0 | 608 | #define CONFIG_RTC 0 |
601 | #endif | 609 | #endif |
602 | 610 | ||
611 | #ifndef BATTERY_TYPES_COUNT | ||
612 | #define BATTERY_TYPES_COUNT 0 | ||
613 | #endif | ||
614 | |||
615 | #ifndef BATTERY_CAPACITY_INC | ||
616 | #define BATTERY_CAPACITY_INC 0 | ||
617 | #endif | ||
618 | |||
603 | #ifndef CONFIG_ORIENTATION | 619 | #ifndef CONFIG_ORIENTATION |
604 | #if LCD_HEIGHT > LCD_WIDTH | 620 | #if LCD_HEIGHT > LCD_WIDTH |
605 | #define CONFIG_ORIENTATION SCREEN_PORTRAIT | 621 | #define CONFIG_ORIENTATION SCREEN_PORTRAIT |