am335x: Move common configuration to common files

Generic HW related moved to include files
OStree related config moved to distro config in
meta-netmodule-distro
This commit is contained in:
Alexandre Bard 2019-04-16 14:15:01 +02:00
parent dc9dbb89c4
commit 70f3ce5545
7 changed files with 4 additions and 26 deletions

View File

@ -1 +0,0 @@
WKS_FILE_sota = "sdimage-sota-nmhw21.wks"

View File

@ -0,0 +1 @@
WKS_FILE_sota = "sdimage-sota-am335x.wks"

View File

@ -13,20 +13,7 @@ KERNEL_DEFCONFIG ??= "am335x-nmhw21_defconfig"
KERNEL_DEVICETREE = "am335x-nmhw21-prod1.dtb \
"
SOTA_MACHINE = "${MACHINE}"
KERNEL_CLASSES_append = " kernel-fitimage"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "fitImage zImage"
KERNEL_IMAGETYPE_sota = "fitImage"
KERNEL_IMAGETYPES_sota = "fitImage"
INITRAMFS_IMAGE_BUNDLE_sota = "1"
OSTREE_KERNEL = "${KERNEL_IMAGETYPE}-${INITRAMFS_IMAGE}-${MACHINE}-${MACHINE}"
UBOOT_ENTRYPOINT ?= "0x80008000"
IMAGE_BOOT_FILES = "MLO u-boot.img"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nmhw21"

View File

@ -17,8 +17,6 @@ KERNEL_DEVICETREE = "am335x-nrhw16.dtb \
am335x-nrhw16-prod5.dtb \
"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "fitImage zImage"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw16-v2"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"

View File

@ -13,17 +13,8 @@ KERNEL_DEFCONFIG ??= "am335x-nrhw20_defconfig"
KERNEL_DEVICETREE = "am335x-nrhw20-prod1.dtb \
"
SOTA_MACHINE = "${MACHINE}"
KERNEL_CLASSES_append = " kernel-fitimage"
KERNEL_IMAGETYPE = "zImage"
KERNEL_IMAGETYPES = "fitImage zImage"
KERNEL_IMAGETYPE_sota = "fitImage"
KERNEL_IMAGETYPES_sota = "fitImage"
UBOOT_ENTRYPOINT ?= "0x80008000"
IMAGE_BOOT_FILES = "MLO u-boot.img"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am335x-nrhw20-v1"

View File

@ -31,6 +31,8 @@ UBOOT_MACHINE ?= "am335x_evm_config"
UBOOT_ENTRYPOINT ?= "0x80008000"
UBOOT_LOADADDRESS ?= "0x80008000"
SOTA_MACHINE = "am335x"
IMAGE_BOOT_FILES = "MLO u-boot.img"
# Use the expected value of the ubifs filesystem's volume name in the kernel
# and u-boot.