Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
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
b63ab29b2f Remove obsolete uboot miyoo logo format (#77) 2024-01-03 17:49:19 +01:00
tiopex
b01780f318 Prepare splash for uboot (#69) 2023-12-27 13:58:30 +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
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
tiopex
ed6f4d9a5b Add miyoo logo BMP file 2023-10-24 12:51:04 +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
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
3bbf058d81 [BOARD] fix typo in genimage script from last PR 2023-07-16 20:23:38 +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
fe6a544606 [BOARD] add "dialog" box for RESIZE procedure (#36)
in firstboot script
2023-05-30 18:50:51 +02:00
Apaczer
b65d52ae59 [BOARD] add modules.custom.sh in BOOT partition (#35)
* add modules.custom script

* refactor MODULES_CUSTOM scripting in main (disabled by default)
2023-05-26 00:07:39 +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
tiopex
8bd4a5d2e2 Add version and toolchain to img filename (#18)
* add version and toolchain to img filename
---------

Co-authored-by: Apaczer <94932128+Apaczer@users.noreply.github.com>
2023-03-27 09:08:23 +02:00
tiopex
5a0cc1df52 add build fatresize from source 2023-03-20 13:07:22 +01:00
tpietrus
0a56e2e6cf add resize and set bakclight and volume 2023-03-16 10:08:25 +01:00
tiopex
fa8b4b1683 add build image 2023-03-13 17:52:33 +01:00