diff options
author | Dana Conrad <dconrad@fastmail.com> | 2024-08-07 01:12:55 +0000 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-09-02 13:29:43 -0400 |
commit | 878e29396c079c08229d5b4698f1fc1d48873ba6 (patch) | |
tree | 447c29dcc1823d706dfffb66437c4d5c65e1ca50 /tools | |
parent | a2cc7546d88bf9c4071f0f56f6c43d59654fc212 (diff) | |
download | rockbox-878e29396c079c08229d5b4698f1fc1d48873ba6.tar.gz rockbox-878e29396c079c08229d5b4698f1fc1d48873ba6.zip |
ErosQNative: Add v3 LCD support, conditional on bootloader
bootloader passes the player version to rockbox for LCD init changes
Credit ZappBranigan2972 on forums for original changes
Credit Bilgus for devicedata additions
Change-Id: Ia2ca493edef49b7457e84dc19b05397dc915fa5a
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 8698c6a38d..d6812cd4c4 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1676,6 +1676,8 @@ cat <<EOF | |||
1676 | ==AIGO== 244) M3K Linux | 1676 | ==AIGO== 244) M3K Linux |
1677 | 245) Eros Q / K 246) M3K baremetal ==Shanling== | 1677 | 245) Eros Q / K 246) M3K baremetal ==Shanling== |
1678 | 247) Eros Q / K native 260) Q1 | 1678 | 247) Eros Q / K native 260) Q1 |
1679 | 248) Eros Q / K native v3 | ||
1680 | (GC9A01 LCD Controller) | ||
1679 | EOF | 1681 | EOF |
1680 | 1682 | ||
1681 | buildfor=`input`; | 1683 | buildfor=`input`; |
@@ -4190,8 +4192,39 @@ fi | |||
4190 | t_cpu="mips" | 4192 | t_cpu="mips" |
4191 | t_manufacturer="ingenic_x1000" | 4193 | t_manufacturer="ingenic_x1000" |
4192 | t_model="erosqnative" | 4194 | t_model="erosqnative" |
4195 | # player version, for bootloader usage | ||
4196 | # versions 1 and 2 both use 1 | ||
4197 | GCCOPTS="$GCCOPTS -DEROSQN_VER=1" | ||
4193 | ;; | 4198 | ;; |
4194 | 4199 | ||
4200 | 248|erosqnative_v3) | ||
4201 | target_id=116 | ||
4202 | modelname="erosqnative" | ||
4203 | target="EROS_QN" | ||
4204 | memory=32 | ||
4205 | mipsr2elcc | ||
4206 | appextra="recorder:gui" | ||
4207 | plugins="yes" | ||
4208 | tool="$rootdir/tools/scramble -add=erosqnative " | ||
4209 | boottool="$rootdir/tools/mkspl-x1000 -type=nand -ppb=2 -bpp=2 " | ||
4210 | output="rockbox.erosq" | ||
4211 | bootoutput="bootloader.erosq" | ||
4212 | sysfontbl="16-Terminus" | ||
4213 | # toolset is the tools within the tools directory that we build for | ||
4214 | # this particular target. | ||
4215 | toolset="$x1000tools" | ||
4216 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
4217 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
4218 | # architecture, manufacturer and model for the target-tree build | ||
4219 | t_cpu="mips" | ||
4220 | t_manufacturer="ingenic_x1000" | ||
4221 | t_model="erosqnative" | ||
4222 | # player version, for bootloader usage | ||
4223 | # version 3 | ||
4224 | GCCOPTS="$GCCOPTS -DEROSQN_VER=3" | ||
4225 | ;; | ||
4226 | |||
4227 | |||
4195 | *) | 4228 | *) |
4196 | echo "Please select a supported target platform!" | 4229 | echo "Please select a supported target platform!" |
4197 | exit 7 | 4230 | exit 7 |