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
| | |-+  RockChip mp3/mp4 players
« previous next »
  • Print
Pages: 1 2 3 [4] 5 6

Author Topic: RockChip mp3/mp4 players  (Read 126567 times)

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #45 on: October 02, 2011, 02:35:02 PM »
mortalis - what a nice, old fashioned brick :-) What a crazy idea to put 20+ old tda1543 inside (if this is truth). Anyway this would be something new in rockbox as this dac is not configurable in any way. You may try to simply undefine HAVE_RK27XX_CODEC and see what happens. I guess you will need some defines magic to enable dsp controls (volume, eq, etc.). What about the display? Does it work?
Logged

Offline keyb_gr

  • Member
  • *
  • Posts: 40
Re: RockChip mp3/mp4 players
« Reply #46 on: October 02, 2011, 03:27:19 PM »
Quote from: wodz on October 02, 2011, 02:35:02 PM
mortalis - what a nice, old fashioned brick :-) What a crazy idea to put 20+ old tda1543 inside (if this is truth).
The lousy battery life does have to come from somewhere, right? Of course the concept is nuts - classic audiophoolery. The OF also gives lots of incentive to start a RB port...
Logged

mortalis

  • Guest
Re: RockChip mp3/mp4 players
« Reply #47 on: October 03, 2011, 09:13:37 AM »
wodz: Here is sniffed usb trafic:http://www.box.net/shared/6cl0pj5gfpoi9c3huoo0
In htm format:
1 2 3

When HAVE_RK27XX_CODEC undefined I get  audiohw_* undefined reference errors.

According to display, I've wrote lcd driver and its working.

In defence of my "brick" I could say that sound is amazing :-)
« Last Edit: October 04, 2011, 02:09:42 AM by mortalis »
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #48 on: October 03, 2011, 03:29:24 PM »
you need this defines in firmware/export/config/rk27generic.h in addition to HAVE_SW_TONE_CONTROLS
/* has no volume control, so we use the software ones */
#define HAVE_SW_VOLUME_CONTROL

/* software controlled volume ranges from -73 -> 0 dB, other than that
   is controlled by hardware */
#define SW_VOLUME_MIN   -73
#define SW_VOLUME_MAX   0

/* define the bitmask of hardware sample rates */
#define HW_SAMPR_CAPS   (SAMPR_CAP_44)

and you need to write dummy driver which at least define audiohw_settings[]
and functions audiohw_preinit() , audiohw_postinit() which setup I2S only in this case.

Please share your code and join us on IRC
Logged

mortalis

  • Guest
Re: RockChip mp3/mp4 players
« Reply #49 on: October 04, 2011, 08:19:20 AM »
I'm working on patch now, to make port for my player. I'll upload in few days, and begin to work on playback problem.
Logged

mortalis

  • Guest
Re: RockChip mp3/mp4 players
« Reply #50 on: October 07, 2011, 12:28:47 AM »
FS#12319 - initial patch for HM-601
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #51 on: October 07, 2011, 04:52:50 AM »
Thanks for your contribution - I commented patch on FS
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #52 on: October 07, 2011, 03:52:50 PM »
mortalis: could you provided sniff of usb communication in the form wireshark can handle? I can't open bin log in enything and html version is unhandy.
Logged

mortalis

  • Guest
Re: RockChip mp3/mp4 players
« Reply #53 on: October 08, 2011, 08:00:15 AM »
http://www.box.net/shared/i4mdf6dqnekzmfxbzksg
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #54 on: October 17, 2011, 06:38:31 AM »
Welcome hifiman-60x port on board since r30765 :-)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8968
Re: RockChip mp3/mp4 players
« Reply #55 on: October 17, 2011, 12:00:57 PM »
Is playback working?  You should send a gentlemen email:

http://www.rockbox.org/wiki/GentlemenMails
Logged

mortalis

  • Guest
Re: RockChip mp3/mp4 players
« Reply #56 on: October 27, 2011, 03:00:37 PM »
FS#12355 One more HiFiMAN  :)
Logged

Offline knob

  • Member
  • *
  • Posts: 24
Re: RockChip mp3/mp4 players
« Reply #57 on: November 12, 2011, 02:09:00 PM »
Foehn & Hirsch H16 Sleek Screen MP4 Player 4GB 3.0" TFT Screen Rk2705 and Rockbox.

You can use Rockbox on this player using the rk27xx reference build unmodified.

I have modified a standard cabbie theme to the rk27xx 240x400 layout, music plays very well in fact better quality than the OF using playfx. Many plug-ins also work including Coverflow and Lyricplayer.



To do this I had created base.rkw from rockbox.bin using alemaxx patching tool and placed in the original firmware (.img) image.

Please bear in mind if you try this:-

1) Soft shutdown does not work so you need to use the mechanical on/off switch to turn the   
    player off, other rk27xx players may not even have this option.

2) You cannot go back to the original firmware unless you open the player and   
    short out the nand pins to get back into update mode, some players are difficult     
    to open without damage.

3) No flash memory access from Rockbox or USB transfer, but a 8GB microSD     
    works fine.

4) Only 5 out of the 6 buttons work, but Rockbox only requires 5 anyway.

5) There is no FM radio option or recording.

In spite of the above overall I have found Rockbox much better than the original firmware, but it might be worth hanging on ‘til the above issues are resolved. ;-)
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: RockChip mp3/mp4 players
« Reply #58 on: November 14, 2011, 04:51:08 PM »
missing FM should be easy to fix. Other things are much harder. I am working on reverse engineering FTL now so hopefully we will get nand access one day.

I dissasembled nand bootloader also so now I understand boot process much better - this opens possibility to provide dualboot option but this needs more work and my resources are rather limited.

Could you bench rockbox sd driver? You will need to hack and build test_disk plugin.
Logged

Offline reggieb

  • Member
  • *
  • Posts: 2
Re: RockChip mp3/mp4 players
« Reply #59 on: February 27, 2012, 05:16:06 PM »
Mortalis: on your site, you have drivers available for download, however, they are .sys files, without INF or EXEs, .sys isn't executable...

EDIT: I am an idiot, although I still can't install the files, as all of my computers are 64-bit intel based, and none of those will install...might have to set up a virtual box here.

EDIT2: I have now tried on a Windows XP machine, and a 32-bit Windows 7 machine, still can't get the drivers to install. On my work computer, it acts like it's doing something, but then it doesn't work. On my 32-bit Windows 7 ExoPC (I forgot I had it) I get the message that "The INF file you selected does not support this method of installation" when I right click and choose install.
« Last Edit: February 27, 2012, 09:35:49 PM by reggieb »
Logged

  • Print
Pages: 1 2 3 [4] 5 6
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  RockChip mp3/mp4 players
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.142 seconds with 21 queries.