Skip to content

Commit

Permalink
M3 and Q8 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
tiopex committed May 26, 2022
1 parent 3b0bec5 commit d69e4a0
Show file tree
Hide file tree
Showing 44 changed files with 92 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ boot:
├── pocketgo.orig
├── v90_q90
├── v90_q90.orig
├── m3
└── xyc
main:
├── apps
├── emus
Expand Down
Binary file added boot/misc/u-boot-bins/u-boot-sunxi-with-spl.bin
Binary file not shown.
Empty file modified boot/suniv-f1c500s-miyoo.dtb
100644 → 100755
Empty file.
Binary file modified boot/variants/bittboy2x/r61520fb.ko
Binary file not shown.
Binary file modified boot/variants/bittboy2x/syscopyarea.ko
Binary file not shown.
Binary file modified boot/variants/bittboy2x/sysfillrect.ko
Binary file not shown.
Binary file modified boot/variants/bittboy2x/sysimgblt.ko
Binary file not shown.
Binary file modified boot/variants/bittboy2x/zImage
100644 → 100755
Binary file not shown.
Binary file modified boot/variants/bittboy3.5/r61520fb.ko
Binary file not shown.
Binary file modified boot/variants/bittboy3.5/syscopyarea.ko
Binary file not shown.
Binary file modified boot/variants/bittboy3.5/sysfillrect.ko
Binary file not shown.
Binary file modified boot/variants/bittboy3.5/sysimgblt.ko
Binary file not shown.
Binary file modified boot/variants/bittboy3.5/zImage
100644 → 100755
Binary file not shown.
Binary file added boot/variants/m3/boot-logo
Binary file not shown.
17 changes: 17 additions & 0 deletions boot/variants/m3/colors
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
0#609408 background
1#587741 red
2#587741 green
3#587741 yellow
4#587741 blue
5#587741 magenta
6#587741 cyan
7#284139 base2 - text colour
8#39594a base03
9#39594a orange
10#39594a base01
11#39594a base00
12#39594a base0
13#39594a violet
14#39594a base1
15#39594a base3

1 change: 1 addition & 0 deletions boot/variants/m3/configs/.backlight.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
1 change: 1 addition & 0 deletions boot/variants/m3/configs/.volume.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
13 changes: 13 additions & 0 deletions boot/variants/m3/configs/gmenu2x.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
skin="GameShow"
wallpaper="skins/GameShow/wallpapers/rom_bg.png"
skinFont="Custom"
backlight=90
backlightTimeout=100
cpuMax=900
globalVolume=80
skinBackdrops=1
maxBattery=3870
cpuMin=200
section=1
cpuMenu=702
powerTimeout=20
18 changes: 18 additions & 0 deletions boot/variants/m3/configs/input.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
up=keyboard,273
down=keyboard,274
left=keyboard,276
right=keyboard,275
modifier=keyboard,32
confirm=keyboard,306
cancel=keyboard,32
manual=keyboard,304
section_prev=keyboard,304
section_next=keyboard,308
pageup=keyboard,304
pagedown=keyboard,308
settings=keyboard,13
menu=keyboard,27
backlight=keyboard,51
power=keyboard,305
inc=keyboard,32
dec=keyboard,304
9 changes: 9 additions & 0 deletions boot/variants/m3/configs/manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
! manifest
! format: each line corresponds to one file to be copied over
! from_file(as_appears_in_this_directory) to_file(relative_to_root_of_main_partition)
! to_file is optional; if missing will use from_file
.backlight.conf
.volume.conf
gmenu2x.conf gmenu2x/gmenu2x.conf
input.conf gmenu2x/input.conf
! leave this last line here
Binary file added boot/variants/m3/daemon
Binary file not shown.
2 changes: 2 additions & 0 deletions boot/variants/m3/firstboot.custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
echo "Writing U-BOOT - DO NOT TURN OFF THE HANDHELD!!!"
dd if=../../misc/u-boot-bins/u-boot-bittboy2x.bin of=/dev/mmcblk0 bs=1024 seek=8
9 changes: 9 additions & 0 deletions boot/variants/m3/modules.custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# expected to be run from this directory
# LOGS variable is set, but it should usually be /dev/null
# CONSOLE_VARIANT is also set
#
insmod "./syscopyarea.ko"
insmod "./sysfillrect.ko"
insmod "./sysimgblt.ko"
#insmod "./r61520fb.ko" version=1 flip=1 invert=1
insmod "./r61520fb.ko" version=1 flip=1 invert=0
5 changes: 5 additions & 0 deletions boot/variants/m3/normalboot.custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# expected to be run from this directory
# LOGS variable is set, but it should usually be /dev/null
# CONSOLE_VARIANT is also set
#
./daemon >> "${LOGS}" 2>&1
Binary file added boot/variants/m3/r61520fb.ko
Binary file not shown.
Binary file added boot/variants/m3/setcolors
Binary file not shown.
Binary file added boot/variants/m3/syscopyarea.ko
Binary file not shown.
Binary file added boot/variants/m3/sysfillrect.ko
Binary file not shown.
Binary file added boot/variants/m3/sysimgblt.ko
Binary file not shown.
Binary file added boot/variants/m3/zImage
Binary file not shown.
Binary file modified boot/variants/v90_q90/r61520fb.ko
Binary file not shown.
Binary file modified boot/variants/v90_q90/syscopyarea.ko
Binary file not shown.
Binary file modified boot/variants/v90_q90/sysfillrect.ko
Binary file not shown.
Binary file modified boot/variants/v90_q90/sysimgblt.ko
Binary file not shown.
Binary file modified boot/variants/v90_q90/zImage
100644 → 100755
Binary file not shown.
12 changes: 6 additions & 6 deletions boot/variants/xyc/configs/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ down=keyboard,274
left=keyboard,276
right=keyboard,275
modifier=keyboard,32
confirm=keyboard,306
cancel=keyboard,32
confirm=keyboard,308
cancel=keyboard,306
manual=keyboard,304
section_prev=keyboard,304
section_next=keyboard,308
pageup=keyboard,304
pagedown=keyboard,308
section_prev=keyboard,9
section_next=keyboard,8
pageup=keyboard,9
pagedown=keyboard,8
settings=keyboard,13
menu=keyboard,27
backlight=keyboard,51
Expand Down
2 changes: 1 addition & 1 deletion boot/variants/xyc/firstboot.custom.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
echo "Writing U-BOOT - DO NOT TURN OFF THE HANDHELD!!!"
dd if=../../misc/u-boot-bins/u-boot-bittboy3.5.bin of=/dev/mmcblk0 bs=1024 seek=8
dd if=../../misc/u-boot-bins/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8
9 changes: 9 additions & 0 deletions boot/variants/xyc/modules.custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# expected to be run from this directory
# LOGS variable is set, but it should usually be /dev/null
# CONSOLE_VARIANT is also set
#
insmod "./syscopyarea.ko"
insmod "./sysfillrect.ko"
insmod "./sysimgblt.ko"
insmod "./r61520fb.ko" version=1 flip=1 invert=1
#insmod "./r61520fb.ko" version=1 flip=1 invert=0
Binary file modified boot/variants/xyc/r61520fb.ko
Binary file not shown.
Binary file removed boot/variants/xyc/r61520fb.ko.badrotation
Binary file not shown.
Binary file modified boot/variants/xyc/syscopyarea.ko
Binary file not shown.
Binary file modified boot/variants/xyc/sysfillrect.ko
Binary file not shown.
Binary file modified boot/variants/xyc/sysimgblt.ko
Binary file not shown.
Binary file modified boot/variants/xyc/zImage
100644 → 100755
Binary file not shown.

0 comments on commit d69e4a0

Please sign in to comment.