diff options
author | Jeremy Grosser <jeremy@synack.me> | 2018-10-18 13:35:23 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-10-18 22:51:45 +0000 |
commit | e3e20300d40e0d3577d0d25af151c9d4b69cf44b (patch) | |
tree | 2cb2d6c1c9d1b8a4ff011fbb4e1a5284604fbfef /conf | |
parent | fab8b9c0331533cfdf02a390bd1d2bcfce557c95 (diff) | |
download | meta-ti-e3e20300d40e0d3577d0d25af151c9d4b69cf44b.tar.gz |
lego-ev3: Add support for LEGO Mindstorms EV3 (AM1808)
Thanks for the feedback! Updated patch below. Changes:
- Change SERIAL_CONSOLE to new SERIAL_CONSOLES format.
- Move SPL_BINARY variable into lego-ev3 machine config
- Check for KERNEL_DEVICETREE_BUNDLE before uImage manipulation.
- Fix line wrapping errors introduced by MUA
Signed-off-by: Jeremy Grosser <jeremy@synack.me>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/lego-ev3.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/conf/machine/lego-ev3.conf b/conf/machine/lego-ev3.conf new file mode 100644 index 00000000..5c425221 --- /dev/null +++ b/conf/machine/lego-ev3.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: LEGO Mindstorms EV3 | ||
3 | #@DESCRIPTION: Machine configuration for the LEGO Mindstorms EV3 | ||
4 | |||
5 | require conf/machine/include/davinci.inc | ||
6 | require conf/machine/include/omapl138.inc | ||
7 | |||
8 | UBOOT_MACHINE = "legoev3_config" | ||
9 | UBOOT_SUFFIX = "bin" | ||
10 | UBOOT_ENTRYPOINT = "0xC0008000" | ||
11 | UBOOT_LOADADDRESS = "0xC0008000" | ||
12 | SPL_BINARY = "" | ||
13 | |||
14 | KERNEL_DEVICETREE = "da850-lego-ev3.dtb" | ||
15 | KERNEL_IMAGETYPES = "uImage" | ||
16 | KERNEL_DEVICETREE_BUNDLE = "1" | ||
17 | SERIAL_CONSOLES = "115200;ttyS1" | ||
18 | |||
19 | IMAGE_FSTYPES += " wic" | ||
20 | WKS_FILE = "sdimage-bootpart.wks" | ||
21 | WIC_CREATE_EXTRA_ARGS += " --no-fstab-update" | ||
22 | IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPES}" | ||