u-boot: make only one u-boot recipe per soc
BugzID: 74357 Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
parent
b2bb823e3c
commit
7cdc60e983
|
|
@ -5,7 +5,7 @@
|
|||
require am335x-nmhw24.conf
|
||||
MACHINEOVERRIDES .= ":am335x-nmhw24"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-hw25"
|
||||
UBOOT_MACHINE = "am335x_hw25_defconfig"
|
||||
|
||||
KERNEL_DEVICETREE = "am335x-hw25.dtb "
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ KERNEL_DEVICETREE = "am335x-nmhw21-prod1.dtb \
|
|||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw21"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti33x"
|
||||
UBOOT_MACHINE = "am335x_nmhw21_defconfig"
|
||||
|
||||
USE_VT = "0"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ KERNEL_DEVICETREE = "am335x-nmhw24-prod1.dtb \
|
|||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw24"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti33x"
|
||||
UBOOT_MACHINE = "am335x_nrhw24_defconfig"
|
||||
|
||||
USE_VT = "0"
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ KERNEL_DEVICETREE = "am335x-nrhw16.dtb \
|
|||
"
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw16-v2"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti33x"
|
||||
UBOOT_MACHINE = "am335x_nbhw16_v2_defconfig"
|
||||
|
||||
USE_VT = "0"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@ KERNEL_DEVICETREE = "am335x-nrhw20-prod1.dtb \
|
|||
"
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw20-v1"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti33x"
|
||||
UBOOT_MACHINE = "am335x_nrhw20_defconfig"
|
||||
|
||||
USE_VT = "0"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ KERNEL_IMAGETYPE = "zImage"
|
|||
KERNEL_MODULE_PROBECONF += "ath10k_pci"
|
||||
module_conf_ath10k_pci = "options ath10k_pci irq_mode=1"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-armada-385-nrhw18-v2"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-armada"
|
||||
UBOOT_MACHINE = "armada-385-nrhw18-v2_defconfig"
|
||||
IMAGE_BOOT_FILES = "u-boot-armada-385-nrhw18-v2.kwb"
|
||||
|
||||
DEFAULT_ETH = "eth2"
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
require u-boot-am335x-nmhw24_git.bb
|
||||
|
||||
UBOOT_MACHINE = "am335x_hw25_defconfig"
|
||||
|
||||
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nmhw21_defconfig"
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule"
|
||||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
PV = "v2016.05+git${SRCPV}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin
|
||||
rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
# nmhw21 and hw26 using same u-boot sources so let's create symlinks for hw26 when building nmhw21
|
||||
PN_E = "u-boot-${MACHINE}"
|
||||
do_deploy_append_am335x-hw26() {
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN_E}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN_E}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN_E}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN_E}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nrhw24_defconfig"
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule"
|
||||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
PV = "v2016.05+git${SRCPV}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin
|
||||
rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
require u-boot-am335x-nrhw16-common.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nbhw16_defconfig"
|
||||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "a6f157c6dbd048b452c7e2640215c55be658780c"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
require u-boot-am335x-nrhw16-common.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nbhw16_v2_defconfig"
|
||||
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "am335x_nrhw20_defconfig"
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule"
|
||||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
PV = "v2016.05+git${SRCPV}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
UBOOT_SUFFIX = "img"
|
||||
|
||||
do_deploy_append() {
|
||||
rm -f ${DEPLOYDIR}/*${PN}.xmodem.bin
|
||||
rm -f ${DEPLOYDIR}/*${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/spl-${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.xmodem.bin
|
||||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
|
|
@ -1,8 +1,5 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
# Force machine configuration for this recipe
|
||||
UBOOT_MACHINE = "armada-385-nrhw18-v2_defconfig"
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2017.11-armada-nrhw"
|
||||
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
require u-boot-nm.inc
|
||||
|
||||
|
||||
# Be aware github/netmodule git
|
||||
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.05-am335x-netmodule"
|
||||
|
||||
# Should be updated when a new U-Boot Version is available
|
||||
SRCREV ?= "${AUTOREV}"
|
||||
PV = "v2016.05+git${SRCPV}"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
|
|
@ -18,4 +18,3 @@ do_deploy_append() {
|
|||
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.${UBOOT_SUFFIX}
|
||||
cp ${S}/MLO ${DEPLOYDIR}/spl-${PN}.${UBOOT_SUFFIX}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue