mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ramips: define loadaddr for all UniFi devices
Define the load-address for the DTB of all Ubiquiti UniFi devices using FIT images. From the GPL code we can assume these boards are affected by the same relocating issue with the vendor bootloader. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
8138d66fcc
commit
bc14925f3d
@ -2064,6 +2064,7 @@ define Device/ubnt_unifi-flexhd
|
|||||||
DEVICE_VENDOR := Ubiquiti
|
DEVICE_VENDOR := Ubiquiti
|
||||||
DEVICE_MODEL := UniFi FlexHD
|
DEVICE_MODEL := UniFi FlexHD
|
||||||
DEVICE_DTS_CONFIG := config@2
|
DEVICE_DTS_CONFIG := config@2
|
||||||
|
DEVICE_DTS_LOADADDR := 0x87000000
|
||||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-leds-ubnt-ledbar
|
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-leds-ubnt-ledbar
|
||||||
IMAGE_SIZE := 15552k
|
IMAGE_SIZE := 15552k
|
||||||
@ -2084,6 +2085,7 @@ define Device/ubnt_usw-flex
|
|||||||
DEVICE_VENDOR := Ubiquiti
|
DEVICE_VENDOR := Ubiquiti
|
||||||
DEVICE_MODEL := UniFi Switch Flex
|
DEVICE_MODEL := UniFi Switch Flex
|
||||||
DEVICE_DTS_CONFIG := config@1
|
DEVICE_DTS_CONFIG := config@1
|
||||||
|
DEVICE_DTS_LOADADDR := 0x87000000
|
||||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
IMAGE_SIZE := 7360k
|
IMAGE_SIZE := 7360k
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user