Commit Graph

51 Commits

Author SHA1 Message Date
tiopex
c336dad699 Add HW video engine support (#179)
* Add Cedar HW video decoder support

* Add sunxifbsink gstreamer plugin

* sunxifbsink: remove warning log
gst-omx: remove resolution check after crop

* Add gstreamer scripts

* review comments fixes

* ffmpeg: enable h264_omx encoder

* add missing hashes and use defined git commit for libcedar

* mv miyoo specific patches to board

* make `gst-omx.mk` less platform specfic

* Add header python interpreter to gst-raw.py

* Add videoscale with nearest-neighbour to play video with higher resolutions fluently

* Use HW scaler

* libcedarc: fix crash when playing 640x480 video

* kernel: Add patch to increase VRAM

* Add fast gstreamer player

* fix gst-play hangs

* Add matroska plugin

* remove target

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2025-07-21 13:11:52 +02:00
tiopex
e306510c79 Add ability to load btrfs, sound and usb drivers as a module (#176)
* Add ability to load btrfs and usb drivers as a module
* Add load sound driver
* firstboot: correct btrfs loading only on fs change

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2025-07-05 23:22:02 +02:00
Apaczer
ba175a94f3 BOARD: allow FileSystem change for every present type (#175)
* BOARD: firstboot: use while loops instead of sleep

* BOARD: main: run `firstboot` simply in subshell

* firstboot: add SWAP label

* firstboot: allow to redo FS change for every type

* firsboot: rm roundup in BOOT_SIZE of gpt align

* firsboot: FAT32 is in fact vfat type

* add logs for parted cmd in p5 resize - also output LICENSE sign info

* add `FIRSTBOOT=1` opt to rerun flashing wizard
2025-06-08 22:06:39 +02:00
Apaczer
5c0a711fd2 BOARD/PKG: better LOGS in on OS scripts & add umtpr-debug (#169)
* firsboot/main - better LOGs
 - refactor a bit gmenu2x loop
 - add good logs for umtpr
* BOARD: options.cfg: add DEBUG options
 - use separate options for gmenu2x & umtpr debug
 - for default setup NO DEBUG
* PACKAGE: umtprd: add debug build
2025-05-21 21:37:11 +02:00
Apaczer
bb94014294 FIRSBOOT: add extra p5 for ROMS (use GPT) & add option for switching FS (#168)
* BOARD: firstboot:  use ext4 for p1 explicitly
* BOARD: /etc/main : update fsck scripts
* BOARD: inittab: 
 - add /roms in p5
 - mount RO /boot in async (default)
* BOARD: genimage.sh: gen ROMS EXT4 image
* BAORD: prebuild.sh: 
 - create mount point for ROMS
 - increase MAIN & ROMS block size
 - the size of /mnt is "hardcoded" after image creation
 - we need real space for backup manipulation in ROMS
* BOARD: mv roms upward
* BOARD: firstboot: add p5 ROMS and resize
* BOARD: genimage-sdcard.cfg: 
 - use GPT
 - add p5 for roms

* PACKAGE/BOARD: patch/genimage: down-size gpt table
* PACKAGE/DEFCONFIG: add `gptfdisk` package to shared
* BOARD: firstboot: allow for switching FS type in MAIN and ROMS
* README: update firstboot_procedure.drawio.png
  - add FS change boxes and IPK installer
* BOARD: firstboot: not mandatory to resize for IPK manager
* DEFCONFIG: add default kernel patching
* DEFCONFIG: uppercase rootfs label
* BOARD: umtpr: uppercas partition LABELS
* DEFCONFIG/PACKAGE: add RSYNC pkg
* BOARD: mount FAT p5 in async (default)

* BOARD: add ROMS icons for Win
Co-Authored-By: TriForce <triforce@gznetwork.com>
2025-05-18 16:27:05 +02:00
Apaczer
d179b45df2 PACKAGE: create libretro-mednafen-supergrafx pkg (#162) 2025-04-16 20:55:28 +02:00
Apaczer
194ab4981e PACKAGE/DEFCONFIG: create&add libretro-fake08 (#155)
* PACKAGE: add & create `libretro-fake08` pkg

* PACKAGE: optimize `libretro-fake08` on uClibc (patch)
- disable audio by default here
2025-02-28 22:04:24 +01:00
Apaczer
c43d514052 PKG: split lr-scummvm into 2 cores (heavy&rest) (#152)
- split `scummvm` core
scummvm_heavy_libretro - AGS,Glk,TsAGE,Kyra,Ultima (engines)
scummvm_libretro - SCI, SCUMM and the rest of engines

- Create scummvm.scummvm_heavy.ra
2025-02-16 16:35:08 +01:00
Apaczer
0bbd0bb001 PACKAGE: create libretro -scummvm for mainstream and refactor -scummvm-legacy (#149)
* PACKAGE: add `libretro-scummvm-legacy` pkg

* PACKAGE-libretro-core-info: add scummvm-legacy info

* DEFCONFIG: add `libretro-scummvm-legacy` to shared builds

* BOARD: create gmenu2x's `scummvm.scummvm_legacy.ra` shortcut

* PACKAGE-libretro-scummvm: revert to mainstream & update ver. to working one 2.10.0

* PACKAGE-libretro-scummvm: use 'ScummVM` for system paths
2025-01-31 23:07:02 +01:00
Apaczer
fee56a6cd6 PACKAGE: add & create libretro-uae4all pkg (#148)
* PACKAGE: add `libretro-uae4all` pkg

* PACKAGE-libretro-core-info: add uae4all info

* DEFCONFIG: add `libretro-uae4all` to shared builds

* BOARD: create gmenu2x's `uae4all.ra` shortcut
2025-01-31 23:05:55 +01:00
tiopex
6a323e0ad2 Add possibility to run ipk manager from gmenu2x (#140) 2024-11-28 13:01:28 -03:00
tiopex
01f28139a5 Add default root password (#128) 2024-10-08 21:31:20 -03:00
tiopex
67d5f04fbb Add dhcp server and client package (#124) 2024-09-06 22:13:58 -04:00
tiopex
907a1b1f45 Add Dropbear and pure-ftpd (#121) 2024-09-04 22:28:56 +02:00
tiopex
0dc73ce1e1 Fix permissions (#120) 2024-09-04 13:45:32 +02:00
tiopex
f0c2f995f9 Add network via usb (#119) 2024-09-04 05:51:51 -04:00
Apaczer
bf6b50d188 BOARD: remove redundant gm2x's link files
create `$HOME/music` and `$HOME/pictures` dir
2024-08-26 21:21:52 +02:00
Apaczer
23aa769387 DEFCONFIG: enable all important FFMPEG options
- quick correction for https://github.com/MiyooCFW/buildroot/pull/117
- also disable nonfree dependencies (openssl & libfdk-aac)
2024-08-09 07:46:50 +02:00
Apaczer
eadda580e9 DEFCONFIG/BOARD: minimize ffmpeg build & use libx264 for video rec (#117)
* BOARD: update Video Record app (video_record.sh)
* DEFCONFIG: minimize ffmpeg build
2024-08-07 21:27:07 +02:00
Apaczer
1852510148 PACKAGE/DEFCONFIG: add sdlbook app (#99)
with miyoo&optimization changes
2024-05-06 23:56:12 +02:00
Apaczer
b830774f6f PACKAGE/BOARD: for ffplay correct PGDOWN/PGUP bindings & launch in fullscreen. (#101)
* PACKAGE-ffmpeg: correct 0003-ffplay-custom-sdlk.patch

* BOARD: launch `ffplay` in fullscreen mode and be less verbose
2024-04-23 21:04:14 +02:00
Apaczer
168f6caede [PACKAGE/BOARD] RetroArch: change sdl_dingux_input to sdl_input driver (#84)
* [PACKAGE] RetroArch: change sdl_dingux_input to sdl_input driver

* [BOARD] USB-Host: add time for OS to update USB mode (sleep cmd)
2024-01-12 22:10:55 +01:00
tiopex
40a58380b6 Fix usb-hid for linux and android devices (#74) 2024-01-03 08:48:26 +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
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
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
Apaczer
704865b07c joymap.sh - kill SIGINT loadmap on second run 2023-10-24 22:08:20 +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
984a567012 [BOARD] rely on manifest when copying *.conf files (#39)
workaround for genimage omitting hidden files when using `mountpoint` directive
2023-07-15 07:17:10 +02:00
Apaczer
0f90d79a7c [BOARD] add missing config files + HOTKEY_CUSTOM
- omit .fpbp.conf
2023-07-04 22:37:28 +02:00
Apaczer
b430a7b54e [BOARD] refactor options.cfg + add INVERT setting 2023-05-30 07:42:04 +02:00
Apaczer
35c6f8e7d1 [BOARD] Remove screenshot script
no need after moving whole shell cmd to kernel
2023-05-11 11:22:37 +02:00
Apaczer
38137ca839 use native fbgrab for screenshot.sh 2023-04-14 12:05:23 +02:00
Apaczer
f75216531a merge changes from sdcard scripting for TVout + reboot when TV ON
6fa5835de5
2023-04-10 20:53:32 +02:00
Apaczer
42ec8c273c rework FLIP working from options.cfg 2023-04-10 20:25:37 +02:00
tiopex
a2f39f8c83 Generate sdk tarball file by buildroot
Fix gmenu2x output files when rebuild image
2023-03-27 11:24:45 +02:00
root
8ee9df5b88 add libusbgx, add miyooctl 2023-03-22 07:31:48 +01:00
tiopex
248f82ac68 build gmenu2x with -O0
prepare to copy generated files from gmenu2x to sdcard
2023-03-17 11:48:04 +01:00