1
0
Fork 0
forked from len0rd/rockbox
foxbox/tools
Dana Conrad 253eb79db3 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
2024-11-22 17:01:39 -05:00
..
agptek_rocker Agptek Rocker: Slightly tweak build procedure 2018-06-14 11:02:18 +02:00
checkwps checkwps: Validate translated strings (%Sx) 2024-05-24 21:37:54 -04:00
database dbtool: Make the dbtool marginally more user friendly. 2024-02-20 14:38:49 -05:00
docker_rbclient docker-rbclient: use CMD instead of ENTRYPOINT 2020-06-25 17:42:42 -04:00
fwpatcher fwpatcher: fix compile errors and warnings on modern Linux 2020-11-16 21:05:52 +00:00
hibyos_nativepatcher hibyos_nativepatcher: rewrite for either fresh install or uninstall 2024-09-12 17:09:52 -04:00
iap Updated IAP commands. 2013-11-10 18:41:24 +01:00
profile_reader Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed. 2008-07-28 22:43:41 +00:00
rbspeex rbspeex: Fix unused variable warning. 2021-12-25 17:47:14 +01:00
release builds: Create a function that generates a list of all manual builds 2024-07-17 21:43:00 -04:00
toolchain-patches Revert "Toolchains: Update to GCC 8.5.0" 2024-06-30 15:06:44 -04:00
ucl rbutil: Fix native Windows build for tools. 2020-10-21 21:33:39 +02:00
vagrant Add Vagrant configuration for creating a development VM 2019-07-26 20:20:07 -04:00
addtargetdir.pl makefiles 2010-08-21 18:07:12 +00:00
autoconf.pl autoconf.pl: Add support for build folders with screen resolution (e.g. build-android-320x480). 2013-03-16 22:30:46 +01:00
bdf2bmp.c FS#12764 - bdf2bmp fails to compile 2012-10-14 12:12:25 +02:00
bmp2rb.c remove rockboxlogo after boot INIT_ATTR 2022-12-19 18:59:59 -05:00
build-info.pl build-info: Add a trailing newline to the output 2024-07-24 20:03:39 -04:00
builds.pm voice: Correct piper voice name for es_MX 2024-11-21 07:43:09 -05:00
buildtheme.pl copy the images for the skins. 2010-06-03 13:59:32 +00:00
buildzip.pl fonts: Rename COPYING to COPYING-fonts.txt in the fonts zip 2024-07-30 10:18:18 -04:00
codecscan.pl Add codecs to librbcodec. 2012-04-25 22:13:20 +02:00
codepage_tables.c Add support for cp1252 (Western European) codepage. 2012-05-19 01:42:53 +02:00
codepage_tables.h Add support for cp1252 (Western European) codepage. 2012-05-19 01:42:53 +02:00
codepages.c Add support for cp1252 (Western European) codepage. 2012-05-19 01:42:53 +02:00
configure erosqnative: hw4 support 2024-11-22 17:01:39 -05:00
convbdf.c convbdf: Properly support a compiled sysfont of over 64K. 2024-11-06 09:40:06 -05:00
convttf.c Option to use the lighter hinting algorithm (FT_LOAD_TARGET_LIGHT). 2014-01-26 16:11:05 +01:00
creative.c fix yellows 2017-09-06 18:01:25 +02:00
creative.h tools/scramble: add support for a couple more Creative devices 2013-10-22 00:34:35 +02:00
descramble.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
dict2rdf.pl
disktest_sysbench.sh disktest_sysbench script 2020-09-17 16:20:43 +00:00
functions.make makefiles: Fix escaping issues under GNU make 4.2 2023-03-21 09:31:18 +00:00
genlang genlang: Remove ability to output a sorted lang file. 2024-07-28 20:45:37 -04:00
genshortcut.sh Fix Sim for newer distros 2018-12-07 21:04:30 +01:00
genversion.sh Fix makefile not rebuilding rbversion.h in some cases 2016-09-23 23:03:23 +02:00
gigabeat.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
gigabeat.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
gigabeats.c fix yellow by acknowledging the fread() return code and also allow 2009-05-25 21:42:44 +00:00
gigabeats.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
hiby_patcher.pl hiby_patcher: Tweak the fix needed to work around v1.31 AGPtek Rockers. 2021-01-21 08:39:48 -05:00
hmac-sha1.c Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking. 2008-05-05 10:32:46 +00:00
hmac-sha1.h Cleanup in tools/: Remove unused VB scripts and fix properties. 2008-05-08 19:01:21 +00:00
iaudio_bl_flash.bmp Make scramble add the flash logo when encoding for iAudio. It's only shown on M3 with the cowon loader versions I've seen, but the space is reserved in all coldfire iaudio flash files (was just zeroed before). 2008-03-18 20:58:52 +00:00
ipod_fw.c FS#13184: Support 2048 byte sectors and images without bootloader in ipod_fw 2020-03-29 18:48:09 +02:00
iriver.c tools/iriver: fix resource management in encode/decode functions 2021-08-06 03:08:10 +00:00
iriver.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
langignorelist.txt lang: Add a few more items to the "ignore if same as English" list 2024-06-07 12:21:54 -04:00
langstatus langstats: Use updatelang instead of 'genlang -u' 2020-07-29 20:04:46 -04:00
langtool.pl Fix FS#12003 'langtool.pl --deprecate is broken' 2011-04-07 07:50:29 +00:00
langv1tov2
list_targets.pl builds: Add an explicit 'simbuilds' list 2024-06-30 16:25:58 -04:00
lngdump.c tiny tool to help with dumping a binary lng file to the screen to make it 2007-08-10 22:04:47 +00:00
make.inc build: Nuke the ASMFLAGS workaround for gcc 3.4.x 2021-07-08 20:47:30 -04:00
Makefile New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
makesrc.inc makefiles: Suppress stray backslash warnings with grep 3.8 2023-03-21 04:48:31 -04:00
mi4.c mi4: Correct a build warning/error that pops up on stricter hosts 2020-06-07 02:50:30 +00:00
mi4.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
mk500boot.c M:Robe 500: Add firmware patcher: Can decrypt firmware updates, patch them, and re-encrypt them. 2009-08-30 23:24:22 +00:00
mkboot.c mkboot: fix the buffer size used for constructing the final firmware image 2020-11-16 18:23:30 +00:00
mkboot.h Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289. 2011-06-19 17:23:18 +00:00
mkinfo.pl mkinfo: Make memory size computation more accurate 2020-07-15 14:08:14 -04:00
mkmi4.sh
mkspl-x1000.c x1000: don't add pointless '1' after SPL signature 2021-04-09 10:53:36 +00:00
mkzenboot.c mkzenboot: fix implicit function warning 2021-06-27 15:13:59 +00:00
mp3info.pm
mr500.c M:Robe 500: Add firmware patcher: Can decrypt firmware updates, patch them, and re-encrypt them. 2009-08-30 23:24:22 +00:00
mr500.h M:Robe 500: Add firmware patcher: Can decrypt firmware updates, patch them, and re-encrypt them. 2009-08-30 23:24:22 +00:00
multigcc.pl perl magic: Use if/elsif/else instead of given/when (FS #12188) 2011-08-16 19:26:24 +00:00
ovl_offset.pl Fix .ncbss from possibly overlapping .ncdata in plugins/codecs. 2013-07-11 04:32:23 -04:00
rdf2binary.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
rkw.c scramble: add RKW firmware file format encoder 2012-03-04 00:33:41 +01:00
rkw.h scramble: add RKW firmware file format encoder 2012-03-04 00:33:41 +01:00
rockboxdev.sh rockboxdev.sh: bump required version of GMP and MPFR 2024-10-11 13:01:26 -04:00
romsizetest.pl
root.make voice: If $POOL is not set, use <build-dir>/voice-pool by default 2024-06-20 21:00:48 -04:00
sapi_voice.vbs Add support for Microsoft Speech Platform. 2012-09-09 12:07:53 +02:00
scramble.c Remove Samsung YP-Z5 port 2021-08-14 14:13:54 +01:00
songdb.pl misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links. 2020-06-07 01:38:55 +00:00
telechips.c FS#10740 - rbutil: Test Cowon D2 OF file for CRC consistency before patching 2009-11-01 18:26:00 +00:00
telechips.h FS#10740 - rbutil: Test Cowon D2 OF file for CRC consistency before patching 2009-11-01 18:26:00 +00:00
testdbv2.c
thumb-cc.py tools: update shebang in thumb-cc.py 2024-03-30 11:58:40 -04:00
tools.make Specify correct dependencies for tools/descramble 2021-02-27 18:39:04 -05:00
ucl2src.pl
updatelang updatelang: Normalize all strings in our lang files to NFC form. 2024-10-22 07:25:41 -04:00
usb_benchmark.c New USB stack 2007-11-22 20:51:00 +00:00
Vagrantfile Add Vagrant configuration for creating a development VM 2019-07-26 20:20:07 -04:00
version.sh build: Get rid of svn vestiges from version script 2020-07-09 20:29:33 -04:00
voice-corrections.txt voice: Correct "no." -> "number" voice correction 2024-11-01 11:55:42 -04:00
voice.pl voice: Correct piper voice name for es_MX 2024-11-21 07:43:09 -05:00
VOICE_PAUSE.wav Replace the voicebuilding with a perl-based approach. Should greatly speed up building on Cygwin. See more in FS#7646. 2007-08-25 22:00:13 +00:00
voicefont.c voice: Fix voicefile generation 2024-04-17 09:01:45 -04:00
voicefont.h misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links. 2020-06-07 01:38:55 +00:00
vorbiscomm.pm
wavtrim.c misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links. 2020-06-07 01:38:55 +00:00
wavtrim.h misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links. 2020-06-07 01:38:55 +00:00
wn2rdf.pl Cleanup in tools/: Remove unused VB scripts and fix properties. 2008-05-08 19:01:21 +00:00
xduoox3-updatebl.sh xduoox3: Script to patch a firmware image with a new bootloader binary 2024-07-03 16:51:58 -04:00
xml2h.py Add beginning of DSP code (done by Catalin Patulea), but don't enable it 2008-05-16 21:16:01 +00:00