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:

Welcome to the Rockbox Technical Forums!

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

Author Topic: iBasso DX50  (Read 55287 times)

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #30 on: August 24, 2014, 04:25:34 PM »
Hello. My status in this project is that i'm quite far but I still would like to optimize some things first before doing a commit.

But why i'm writing is that i need some help from a developer. Ilias port has always had the problem that as soon as playback starts, all timer acitities are slowed down by a factor around 2.3 (backlight timeout, scrolling acceleration, stopwatch, etc.) . When playback stops or is on pause, everything is normal again. can it be that a timer tick takes too long time and lets some other timer slow down? To be more specific: that the pcm_tick takes too long? I dont know much about timers and maybe I could find it out myself, but a small tip from a experienced dev. could save me hours of investigation :) .

Edit: no more help needed, foud how to solve the problem partly.
« Last Edit: August 26, 2014, 03:28:04 AM by cholero »
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: iBasso DX50
« Reply #31 on: August 27, 2014, 05:58:10 AM »
As was pointed out earlier you should really, really put your work-in-progress on gerrit. That way others can review the code on early stage saving you hassle later.
Logged

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #32 on: August 30, 2014, 07:26:56 AM »
Uploaded the code to gerrit:
http://gerrit.rockbox.org/r/#/c/941/
Logged

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 405
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
Re: iBasso DX50
« Reply #33 on: August 30, 2014, 09:42:29 AM »
The link to the bitbucket repo seems to be down. :(
Logged
No support questions by PM, please.

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 405
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
Re: iBasso DX50
« Reply #34 on: August 30, 2014, 09:45:33 AM »
Never mind, it's just the period at the end of the URL...  :-[
Logged
No support questions by PM, please.

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #35 on: September 12, 2014, 01:03:41 AM »
Good news: headwhacker announced to have solved the "gather runtime data" - bug for this port.  :)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9215
Re: iBasso DX50
« Reply #36 on: September 18, 2014, 01:06:09 PM »
I committed the port.  However, its not integrated into our build system.  From what I understand, we don't current build Android targets over the build system.  Is there a technical reason why we could not build the DX50/90 devices this way?

Also, I've created a wiki page:

http://www.rockbox.org/wiki/IBassoDXPort

Filling this out with install directions and any other useful info would be great.
Logged

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #37 on: September 18, 2014, 03:58:18 PM »
Thanks a lot for everything!
I don't know why android apps are not build, didn't do the reading for it. But it is not impossible that the reason could also affect DX50/90 port.?
At current state, no simple installation is possible. But I will try to get further with this. Also writing the wiki and fixing the DX90 port (maybe headwhacker helps me, now that it is so easy to get the sources) are my homework. I only have limited time (some hours a week) but I will bring this port to the end if my abilities allow it
Logged

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #38 on: September 20, 2014, 01:24:50 PM »
I had a spontaneous idea for the update mechanism:
The app and libs could be installed to the data partition. The dualboot-app (/rbutil/ibassoboot) could be extended to manage updates, so if there is a rockbox.zip on the sdcard it updates the rockbox app on the data partition. So the official firmware would only need to be patched once with the dualboot-app.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: iBasso DX50
« Reply #39 on: September 21, 2014, 07:05:36 PM »
Quote from: saratoga on September 18, 2014, 01:06:09 PM
I committed the port.  However, its not integrated into our build system.  From what I understand, we don't current build Android targets over the build system.

So, I screwed up.

If anyone read the comment I posted prior where I confirmed and agreed with this, I apologise.

It seems Android targets are indeed hitting the build table, and that Chrome decided to hate me and not show them (and may other) items in the build table. Serves me right for religiously using Chrome-dev I guess.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #40 on: September 24, 2014, 04:12:42 PM »
a very small breakthrough for the installation process: Because my mate headwhacker form head-fi insisited in trying to install the whole rockbox to /sdcard (internal drive) we tried to find a way and found it. With this way it will be possible to do updates of rockbox using only mass storage, nothing else  :D . I will do some more testing and post a patch when I'm 100% sure it works.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9215
Re: iBasso DX50
« Reply #41 on: September 24, 2014, 07:48:15 PM »
The DX50 is now actually built by our build system:

http://build.rockbox.org/dev.cgi

The first build went smoothly:

http://build.rockbox.org/shownewlog.cgi?rev=be9c227;type=ibassodx50
Logged

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #42 on: September 25, 2014, 04:35:30 AM »
Wow, that's great! :D
We are getting further and further. Thanks!

I have a question about folder structure. Until now we had the content of the rockbox.zip on the system partition. Also the libs/armeabi/* was on the system partition in an other folder. The user setting were on /sdcard/rockbox. Now if we move the binaries to sdcard, how sould it be done?

a)
everything (settings AND build) to
/sdcard/rockbox
libs/armeabi to
/sdcard/rockbox/bin

b)
build to
/sdcard/.rockbox
settings remain in
/sdcard/rockbox
libs/armeabi to
/sdcard/.rockbox/libs/armeabi

or even something else?

On my known players (H120 and clip+) it is the way a) but with a dot (.rockbox)


Edit: I think I have a basic lack of knowledge about the android port. Right now we are running the rockbox binary in the folder with all the lib*.so 's from libs/armeabi. But is this necesary? All files are already in the zip. Is it possible to run it without the lib*.so's?

Edit2: My gerrit patch uses finally this folder structure:
everything (settings AND build) to
/sdcard/.rockbox
libs/armeabi to
/sdcard/.rockbox/codecs
« Last Edit: September 29, 2014, 11:05:12 AM by cholero »
Logged

Offline cholero

  • Member
  • *
  • Posts: 61
Re: iBasso DX50
« Reply #43 on: September 29, 2014, 10:50:17 AM »
Next step:
DX50 (& hopefully DX90) run well from sdcard:
http://gerrit.rockbox.org/r/#/c/993/

This will simplify the update procedure of rockbox by a big amount.

to try the installation (tested on DX50) when coming from ilia's build:
  • build the dualboot selector in rbutils/ibassoboot with ndk-build and copy the build (MangoPlayer) to /system/bin/
  • copy rbutils/ibassoboot/chooser.bmp and rbmissing.bmp to /system/
  • build rockbox: make zip
  • copy the content of the rockbox.zip to the internal drive /mnt/sdcard

The new file structure differs only by the codecs filenames from a regular build  :).

Edit: Had to change the gerrit address because I made accidentally a new commit instead of a new patch set

Edit2: with modified buildzip.pl even 1 step less is needed :-)
« Last Edit: September 30, 2014, 08:24:16 PM by cholero »
Logged

Offline ArgelErx

  • Member
  • *
  • Posts: 5
Re: iBasso DX50
« Reply #44 on: October 07, 2014, 06:50:22 AM »
I'm currently tinkering around with this build. It builds and it works. Moving the rockbox directory to the sdcard is great.

The only thing i do not like is the current keymap. Specifically hold switch and power button interaction with the touchscreen/backlight.

As it is right now
- every press of a physical button turns on the touchscreen.
- the hold switch locks the touchscreen and the physical buttons.
Which is really annoying if you try to use the device blindly (e.g. while it is in your pocket).

In my personal build i reverted the behaviour somewhat back to the original implementation by isergachev:
- Hold switch only toggles  touchscreen lock/backlight.
- Hold switch only locks power button short press (to prevent accidentally leaving WPS).

I tried doing this with the rockbox infrastructure, but failed miserably (to much unfamiliar code and concepts in to short a time). So i hacked up the iBasso key code.

IMHO the power button/lock switch behaviour should be this (for this device):
- Hold switch only toggles touchscreen lock/backlight.
- Power button short press only toggles backlight.
- While hold switch is set to lock, no button press or automatic interaction (e.g. caption backlight) turns on the touchscreen/backlight.
- Current function of the power button (back/abort) can be fully replaced with touchscreen interaction.

Any comments?
Can this be achieved "The Rockbox Way"?
Can this be made the default behaviour? Or at least be customizable?
Or will i ever need a custom build for this?
Logged

  • Print
Pages: 1 2 [3] 4 5 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.063 seconds with 20 queries.