2012-11-23 18:16:05 +00:00
|
|
|
#
|
2013-01-22 12:55:01 +00:00
|
|
|
# Copyright (C) 2012-2013 OpenWrt.org
|
2012-11-23 18:16:05 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=u-boot
|
2014-04-12 21:21:14 +00:00
|
|
|
PKG_VERSION:=2013.10
|
2012-11-23 18:16:05 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_HASH:=0d71e62beb952b41ebafb20a7ee4df2f960db64c31b054721ceb79ff14014c55
|
2014-04-12 21:21:40 +00:00
|
|
|
|
2014-04-12 21:21:35 +00:00
|
|
|
FIRMWARE_LANTIQ_SOURCE:=$(TOPDIR)/target/linux/lantiq/files/firmware/lantiq
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
include $(INCLUDE_DIR)/u-boot.mk
|
2012-11-23 18:16:05 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/Default
|
|
|
|
BUILD_TARGET:=lantiq
|
2013-01-22 12:55:01 +00:00
|
|
|
DDR_SETTINGS:=
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv4519pw_ram
|
|
|
|
NAME:=Arcadyan arv4519pw (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4519PW
|
2012-11-23 18:16:05 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv4519pw/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv4519pw_nor
|
|
|
|
NAME:=Arcadyan arv4519pw (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4519PW
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv4519pw_brn
|
|
|
|
NAME:=Arcadyan arv4519pw (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4519PW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7506pw11_ram
|
|
|
|
NAME:=Arcadyan ARV7506PW11 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7506PW11
|
2016-06-20 16:47:39 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv7506pw11/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7506pw11_nor
|
|
|
|
NAME:=Arcadyan ARV7506PW11 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7506PW11
|
2016-06-20 16:47:39 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7506pw11_brn
|
|
|
|
NAME:=Arcadyan ARV7506PW11 (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7506PW11
|
2016-06-20 16:47:39 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw_ram
|
|
|
|
NAME:=Arcadyan arv7510pw (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4510PW
|
2014-04-12 21:21:26 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv7510pw/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw_nor
|
|
|
|
NAME:=Arcadyan arv7510pw (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4510PW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw_brn
|
|
|
|
NAME:=Arcadyan arv7510pw (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV4510PW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw22_ram
|
|
|
|
NAME:=Arcadyan arv7510pw22 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7510PW22
|
2014-06-02 12:43:31 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv7510pw22/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw22_nor
|
|
|
|
NAME:=Arcadyan arv7510pw22 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7510PW22
|
2014-06-02 12:43:31 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7510pw22_brn
|
|
|
|
NAME:=Arcadyan arv7510pw22 (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7510PW22
|
2014-06-02 12:43:31 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7518pw_ram
|
|
|
|
NAME:=Arcadyan arv7518pw (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7518PW
|
2012-11-23 18:16:05 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv7518pw/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7518pw_nor
|
|
|
|
NAME:=Arcadyan arv7518pw (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7518PW
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv7518pw_brn
|
|
|
|
NAME:=Arcadyan arv7518pw (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV7518PW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw_ram
|
|
|
|
NAME:=Arcadyan arv752dpw (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
2014-04-12 21:21:26 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv752dpw/ddr_settings.h
|
2017-01-22 18:36:00 +00:00
|
|
|
BUILD_DEVICES:=ARV752DPW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw_nor
|
|
|
|
NAME:=Arcadyan arv752dpw (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV752DPW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw_brn
|
|
|
|
NAME:=Arcadyan arv752dpw (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV752DPW
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw22_ram
|
|
|
|
NAME:=Arcadyan arv752dpw22 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV752DPW22
|
2014-04-12 21:21:26 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv752dpw22/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw22_nor
|
|
|
|
NAME:=Arcadyan arv752dpw22 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV752DPW22
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv752dpw22_brn
|
|
|
|
NAME:=Arcadyan arv752dpw22 (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV752DPW22
|
2014-04-12 21:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv8539pw22_ram
|
|
|
|
NAME:=Speedport W 504V Typ A (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV8539PW22
|
2015-07-07 13:45:10 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/arv8539pw22/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv8539pw22_nor
|
|
|
|
NAME:=Speedport W 504V Typ A (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV8539PW22
|
2015-07-07 13:45:10 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/arv8539pw22_brn
|
|
|
|
NAME:=Speedport W 504V Typ A (BRN)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ARV8539PW22
|
2015-07-07 13:45:10 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/gigasx76x_ram
|
|
|
|
NAME:=Siemens Gigaset sx76x (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=GIGASX76X
|
2012-11-23 18:16:05 +00:00
|
|
|
DDR_SETTINGS:=board/gigaset/sx76x/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/gigasx76x_nor
|
|
|
|
NAME:=Siemens Gigaset sx76x (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=GIGASX76X
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/acmp252_ram
|
|
|
|
NAME:=AudioCodes MP-252 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ACMP252
|
2014-04-12 21:21:31 +00:00
|
|
|
DDR_SETTINGS:=board/audiocodes/acmp252/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/acmp252_nor
|
|
|
|
NAME:=AudioCodes MP-252 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=ACMP252
|
2014-04-12 21:21:31 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/bthomehubv5a_ram
|
|
|
|
NAME:=BT Home Hub 5A (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=BTHOMEHUBV5A
|
2016-05-20 21:45:59 +00:00
|
|
|
DDR_SETTINGS:=board/bt/bthomehubv5a/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy50712_ram
|
|
|
|
NAME:=Lantiq EASY50712 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=EASY50712
|
2014-04-12 21:21:18 +00:00
|
|
|
DDR_SETTINGS:=board/lantiq/easy50712/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy50712_nor
|
|
|
|
NAME:=Lantiq EASY50712 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=EASY50712
|
2014-04-12 21:21:18 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy50712_norspl
|
|
|
|
NAME:=Lantiq EASY50712 (NOR SPL)
|
|
|
|
BUILD_SUBTARGET:=xway
|
|
|
|
BUILD_DEVICES:=EASY50712
|
|
|
|
UBOOT_IMAGE:=u-boot.ltq.lzo.norspl
|
2014-04-12 21:21:18 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy80920_ram
|
|
|
|
NAME:=Lantiq EASY80920 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=EASY80920NOR EASY80920NAND
|
2014-04-12 21:21:23 +00:00
|
|
|
DDR_SETTINGS:=board/lantiq/easy80920/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy80920_nor
|
|
|
|
NAME:=Lantiq EASY80920 (NOR)
|
|
|
|
BUILD_DEVICES:=EASY80920NOR EASY80920NAND
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
2014-04-12 21:21:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy80920_norspl
|
|
|
|
NAME:=Lantiq EASY80920 (NOR SPL)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=EASY80920NOR EASY80920NAND
|
|
|
|
UBOOT_IMAGE:=u-boot.ltq.lzo.norspl
|
2014-04-12 21:21:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/easy80920_sfspl
|
|
|
|
NAME:=Lantiq EASY80920 (SPI SPL)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=EASY80920NOR EASY80920NAND
|
|
|
|
UBOOT_IMAGE:=u-boot.ltq.lzo.sfspl
|
2014-04-12 21:21:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/fb3370_eva
|
|
|
|
NAME:=AVM FRITZ3370 (EVA)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=FRITZ3370
|
2014-04-22 08:08:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/fb3370_ram
|
|
|
|
NAME:=AVM FRITZ3370 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=FRITZ3370
|
2014-04-22 08:08:23 +00:00
|
|
|
DDR_SETTINGS:=board/avm/fb3370/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/fb3370_sfspl
|
|
|
|
NAME:=AVM FRITZ3370 (SPI SPL)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=FRITZ3370
|
|
|
|
UBOOT_IMAGE:=u-boot.ltq.lzo.sfspl
|
2014-04-22 08:08:23 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/p2812hnufx_ram
|
|
|
|
NAME:=ZyXEL P-2812HNU-Fx (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=P2812HNUF1
|
2014-04-22 08:08:27 +00:00
|
|
|
DDR_SETTINGS:=board/zyxel/p2812hnufx/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/p2812hnufx_nandspl
|
|
|
|
NAME:=ZyXEL P-2812HNU-Fx (NAND SPL)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=P2812HNUF1
|
|
|
|
UBOOT_IMAGE:=u-boot.ltq.lzo.nandspl
|
2014-04-22 08:08:27 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7510kw22_brn
|
|
|
|
NAME:=Arcadyan VGV7510KW22 (BRN)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7510KW22NOR
|
2015-06-05 14:11:45 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7510kw22_nor
|
|
|
|
NAME:=Arcadyan VGV7510KW22 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7510KW22NOR
|
2015-06-05 14:11:45 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7510kw22_ram
|
|
|
|
NAME:=Arcadyan VGV7510KW22 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7510KW22NOR
|
2015-06-05 14:11:45 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/vgv7510kw22/ddr_settings.h
|
|
|
|
endef
|
2014-04-12 21:21:23 +00:00
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7519_brn
|
|
|
|
NAME:=Arcadyan VGV7519 (BRN)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7519NOR VGV7519BRN
|
2016-05-26 21:08:27 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7519_nor
|
|
|
|
NAME:=Arcadyan VGV7519 (NOR)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7519NOR VGV7519BRN
|
2016-05-26 21:08:27 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define U-Boot/vgv7519_ram
|
|
|
|
NAME:=Arcadyan VGV7519 (RAM)
|
|
|
|
BUILD_SUBTARGET:=xrx200
|
|
|
|
BUILD_DEVICES:=VGV7519NOR VGV7519BRN
|
2016-05-26 21:08:27 +00:00
|
|
|
DDR_SETTINGS:=board/arcadyan/vgv7519/ddr_settings.h
|
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
UBOOT_TARGETS:= \
|
2014-04-12 21:21:26 +00:00
|
|
|
arv4519pw_ram arv4519pw_nor arv4519pw_brn \
|
2016-06-20 16:47:39 +00:00
|
|
|
arv7506pw11_ram arv7506pw11_nor arv7506pw11_brn \
|
2014-04-12 21:21:26 +00:00
|
|
|
arv7510pw_ram arv7510pw_nor arv7510pw_brn \
|
2014-06-02 12:43:31 +00:00
|
|
|
arv7510pw22_ram arv7510pw22_nor arv7510pw22_brn \
|
2014-04-12 21:21:26 +00:00
|
|
|
arv7518pw_ram arv7518pw_nor arv7518pw_brn \
|
|
|
|
arv752dpw_ram arv752dpw_nor arv752dpw_brn \
|
|
|
|
arv752dpw22_ram arv752dpw22_nor arv752dpw22_brn \
|
2016-05-21 10:13:36 +00:00
|
|
|
arv8539pw22_brn arv8539pw22_nor arv8539pw22_ram \
|
2016-05-20 21:45:59 +00:00
|
|
|
bthomehubv5a_ram \
|
2014-04-12 21:21:18 +00:00
|
|
|
gigasx76x_ram gigasx76x_nor \
|
2014-04-12 21:21:31 +00:00
|
|
|
acmp252_ram acmp252_nor \
|
2014-04-12 21:21:23 +00:00
|
|
|
easy50712_ram easy50712_nor easy50712_norspl \
|
2014-04-22 08:08:23 +00:00
|
|
|
easy80920_ram easy80920_nor easy80920_norspl easy80920_sfspl \
|
2014-04-22 08:08:27 +00:00
|
|
|
fb3370_eva fb3370_ram fb3370_sfspl \
|
2015-06-05 14:11:45 +00:00
|
|
|
p2812hnufx_ram p2812hnufx_nandspl \
|
2016-05-26 21:08:27 +00:00
|
|
|
vgv7510kw22_brn vgv7510kw22_nor vgv7510kw22_ram \
|
|
|
|
vgv7519_brn vgv7519_nor vgv7519_ram
|
2012-11-23 18:16:05 +00:00
|
|
|
|
2016-05-26 21:08:26 +00:00
|
|
|
define CompressVR9Firmware
|
|
|
|
$(STAGING_DIR_HOST)/bin/lzma e \
|
|
|
|
$(FIRMWARE_LANTIQ_SOURCE)/vr9_phy$(1)_a$(2)x.bin \
|
2014-04-12 21:21:35 +00:00
|
|
|
$(PKG_BUILD_DIR)/arch/mips/cpu/mips32/vrx200/fw_phy$(1)_a$(2)x.blob
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
$(call Build/Prepare/Default)
|
2014-04-22 08:08:15 +00:00
|
|
|
mkdir -p $(PKG_BUILD_DIR)/arch/mips/cpu/mips32/vrx200/
|
2016-05-26 21:08:26 +00:00
|
|
|
$(call CompressVR9Firmware,11g,1)
|
|
|
|
$(call CompressVR9Firmware,11g,2)
|
|
|
|
$(call CompressVR9Firmware,22f,1)
|
|
|
|
$(call CompressVR9Firmware,22f,2)
|
2014-04-12 21:21:35 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
ifeq ($(SUBTARGET),xway)
|
|
|
|
SOC:=danube
|
|
|
|
else
|
|
|
|
SOC:=vr9
|
|
|
|
endif
|
2012-11-23 18:16:05 +00:00
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
define Package/u-boot/install/uart
|
2013-01-22 12:55:01 +00:00
|
|
|
awk -f $(PKG_BUILD_DIR)/tools/lantiq_ram_init_uart.awk \
|
2017-01-22 18:36:00 +00:00
|
|
|
-v soc=$(SOC) $(PKG_BUILD_DIR)/$(DDR_SETTINGS) \
|
2013-01-22 12:55:01 +00:00
|
|
|
> $(PKG_BUILD_DIR)/ddr_settings
|
|
|
|
perl $(PKG_BUILD_DIR)/tools/gct.pl \
|
|
|
|
$(PKG_BUILD_DIR)/ddr_settings $(PKG_BUILD_DIR)/u-boot.srec \
|
2017-01-22 18:36:00 +00:00
|
|
|
$(1)/u-boot.asc
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
2017-01-22 18:36:00 +00:00
|
|
|
|
|
|
|
define Package/u-boot/install
|
|
|
|
$(Package/u-boot/install/$(if $(DDR_SETTINGS),uart,default))
|
2012-11-23 18:16:05 +00:00
|
|
|
endef
|
|
|
|
|
2017-01-22 18:36:00 +00:00
|
|
|
$(eval $(call BuildPackage/U-Boot))
|