diff options
-rw-r--r-- | classes/sota.bbclass | 3 | ||||
-rw-r--r-- | classes/sota_am335x-evm.bbclass | 9 | ||||
-rw-r--r-- | classes/sota_am65xx-evm.bbclass | 10 |
3 files changed, 21 insertions, 1 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass index 82278b2..013d6f9 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass | |||
@@ -61,7 +61,8 @@ 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 | SOTA_MACHINE_am65xx-evm ?= "am65xx-evm" | ||
65 | 66 | ||
66 | inherit sota_${SOTA_MACHINE} | 67 | inherit sota_${SOTA_MACHINE} |
67 | 68 | ||
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 | |||
diff --git a/classes/sota_am65xx-evm.bbclass b/classes/sota_am65xx-evm.bbclass new file mode 100644 index 0000000..088b85c --- /dev/null +++ b/classes/sota_am65xx-evm.bbclass | |||
@@ -0,0 +1,10 @@ | |||
1 | IMAGE_BOOT_FILES = "tiboot3.bin tispl.bin sysfw.itb u-boot.img uEnv.txt" | ||
2 | |||
3 | KERNEL_IMAGETYPES = "fitImage" | ||
4 | OPTEEFLAVOR = "" | ||
5 | |||
6 | OSTREE_KERNEL = "fitImage" | ||
7 | OSTREE_KERNEL_ARGS = "ramdisk_size=8192 root=/dev/ram0 rw rootfstype=ext4 ostree_root=/dev/mmcblk1p2 module_blacklist=sa2ul" | ||
8 | |||
9 | UBOOT_ENTRYPOINT = "0x80080000" | ||
10 | UBOOT_LOADADDRESS = "0x80080000" | ||