From: Trevor Woerner <twoerner@gmail.com>
To: yocto@lists.yoctoproject.org
Subject: [meta-rockchip][PATCH] nanopi-m4b: add
Date: Mon, 2 Oct 2023 20:10:38 -0400 [thread overview]
Message-ID: <20231003001038.33709-1-twoerner@gmail.com> (raw)
NanoPi M4B is a RK3399-based (dual-core A72, quad-core A53 with NEON) board
in the same form factor as the RPi B3+ (including compatible connectors) with
onboard 2.4/5.0 dual-band WiFi + Bluetooth 5.0 with USB type-C power from
FriendlyElec.
https://www.friendlyelec.com/index.php?route=product/product&product_id=275
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
README | 1 +
conf/machine/nanopi-m4b.conf | 11 +++++++++++
recipes-kernel/linux/linux-yocto_%.bbappend | 1 +
3 files changed, 13 insertions(+)
create mode 100644 conf/machine/nanopi-m4b.conf
diff --git a/README b/README
index 81044748880a..bcf1e0bba361 100644
--- a/README
+++ b/README
@@ -32,6 +32,7 @@ Status of supported boards:
nanopi-r4s
rock-5b
nanopi-r2s
+ nanopi-m4b
builds:
marsboard-rk3066
radxarock
diff --git a/conf/machine/nanopi-m4b.conf b/conf/machine/nanopi-m4b.conf
new file mode 100644
index 000000000000..35cd8f68e82e
--- /dev/null
+++ b/conf/machine/nanopi-m4b.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: NanoPi M4B
+#@DESCRIPTION: NanoPi M4B RK3399-based board which has the same form factor as the RPi B3+.
+#https://www.friendlyelec.com/index.php?route=product/product&product_id=275
+
+require conf/machine/include/rk3399.inc
+
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+KERNEL_DEVICETREE = "rockchip/rk3399-nanopi-m4b.dtb"
+UBOOT_MACHINE = "nanopi-m4b-rk3399_defconfig"
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
index d627a063a2d0..7da92dbab508 100644
--- a/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -14,6 +14,7 @@ COMPATIBLE_MACHINE:rock64 = "rock64"
COMPATIBLE_MACHINE:rock-pi-e = "rock-pi-e"
COMPATIBLE_MACHINE:nanopi-r4s = "nanopi-r4s"
COMPATIBLE_MACHINE:nanopi-r2s = "nanopi-r2s"
+COMPATIBLE_MACHINE:nanopi-m4b = "nanopi-m4b"
SRC_URI:append = " file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta"
SRC_URI:append:nanopi-r4s = " file://nanopi-r4s.scc"
--
2.41.0.327.gaa9166bcc0ba
reply other threads:[~2023-10-03 0:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20231003001038.33709-1-twoerner@gmail.com \
--to=twoerner@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/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.