133 Commits

Author SHA1 Message Date
Apaczer
2783f9be95 BOARD: refactor/simplify & update USB scripts for connection detect (#181)
* update USB scripts for connection detect
don't remove gadget after running HID, or it is impossible to detect USB connection afterwards

* refactor - create unified `usb-mode` script
- move it to rootfs /usr/bin
- use parrent for mdkir cmds
2025-09-18 22:35:33 +02:00
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
9cb29fcc0c BOARD-genim.cfg: revert gpt reloc. outside uboot (#174)
no need since we fit into first unused 7KB which doesn't conflict with disk's LBA layout
2025-05-27 23:03:28 +02:00
Apaczer
a1cba2dc21 BOARD: firstboot: create symlink to /roms at /mnt/ (#172) 2025-05-27 23:01:03 +02:00
Apaczer
f9941553c2 BOARD: disable normalboot.custom.sh (#171)
as it only executes daemon, no further need for it
2025-05-27 22:58:47 +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
a2929a4734 PKG-UMTPRD: bump to git f4a1d4a & enable sync_when_close (#170)
* bump git ver. to- to include extra fsync() before quit option

* umtprd.conf: add sync, flush data when un-plugging
2025-05-21 21:00:30 +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
ae9408c067 BUSYBOX_CONFIG: add extra FS support (#167)
btrfs & ntfs (+add `findfs` cmd)
2025-05-12 17:11:55 +02:00
Apaczer
d179b45df2 PACKAGE: create libretro-mednafen-supergrafx pkg (#162) 2025-04-16 20:55:28 +02:00
Apaczer
8b0e01c154 BAORD: genimage.sh: don't write hash on dirty (#163) 2025-04-16 20:55:02 +02:00
Apaczer
529bfbd43e PKG/BOARD: update libretro-pcsx_rearmed & optimize (#160)
* PKG: libretro-pcsx_rearmed: 
- update to f49a4c
- new optimize patches (adjust core options)
- use D/L submodules
* BOARD: add musl PGO data for `libretro-pcsx_rearmed`
* BOARD: update uclibc PGO data `lr-pcsx_rearmed`
- and change from https to git site method
- rm dubious sed cmd

* PKG: lr-pcsx_rearmed: PATCH add Interlace mode
2025-03-30 21:57:18 +02:00
Apaczer
4e9b5791c5 PKG/BOARD: differentiate uClibc & musl PGO data (#157)
* BOARD: mv PGO data to used libc type subdir
* PKG: split uClibc & musl PGO=APPLY pre build cmds
* BOARD: add musl PGO data
  - libretro-mednafen-wswan (musl)
  - libretro-gpsp (musl->uclibc_copy)
  - libretro-pcsx (musl->uclibc_copy)
  - libretro-snes9x2002 (musl->uclibc_copy)
2025-02-28 22:10:25 +01: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
982f6ee9e4 PKG: optimize libretro-mednafen-wswan (#153)
- optimize `mednafen_wswan_libretro` core code
- add PGO data (uclibc)
2025-02-17 22:35:55 +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
Apaczer
28019c452b BOARD-patches/sdl2: force window focus(kbd/mouse) and restrict mouse x/y (#141)
- mv custom sdl2 patches to miyoo
- focus on window a restritc mouse moves (hack)
2024-12-11 21:43:58 +01:00
tiopex
6a323e0ad2 Add possibility to run ipk manager from gmenu2x (#140) 2024-11-28 13:01:28 -03:00
tiopex
d445ccfa47 FIRSTBOOT: add partprobe to re-read partition table after resize and remove reboot (#139) 2024-11-28 13:00:45 -03:00
TriForce
41c6c6fc8a Update texts on ipk manager (#138)
* Update texts on ipk manager

* Fix button label on ipk manager

* Fix texts on ipk manager
2024-11-28 13:00:00 -03:00
tiopex
313fad9dbf PACKAGE: Add DirectFB2 & SDL2 (#134)
* Add SDL2 + DirectFB2

---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2024-11-09 19:59:04 +01:00
tiopex
6f3f36172a BOARD: Add IPK package manager after firstboot (#133)
* BOARD: Add IPK package manager after firstboot

* Use lazy loading package description
2024-11-09 19:58:31 +01:00
tiopex
81270d9968 PACKAGE-libretro-snes9x2002: Add loading hacks via options (#126)
from snesadvance.dat file (included)
2024-10-14 21:10:35 +02:00
tiopex
01f28139a5 Add default root password (#128) 2024-10-08 21:31:20 -03:00
tiopex
1e49159b01 Use optimize flags from drPocketSnes for libretro-snes9x2002 (#125) 2024-09-14 19:57:01 -03:00
tiopex
132594eb48 Remove option routers from dhcpd.conf
option routers cause network issues on host side
2024-09-10 11:58:21 +02: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
cb4a379249 BOARD-genimage: omit error output from git cmd
use `--always` opt for `git describe`
2024-08-26 21:27:27 +02: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
de760b988c BOARD-miyoo/patches: mv opkg patch to correct dir
also wait till `mount` cmd finished
2024-08-03 22:31:58 +02:00
Apaczer
7c62be3a43 BOARD-genimage: don't run with sudo (#116)
works with fakeroot - fix local build
2024-08-03 20:58:10 +02:00
Apaczer
4836a07b73 PACKAGE-opkg/DEFCONFIG: miyoo/patch to remount rootfs in RW/RDONLY mode (#115)
* DEFCONFIG: add $BR2_GLOBAL_PATCH_DIR for miyoo board
  create $(TOPDIR)/board/miyoo/patches
* PACKAGE-opkg: miyoo/patch to remount rootfs in RW/RDONLY mode
2024-08-02 18:42:16 +02:00
Apaczer
82da906482 BOARD: create /etc/opkg/opkg.conf (#114)
show full `opkg info` for packages
2024-07-30 20:17:56 -04:00
Apaczer
6c028fb38e BOARD/CONFIG: add prebuild.sh to create /var/lib/opkg structure (#112) 2024-07-05 23:00:03 +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
fc489c0680 GENIMAGE/ACTIONS: automate CFW release tag & status ver. (#94)
* [GENIMAGE]  automate CFW release tag & status ver.
- shell formatting
- add CFW_ITERATION count for Dev-build
- separate CFW and BR2 tagging
- don't use $BR2_VERSION_FULL

* [ACTIONS] build.yml:
- allow for manual workflow dispatch
- fetch-depth=0 (can't fetch-tags)
- rm commented line
- cleanup
- append `ref_name` for unofficials
2024-03-08 17:07:46 +01:00
Apaczer
5c1e9aaeb7 BOARD: clean naming of profiling data *.gcda & optionize PGO (#92)
* [BOARD] don't use "preserve-paths" in srcname of profiling *.gcda data
 update PGO optimized libretro cores to not use `-fprofile-dir=path`

* [PACKAGE] optionize PGO optimized builds
PROFILE=
0 - don't use PGO
YES - generate data at runtime
APPLY - apply optimization at compilation step
2024-02-25 12:12:18 +01:00
tiopex
44c4d3450c [Retroarch] Optimize snes9x2002, gpsp, pcsx_rearmed using profile data (#91)
* [retroarch] add profile data for libretro-snes9x2002 core

* Optimize gpsp, pcsx_rearmed cores using predefined profile data
2024-01-25 12:29:49 +01: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
Apaczer
c0e05d10be [GENIMAGE/ACTIONS] revert ver. to 2.0.0-BETAv2
+ append auto-builds with "Dev_build" string
2024-01-12 20:55:53 +01:00