ophub / amlogic-s9xxx-openwrt

Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
1.91k stars 1.69k forks source link

boot partition size issue #624

Open drsamir21 opened 3 months ago

drsamir21 commented 3 months ago

while using openwrt-update-amlogic command in terminal boot partition can't accomodate all files in amlogic s905x2 (X96 max RMII). First installed it to sdcard and then installed to internel memory (emmc) with deleted extra unnecessory files in boot partition using openwrt-install-amlogic command.

Boot partiton size on sdcard 267 MB Boot partition files total size 168.9 MB while size of the boot partition on internal emmc is 157 MB only.

ophub commented 2 months ago

Take a screenshot and send your partition status: lsblk

drsamir21 commented 2 months ago

Terminal_1

drsamir21 commented 2 months ago

I can install to emmc only after deleting some extra files from boot partition of sdcard.

ophub commented 2 months ago

It seems that the installation script did not allocate enough space for the boot partition. Your approach is correct - you can delete the unnecessary u-boot-xxx.bin files from the boot partition.

ophub commented 2 months ago

https://github.com/ophub/amlogic-s9xxx-openwrt/commit/95ea6c901e6fe44e708c86e504eb17dcc2bcf086

I adjusted the number of u-boot copies on the amlogic device so that 160MB of space will be sufficient.

drsamir21 commented 2 months ago

Terminal_2

drsamir21 commented 2 months ago

Device selection is not working after latest update.

ophub commented 2 months ago

https://github.com/ophub/amlogic-s9xxx-openwrt/commit/4a1af0a9df176ca4dc56691f21fda774c4e45885

Thank you for reporting the bug. I have just fixed the issue, and the new firmware is currently being compiled. It will be available in one hour.