Commit Graph

183 Commits

Author SHA1 Message Date
Apaczer
7dcbb1208d [DEFCONFIG] add ESPEAK package (#44)
TTS engine
2023-09-29 13:31:47 +02:00
Apaczer
519ce818d3 [DEFCONFIG] add OPKG packages
+ [GMENU2X] include IPK_SUPPORT in CFLAGS
2023-08-31 20:10:45 +02: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
1521678537 [BOARD] /etc/main - don't write 0 to .backlight.bak 2023-08-22 23:45:12 +02:00
Apaczer
22dd729d18 [README] graphic correction of first boot schema
add *.png to current repo
2023-08-20 09:35:30 +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
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
8791ad38c3 [BOARD] add mkswap for 3 partition in /etc/inittab
otherwise we have a system without Swap virtual memory!
2023-07-26 23:10:33 +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
515013b3ef [PACKAGE] patch fbgrab - compression level fix (#41) 2023-07-19 20:36:07 +02:00
Apaczer
dd4ecafde7 [BOARD] reboot if firstboot.custom.sh is present 2023-07-19 14:04:39 +02:00
Apaczer
cd078d2b55 [PACKAGE] add fbcat (#40) 2023-07-17 22:27:10 +02:00
Apaczer
3bbf058d81 [BOARD] fix typo in genimage script from last PR 2023-07-16 20:23:38 +02:00
Apaczer
004c656b1a [GMENU2X] add -DHW_LIDVOL flag 2023-07-15 23:12:12 +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
0f90d79a7c [BOARD] add missing config files + HOTKEY_CUSTOM
- omit .fpbp.conf
2023-07-04 22:37:28 +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
fb813ce5e3 [PACKAGE] update "dialog" cmd to 1.3-20230209 ver (#38) 2023-06-13 06:31:24 +02:00
Apaczer
dee20b6388 [README/docs] Add manual path info + *.epub version
EPUB locally generated
2023-05-30 19:54:44 +02:00
Apaczer
fe6a544606 [BOARD] add "dialog" box for RESIZE procedure (#36)
in firstboot script
2023-05-30 18:50:51 +02:00
Apaczer
b430a7b54e [BOARD] refactor options.cfg + add INVERT setting 2023-05-30 07:42:04 +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
35c6f8e7d1 [BOARD] Remove screenshot script
no need after moving whole shell cmd to kernel
2023-05-11 11:22:37 +02:00
Apaczer
66ff4de1ea [GMENU2X] updt BUILDTIME macro + check if CFW_HASH exist && neq BUILDROOT_HASH (#33)
* Update BUILDTIME var. in gmenu2x.mk

* check if CFW_HASH =/ BUILDROOT_HASH in gmenu2x.mk
2023-04-26 19:08:59 +02:00
Apaczer
11cfc78bbe build GMENU2X package with CFW_HASH var only if it exist (#32) 2023-04-24 11:08:47 +02:00
Apaczer
7c9145f0ce use BUILDROOT&CFW_HASH & real GMENU2X COMMIT_HASH in package CFLAGS (#31)
update workflow to accomodate CFW_HASH
2023-04-23 22:29:39 +02:00
Apaczer
4ebcca7de0 Update gmenu2x.mk with COMMIT_HASH macro 2023-04-16 12:05:54 +02:00
Apaczer
38137ca839 use native fbgrab for screenshot.sh 2023-04-14 12:05:23 +02:00
Apaczer
954a909c57 Update console.cfg
add warning in console.cfg ref. EOL issue
2023-04-12 21:07:49 +02:00
tiopex
7059eb0167 Merge pull request #30 from tiopex/master
Disable locale, downgrade parted to v3.1, use fatresize v1.1.0
2023-04-12 07:13:28 +02:00
tiopex
dc6778c814 Add patch for build parted-3.1 on musl toolchain 2023-04-11 14:06:16 +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
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
Apaczer
3b56bcdda6 add timidity sound patches in "/etc" for MIDI (#28) 2023-04-04 21:24:21 +02:00
tiopex
5165a18d88 Merge pull request #29 from tiopex/opengl
Add openGL for compile gngeo
2023-04-04 15:59:12 +02:00
tpietrus
dacff9d36d Add openGL for compile gngeo 2023-04-04 14:25:05 +02:00