Hi,
I have a IPQ8064 AP148 board. Compile the QSDK, then I get .img file. And I can upgrade this board with this .img file.
Now I download the openwrt 19.7.2. After compiling, I get the .bin file.
I upgrade my board with openwrt 19.7.2 firmware, but it's failed:
The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.
Then, tftp and sysupgrade, it's still failed:
openwrt-ipq806x-generic-qcom_ipq8064-ap148-squashfs-nand-factory.bin is not a valid FIT image
Image check 'platform_check_image' failed.
Who can help me?
Thanks.
But I still do not understand how to solve my problem.
How to flash a IPQ8064 board which is running QSDK firmware with new openwrt 19.7.2 firmware?
Please be clear...
Are you installing:
QSDK; or
official OpenWrt?
If QSDK, ask: https://wiki.codeaurora.org/xwiki/bin/Support/caf_faq#HContactsandescalationwhentechnicalproblemsareencountered
If official OpenWrt, please provide the link to the firmware/SDK/imagebuilder from downloads.openwrt.org link from the Table of Hardware .
(I cannot find your device listed in the official table - so it appears unsupported here).
My IPQ8064 board is same as WPQ864.
see : https://openwrt.org/toh/views/toh_extended_all?dataflt[CPU*~]=8064
I download openwrt firmware from https://downloads.openwrt.org/releases/19.07.2/targets/ipq806x/generic/ ,
but also failed.
Downdload files:
openwrt-19.07.2-ipq806x-generic-compex_wpq864-squashfs-nand-factory.bin
openwrt-19.07.2-ipq806x-generic-compex_wpq864-squashfs-nand-sysupgrade.bin
openwrt-ipq806x-generic-qcom_ipq8064-ap148-squashfs-nand-factory.bin
openwrt-ipq806x-generic-qcom_ipq8064-ap148-legacy-squashfs-nand-factory.bin
Thanks.
Your link produces a list of results for devices with an identical CPU. In order to assist you with your request, please provide a direct OpenWrt link to the specific device in question .
liveonlinux:
Thanks.
No problem.
There is a file: scripts/mkits-qsdk-ipq-image.sh. It may solve my problem.
https://github.com/openwrt/openwrt/commit/bf4630e5adb40aa393f6bd4c560baf42de0f1957
But I don't know how to use it.
And there is another article:
Issue with OpenWrt Sysupgrade on IPQ40xx device with QSDK stock firmware - #9 by karan.tillu
I think it's the same as my problem. How can I do?
liveonlinux:
How can I do?
I suggest always to use dumpimage -l and compare the working image with new image you have produced to double check it first. CLI sysupgrade --test does the check as well. QSDK openwrt has sysupgrade image with check routines to detect mandatory image components.
Figure out the "check routines"
After doing so, I also suggest you request a Wiki and Techdata page so you can add your device; in order to post what you figured out for others
(BTW, this means your device is not officially supported...yet .)