From: Fabio Estevam <festevam@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] configs/imx7d-sdb: Add extlinux.conf support
Date: Sun, 11 Jul 2021 17:19:53 -0300 [thread overview]
Message-ID: <20210711201954.2142662-2-festevam@gmail.com> (raw)
In-Reply-To: <20210711201954.2142662-1-festevam@gmail.com>
imx7d-sdb has been converted to use disto boot in U-Boot.
Add extlinux.conf support so that the board can boot correctly.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
.../imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf | 4 ++++
configs/imx7d-sdb_defconfig | 2 ++
2 files changed, 6 insertions(+)
create mode 100644 board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf
diff --git a/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf b/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf
new file mode 100644
index 000000000000..d538b5d6432f
--- /dev/null
+++ b/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf
@@ -0,0 +1,4 @@
+Label imx7d-sabresd-buildroot
+ kernel /boot/zImage
+ devicetree /boot/imx7d-sdb.dtb
+ append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate}
diff --git a/configs/imx7d-sdb_defconfig b/configs/imx7d-sdb_defconfig
index 1a3494b4af44..0c34f6e6dfea 100644
--- a/configs/imx7d-sdb_defconfig
+++ b/configs/imx7d-sdb_defconfig
@@ -17,6 +17,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
# U-Boot
BR2_TARGET_UBOOT=y
@@ -26,6 +27,7 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y
# Filesystem
+BR2_ROOTFS_OVERLAY="board/freescale/imx7dsdb/rootfs_overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
--
2.25.1
next prev parent reply other threads:[~2021-07-11 20:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 20:19 [Buildroot] [PATCH 1/3] imx/post-image.sh: Support BR2_LINUX_KERNEL_INSTALL_TARGET=y for non-SPL Fabio Estevam
2021-07-11 20:19 ` Fabio Estevam [this message]
2021-07-12 16:35 ` [Buildroot] [PATCH 2/3] configs/imx7d-sdb: Add extlinux.conf support Pierre-Jean Texier
2021-07-11 20:19 ` [Buildroot] [PATCH 3/3] configs/imx7d-sdb: Bump U-Boot and kernel versions Fabio Estevam
2021-07-12 16:36 ` Pierre-Jean Texier
2021-07-12 16:33 ` [Buildroot] [PATCH 1/3] imx/post-image.sh: Support BR2_LINUX_KERNEL_INSTALL_TARGET=y for non-SPL Pierre-Jean Texier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210711201954.2142662-2-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.