openwrt/target/linux/ar71xx
Yousong Zhou 559a7d1177 ar71xx: seama: fix making factory images
rootfs part needs to be aligned to erase block size which is passed as
the 6th argument to Image/Build/Seama  and is now 65536 since commit
commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama
images (fixes #20585)", but $(($(6) - 64)) still assumes that the
argument is a limit on kernel partition size, i.e. 1310720, so the
generated factory image is wrong in that the kernel will fail to find
the rootfs (FlySpray link at [1])

This patch will workaround it with the following steps

1. Calculate the required space for seama header and META data in step 5
2. Pre-padding 64 bytes to lzma-compressed loader
3. Generate correctly padded image-$(2).tmp
4. Strip out the padding
5. Seal it with seama utility

While at it convert seama to new build method

[1] FS#35 - mynet-n750 factory images don't find root partition,
    https://bugs.lede-project.org/index.php?do=details&task_id=35

Reported-by: Steven Haigh <netwiz@crc.id.au>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-06-30 22:48:39 +02:00
..
base-files ar71xx: WDR4300: Fixed default VLAN order 2016-06-17 04:13:07 +02:00
files ar71xx: disable pdata->use_flow_control for QCA9558 2016-06-27 12:12:40 +02:00
generic ar71xx: merge profiles into image building code 2016-06-27 11:10:15 +02:00
image ar71xx: seama: fix making factory images 2016-06-30 22:48:39 +02:00
mikrotik ar71xx: enable profile sorting in preparation for adding device profiles 2016-06-07 08:58:41 +02:00
nand ar71xx: merge profiles into image building code 2016-06-27 11:10:15 +02:00
patches-4.4 kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
config-4.4 ar71xx: add support for OpenEmbed SOM9331 2016-06-07 11:21:55 +02:00
Makefile ar71xx: update to linux 4.4 2016-05-15 20:55:39 +02:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00