summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Smirnov <evgenii.smirnov@here.com>2019-06-29 19:53:00 +0200
committerEugene Smirnov <evgenii.smirnov@here.com>2019-07-22 11:57:39 +0200
commiteb391b6c5f3fc24757b124238140bbfc3ae41494 (patch)
treee15469ed0130a53978484caf175984e936761c2f
parent58dcdcf5cccafcb62891973cabdbaaddcf97a02c (diff)
downloadmeta-updater-eb391b6c5f3fc24757b124238140bbfc3ae41494.tar.gz
Add TI Beaglebone Black support
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
-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