forked from len0rd/rockbox
erosqnative: hw4 support
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
This commit is contained in:
parent
d7b57e33d9
commit
253eb79db3
14 changed files with 1403 additions and 108 deletions
|
@ -80,13 +80,15 @@ platform136=aigoerosq.hifiwalkerh2
|
|||
platform137=aigoerosq.hifiwalkerh2.v13
|
||||
platform138=aigoerosq.surfansf20
|
||||
; default erosqnative should be most recent hardware revision
|
||||
platform139=erosqnative.hw3
|
||||
platform140=erosqnative.hw3.hifiwalkerh2
|
||||
platform141=erosqnative.hw3.surfansf20
|
||||
platform142=erosqnative.hw1hw2
|
||||
platform143=erosqnative.hw1hw2.hifiwalkerh2
|
||||
platform144=erosqnative.hw1hw2.hifiwalkerh2.v13
|
||||
platform145=erosqnative.hw1hw2.surfansf20
|
||||
platform139=erosqnative.hw4.hifiwalkerh2
|
||||
platform140=erosqnative.hw4.surfansf20
|
||||
platform141=erosqnative.hw3
|
||||
platform142=erosqnative.hw3.hifiwalkerh2
|
||||
platform143=erosqnative.hw3.surfansf20
|
||||
platform144=erosqnative.hw1hw2
|
||||
platform145=erosqnative.hw1hw2.hifiwalkerh2
|
||||
platform146=erosqnative.hw1hw2.hifiwalkerh2.v13
|
||||
platform147=erosqnative.hw1hw2.surfansf20
|
||||
|
||||
; devices sections
|
||||
;
|
||||
|
@ -874,6 +876,32 @@ playerpic=aigoerosq
|
|||
encoder=rbspeex
|
||||
status=disabled
|
||||
|
||||
[erosqnative.hw4.hifiwalkerh2]
|
||||
name="HIFI WALKER H2 V1.9"
|
||||
bootloadermethod=file
|
||||
bootloadername=/aigo/native/erosqnative-hw4-erosq_2024.upt
|
||||
bootloaderfile=/update.upt
|
||||
manualname=erosqnative
|
||||
themename=aigoerosq
|
||||
brand=HIFI WALKER
|
||||
usbid=0xc5020023 ; shared across EROS Q / K series
|
||||
usberror=
|
||||
playerpic=aigoerosq
|
||||
encoder=rbspeex
|
||||
|
||||
[erosqnative.hw4.surfansf20]
|
||||
name="Surfans F20 V3.4"
|
||||
bootloadermethod=file
|
||||
bootloadername=/aigo/native/erosqnative-hw4-erosq_2024.upt
|
||||
bootloaderfile=/update.upt
|
||||
manualname=erosqnative
|
||||
themename=aigoerosq
|
||||
brand=Surfans
|
||||
usbid=0xc5020023 ; shared across EROS Q / K series
|
||||
usberror=
|
||||
playerpic=aigoerosq
|
||||
encoder=rbspeex
|
||||
|
||||
[erosqnative.hw3]
|
||||
name="AIGO Eros Q V2.1"
|
||||
bootloadermethod=file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue