diff options
-rw-r--r-- | classes/sota.bbclass | 2 | ||||
-rw-r--r-- | classes/sota_am335x-evm.bbclass | 9 |
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" | |||
61 | SOTA_MACHINE_h3ulcb = "h3ulcb" | 61 | SOTA_MACHINE_h3ulcb = "h3ulcb" |
62 | SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" | 62 | SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" |
63 | SOTA_MACHINE_qemux86-64 ?= "qemux86-64" | 63 | SOTA_MACHINE_qemux86-64 ?= "qemux86-64" |
64 | SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi" | 64 | SOTA_MACHINE_am335x-evm ?= "am335x-evm" |
65 | 65 | ||
66 | inherit sota_${SOTA_MACHINE} | 66 | inherit 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 @@ | |||
1 | OSTREE_BOOTLOADER ?= "u-boot" | ||
2 | |||
3 | IMAGE_BOOT_FILES = "MLO u-boot.img uEnv.txt" | ||
4 | |||
5 | KERNEL_IMAGETYPES_sota = "fitImage" | ||
6 | |||
7 | OSTREE_KERNEL = "fitImage" | ||
8 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 root=/dev/ram0 rw rootfstype=ext4 rootwait rootdelay=2 ostree_root=/dev/mmcblk0p2 console=ttyO0,115200n8l" | ||
9 | |||