You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/include
Piotr Dymacz bf4630e5ad build: add helpers for generating QSDK sysupgrade compatible images
Qualcomm SDK (QSDK) sysupgrade compatible images for IPQ40xx, IPQ806x
and IPQ807x use FIT format together with 'dumpimage' tool from U-Boot
for verifying and extracting them. Based on 'images' sections names,
corresponding mtd partitions are flashed. For example, in case of
NOR-only boards, below mapping is used (section name -> mtd name):

  hlos*   -> 0:HLOS
  rootfs* -> rootfs

And for boards with NAND (kernel inside UBI):

  ubi* -> rootfs

Above mappings come from unmodified QSDK sources and might be wrong for
boards running custom or modified QSDK-based firmware. Some of vendors
adjust them to meet their modified mtd layout or features like recovery
or dual-image support.

This adds simple script 'mkits-qsdk-ipq-image.sh' (based on 'mkits.sh')
for generating FIT images tree source files, compatible with the QSDK
sysupgrade format. Resulting images can be used for initial (factory ->
OpenWrt) installation and would work both in CLI and GUI.

The script is universal in a way it allows to include as many sections
as needed. To make use of it, two generic/basic build recipes for NOR
and NAND based boards are also included in 'image-commands.mk':

  Build/qsdk-ipq-factory-nand
  Build/qsdk-ipq-factory-nor

Example usage for board with UBI in NAND:

  IMAGE/nand-factory.bin := append-ubi | qsdk-ipq-factory-nand

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
5 years ago
..
site include/site: add powerpc64 config 7 years ago
autotools.mk treewide: fix build depends to refer to source package names 6 years ago
cmake.mk build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk 6 years ago
debug.mk include: remove trailing whitespaces 9 years ago
depends.mk build: add missing wildcard for ignoring .pkgdir in dependency checks 7 years ago
device_table.txt image: ensure that /dev/console exist in rootfs images 11 years ago
download.mk download.mk: enable DownloadMethod/github_archive 6 years ago
feeds.mk build: add ABI_VERSION to binary package names 5 years ago
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 6 years ago
hardening.mk build: fix ASLR for LTO packages 6 years ago
host-build.mk build: do not override CCACHE_DIR when ccache is disabled 6 years ago
image-commands.mk build: add helpers for generating QSDK sysupgrade compatible images 5 years ago
image-legacy.mk image: fix ar71xx legacy images 7 years ago
image.mk build: Accept BIN_DIR parameter for legacy-images 5 years ago
kernel-build.mk include/kernel-build.mk: fix kernel rebuild on backport patch changes 6 years ago
kernel-defaults.mk kernel: fix downloading rcX releases 5 years ago
kernel-version.mk kernel: bump 4.19 to 4.19.25 5 years ago
kernel.mk build: fix build dependency of kmod .ipk with version filtered files 5 years ago
netfilter.mk netfilter: Add fib support for nftables 5 years ago
nls.mk treewide: fix build depends to refer to source package names 6 years ago
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 7 years ago
package-defaults.mk include/package-defaults.mk: fix default Build/Prepare with empty ./src 6 years ago
package-dumpinfo.mk build: expose ABI version in .packageauxvars 5 years ago
package-ipkg.mk build: formatting fixes for per-provide ABI_VERSION suffixes 5 years ago
package-seccomp.mk include: add a seccomp filter install wrapper 9 years ago
package.mk build: fix STAGING_DIR cleaning for packages 5 years ago
prereq-build.mk build: fix umask detection bashism 5 years ago
prereq.mk include: extend SetupHostCommand macro to accept more arguments 6 years ago
quilt.mk build: Use LINUX_DIR for Kernel/Patch 5 years ago
rootfs.mk include/rootfs.mk: remove boot directory 6 years ago
scan.awk build: propagate override information to .packageinfo 9 years ago
scan.mk build: Fix print without color 5 years ago
scons.mk build: use CXXFLAGS if defined 8 years ago
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 7 years ago
subdir.mk build: remove GNU time dependency 6 years ago
target.mk hostapd: add basic variant 6 years ago
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 5 years ago
toplevel.mk build: rename .packagesubdirs to .packageauxvars 5 years ago
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 5 years ago
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 11 years ago
unpack.mk build: unzip: perform operations quietly 7 years ago
verbose.mk include/verbose.mk: Add sc to failure message 6 years ago
version.mk base-files: fix HOME_URL replace 6 years ago