|
|||||||||||||||||||||||||||||||||||||||||||||||||
Fiio X3 Gen2OverviewThis is the page for the Fiio X3 gen2 port. This player shares some similarity with the FiioX1. For the first generation of this player, refer to FiioX3.Port StatusSee FiioX3Gen2PortMain Features
Recovery modeThe JZ4760 chip has a usb recovery mode documented in the datasheet. The Fiio X1 can be put in this mode by the following procedure:
Boot ProcedureOn boot, the cpu will either enter recovery mode or boot from the NAND. When booting from NAND, the CPU will load 8KB of code to the cache and execute them (seebootloader_stage1.bin attached to this page).
This first bootloader (IPL) initializes the RAM and loads a secondary bootloader (SPL) at 0x80600000. The SPL is at offset 0x400 (in pages, or 2MiB in bytes). The SPL initializes the LCD and displays an animation while loading the main firmware.
Early analysis of the SPL suggest it can flash the firmware from SD even if the main firmware is dead, by holding the shortcut button (top left) when booting, so the device can be easily unbricked (in theory).
The bootloader also has a "factory" boot where a file called x3ii.bin is loaded from the SD card and executed.
Factory bootBy holding the upper left button of the X keygroup, the device will enter recovery mode and check forx3ii.bin . If this file exists, it will load it to memory, unscramble it (using the same scrambling algorithm as for FiioFirmware sys.bin ) and run it at address 0x80001000.
Upgrade procedureBy holding the upper left button of the X keygroup, the device will enter recovery mode and check forx3ii.fw to perform an upgrade. The file must use the FiioFirmware format. The exact way the upgrade procedure works is unclear.
Flash formatThe first 2MB are reserved for the IPL, containing many copies of it, as described in the datasheet. The SPL is at 2MiB and of size 1MiB. More investigation are needed to understand the structure of the flash file system and how does it compare to the upgrade file.Firmware FilesSee FiioFirmware for an analysis of the Fiio firmware format.Components
PCB Scans-- AmauryPouly - 15 Apr 2016
r4 - 02 Apr 2021 - 20:46:06 - UnknownUser
Copyright © by the contributing authors.
|