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
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
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
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
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
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
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
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
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
9ddf2134b4
[BOARD] default "YES" for resize dialog
2023-07-11 20:50:47 +02:00
Apaczer
d89fb54e39
[BOARD] add flashing procedure to firstboot + disclaimer msg ( #37 )
...
* refactor firstboot -> Flashing procedure
displays msgbox at firsts launch:
- "Can you see this msg?" (to test readID correctness)
- "Select your device:" (to choose manually proper module parameters)
- "Test Video" & "Test_Keyboard" dialog
- "Test_Image" invertion + xyc/m3
- "Your Device" dialog for all FORCE_VARIANT
- "Test_Video'2" & "Test_Variant"
- "Does this device match yours?" msg before License
- add temp "st7789s" console variant
- load proper firsboot menu from uEnv read
- Perform Tests only for $DETECTED_VERSION
* add $device_ID array from console.cfg (see if manually selected device type, matches uboot choices)
* move at end RESIZE script in firstboot
* only reboot after firstboot if console variant changed during flashing
* default to "unknown" console if no match
* add "m3_gc9306" to devices_ID[]
* refactor "xyc" & "m3" FORCE_VERSION
* use dialog --pause in firstboot (displays left time)
* Correct indentations in firstboot to TABS
* add functions in script
update "firstboot" script
2023-06-25 21:04:50 +02:00
Apaczer
cbd0078ca6
[BOARD] Update firstboot.custom.sh (streamline)
2023-06-20 12:12:36 +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
Apaczer
2aaffcfa27
[BOARD] update st7789sfb video driver long initialization fix
2023-05-16 22:37:26 +02:00
Apaczer
954a909c57
Update console.cfg
...
add warning in console.cfg ref. EOL issue
2023-04-12 21:07:49 +02:00
tiopex
26cf244553
disable locale, downgrade parted to v3.1, use fatresize v1.1.0
2023-04-11 10:49:52 +02:00
Apaczer
a3b8303307
change default CONSOLE_VARIANT to "pocketgo"
...
the one using st7789sfb driver
2023-03-24 20:20:57 +01: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