summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/sota.bbclass2
-rw-r--r--classes/sota_am335x-evm.bbclass9
2 files changed, 10 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 82278b2..0ac0805 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -61,7 +61,7 @@ SOTA_MACHINE_m3ulcb = "m3ulcb"
61SOTA_MACHINE_h3ulcb = "h3ulcb" 61SOTA_MACHINE_h3ulcb = "h3ulcb"
62SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" 62SOTA_MACHINE_intel-corei7-64 ?= "minnowboard"
63SOTA_MACHINE_qemux86-64 ?= "qemux86-64" 63SOTA_MACHINE_qemux86-64 ?= "qemux86-64"
64SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi" 64SOTA_MACHINE_am335x-evm ?= "am335x-evm"
65 65
66inherit sota_${SOTA_MACHINE} 66inherit sota_${SOTA_MACHINE}
67 67
diff --git a/classes/sota_am335x-evm.bbclass b/classes/sota_am335x-evm.bbclass
new file mode 100644
index 0000000..07d2d62
--- /dev/null
+++ b/classes/sota_am335x-evm.bbclass
@@ -0,0 +1,9 @@
1OSTREE_BOOTLOADER ?= "u-boot"
2
3IMAGE_BOOT_FILES = "MLO u-boot.img uEnv.txt"
4
5KERNEL_IMAGETYPES_sota = "fitImage"
6
7OSTREE_KERNEL = "fitImage"
8OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p2 console=ttyO0,115200n8l"
9