parent
929a4a1b9a
commit
4ff3d2b09e
|
|
@ -13,9 +13,12 @@ KERNEL_DEFCONFIG ??= "am335x-nmhw21_defconfig"
|
||||||
KERNEL_DEVICETREE = "am335x-nmhw21-prod1.dtb \
|
KERNEL_DEVICETREE = "am335x-nmhw21-prod1.dtb \
|
||||||
"
|
"
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
|
KERNEL_CLASSES_append_sota = " kernel-fitimage"
|
||||||
|
KERNEL_IMAGETYPE_sota = "fitImage"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
|
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
|
||||||
|
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw21-v1"
|
||||||
|
|
||||||
PV_pn-linux-netmodule = "4.14.77-${SRCPV}"
|
PV_pn-linux-netmodule = "4.14.77-${SRCPV}"
|
||||||
SRC_URI_pn-linux-netmodule ?= "git://git.netmodule.intranet/nmrouter/linux.git;protocol=ssh;user=gitea;branch=4.14/standard/nmhw21"
|
SRC_URI_pn-linux-netmodule ?= "git://git.netmodule.intranet/nmrouter/linux.git;protocol=ssh;user=gitea;branch=4.14/standard/nmhw21"
|
||||||
SRCREV_pn-linux-netmodule ?= "${AUTOREV}"
|
SRCREV_pn-linux-netmodule ?= "${AUTOREV}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,17 +20,17 @@ GUI_MACHINE_CLASS = "bigscreen"
|
||||||
MACHINE_KERNEL_PR = "r22"
|
MACHINE_KERNEL_PR = "r22"
|
||||||
|
|
||||||
# Default providers, may need to override for specific machines
|
# Default providers, may need to override for specific machines
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-ti-staging"
|
||||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "uImage"
|
KERNEL_IMAGETYPE = "uImage"
|
||||||
|
|
||||||
UBOOT_ARCH = "arm"
|
UBOOT_ARCH = "arm"
|
||||||
UBOOT_MACHINE = "am335x_evm_config"
|
UBOOT_MACHINE ?= "am335x_evm_config"
|
||||||
|
|
||||||
UBOOT_ENTRYPOINT = "0x80008000"
|
UBOOT_ENTRYPOINT ?= "0x80008000"
|
||||||
UBOOT_LOADADDRESS = "0x80008000"
|
UBOOT_LOADADDRESS ?= "0x80008000"
|
||||||
|
|
||||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||||
# and u-boot.
|
# and u-boot.
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
PROVIDES = "virtual/bootloader"
|
||||||
|
|
||||||
inherit uboot-config deploy
|
inherit uboot-config deploy
|
||||||
|
|
||||||
EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
|
EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue