diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-05-23 17:30:58 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-13 22:01:33 +0100 |
commit | 4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (patch) | |
tree | 99f8d91af2c171cf3843f0c14d41a20d9dc29c4f /tools | |
parent | 3abb7c5dd5be2ec6744bfc0a80967b20f1b59e30 (diff) | |
download | rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.tar.gz rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.zip |
New port: Shanling Q1 native
- Audio playback works
- Touchscreen and buttons work
- Bootloader works and is capable of dual boot
- Plugins are working
- Cabbiev2 theme has been ported
- Stable for general usage
Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps.
There's a few minor known issues:
- Bootloader must be installed manually using 'usbboot' as there is
no support in jztool yet.
- Keymaps may be lacking, need further testing and feedback.
- Some plugins may not be fully adapted to the screen size and could
benefit from further tweaking.
- LCD shows abnormal effects under some circumstances: for example,
after viewing a mostly black screen an afterimage appears briefly
when going back to a brightly-lit screen. Sudden power-off without
proper shutdown of the backlight causes a "dissolving" effect.
- CW2015 battery reporting driver is buggy, and disabled for now.
Battery reporting is currently voltage-based using the AXP192.
Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 27 | ||||
-rw-r--r-- | tools/scramble.c | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 2e06b03717..f32c5d514d 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1597,7 +1597,8 @@ cat <<EOF | |||
1597 | 240) Rocker 228) NWZ-A860 series | 1597 | 240) Rocker 228) NWZ-A860 series |
1598 | ==FiiO== 229) NWZ-S750 series | 1598 | ==FiiO== 229) NWZ-S750 series |
1599 | ==AIGO== 244) M3K Linux | 1599 | ==AIGO== 244) M3K Linux |
1600 | 245) Eros Q / K 246) M3K baremetal | 1600 | 245) Eros Q / K 246) M3K baremetal ==Shanling== |
1601 | 260) Q1 | ||
1601 | EOF | 1602 | EOF |
1602 | 1603 | ||
1603 | buildfor=`input`; | 1604 | buildfor=`input`; |
@@ -4108,6 +4109,30 @@ fi | |||
4108 | t_model="fiiom3k" | 4109 | t_model="fiiom3k" |
4109 | ;; | 4110 | ;; |
4110 | 4111 | ||
4112 | 260|shanlingq1) | ||
4113 | target_id=115 | ||
4114 | modelname="shanlingq1" | ||
4115 | target="SHANLING_Q1" | ||
4116 | memory=64 | ||
4117 | mipsr2elcc | ||
4118 | appextra="recorder:gui" | ||
4119 | plugins="yes" | ||
4120 | tool="$rootdir/tools/scramble -add=shq1 " | ||
4121 | boottool="" # not used | ||
4122 | output="rockbox.q1" | ||
4123 | bootoutput="bootloader.q1" | ||
4124 | sysfontbl="16-Terminus" | ||
4125 | # toolset is the tools within the tools directory that we build for | ||
4126 | # this particular target. | ||
4127 | toolset="$x1000tools" | ||
4128 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
4129 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | ||
4130 | # architecture, manufacturer and model for the target-tree build | ||
4131 | t_cpu="mips" | ||
4132 | t_manufacturer="ingenic_x1000" | ||
4133 | t_model="shanlingq1" | ||
4134 | ;; | ||
4135 | |||
4111 | *) | 4136 | *) |
4112 | echo "Please select a supported target platform!" | 4137 | echo "Please select a supported target platform!" |
4113 | exit 7 | 4138 | exit 7 |
diff --git a/tools/scramble.c b/tools/scramble.c index 24ed4ba0e6..a75d6df528 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -333,6 +333,8 @@ int main (int argc, char** argv) | |||
333 | modelnum = 109; | 333 | modelnum = 109; |
334 | else if (!strcmp(&argv[1][5], "fiiom3k")) /* FiiO M3K */ | 334 | else if (!strcmp(&argv[1][5], "fiiom3k")) /* FiiO M3K */ |
335 | modelnum = 114; | 335 | modelnum = 114; |
336 | else if (!strcmp(&argv[1][5], "shq1")) /* Shanling Q1 */ | ||
337 | modelnum = 115; | ||
336 | else { | 338 | else { |
337 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 339 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
338 | return 2; | 340 | return 2; |