diff --git a/README.md b/README.md index 3b7026d..48cb0aa 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,8 @@ boot: ├── pocketgo.orig ├── v90_q90 ├── v90_q90.orig + ├── m3 └── xyc - main: ├── apps ├── emus diff --git a/boot/misc/u-boot-bins/u-boot-sunxi-with-spl.bin b/boot/misc/u-boot-bins/u-boot-sunxi-with-spl.bin new file mode 100644 index 0000000..9aa8b0b Binary files /dev/null and b/boot/misc/u-boot-bins/u-boot-sunxi-with-spl.bin differ diff --git a/boot/suniv-f1c500s-miyoo.dtb b/boot/suniv-f1c500s-miyoo.dtb old mode 100644 new mode 100755 diff --git a/boot/variants/bittboy2x/r61520fb.ko b/boot/variants/bittboy2x/r61520fb.ko index 078b721..e00a09a 100644 Binary files a/boot/variants/bittboy2x/r61520fb.ko and b/boot/variants/bittboy2x/r61520fb.ko differ diff --git a/boot/variants/bittboy2x/syscopyarea.ko b/boot/variants/bittboy2x/syscopyarea.ko index b2f0fb5..bed0d5d 100644 Binary files a/boot/variants/bittboy2x/syscopyarea.ko and b/boot/variants/bittboy2x/syscopyarea.ko differ diff --git a/boot/variants/bittboy2x/sysfillrect.ko b/boot/variants/bittboy2x/sysfillrect.ko index 1446225..7c2aed2 100644 Binary files a/boot/variants/bittboy2x/sysfillrect.ko and b/boot/variants/bittboy2x/sysfillrect.ko differ diff --git a/boot/variants/bittboy2x/sysimgblt.ko b/boot/variants/bittboy2x/sysimgblt.ko index 1136913..15649c4 100644 Binary files a/boot/variants/bittboy2x/sysimgblt.ko and b/boot/variants/bittboy2x/sysimgblt.ko differ diff --git a/boot/variants/bittboy2x/zImage b/boot/variants/bittboy2x/zImage old mode 100644 new mode 100755 index 4f9b16a..2557f67 Binary files a/boot/variants/bittboy2x/zImage and b/boot/variants/bittboy2x/zImage differ diff --git a/boot/variants/bittboy3.5/r61520fb.ko b/boot/variants/bittboy3.5/r61520fb.ko index 078b721..e00a09a 100644 Binary files a/boot/variants/bittboy3.5/r61520fb.ko and b/boot/variants/bittboy3.5/r61520fb.ko differ diff --git a/boot/variants/bittboy3.5/syscopyarea.ko b/boot/variants/bittboy3.5/syscopyarea.ko index b2f0fb5..bed0d5d 100644 Binary files a/boot/variants/bittboy3.5/syscopyarea.ko and b/boot/variants/bittboy3.5/syscopyarea.ko differ diff --git a/boot/variants/bittboy3.5/sysfillrect.ko b/boot/variants/bittboy3.5/sysfillrect.ko index 1446225..7c2aed2 100644 Binary files a/boot/variants/bittboy3.5/sysfillrect.ko and b/boot/variants/bittboy3.5/sysfillrect.ko differ diff --git a/boot/variants/bittboy3.5/sysimgblt.ko b/boot/variants/bittboy3.5/sysimgblt.ko index 1136913..15649c4 100644 Binary files a/boot/variants/bittboy3.5/sysimgblt.ko and b/boot/variants/bittboy3.5/sysimgblt.ko differ diff --git a/boot/variants/bittboy3.5/zImage b/boot/variants/bittboy3.5/zImage old mode 100644 new mode 100755 index 4f9b16a..2557f67 Binary files a/boot/variants/bittboy3.5/zImage and b/boot/variants/bittboy3.5/zImage differ diff --git a/boot/variants/m3/boot-logo b/boot/variants/m3/boot-logo new file mode 100644 index 0000000..98f32e0 Binary files /dev/null and b/boot/variants/m3/boot-logo differ diff --git a/boot/variants/m3/colors b/boot/variants/m3/colors new file mode 100644 index 0000000..9116cd8 --- /dev/null +++ b/boot/variants/m3/colors @@ -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 + diff --git a/boot/variants/m3/configs/.backlight.conf b/boot/variants/m3/configs/.backlight.conf new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/boot/variants/m3/configs/.backlight.conf @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/boot/variants/m3/configs/.volume.conf b/boot/variants/m3/configs/.volume.conf new file mode 100644 index 0000000..301160a --- /dev/null +++ b/boot/variants/m3/configs/.volume.conf @@ -0,0 +1 @@ +8 \ No newline at end of file diff --git a/boot/variants/m3/configs/gmenu2x.conf b/boot/variants/m3/configs/gmenu2x.conf new file mode 100644 index 0000000..feb890b --- /dev/null +++ b/boot/variants/m3/configs/gmenu2x.conf @@ -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 diff --git a/boot/variants/m3/configs/input.conf b/boot/variants/m3/configs/input.conf new file mode 100644 index 0000000..e95aeca --- /dev/null +++ b/boot/variants/m3/configs/input.conf @@ -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 diff --git a/boot/variants/m3/configs/manifest b/boot/variants/m3/configs/manifest new file mode 100644 index 0000000..d259ab3 --- /dev/null +++ b/boot/variants/m3/configs/manifest @@ -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 diff --git a/boot/variants/m3/daemon b/boot/variants/m3/daemon new file mode 100644 index 0000000..2add1c6 Binary files /dev/null and b/boot/variants/m3/daemon differ diff --git a/boot/variants/m3/firstboot.custom.sh b/boot/variants/m3/firstboot.custom.sh new file mode 100755 index 0000000..682291b --- /dev/null +++ b/boot/variants/m3/firstboot.custom.sh @@ -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 diff --git a/boot/variants/m3/modules.custom.sh b/boot/variants/m3/modules.custom.sh new file mode 100755 index 0000000..c34aeb0 --- /dev/null +++ b/boot/variants/m3/modules.custom.sh @@ -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 diff --git a/boot/variants/m3/normalboot.custom.sh b/boot/variants/m3/normalboot.custom.sh new file mode 100755 index 0000000..6ca17f9 --- /dev/null +++ b/boot/variants/m3/normalboot.custom.sh @@ -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 diff --git a/boot/variants/m3/r61520fb.ko b/boot/variants/m3/r61520fb.ko new file mode 100644 index 0000000..e00a09a Binary files /dev/null and b/boot/variants/m3/r61520fb.ko differ diff --git a/boot/variants/m3/setcolors b/boot/variants/m3/setcolors new file mode 100644 index 0000000..8c7556b Binary files /dev/null and b/boot/variants/m3/setcolors differ diff --git a/boot/variants/m3/syscopyarea.ko b/boot/variants/m3/syscopyarea.ko new file mode 100644 index 0000000..bed0d5d Binary files /dev/null and b/boot/variants/m3/syscopyarea.ko differ diff --git a/boot/variants/m3/sysfillrect.ko b/boot/variants/m3/sysfillrect.ko new file mode 100644 index 0000000..7c2aed2 Binary files /dev/null and b/boot/variants/m3/sysfillrect.ko differ diff --git a/boot/variants/m3/sysimgblt.ko b/boot/variants/m3/sysimgblt.ko new file mode 100644 index 0000000..15649c4 Binary files /dev/null and b/boot/variants/m3/sysimgblt.ko differ diff --git a/boot/variants/m3/zImage b/boot/variants/m3/zImage new file mode 100755 index 0000000..ea84604 Binary files /dev/null and b/boot/variants/m3/zImage differ diff --git a/boot/variants/v90_q90/r61520fb.ko b/boot/variants/v90_q90/r61520fb.ko index 078b721..e00a09a 100644 Binary files a/boot/variants/v90_q90/r61520fb.ko and b/boot/variants/v90_q90/r61520fb.ko differ diff --git a/boot/variants/v90_q90/syscopyarea.ko b/boot/variants/v90_q90/syscopyarea.ko index b2f0fb5..bed0d5d 100644 Binary files a/boot/variants/v90_q90/syscopyarea.ko and b/boot/variants/v90_q90/syscopyarea.ko differ diff --git a/boot/variants/v90_q90/sysfillrect.ko b/boot/variants/v90_q90/sysfillrect.ko index 1446225..7c2aed2 100644 Binary files a/boot/variants/v90_q90/sysfillrect.ko and b/boot/variants/v90_q90/sysfillrect.ko differ diff --git a/boot/variants/v90_q90/sysimgblt.ko b/boot/variants/v90_q90/sysimgblt.ko index 1136913..15649c4 100644 Binary files a/boot/variants/v90_q90/sysimgblt.ko and b/boot/variants/v90_q90/sysimgblt.ko differ diff --git a/boot/variants/v90_q90/zImage b/boot/variants/v90_q90/zImage old mode 100644 new mode 100755 index 4f9b16a..8b49b4d Binary files a/boot/variants/v90_q90/zImage and b/boot/variants/v90_q90/zImage differ diff --git a/boot/variants/xyc/configs/input.conf b/boot/variants/xyc/configs/input.conf index e95aeca..bb5c0ae 100644 --- a/boot/variants/xyc/configs/input.conf +++ b/boot/variants/xyc/configs/input.conf @@ -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 diff --git a/boot/variants/xyc/firstboot.custom.sh b/boot/variants/xyc/firstboot.custom.sh index 27fc997..059eb86 100644 --- a/boot/variants/xyc/firstboot.custom.sh +++ b/boot/variants/xyc/firstboot.custom.sh @@ -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 diff --git a/boot/variants/xyc/modules.custom.sh b/boot/variants/xyc/modules.custom.sh new file mode 100755 index 0000000..777cccd --- /dev/null +++ b/boot/variants/xyc/modules.custom.sh @@ -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 diff --git a/boot/variants/xyc/r61520fb.ko b/boot/variants/xyc/r61520fb.ko index f34a57c..e00a09a 100644 Binary files a/boot/variants/xyc/r61520fb.ko and b/boot/variants/xyc/r61520fb.ko differ diff --git a/boot/variants/xyc/r61520fb.ko.badrotation b/boot/variants/xyc/r61520fb.ko.badrotation deleted file mode 100644 index 1f3b7d0..0000000 Binary files a/boot/variants/xyc/r61520fb.ko.badrotation and /dev/null differ diff --git a/boot/variants/xyc/syscopyarea.ko b/boot/variants/xyc/syscopyarea.ko index 847076d..bed0d5d 100644 Binary files a/boot/variants/xyc/syscopyarea.ko and b/boot/variants/xyc/syscopyarea.ko differ diff --git a/boot/variants/xyc/sysfillrect.ko b/boot/variants/xyc/sysfillrect.ko index 22da4b5..7c2aed2 100644 Binary files a/boot/variants/xyc/sysfillrect.ko and b/boot/variants/xyc/sysfillrect.ko differ diff --git a/boot/variants/xyc/sysimgblt.ko b/boot/variants/xyc/sysimgblt.ko index 1161748..15649c4 100644 Binary files a/boot/variants/xyc/sysimgblt.ko and b/boot/variants/xyc/sysimgblt.ko differ diff --git a/boot/variants/xyc/zImage b/boot/variants/xyc/zImage old mode 100644 new mode 100755 index 557137c..2420bd3 Binary files a/boot/variants/xyc/zImage and b/boot/variants/xyc/zImage differ