Commit Graph

297 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
Apaczer
94b85a6fd5 PACKAGE: update libretro-uae4all pkg (#180)
to commit cc26bf2
2025-08-01 07:41:29 +02:00
Apaczer
cf45b8fe66 PKG-lr-fake08: fix TARGET install path (#178) 2025-08-01 07:40:37 +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
635a21ea25 PKG: util-linux: add & enable LSBLK (#173)
patch configure.ac in utils (usptream) + add option in BR2 (custom)
2025-05-27 23:02:37 +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
8037d1c1e2 PKG-retroarch: use "menu_unified_controls" & fix input polling (#166)
- u can use real keyboard on OSK (when searching for e.g.)
- add hack for "Swap OK/Cancel buttons in menu" when using OSK
- using "Unified menu controls" for keystrokes so will behave the same as controller which is to expect

refactor commits log
2025-05-12 16:57:13 +02:00
Apaczer
2a71e32c30 PACKAGE-x264: revert to OE src link & use git method (#165) 2025-05-12 16:56:38 +02:00
Apaczer
cd78fd937d ACTIONS: don't run on MARKDOWN & PNG update (#164) 2025-04-16 21:38:26 +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
e82c69b4e8 README: recommend Debian for BR2
info about sdk
2025-04-16 20:54:12 +02:00
Apaczer
14c4350b6f PACKAGE: update libretro-uae4all pkg (#158)
* PKG: libretro-uae4all: bump ver. to 888d340 commit
- use FAME for output build

* PKG: libretro-core-info: update uae4all_lr info
2025-03-30 22:09:17 +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
a824a196be PKG: lr-mednafen-wswan: patch - use PIC on musl (#159) 2025-03-30 21:52:22 +02:00
Apaczer
fe77807ff0 DEFCONFIG-musl: downgrade to GCC-9.4.0 (static) + LTO (dynamic) (#156)
* DEFCONFIG-musl_static: downgrade gcc->9.4.0
   inline with mainstream and rest of toolchains
* DEFCONFIG-musl: enable LTO option for gcc dynamic musl
2025-03-30 21:51:58 +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
f99d49da13 PKG: optimize libretro-dinothawr patch (#154)
disable "Time counter by FPS"
2025-02-28 22:03:25 +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
9058c40f9c PKG: optimize v2 libretro-scummvm and strip obj. on all (#151)
* PKG: strip `lr-scummvm` & `lr-scummvm-legacy`

* PKG: optimize `libretro-scummvm` by removing heavy engines (leave only lesser ones by shared obj plugin size)
2025-02-14 18:39:21 +01:00
Apaczer
e1c37564d6 PKG: optimize libretro-scummvm & libretro-scummvm-legacy and lighten (#150)
* PKG: optimize `lr-scummvm-legacy`
- reduce number of linked engines (only LITE+ & no WIP)
- cap framerate & increase audio_buffer (lr-option)

* PKG: optimize `lr-scummvm`
- disable Tooltip
- reduce engines count (inline with standalone)
- cap framerate->15Hz & samplerate-> 44100Hz (increase cursor speed)
2025-02-10 22:26:19 +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
aeb59cbaa6 PACKAGE: inline libretro-core-info and retroarch (#147)
update LIBRETRO_CORE_INFO
2025-01-31 23:05:13 +01:00
Apaczer
e3d39f3e87 PACKAGE: bumpup ver., fix SELECT input & reoptimize libretro-mame2000 (#146)
* PACKAGE: bump libretro-mame2000 version

commit 2ec60f6e1078cf9ba173e80432cc28fd4eea200f

* PACKAGE-mame2000: fix SELECT btn & optimize patches
2025-01-24 08:24:01 +01:00
Apaczer
ca53a51cf8 PACKAGE: bumpup ver. & optimize libretro-mame2003 & mame2003-plus (#145)
* PACKAGE: bump libretro-mame2003 version

commit b6c6d52d8d630d1a172b6b771443dcbbdb45b76d

* PACKAGE-mame2003: add optimization patches

* PACKAGE: bump libretro-mame2003-plus version

commit 0fcccae96eb722d58be329977eb49173c5c97981

* PACKAGE-mame2003-plus: add optimization patches & fix cyclone
2025-01-24 08:19:20 +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
7eb45df5a8 [PACKAGE] Bump retroarch with upscale 1.66x filter (#144) 2024-12-09 17:27:02 +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
0f3be0177e WORKFLOW: add --line-buffered to grep (#137) 2024-11-16 09:46:01 +01:00
Apaczer
4a6229b40a DEFCONIFG: add libexecinfo to shared builds (#135)
for backtrace
2024-11-13 07:56:37 +01:00
tiopex
21be370eb0 PACKAGE: SDL2 Add set scale mode for directFB video backend (#136) 2024-11-13 07:11:45 +01: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
Apaczer
55cec4bce1 UTILS: allow for single pkg hash generate via arg 2024-11-07 22:25:58 +01:00
tiopex
02ec67eb21 toolchain: bump kernel headers to 5.15.x (#132) 2024-10-29 07:20:15 +01:00
Apaczer
ab8ca344d7 PACKAGE-joymap: bump ver. 0.5.8 and fix musl build 2024-10-28 23:41:03 +01:00
tiopex
c155970018 package: fix libretro-retroarch package mk (#131) 2024-10-28 21:54:12 +01:00