iBasso DX50/DX90: Major code cleanup and reorganization.
Reorganization
- Separated iBasso devices from PLATFORM_ANDROID. These are now standlone
hosted targets. Most device specific code is in the
firmware/target/hosted/ibasso directory.
- No dependency on Android SDK, only the Android NDK is needed.
32 bit Android NDK and Android API Level 16.
- Separate implementation for each device where feasible.
Code cleanup
- Rewrite of existing code, from simple reformat to complete reimplementation.
- New backlight interface, seperating backlight from touchscreen.
- Rewrite of device button handler, removing unneeded code and fixing memory
leaks.
- New Debug messages interface logging to Android adb logcat (DEBUGF, panicf,
logf).
- Rewrite of lcd device handler, removing unneeded code and fixing memory leaks.
- Rewrite of audiohw device handler/pcm interface, removing unneeded code and
fixing memory leaks, enabling 44.1/48kHz pthreaded playback.
- Rewrite of power and powermng, proper shutdown, using batterylog results
(see http://gerrit.rockbox.org/r/#/c/1047/).
- Rewrite of configure (Android NDK) and device specific config.
- Rewrite of the Android NDK specific Makefile.
Misc
- All plugins/games/demos activated.
- Update tinyalsa to latest from https://github.com/tinyalsa/tinyalsa.
Includes
- http://gerrit.rockbox.org/r/#/c/993/
- http://gerrit.rockbox.org/r/#/c/1010/
- http://gerrit.rockbox.org/r/#/c/1035/
Does not include http://gerrit.rockbox.org/r/#/c/1007/ due to new backlight
interface and new option for hold switch, touchscreen, physical button
interaction.
Rockbox needs the iBasso DX50/DX90 loader for startup, see
http://gerrit.rockbox.org/r/#/c/1099/
The loader expects Rockbox to be installed in /mnt/sdcard/.rockbox/. If
/mnt/sdcard/ is accessed as USB mass storage device, Rockbox will exit
gracefully and the loader will restart Rockbox on USB disconnect.
Tested on iBasso DX50.
Compiled (not tested) for iBasso DX90.
Compiled (not tested) for PLATFORM_ANDROID.
Change-Id: I5f5e22e68f5b4cf29c28e2b40b2c265f2beb7ab7
2015-02-02 20:44:29 +00:00
|
|
|
#if !defined(HAVE_TOUCHSCREEN) || defined(DX50) || defined(DX90)
|
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
2011-12-24 11:56:46 +00:00
|
|
|
/* In devices running RockBox as an application, but having a keypad */
|
|
|
|
#include "SOURCES"
|
|
|
|
#else
|
2011-02-24 23:35:16 +00:00
|
|
|
/* plugins common to all models */
|
2012-01-26 22:59:23 +00:00
|
|
|
chopper.c
|
2012-01-29 23:51:43 +00:00
|
|
|
clix.c
|
2011-02-24 23:35:16 +00:00
|
|
|
credits.c
|
|
|
|
properties.c
|
|
|
|
random_folder_advance_config.c
|
|
|
|
search.c
|
|
|
|
sort.c
|
|
|
|
theme_remove.c
|
|
|
|
vbrfix.c
|
2012-01-26 23:06:51 +00:00
|
|
|
#if PLUGIN_BUFFER_SIZE >= 0x80000
|
|
|
|
boomshine.lua
|
2012-01-29 20:56:08 +00:00
|
|
|
stopwatch.lua
|
2012-01-26 23:06:51 +00:00
|
|
|
#endif
|
|
|
|
|
2011-02-24 23:35:16 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_TEST_PLUGINS /* enable in advanced build options */
|
2012-01-26 23:15:15 +00:00
|
|
|
test_fps.c
|
2011-02-24 23:35:16 +00:00
|
|
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
|
|
|
test_boost.c
|
|
|
|
#endif
|
|
|
|
#if CONFIG_CODEC == SWCODEC
|
|
|
|
test_codec.c
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_JPEG
|
|
|
|
test_core_jpeg.c
|
|
|
|
#endif
|
|
|
|
test_disk.c
|
|
|
|
#ifdef HAVE_LCD_BITMAP
|
|
|
|
#if LCD_DEPTH < 4 && !defined(SIMULATOR)
|
|
|
|
test_scanrate.c
|
|
|
|
#endif
|
|
|
|
#ifndef HAVE_LCD_COLOR
|
|
|
|
test_grey.c
|
|
|
|
test_greylib_bitmap_scale.c
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
test_mem.c
|
|
|
|
#ifdef HAVE_LCD_BITMAP
|
|
|
|
test_mem_jpeg.c
|
|
|
|
#endif
|
|
|
|
#ifdef HAVE_LCD_COLOR
|
|
|
|
test_resize.c
|
|
|
|
#endif
|
|
|
|
#if CONFIG_CODEC == SWCODEC
|
|
|
|
test_sampr.c
|
|
|
|
#endif
|
|
|
|
test_viewports.c
|
|
|
|
#endif /* HAVE_TEST_PLUGINS */
|
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
2011-12-24 11:56:46 +00:00
|
|
|
|
|
|
|
#endif /* HAVE_TOUCHSCREEN */
|