forked from len0rd/rockbox
Fork of rockbox tailored for ipod classic
Support hw4 units with AXP2101 PMU Bootloader successfully compiles and loads onto device. The LCD appears to be identical to hw3 units. Scroll wheel and buttons work Audio output works, including volume. HP/LO detect works Rockbox build is generic GPIO gating logic seems to be working as intended now. - Added new GPIO definitions - some significant overlaps with pins from previous hardware revisions... - Added some GPIO definitions for older players we didn't know about - Add register definitions for AXP2101 from datasheet (these are very different from AXP192!) - Add AXP2101 regulator definitions, need to support multiple step sizes per regulator. - Verify AXP2101 voltage set multi-range logic - Verify AXP2101 voltage get multi-range logic - Make AXP2101 its own driver - AXP2101 driver should be "minimally viable", though I think there is some extra functionality that could be implemented. - Disabling the coulomb counter stuff - we could maybe make the E-Gauge work for the same purpose, but it only appears to be used on the debug screen at the moment so it doesn't seem like it's worth the effort. - Found new button GPIOs - Found error in my GPIO setting logic, blue light works now! - Set LDO/DCDC output voltages to OF's settings, as far as I can tell. - Determined we probably want TCS1421_CFG1:0 to be 0x00, for UFP behavior - Tested this rb build with both old and new bootloaders on hw1.5, hw2, hw4 in as many configurations as I can think of, works across the board. - Bootloader can install itself on hw4, so nand chip isn't novel - Uninstallation file can be made by patcher script, works on hw4 - Installation file can be made by patcher script, works on hw4 - Added HW4 to rbutil, manual Change-Id: I5b75782273e81c2c6f2b9c79501c8b7cbf88391f |
||
---|---|---|
android | ||
apps | ||
backdrops | ||
bootloader | ||
debian | ||
docs | ||
firmware | ||
fonts | ||
gdb | ||
icons | ||
lib | ||
manual | ||
packaging | ||
tools | ||
uisimulator | ||
utils | ||
wps | ||
.gitattributes | ||
.gitignore | ||
.gitreview |
__________ __ ___. Open \______ \ ____ ____ | | _\_ |__ _______ ___ Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ \/ \/ \/ \/ \/ Build Your Own Rockbox 1. Clone 'rockbox' from git (or extract a downloaded archive). $ git clone git://git.rockbox.org/rockbox or $ tar xJf rockbox.tar.xz 2. Create a build directory, preferably in the same directory as the firmware/ and apps/ directories. This is where all generated files will be written. $ cd rockbox $ mkdir build $ cd build 3. Make sure you have mips/m68k/arm-elf-gcc and siblings in the PATH. Make sure that you have 'perl' in your PATH too. Your gcc cross compiler needs to be a particular version depending on what player you are compiling for. These can be generated using the rockboxdev.sh script in the /tools/ folder of the source. $ which arm-elf-eabi-gcc $ which perl 4. In your build directory, run the 'tools/configure' script and enter what target you want to build for and if you want a debug version or not (and a few more questions). It'll prompt you. The debug version is for making a gdb version out of it. It is only useful if you run gdb towards your target Archos. $ ../tools/configure 5. *ploink*. Now you have got a Makefile generated for you. 6. Run 'make' and soon the necessary pieces from the firmware and the apps directories have been compiled, linked and scrambled for you. $ make $ make zip 7. unzip the rockbox.zip on your music player, reboot it and *smile*. If you want to build for more than one target, just create several build directories and create a setup for each target: $ mkdir build-fuzeplus $ cd build-fuzeplus $ ../tools/configure $ mkdir build-xduoox3 $ cd build-xduoox3 $ ../tools/configure Questions anyone? Ask on the mailing list or on IRC. We'll be happy to help you!