aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/lzma-loader/src
Commit message (Collapse)AuthorAgeFilesLines
* ath79: lzma-loader: allow setting custom kernel magicMichael Pratt2021-04-082-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...and max flash offset The mtdsplit parser was recently refactored to allow the kernel to have custom image header magic. Let's also do this for the lzma-loader For example: When implemented together, this allows the kernel to "appear" to be a rootfs by OEM software in order to write an image that is actually kernel + rootfs. At the same time, it would boot to openwrt normally by setting the same magic in DTS. Both of the variables have a default value that is unchanged when not defined in the makefiles This has no effect on the size of the loader when lzma compressed. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* ath79: lzma-loader: sync with ar71xx targetMatthias Schiffer2018-06-064-8/+21
| | | | | | | | | | | | | | Import all improvements made in the lzma-loader since development on the ath79 target started. This also reverts fe594bf90d09 ("ath79: fix loader-okli, lzma-loader"), as is obsoleted by 2ad60168b6af ("ar71xx: lzma-loader: move padding workaround to gzip step"). Likely, many of the changes should be ported to the ramips lzma-loader as well, but I don't have a device to test this. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath79: fix loader-okli, lzma-loaderLucian Cristian2018-05-221-0/+1
| | | | | | | booting will hang most of the times on tl-wr1043nd-v1 without a KERNEL_CMDLINE value add anything as a placeholder as kernel command line is taken from DTS Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add new OF only target for QCA MIPS siliconJohn Crispin2018-05-0718-0/+2650
This target aims to replace ar71xx mid-term. The big part that is still missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik subtargets will follow. Signed-off-by: John Crispin <john@phrozen.org>