mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
ar71xx: fix console string in images
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43917
This commit is contained in:
parent
dffaf94d44
commit
547ab2de5a
@ -13,7 +13,7 @@ JFFS2_BLOCKSIZE = 64k 128k 256k
|
|||||||
|
|
||||||
KERNEL_LOADADDR = 0x80060000
|
KERNEL_LOADADDR = 0x80060000
|
||||||
|
|
||||||
DEVICE_VARS += NETGEAR_KERNEL_MAGIC NETGEAR_BOARD NETGEAR_ID
|
DEVICE_VARS += NETGEAR_KERNEL_MAGIC NETGEAR_BOARD NETGEAR_ID CMDLINE CONSOLE
|
||||||
|
|
||||||
define Build/netgear-squashfs
|
define Build/netgear-squashfs
|
||||||
rm -rf $@.fs $@.squashfs
|
rm -rf $@.fs $@.squashfs
|
||||||
@ -53,7 +53,8 @@ define Device/Default
|
|||||||
IMAGES := sysupgrade.bin
|
IMAGES := sysupgrade.bin
|
||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
FILESYSTEMS = $(filter-out jffs2-%,$(TARGET_FILESYSTEMS)) jffs2-$$(BLOCKSIZE)
|
FILESYSTEMS = $(filter-out jffs2-%,$(TARGET_FILESYSTEMS)) jffs2-$$(BLOCKSIZE)
|
||||||
CMDLINE = $$(if $$(BOARDNAME),board=$$(BOARDNAME)) $$(if $$(MTDPARTS),mtdparts=$$(MTDPARTS))
|
CONSOLE = ttyS0,115200
|
||||||
|
CMDLINE = $$(if $$(BOARDNAME),board=$$(BOARDNAME)) $$(if $$(MTDPARTS),mtdparts=$$(MTDPARTS)) $$(if $$(CONSOLE),console=$$(CONSOLE))
|
||||||
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
|
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
|
||||||
IMAGES := sysupgrade.bin
|
IMAGES := sysupgrade.bin
|
||||||
IMAGE/sysupgrade.bin = append-kernel $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
IMAGE/sysupgrade.bin = append-kernel $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE)
|
||||||
@ -62,6 +63,7 @@ endef
|
|||||||
define Device/carambola2
|
define Device/carambola2
|
||||||
BOARDNAME = CARAMBOLA2
|
BOARDNAME = CARAMBOLA2
|
||||||
IMAGE_SIZE = 16000k
|
IMAGE_SIZE = 16000k
|
||||||
|
CONSOLE = ttyATH0,115200
|
||||||
MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro
|
MTDPARTS = spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,16000k(firmware),64k(art)ro
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += carambola2
|
TARGET_DEVICES += carambola2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user