[LEDE-DEV] [RFC v2 1/2] ar71xx: image: fix making loader kernel for seama
Yousong Zhou
yszhou4tech at gmail.com
Sat Jul 9 01:09:49 PDT 2016
On 9 July 2016 at 15:56, Steven Haigh <netwiz at crc.id.au> wrote:
> Tested-by: Steven Haigh <netwiz at crc.id.au>
>
Thanks, Steven
I am working on the jffs2 magic missing issue. Guess a RFCv3 will
follow shortly.
Cheers,
yousong
> On 9/07/2016 11:06 AM, Yousong Zhou wrote:
>> Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
>> ---
>> v2 <- v1
>>
>> - Changed "DEVICE_VARS :=" to "DEVICE_VARS +="
>>
>> target/linux/ar71xx/image/generic.mk | 6 ++++--
>> 1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
>> index b8e70a4..a341a78 100644
>> --- a/target/linux/ar71xx/image/generic.mk
>> +++ b/target/linux/ar71xx/image/generic.mk
>> @@ -461,6 +461,7 @@ define Build/seama-sysupgrade
>> -i $(word 1,$^) \
>> -m "dev=/dev/mtdblock/1" -m "type=firmware"
>> ( dd if=$(word 1,$^).seama bs=64k conv=sync; dd if=$(word 2,$^) ) >$@
>> + rm -f $(word 1,$^).seama
>> endef
>>
>> define Build/seama-initramfs
>> @@ -472,14 +473,15 @@ endef
>>
>> define Device/seama
>> CONSOLE := ttyS0,115200
>> - KERNEL := kernel-bin | loader-kernel-cmdline | lzma
>> + LOADER_TYPE := bin
>> + KERNEL := kernel-bin | lzma | loader-kernel-cmdline | lzma
>> KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | seama-initramfs
>> KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX).seama
>> IMAGES := sysupgrade.bin factory.bin
>> IMAGE/sysupgrade.bin := seama-sysupgrade $$$$(SEAMA_SIGNATURE) | check-size $$$$(IMAGE_SIZE)
>> IMAGE/factory.bin := seama-factory $$$$(SEAMA_SIGNATURE) | check-size $$$$(IMAGE_SIZE)
>> SEAMA_SIGNATURE :=
>> - DEVICE_VARS := SEAMA_SIGNATURE
>> + DEVICE_VARS += SEAMA_SIGNATURE
>> endef
>>
>> define Device/mynet-n600
>>
>
> --
> Steven Haigh
>
> Email: netwiz at crc.id.au
> Web: https://www.crc.id.au
> Phone: (03) 9001 6090 - 0412 935 897
>
More information about the Lede-dev
mailing list