Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  iBasso DX50
« previous next »
  • Print
Pages: [1] 2 3 ... 6

Author Topic: iBasso DX50  (Read 55286 times)

Offline ii

  • Member
  • *
  • Posts: 10
iBasso DX50
« on: March 04, 2014, 05:01:31 PM »
The old topic is closed, so have to start this new one, with some new details.
iBasso DX50 is android-based, but is not nearly capable of running the android port of rockbox.
This because the original firmware has nothing for java code support; instead, the player software is fully written in C/C++ with android ndk.
It's easy to modify the firmware contents; enable adb; run custom code and access internal devices.

Current status:
 - almost done
 - sound (including spdif), screen, touchscreen, buttons, headphones detection, filesystem, battery readout, volume control, backlight control, poweroff/reboot working
 - dual boot scheme working, with swapping both player and vold
 
 
TODO:
 - install process for users
 - capture power button longpress for turnoff (how?)
 - settings save
 - screen turnoff
 - better keymap, e.g. in equalizer
 - hires audio (?)
 - prepare code branch for merging back into master

Sources + downloads: https://bitbucket.org/isergachev/rockbox/wiki/Home
Possible developers / advanced users are welcome.
« Last Edit: March 12, 2014, 06:02:55 PM by ii »
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50 (again, please merge/reopen previous one)
« Reply #1 on: March 07, 2014, 01:46:15 PM »
-

* photo1.jpg (109.37 kB, 800x873 - viewed 4292 times.)
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: iBasso DX50 (again, please merge/reopen previous one)
« Reply #2 on: March 07, 2014, 02:18:32 PM »
I can't wrap my head around this - android without dalvik. That would be pure linux then.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9215
Re: iBasso DX50 (again, please merge/reopen previous one)
« Reply #3 on: March 07, 2014, 02:34:27 PM »
Quote from: wodz on March 07, 2014, 02:18:32 PM
I can't wrap my head around this - android without dalvik. That would be pure linux then.

Perhaps they took a SOC that had Android support and simply targeted the Linux parts rather than Dalvik?  Certainly a strange result, but I guess nowadays android is replacing traditional embedded linux so maybe thats all the SOC came with. 

Edit:  Renamed title since we certainly won't be deleting this thread.
« Last Edit: March 07, 2014, 07:15:07 PM by saratoga »
Logged

Offline Songs0fFailure

  • Member
  • *
  • Posts: 19
Re: iBasso DX50
« Reply #4 on: March 08, 2014, 06:02:16 PM »
saratoga,
mb not enough ram ? DX50 based on Rockchip RK2926, DX100 - RK2918.
Quote
RK2926/RK2928 is updated from RK2918, and they are changed in the old architecture of previous generation products, using the new Cortex-A9 architecture
btw, for hi-end HiFiMan HM901(Ingenic JZ4760B) used Android too. for mips! freaky! FiiO X5\X3 based on JZ4760 used µC/OS-II.
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50
« Reply #5 on: March 08, 2014, 06:29:29 PM »
Quote from: Songs0fFailure on March 08, 2014, 06:02:16 PM
saratoga,
mb not enough ram ? DX50 based on Rockchip RK2926, DX100 - RK2918.
Quote
RK2926/RK2928 is updated from RK2918, and they are changed in the old architecture of previous generation products, using the new Cortex-A9 architecture
btw, for hi-end HiFiMan HM901(Ingenic JZ4760B) used Android too. for mips! freaky! FiiO X5\X3 based on JZ4760 used µC/OS-II.

root@android:/ # cat /proc/meminfo
MemTotal:         408348 kB
MemFree:          375400 kB
Logged

Offline Wardormeur

  • Member
  • *
  • Posts: 6
Re: iBasso DX50
« Reply #6 on: March 09, 2014, 09:10:46 AM »
#sage
I have been stuck at activating adb, i played with every damn parameters of the configs file to get no results. Will your git include the whole image or just the RB sources?
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50
« Reply #7 on: March 09, 2014, 11:10:08 AM »
Right now I'm only working on rockbox inself.
Of course we will need to develop some kind of installer later.

Enabling adb is as easy as
setprop persist.sys.usb.config adb
setprop persist.usb.debug 1
; see /bin/openadb in stock firmware.

You can get an adb-enabled image of 1.2.8 at https://mega.co.nz/#!Ih5QTJzI!0DXEqNgJBWeK1QFqTeOhXW5KaH6LP4Vi0M38Wtd2PZM
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: iBasso DX50
« Reply #8 on: March 10, 2014, 08:15:49 AM »
I looked at your repo and this port looks much more like other hosted linux ports then android. Anyway nice to see progress. I strongly recommend to pop-up on IRC.
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50
« Reply #9 on: March 10, 2014, 08:38:04 AM »
Quote from: wodz on March 10, 2014, 08:15:49 AM
I looked at your repo and this port looks much more like other hosted linux ports then android. Anyway nice to see progress. I strongly recommend to pop-up on IRC.

Sure! It's a linux. But android config of rockbox uses ndk, that's why I've chosen it.
Someone will have to explain me later what is the proper way for integrating this port into the build system.
Ok, going to IRC.
Logged

Offline Wardormeur

  • Member
  • *
  • Posts: 6
Re: iBasso DX50
« Reply #10 on: March 11, 2014, 05:21:29 PM »
Quote from: ii on March 09, 2014, 11:10:08 AM
Right now I'm only working on rockbox inself.
Of course we will need to develop some kind of installer later.

Enabling adb is as easy as
setprop persist.sys.usb.config adb
setprop persist.usb.debug 1
; see /bin/openadb in stock firmware.

You can get an adb-enabled image of 1.2.8 at https://mega.co.nz/#!Ih5QTJzI!0DXEqNgJBWeK1QFqTeOhXW5KaH6LP4Vi0M38Wtd2PZM
Duh. Thanks for both.
I love the trick to boot on rockbox with the ln -s :D
I'll try to lend you a hand, even though im not a RB core dev :)

Edit : let's start with ? : http://www.rockbox.org/wiki/PortingHowTo
Edit2 : by installing directly through adb, the backup system will reinstall the backup image booting on mangoplayer, right?
« Last Edit: March 12, 2014, 02:55:26 AM by Wardormeur »
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50
« Reply #11 on: March 12, 2014, 01:21:21 PM »
Quote from: Wardormeur on March 11, 2014, 05:21:29 PM
I love the trick to boot on rockbox with the ln -s :D
I'll try to lend you a hand, even though im not a RB core dev :)

Edit : let's start with ? : http://www.rockbox.org/wiki/PortingHowTo
Edit2 : by installing directly through adb, the backup system will reinstall the backup image booting on mangoplayer, right?

Actually I've done a simple launcher, which captures keypresses, manages symlinks and allows switching players.
The launcher replaces MangoPlayer at /system/bin. I'll share its source.

Do you mean that you want to write proper config for building for dx50 separately from android? That would be great!
Logged

Offline Wardormeur

  • Member
  • *
  • Posts: 6
Re: iBasso DX50
« Reply #12 on: March 12, 2014, 05:06:31 PM »
Quote from: ii on March 12, 2014, 01:21:21 PM


Actually I've done a simple launcher, which captures keypresses, manages symlinks and allows switching players.
The launcher replaces MangoPlayer at /system/bin. I'll share its source.
So you actually can "double boot" somehow, nice !
Quote
Do you mean that you want to write proper config for building for dx50 separately from android? That would be great!
I dont really get your point. If i am right, you're actually using the android RB port, however going through the "original" port of RB would require cross compiling. It's doable, but it's a choice to make at the beginning of the project, since both ports are quite different to my knowledge.
Logged

Offline ii

  • Member
  • *
  • Posts: 10
Re: iBasso DX50
« Reply #13 on: March 12, 2014, 05:19:56 PM »
Quote from: Wardormeur on March 12, 2014, 05:06:31 PM
So you actually can "double boot" somehow, nice !

I dont really get your point. If i am right, you're actually using the android RB port, however going through the "original" port of RB would require cross compiling. It's doable, but it's a choice to make at the beginning of the project, since both ports are quite different to my knowledge.

Yes, dualboot.
I mean, soon or late we have to split from android port and create another config entry in tools/configure + separate folders, sources etc.
Android port does not need the modifications I've made to it :)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9215
Re: iBasso DX50
« Reply #14 on: March 16, 2014, 12:24:08 AM »
I saw a comment about the SOC not having a real time clock that persisted between runs.  That is very strange.  Which SOC is the DX50 using?
Logged

  • Print
Pages: [1] 2 3 ... 6
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  iBasso DX50
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.068 seconds with 23 queries.