1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2011-12-24 11:56:46 +00:00
parent 567e0ad93e
commit 249bba03f1
131 changed files with 6074 additions and 48 deletions

View file

@ -14,8 +14,10 @@ target/hosted/cpuinfo-linux.c
#endif
target/hosted/powermgmt.c
#ifndef SAMSUNG_YPR0 /* uses as3514 rtc */
target/hosted/rtc.c
#endif
#endif
system.c
usb.c
#ifdef ROCKBOX_HAS_LOGF
@ -62,6 +64,26 @@ target/hosted/sdl/app/button-application.c
#endif
#endif
#ifdef SAMSUNG_YPR0
#if (CONFIG_RTC == RTC_AS3514)
drivers/rtc/rtc_as3514.c
#else
target/hosted/rtc.c
#endif
target/hosted/ypr0/button-ypr0.c
target/hosted/ypr0/kernel-ypr0.c
target/hosted/ypr0/lcd-ypr0.c
target/hosted/ypr0/system-ypr0.c
target/hosted/ypr0/fs-ypr0.c
target/hosted/ypr0/lc-ypr0.c
thread.c
#ifdef HAVE_BACKLIGHT
target/hosted/ypr0/backlight-ypr0.c
#endif
target/hosted/ypr0/ascodec-ypr0.c
target/hosted/ypr0/powermgmt-ypr0.c
#endif
/* Maemo specific files */
#if (CONFIG_PLATFORM & PLATFORM_MAEMO)
target/hosted/maemo/maemo-thread.c
@ -368,6 +390,10 @@ drivers/audio/aic3x.c
#elif defined (HAVE_DUMMY_CODEC)
drivers/audio/dummy_codec.c
#endif /* defined(HAVE_*) */
#else /* PLATFORM_HOSTED */
#if defined(SAMSUNG_YPR0) && defined(HAVE_AS3514)
drivers/audio/as3514.c
target/hosted/pcm-alsa.c
#elif defined(HAVE_SDL_AUDIO)
drivers/audio/sdl.c
#if CONFIG_CODEC == SWCODEC
@ -377,6 +403,7 @@ target/hosted/maemo/pcm-gstreamer.c
target/hosted/sdl/pcm-sdl.c
#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */
#endif /* CONFIG_CODEC == SWCODEC */
#endif
#endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) */
/* CPU Specific - By class then particular chip if applicable */
@ -722,7 +749,7 @@ target/arm/ascodec-pp.c
# endif
# if !defined(BOOTLOADER) || defined(CPU_PP)
target/arm/adc-as3514.c
# ifndef SANSA_M200V4
# if !defined(SANSA_M200V4) && !defined(SAMSUNG_YPR0)
target/arm/powermgmt-ascodec.c
# endif
# endif