From f3b1df60bff83941e112d0f0594e497822efb6cc Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 5 May 2017 14:52:31 +0200 Subject: Add support for am335x-evm based board with WiFi --- classes/sota.bbclass | 5 ++--- classes/sota_am335x-evm-wifi.bbclass | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 classes/sota_am335x-evm-wifi.bbclass (limited to 'classes') diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 0697932..a1a5028 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass @@ -21,13 +21,12 @@ OSTREE_BRANCHNAME ?= "ota-${MACHINE}" OSTREE_OSNAME ?= "poky" OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" -# Prelinking increases the size of downloads and causes build errors -USER_CLASSES_remove = "image-prelink" - SOTA_MACHINE ?= "none" SOTA_MACHINE_raspberrypi = "raspberrypi" SOTA_MACHINE_raspberrypi3 = "raspberrypi" SOTA_MACHINE_porter = "porter" SOTA_MACHINE_intel-corei7-64 = "minnowboard" SOTA_MACHINE_qemux86-64 = "qemux86-64" +SOTA_MACHINE_qemux86-64 = "qemux86-64" +SOTA_MACHINE_am335x-evm = "am335x-evm-wifi" inherit sota_${SOTA_MACHINE} diff --git a/classes/sota_am335x-evm-wifi.bbclass b/classes/sota_am335x-evm-wifi.bbclass new file mode 100644 index 0000000..24d0832 --- /dev/null +++ b/classes/sota_am335x-evm-wifi.bbclass @@ -0,0 +1,17 @@ +IMAGE_CLASSES += "image_types_uboot" + +KERNEL_IMAGETYPE_sota = "uImage" + +OSTREE_BOOTLOADER ?= "u-boot" + +EXTRA_IMAGEDEPENDS_append_sota = " acer-bootfiles" +IMAGE_BOOT_FILES_sota = "bootfiles/*" +OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p2 console=ttyO0,115200n8l" + +IMAGE_INSTALL_append_sota = " uim iw wl18xx-calibrator wlconf wl18xx-fw hostapd wpa-supplicant connman" + +PREFERRED_VERSION_linux-ti-staging_sota = "4.4.54+gitAUTOINC+ecd4eada6f" + +KERNEL_EXTRA_ARGS_append_sota = " LOADADDR=${UBOOT_ENTRYPOINT}" + +VIRTUAL-RUNTIME_net_manager_sota = "systemd" -- cgit v1.2.3-54-g00ecf