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
translations translations
Search



Donate

Rockbox Technical Forums


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

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Fiio M3k
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6 7 ... 29

Author Topic: Fiio M3k  (Read 105341 times)

Offline Njones

  • Member
  • *
  • Posts: 186
Re: Fiio M3k
« Reply #60 on: November 29, 2020, 08:05:03 PM »
Do you load the zip file or do you unzip it first? Also do you delete the previous rockbox file first?
Logged

Offline Njones

  • Member
  • *
  • Posts: 186
Re: Fiio M3k
« Reply #61 on: November 29, 2020, 08:21:17 PM »
Nevermind updated rockbox through tools. The problem that no matter which theme I use it only fills about 1/4 of the screen.
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 665
Re: Fiio M3k
« Reply #62 on: November 29, 2020, 08:36:04 PM »
It seems I need to repeat myself:

Quote from: speachy on October 09, 2020, 09:15:49 PM
The port code has landed in the main rockbox repo, and builds are now being generated by the build farm.

Again, this can *not* be deployed on top of an existing xVortex port.  Please do not attempt to do so.
Logged

Offline Njones

  • Member
  • *
  • Posts: 186
Re: Fiio M3k
« Reply #63 on: November 29, 2020, 08:45:54 PM »
Does that mean Delete the previous version and then install this latest one or is this one not ready yet. Please Bear with me , I'm a 69 year old non tech savvy music lover who has used rockbox on several sansa players and the agptek Rocker.
Logged

Offline vitt13

  • Member
  • *
  • Posts: 95
Re: Fiio M3k
« Reply #64 on: November 30, 2020, 05:30:55 AM »
Quote from: efqw on May 13, 2020, 04:59:24 PM
1. FiiO's buildroot is based on Ingenic's Halley2 buildroot BSP. The Halley2 BSP kernel, u-boot, buildroot and other misc files can be obtained from their FTP server. Please try to mirror it if you can, ingenic has a habit of silently removing files from their FTP server: ftp://198.13.102.99/ingenic_support/X1000_X1000E_X1500/01_SW/00_Board-Level_Consolidation_Version/Kernel3.10.14_X1000_New_Version/08_ingenic-linux-kernel3.10.14-x1000-v9.0-20191212/ingenic-linux-kernel3.10.14-x1000-v9.0-20191212.tar.bz2
Removed... But I found the tutorial and the link on that archive http://www.ingenic.com.cn/?newsshow/tp/228/id/775.html. It's on Baidu net disk.
Logged

Offline alexs

  • Member
  • *
  • Posts: 15
Re: Fiio M3k
« Reply #65 on: November 30, 2020, 07:57:58 AM »
The tool I used for getting shell access / injecting files into the rootfs. Base64 ZIP. Instructions inside.

Best I can tell, this trick should also work on M3 Pro, I have one ordered and I'll try it once it arrives.
But it's 2020 so that might be next week or next year.

Also I got my test device into the USB boot mode and it works great! but I cannot boot the system like that yet.
* fiio-m3k-shell.txt (5.57 kB - downloaded 105 times.)
« Last Edit: November 30, 2020, 08:13:35 AM by alexs »
Logged

Offline alexs

  • Member
  • *
  • Posts: 15
Re: Fiio M3k
« Reply #66 on: November 30, 2020, 08:26:30 AM »
Quote from: vitt13 on November 30, 2020, 05:30:55 AM
Removed... But I found the tutorial and the link on that archive http://www.ingenic.com.cn/?newsshow/tp/228/id/775.html. It's on Baidu net disk.

The kernel itself is here: https://github.com/FiiOapp/FiiO_Kernel_M3K
They did not even bother renaminig halley2 files, so arch/mips/xburst/soc-x1000/chip-x1000/halley2 is in fact M3K.
The docs for the SoC are also easily available on Github.

Getting the rest of the SDK from Baidu would be nice though.
Logged

Offline bahus

  • Member
  • *
  • Posts: 213
Re: Fiio M3k
« Reply #67 on: November 30, 2020, 08:33:15 AM »
Quote from: alexs on November 30, 2020, 07:57:58 AM
Base64 ZIP. Instructions inside.

Well.. That's doesn't look as simple instruction for windows user... Just in case attaching decoded txt directly to zip (just remove .txt extension from downloaded file)..
* fiiom3k.zip.txt (4.12 kB - downloaded 98 times.)
Logged

Offline vitt13

  • Member
  • *
  • Posts: 95
Re: Fiio M3k
« Reply #68 on: November 30, 2020, 09:50:44 AM »
Quote from: alexs on November 30, 2020, 07:57:58 AM
The tool I used for getting shell access / injecting files into the rootfs. ... Also I got my test device into the USB boot mode and it works great! but I cannot boot the system like that yet.
Nice! It would be great to steal raw content (with dd tool?) as is all the partitions to be able re-flash (be able recover) with the factory tool "USB cloner v2.5.0". We have only bootloader, kernel image and system ubi image extracted from M3K.fw.
I mean the tool I found here under "burning tools" http://www.ingenic.com.cn/en/?product/id/9/lm/4.html
Just found that Chinese page has the newest tools http://www.ingenic.com.cn/?product/id/9/lm/3.html
Someone have to find out what config we need to use with M3K.

* conf_info.png (24.23 kB, 776x459 - viewed 287 times.)

* conf_policy.png (20.47 kB, 776x457 - viewed 235 times.)
« Last Edit: November 30, 2020, 09:58:38 AM by vitt13 »
Logged

Offline alexs

  • Member
  • *
  • Posts: 15
Re: Fiio M3k
« Reply #69 on: November 30, 2020, 10:22:03 AM »
Quote from: bahus on November 30, 2020, 08:33:15 AM
Well.. That's doesn't look as simple instruction for windows user... Just in case attaching decoded txt directly to zip (just remove .txt extension from downloaded file)..

The only idea of a simple solution for Windows (or Mac) users I can come up with right now is to provide them with a pre-modified M3K.fw. So somebody would build Rockbox, prepare the files and put them up for download. All that on a Linux host of course. The Window users would need to transfer a couple of files onto an SD card and boot the device with the button pressed.
Logged

Offline alexs

  • Member
  • *
  • Posts: 15
Re: Fiio M3k
« Reply #70 on: November 30, 2020, 10:33:12 AM »
Quote from: vitt13 on November 30, 2020, 09:50:44 AM
We have only bootloader, kernel image and system ubi image extracted from M3K.fw.

There are two more partitions there: recovery, which we also have, and userdata which doesn't containt anything important.
Keep in mind rootfs and userdata are both ubi partitions, so dd'ing them is not the best idea.

Quote
Someone have to find out what config we need to use with M3K.

One of the -sfc-nand- options. There's no NOR flash there and this device is not configured to boot from MMC.

That tool will only work with the device in bootrom / USB boot mode. There are two ways to get there: wiping the bootloader (which is what I did on my device) or soldering one of the bootconfig resistors (which should be possible but requires opening the case). Unmodified device running stock firmware will not respond to those requests.

You don't need their Windows tool either. There's a Linux package called ingenic-boot which has the tools to do all of that I think. It's for earlier Ingenic chips but it did not take much for me to make it work with x1000. It's also very simple on the Linux side, because fundamentally all it does is uploading raw code into device's RAM and letting it run there.
Logged

Offline bahus

  • Member
  • *
  • Posts: 213
Re: Fiio M3k
« Reply #71 on: November 30, 2020, 10:46:04 AM »
Quote from: alexs on November 30, 2020, 10:22:03 AM
So somebody would build Rockbox

Well this part is already done - daily fiio m3k builds available here: https://build.rockbox.org/data/rockbox-fiiom3k.zip
Logged

Offline vitt13

  • Member
  • *
  • Posts: 95
Re: Fiio M3k
« Reply #72 on: November 30, 2020, 10:52:50 AM »
alexs, Thank you for clarifying.
Quote from: alexs on November 30, 2020, 10:33:12 AM
You don't need their Windows tool either.
Just a note: they also provide Linux tool.

* linux_too.png (15.04 kB, 1076x366 - viewed 280 times.)
Logged

Offline vitt13

  • Member
  • *
  • Posts: 95
Re: Fiio M3k
« Reply #73 on: November 30, 2020, 11:15:34 AM »
alexs, I thought it should have a trick action to get fastboot mode and then use "Clone tool".
I found there is a set of action for Ingenic XBurst M200S based smart watch https://forum.xda-developers.com/smartwatch/other-smartwatches/amazfit-boot-fastboot-directly-t3546829 and how recovery it with Ingenic Clone tool https://forum.xda-developers.com/smartwatch/amazfit/tutorial-ingenic-cloner-tool-aamzfit-t3908237
but as you say it's not possible for M3K...
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 665
Re: Fiio M3k
« Reply #74 on: November 30, 2020, 11:39:11 AM »
Quote from: bahus on November 30, 2020, 10:46:04 AM
Well this part is already done - daily fiio m3k builds available here: https://build.rockbox.org/data/rockbox-fiiom3k.zip

That's actually updated on every commit; there are no "daily" build snapshots kept for the M3K.

But while there is a rockbox build, the necessary platform integration (ie the rockbox loader application, system scripts, etc) remains to be done.  And there's a lot of work to be done on that front -- While the loader is written, it has seen no meaningful testing, and worse yet, the m3k's underlying Linux kernel and base OS is a real hacky mess, with stuff we take for granted on every other platform simply not working. As an example of this, custom userspace code needs to be written to *shut down* the player because the kernel doesn't have the correct stuff hooked up to be able to use the standard Linux APIs that have been around for literally decades.
Logged

  • Print
Pages: 1 ... 3 4 [5] 6 7 ... 29
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Fiio M3k
 

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

Page created in 0.197 seconds with 20 queries.