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.71k stars 1.51k forks source link

Local source compile error #111

Closed kokenot closed 2 years ago

kokenot commented 2 years ago

i'm getting this error while compiling firmware base on s905x3

(1.1) Start packaging OpenWrt [ s905x3 - 5.14.1 ]. Remaining space is 339G. [ s905x3 - 5.14.1 ] (1/6) extract armvirt files. [ s905x3 - 5.14.1 ] (2/6) extract armbian files. [ s905x3 - 5.14.1 ] (3/6) refactor related files. [ s905x3 - 5.14.1 ] (4/6) make openwrt image. [ s905x3 - 5.14.1 ] (5/6) copy files to image. mount: /home/xx/amlogic-s9xxx-openwrt/tmp/mount/5.14.1/s905x3/rootfs: wrong fs type, bad option, bad superblock on /dev/loop5p2, missing codepage or helper program, or other error. [ Error ] mount /dev/loop5p2 failed!

what is the root cause of this error?

kokenot commented 2 years ago

i'm testing direct command without using selection guide from the script. sudo ./make -d -b s905x3 -k 5.4.144. (1.1) OpenWrt packaged successfully. and no error occured. just wonder what is the main cause of error above. i've notice when selecting number (4) s905w soc, it randomly select another soc (1)s905x3. the script automatically choose for me.

ophub commented 2 years ago

Synchronize today's latest source code.

Before local compilation and packaging, first install the environment dependencies.

sudo apt-get update -y sudo apt-get full-upgrade -y sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-openwrt)

kokenot commented 2 years ago

tq issue solve.

ophub commented 2 years ago

ok