Commit Graph

79 Commits

Author SHA1 Message Date
tiopex
756a1d8592 BOOT and MAIN in lowercase (#70) 2023-12-27 18:54:36 -03:00
tiopex
b01780f318 Prepare splash for uboot (#69) 2023-12-27 13:58:30 +01:00
Apaczer
cb9342a0f5 [BUSYBOX] Preserve broken and WCHAR Unicode
fix CJK characters
2023-12-26 22:15:05 +01:00
Apaczer
1e06623e53 [BUSYBOX] add UNICODE support with full WCHAR 2023-12-23 21:42:53 +01:00
Apaczer
f91d587ccc [BOARD] update gm2x->iconTitle for st + usb-hid.man 2023-12-17 15:55:04 +01:00
tiopex
bb7b7e03eb [DEFCONFIG/BOARD] Fix permissions, mount rootfs read-only, create swap in firstboot (#66)
* Fix permissions

* Enable swap in firstboot, change btrfs commit interval to 5s
2023-12-14 23:06:39 +01:00
tiopex
130d2be1f3 BTRFS file system for MAIN and rootfs partition (#65)
* BTRFS file system for MAIN and rootfs partition
2023-12-13 07:14:00 +01:00
tiopex
2f89873479 [BOARD/CONFIG]fix dtb names (#62) 2023-11-30 11:05:17 +01:00
tiopex
10d3f8c37a [PACKAGE/BOARD] Add handle usb-hid gadget (#55)
* Add handle usb-hid gadget (Tunr your handheld into usb gamepad for PC)

* Add special keys handling

* add Manual for USB-HID app

* use st terminal to execute script

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2023-11-28 23:15:18 +01:00
Apaczer
e963c0eb8a [BOARD] cleanup precompiled emus/games 2023-11-24 21:34:25 +01:00
Apaczer
a106a260fb [BOARD] manual is searched with linkTitle.man.txt in wd 2023-11-24 21:31:08 +01:00
Apaczer
790b198b88 [PACKAGE/BOARD] add COMMANDER package & update appLink (#57)
* [PACKAGE] add COMMANDER file manager
* [BOARD] rm precompiled commander & upd appLink
2023-11-24 21:15:29 +01:00
Apaczer
02627752b2 [PACKAGE/BOARD] add ST_SDL package & update scripts (#54)
* [PACKAGE] add ST_SDL for terminal emulation
* [BOARD] rm 3-party `st` app & update scripts
2023-11-21 15:55:44 +01:00
Apaczer
423e87bd64 [BOARD/PACKAGE] add FFMPEG to record&play /dev/fb0 + alsa capture (#48)
* [PACKAGE] downgrade FFMPEG(add) & X264
- use ffmpeg-3.1 thus downgrade ver. to working SDL1.2
- downgrade x264 to be inline with former ffmpeg
- uncomment FFSERVER build instructions (it is available in 3.1 version)

* [BOARD] 
- add `ffplay` & `ffmpeg` apps to record&play
- add `arecord` script for AUDIO capture (use alsaloop workaround)
- update appLinks with "params=&" for bg launch
- use `pkill` instead 'killall` for scripts (warning: it also checks for bash running under the same name)
- use FFPROBE to detect media format in `ffplay`
- for X264  use sources.buildroot.net (code.videolan.org src only works with git method)
- rm redundant usb Applink
- add 0003-ffplay-custom-sdlk.patch (to make hotkeys usable in miyoo)
2023-11-18 17:27:30 +01:00
tiopex
b7a8ba56ec [PACKAGE/BOARD] Add Retroarch v1.16.0.3 (#50)
* Add retroarch package

* libretro cores as separate packages

* Add libretro-super package

* Add core resources, move retroarch bin to /mnt/emus/retroarch dir

* add NxEngine assets + correct indendt

* [BOARD] add cores appLinks

* [GENIMAGE] test -d before running cp to not stderr

* [BOARD] add "cores" section in gmenu2x with all appLinks

* add PRBOOM data *.wad file

* [GENIMAGE] generate cores' script links in genimage.sh

* Add scummvm core & downgrade

* [GENIMAGE] don't run cores in verbose

* resort `core links` and update their icons

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2023-11-16 20:17:18 +01:00
Apaczer
267973cf1d [FIRSTBOOT] allow overwrite of logs & increase min unall. SDsize 2023-11-13 16:55:38 +01:00
Apaczer
19493fca5e [GENIMAGE] DRY *.img version output
use BR2 config postcript args.
2023-11-06 18:37:42 +01:00
Apaczer
f68c643c65 [BOARD/DEFCONFIG] add libC implementation to splash 2023-11-06 08:53:20 +01:00
Apaczer
56b734ed07 [GENIMAGE] write CFW hash to miyoo splash 2023-11-01 16:35:41 +01:00
Apaczer
597de022fb [BOARD] update joymap.sh and link
use "pkill" and "params=" in appLink
2023-11-01 15:28:11 +01:00
Apaczer
3a4ab9ba79 [BOARD] add "Twin USB" js to joymap.map 2023-10-29 21:58:21 +01:00
tiopex
932f566cc3 change bmp type to v4 2023-10-25 16:07:17 +02:00
tiopex
df704a643d Remove flip boot logo image file 2023-10-25 13:40:06 +02:00
tiopex
4496aedc62 Merge pull request #47 from tiopex/logo
Add current version to boot logo
2023-10-25 08:47:45 +02:00
tiopex
1cdeb8b930 Merge pull request #45 from tiopex/master
Add joy to keyboard button mapper
2023-10-25 08:45:59 +02:00
Apaczer
704865b07c joymap.sh - kill SIGINT loadmap on second run 2023-10-24 22:08:20 +02:00
tiopex
551c940091 Add current version to boot logo 2023-10-24 14:05:20 +02:00
tiopex
ed6f4d9a5b Add miyoo logo BMP file 2023-10-24 12:51:04 +02:00
Apaczer
3a434d54a2 [BUSYBOX] use custom config from board/miyoo
add PGREP and PKILL cmds
2023-10-20 18:05:01 +02:00
Apaczer
1f903c9fca add ShanWan gamepad for joymap.map 2023-10-13 15:59:09 +02:00
tiopex
96ee5d9483 Add input_info app to discover buttons src numbers, add '-d' parameter to dynamically (during use) compute calibration value so that events are reported in the range -32767 to 32767 2023-10-12 14:52:21 +02:00
tiopex
515379acad add Linux Joystick Mapper 2023-10-10 15:01:12 +02:00
Apaczer
00326eb967 [BOARD] rm GMenu2X assets generated already by src 2023-10-07 00:56:22 +02:00
Apaczer
8af3711c79 [BOARD/README] Firstboot flashing_procedure-v3 (#43)
* [FIRSTBOOT] refactor functions + add Test-Invert for xyc
- move all Test-prompt dialogs to functions
- move current functions to one place
- add Test_Invert-prompt for gc9306 var. use $INVERSION to different
- minor esthetic changes

* [README] update firstboot schematic with prv commit
2023-08-24 09:09:05 +02:00
Apaczer
1521678537 [BOARD] /etc/main - don't write 0 to .backlight.bak 2023-08-22 23:45:12 +02:00
Apaczer
ef6e0946cf [FIRSTBOOT] add missing GC9306/5 detected- 1'block
inline with firstboot procedure diagram
2023-08-19 23:03:07 +02:00
Apaczer
dd758044ad [FIRSTBOOT] distinguish reboot/poweroff cmd log info 2023-08-15 22:50:06 +02:00
Apaczer
9d92ef1b44 [FIRSTBOOT] resize: add missing GiB var. for logs 2023-08-15 22:43:30 +02:00
Apaczer
6cebb50b07 [FIRSTBOOT] use test -gt instead for SD check
however we operate on binary values se it will be still 119GB big in reality for 128GB metric
2023-08-11 22:57:34 +02:00
Apaczer
358fc27372 [FIRSTBOOT] Use metric GB size value in resize check
mainly because it's not resizing to precise size if not using "max"
2023-08-11 22:50:18 +02:00
Apaczer
c087f58371 [FIRSTBOOT] Prevent over&down-resizing of FAT part. 2023-08-11 22:06:59 +02:00
Apaczer
9a59e2d38e [FIRSTBOOT] allow for resizing only of SD<=128GB
cuz of memory restrain and malloc() errors on fatresize, we add msgbox warning for bigger microSD cards
2023-08-10 23:41:50 +02:00
Apaczer
9b372b192e [FIRSTBOOT] use binary MiB/GiB for MB/GB mem view
- correct byte values in resize
- show trailing zero for GB value
- fix log.txt write if no reboot/shut
2023-08-09 17:16:37 +02:00
Apaczer
bb60713390 [FIRSTBOOT] add safet_shutdown() with log_firstboot.txt
- increase sleep time before shutdown
- show unallocated space left in MB
- dry a bit code
2023-08-08 22:25:48 +02:00
Apaczer
40099a142e [FIRSTBOOT/MAIN] refactor fatresize -s max / LOGs
*) FIRSTBOOT:
- calculate manually "size=max" of MAIN partition (workaround for know bug in libparted ``max_size`` class)
- add debug: write LOG to /mnt/log_firstboot.txt
- ditch "/boot/resize" file method

*)MAIN
- add debug: write LOGS to /mnt/log.txt
- cleanup & use tabs for indendent
- use ${HOME} variable often

*) GENIMAGE
- rm "resize" file (no use)
2023-08-08 21:39:41 +02:00
Apaczer
543d6d4366 [GENIMAGE] increase swap partition size
double the value, mostly to handle the partition expand of a bigger microSD with 'fatresize'
2023-08-05 21:55:11 +02:00
Apaczer
8791ad38c3 [BOARD] add mkswap for 3 partition in /etc/inittab
otherwise we have a system without Swap virtual memory!
2023-07-26 23:10:33 +02:00
Apaczer
5dfa1275ab [BOARD] use gmenu2x configs from package output 2023-07-25 21:32:42 +02:00
Apaczer
93546f9f29 [BOARD/README] Firstboot flashing_procedure-v2 (#42)
* [FIRSTBOOT] refactor code:
 -auto-detect all possible variants in firstboot
- DRY script code
- add $RESIZE_COMMENCED , $BITTBOY_CONFIG , $MIYOO_CONFIGvariable
- add debug log before any shutdown
- don't `export` env var if not needed
- move and use $DETECTED auto_ID variants on II Test_Block
- cleanup + add more descriptions
- add Test_Flip prompt for double check on Test Video (only if enduser selected "Flipped!" at first test)
- remove useless SWAP & MAIN part. mount
- add safety read-only for /boot before shutdown

* [BOARD] add gmenu2x inputs inputs with `manifest`
- update genimage config with `input_bittboy.conf` and `input_miyoo.conf`

* [README] Add flashing procedure schematic (made in draw.io)
2023-07-24 22:21:35 +02:00
Apaczer
dd4ecafde7 [BOARD] reboot if firstboot.custom.sh is present 2023-07-19 14:04:39 +02:00