dangowrt / owrt-ubi-installer

OpenWrt firmware installer for the Linksys E8450 aka. Belkin RT3200
GNU General Public License v2.0
395 stars 52 forks source link

Unable to create UBI Installer Images from OpenWrt MAIN SNAPSHOT r25339-35a5e62da7 ImageBuilder #172

Closed KA2107 closed 8 months ago

KA2107 commented 9 months ago

Unable to create UBI Installer Images from OpenWrt MAIN SNAPSHOT r25339-35a5e62da7 ImageBuilder

+ sha256sum -c sha256sums --ignore-missing
openwrt-imagebuilder-mediatek-mt7622.Linux-x86_64.tar.xz: OK
openwrt-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb: OK
openwrt-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb: OK
+ mkdir -p /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib
+ tar -xJf /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/dl/openwrt-imagebuilder-mediatek-mt7622.Linux-x86_64.tar.xz -C /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib --strip-components=1
++ ls -1 /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/linux-6.1.79/scripts/dtc/dtc
+ DTC=/home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/linux-6.1.79/scripts/dtc/dtc
+ '[' -x /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/linux-6.1.79/scripts/dtc/dtc ']'
+ make -C /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib info
+ grep -A 2 linksys_e8450-ubi:
+ grep -q fitblk
make: TMPDIR value /home/kshv/Downloads/linksys-e8450-openwrt-installer_GIT/openwrt-ib/tmp: No such file or directory
make: using default temporary directory '/tmp'
+ echo 'ImageBuilder is outdated and not in sync with installer.'
ImageBuilder is outdated and not in sync with installer.
+ echo 'Please re-run once fitblk changes are included in snapshot build.'
Please re-run once fitblk changes are included in snapshot build.
+ exit 1

Full Log 2024-02-27_RT3200_UBI_Installer_Build_Log.txt

KA2107 commented 9 months ago

@dangowrt Same error trying to build from OpenWrt MAIN SNAPSHOT r25361-a86ff06d2e

2024-03-01_RT3200_UBI_Installer_Build_Log.txt

Fail-Safe commented 9 months ago

I'm running into the same situation:

user@cbb8a2af433b:~/owrt-ubi-installer$ make -C openwrt-ib/ info | grep -A 2 "linksys_e8450-ubi:"
linksys_e8450-ubi:
    Linksys E8450 UBI
    Packages: kmod-mt7915-firmware kmod-usb3

I also tried to use Image Builder that I built locally from snapshot, but I hit the same issue with missing fitblk.

dangowrt commented 9 months ago

Yes, I have this change locally already, but didn't push it to the repo yet.

KA2107 commented 9 months ago

@dangowrt Does https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.1.1 include the change https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=f08e63bd8396326953705468fe2e7b47bf080979 ? If not, is this change required as part of the updated UBI Installer?

KA2107 commented 8 months ago

I was able to build the Installer images from https://github.com/dangowrt/owrt-ubi-installer/commit/9439e55b0e1cfdc49d5f98b1d06bb8b78d4c2293.

But since I had already converted my RT3200's to FIP-in-UBI layout using pre-built v1.1.0 images https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.1.0, I did not try to run the v1.1.1 Installer again (neither using my custom built images nor using the pre-built images at https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.1.1) based on comments from @dangowrt at https://forum.openwrt.org/t/belkin-rt3200-linksys-e8450-wifi-ax-discussion/94302/4368).

Closing this issue.