How to enable the zImage and squashfs files, rather than packaged as 'bin' for sys upgrade

John Clark jeclark2006 at aim.com
Mon Feb 19 18:20:36 PST 2018


I have been using OpenWRT for years, and always created the zImage and squashfs files separately, as this allows me to use uboot to write these images
separately.

However, in the latest ‘git’ that I have done, and configured, the directory structure of the ‘bin’ directory seems to have changed, and only the images suitable for using ‘sys upgrade’ or the equivalent are to be found.

My target is an mpc85xx + p1020.

For example:

Old path ‘bin/mpc85xx’ contents:

drwxr-xr-x 10 jeclark2006 jeclark2006      4096 Jan 27  2017 packages
-rw-r--r--  1 jeclark2006 jeclark2006   6427003 Feb 16 12:56 kernel-debug.tar.bz2
-rw-r--r--  1 jeclark2006 jeclark2006   2308783 Feb 16 12:56 openwrt-mpc85xx-p1020-zImage
-rw-r--r--  1 jeclark2006 jeclark2006     12348 Feb 16 12:56 openwrt-mpc85xx-p1020-p1010rdb-pa.fdt
-rw-r--r--  1 jeclark2006 jeclark2006     11469 Feb 16 12:56 openwrt-mpc85xx-p1020-tl-wdr4900-v1.fdt
-rw-r--r--  1 jeclark2006 jeclark2006     11596 Feb 16 12:56 openwrt-mpc85xx-p1020-p1020rdb.fdt
-rw-r--r--  1 jeclark2006 jeclark2006  29360132 Feb 16 12:59 openwrt-mpc85xx-p1020-root.squashfs
-rw-r--r--  1 jeclark2006 jeclark2006       750 Feb 16 12:59 md5sums
-rw-r--r--  1 jeclark2006 jeclark2006      1150 Feb 16 12:59 sha256sums
-rw-r--r--  1 jeclark2006 jeclark2006  64741013 Feb 16 13:01 OpenWrt-SDK-mpc85xx-p1020_gcc-5.3.0_musl-1.1.16.Linux-x86_64.tar.bz2
-rw-r--r--  1 jeclark2006 jeclark2006 112060144 Feb 16 13:02 OpenWrt-ImageBuilder-mpc85xx-p1020.Linux-x86_64.tar.bz2
-rw-r--r--  1 jeclark2006 jeclark2006  35540509 Feb 16 13:03 OpenWrt-Toolchain-mpc85xx-p1020_gcc-5.3.0_musl-1.1.16.Linux-x86_64.tar.bz2


New Path ‘bin/targets/mpc85xx/p1020’ contents:

-rw-r--r-- 1 jeclark2006 jeclark2006  4181602 Feb 19 16:07 openwrt-mpc85xx-p1020-hiveap-330-initramfs-kernel.bin
drwxr-xr-x 2 jeclark2006 jeclark2006     4096 Feb 19 17:15 packages
-rw-r--r-- 1 jeclark2006 jeclark2006    11233 Feb 19 17:16 openwrt-mpc85xx-p1020-hiveap-330-squashfs-fdt.bin
-rw-r--r-- 1 jeclark2006 jeclark2006 44527920 Feb 19 17:16 openwrt-mpc85xx-p1020-hiveap-330-squashfs-sysupgrade.bin
-rw-r--r-- 1 jeclark2006 jeclark2006     2021 Feb 19 17:16 openwrt-mpc85xx-p1020-default.manifest
-rw-r--r-- 1 jeclark2006 jeclark2006    14802 Feb 19 17:51 config.seed
-rw-r--r-- 1 jeclark2006 jeclark2006  6501822 Feb 19 17:53 kernel-debug.tar.bz2
-rw-r--r-- 1 jeclark2006 jeclark2006     2021 Feb 19 17:53 openwrt-mpc85xx-p1020.manifest
-rw-r--r-- 1 jeclark2006 jeclark2006 42946668 Feb 19 18:00 openwrt-sdk-mpc85xx-p1020_gcc-5.5.0_musl.Linux-x86_64.tar.xz
-rw-r--r-- 1 jeclark2006 jeclark2006 32760948 Feb 19 18:03 openwrt-imagebuilder-mpc85xx-p1020.Linux-x86_64.tar.xz
-rw-r--r-- 1 jeclark2006 jeclark2006 37120577 Feb 19 18:04 openwrt-toolchain-mpc85xx-p1020_gcc-5.5.0_musl.Linux-x86_64.tar.bz2
-rw-r--r-- 1 jeclark2006 jeclark2006     1108 Feb 19 18:04 sha256sums


John Clark.


More information about the Lede-dev mailing list