All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip][PATCH] nanopc-t4: add
@ 2026-11-24  5:22 Deepak Das
  2026-11-24  9:50 ` [yocto-patches] " Quentin Schulz
  2026-11-25 11:26 ` [meta-rockchip][PATCH v2] " Deepak Das
  0 siblings, 2 replies; 5+ messages in thread
From: Deepak Das @ 2026-11-24  5:22 UTC (permalink / raw)
  To: yocto-patches; +Cc: twoerner

The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
16GB onboard eMMC.

Documentation page:
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4

Specs:
- Rockchip RK3399
- Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
- Arm Mali T860MP4 GPU
- 4GB LPDDR3 RAM
- 16GB eMMC
- 1x Micro SD Card Slot
- 1x M.2 M-Key (4-lane PCIe 2.1)
- 1x Gigabit Ethernet
- 802.11ac WiFi and Bluetooth
- 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
- 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
- 40-pin GPIO header
- Debug UART at 1500000 baud
- 12V DC input

Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
device tree (rk3399-nanopc-t4.dts) are used.

Tested on scarthgap by building core-image-base and booting the wic
image from the SD card to a login prompt. On master, u-boot and
linux-yocto build successfully for this machine.

AI-Generated: Claude Code, Opus 5.5
Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
---
 README                                  |  1 +
 conf/machine/nanopc-t4.conf             | 11 +++++++++++
 recipes-kernel/linux/linux-rockchip.inc |  1 +
 3 files changed, 13 insertions(+)
 create mode 100644 conf/machine/nanopc-t4.conf

diff --git a/README b/README
index c2697d1..3d8c568 100644
--- a/README
+++ b/README
@@ -25,6 +25,7 @@ Status of supported boards:
 			vyasa-rk3288
 
 		64-bit:
+			nanopc-t4
 			nanopc-t6
 			nanopi-m4
 			nanopi-m4-2gb
diff --git a/conf/machine/nanopc-t4.conf b/conf/machine/nanopc-t4.conf
new file mode 100644
index 0000000..20c47d3
--- /dev/null
+++ b/conf/machine/nanopc-t4.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: NanoPC-T4
+#@DESCRIPTION: NanoPC-T4 RK3399 board from FriendlyElec, 4GB LPDDR3
+#https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
+
+require conf/machine/include/rk3399.inc
+
+MACHINE_FEATURES += "usbhost serial"
+
+KERNEL_DEVICETREE = "rockchip/rk3399-nanopc-t4.dtb"
+UBOOT_MACHINE = "nanopc-t4-rk3399_defconfig"
diff --git a/recipes-kernel/linux/linux-rockchip.inc b/recipes-kernel/linux/linux-rockchip.inc
index b87cb7a..7ca12b1 100644
--- a/recipes-kernel/linux/linux-rockchip.inc
+++ b/recipes-kernel/linux/linux-rockchip.inc
@@ -10,6 +10,7 @@ COMPATIBLE_MACHINE:tinker-board-s = "tinker-board-s"
 COMPATIBLE_MACHINE:vyasa-rk3288 = "vyasa-rk3288"
 
 # 64-bit devices
+COMPATIBLE_MACHINE:nanopc-t4 = "nanopc-t4"
 COMPATIBLE_MACHINE:nanopc-t6 = "nanopc-t6"
 COMPATIBLE_MACHINE:nanopi-m4 = "nanopi-m4"
 COMPATIBLE_MACHINE:nanopi-m4-2gb = "nanopi-m4-2gb"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [yocto-patches] [meta-rockchip][PATCH] nanopc-t4: add
  2026-11-24  5:22 [meta-rockchip][PATCH] nanopc-t4: add Deepak Das
@ 2026-11-24  9:50 ` Quentin Schulz
  2026-11-25 11:46   ` Deepak Das
  2026-11-25 11:26 ` [meta-rockchip][PATCH v2] " Deepak Das
  1 sibling, 1 reply; 5+ messages in thread
From: Quentin Schulz @ 2026-11-24  9:50 UTC (permalink / raw)
  To: yocto-patches; +Cc: twoerner

Hi Deepak,

On 11/24/26 6:22 AM, Deepak Das via yocto-patches wrote:
> [You don't often get email from deepakdas.linux=gmail.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
> 16GB onboard eMMC.
> 
> Documentation page:
> https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
> 
> Specs:
> - Rockchip RK3399
> - Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
> - Arm Mali T860MP4 GPU
> - 4GB LPDDR3 RAM
> - 16GB eMMC
> - 1x Micro SD Card Slot
> - 1x M.2 M-Key (4-lane PCIe 2.1)
> - 1x Gigabit Ethernet
> - 802.11ac WiFi and Bluetooth
> - 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
> - 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
> - 40-pin GPIO header
> - Debug UART at 1500000 baud
> - 12V DC input
> 
> Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
> device tree (rk3399-nanopc-t4.dts) are used.
> 
> Tested on scarthgap by building core-image-base and booting the wic
> image from the SD card to a login prompt. On master, u-boot and
> linux-yocto build successfully for this machine.
> 
> AI-Generated: Claude Code, Opus 5.5
> Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
> ---
>   README                                  |  1 +
>   conf/machine/nanopc-t4.conf             | 11 +++++++++++
>   recipes-kernel/linux/linux-rockchip.inc |  1 +
>   3 files changed, 13 insertions(+)
>   create mode 100644 conf/machine/nanopc-t4.conf
> 
> diff --git a/README b/README
> index c2697d1..3d8c568 100644
> --- a/README
> +++ b/README
> @@ -25,6 +25,7 @@ Status of supported boards:
>                          vyasa-rk3288
> 
>                  64-bit:
> +                       nanopc-t4
>                          nanopc-t6
>                          nanopi-m4
>                          nanopi-m4-2gb
> diff --git a/conf/machine/nanopc-t4.conf b/conf/machine/nanopc-t4.conf
> new file mode 100644
> index 0000000..20c47d3
> --- /dev/null
> +++ b/conf/machine/nanopc-t4.conf
> @@ -0,0 +1,11 @@
> +#@TYPE: Machine
> +#@NAME: NanoPC-T4
> +#@DESCRIPTION: NanoPC-T4 RK3399 board from FriendlyElec, 4GB LPDDR3
> +#https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
> +
> +require conf/machine/include/rk3399.inc
> +
> +MACHINE_FEATURES += "usbhost serial"
> +
> +KERNEL_DEVICETREE = "rockchip/rk3399-nanopc-t4.dtb"
> +UBOOT_MACHINE = "nanopc-t4-rk3399_defconfig"

question: any reason for not including

MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"

I'm assuming this would help in case the default Linux kernel config has 
modules that would be of interest for the board?

Otherwise, looks good to me.

Cheers,
Quentin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-rockchip][PATCH v2] nanopc-t4: add
  2026-11-24  5:22 [meta-rockchip][PATCH] nanopc-t4: add Deepak Das
  2026-11-24  9:50 ` [yocto-patches] " Quentin Schulz
@ 2026-11-25 11:26 ` Deepak Das
  2026-11-25 17:24   ` Quentin Schulz
  1 sibling, 1 reply; 5+ messages in thread
From: Deepak Das @ 2026-11-25 11:26 UTC (permalink / raw)
  To: yocto-patches; +Cc: quentin.schulz, twoerner, Deepak Das

The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
16GB onboard eMMC.

Documentation page:
https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4

Specs:
- Rockchip RK3399
- Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
- Arm Mali T860MP4 GPU
- 4GB LPDDR3 RAM
- 16GB eMMC
- 1x Micro SD Card Slot
- 1x M.2 M-Key (4-lane PCIe 2.1)
- 1x Gigabit Ethernet
- 802.11ac WiFi and Bluetooth
- 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
- 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
- 40-pin GPIO header
- Debug UART at 1500000 baud
- 12V DC input

Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
device tree (rk3399-nanopc-t4.dts) are used.

Tested by building core-image-base on master and booting the wic
image from the SD card to a login prompt.

AI-Generated: Claude Code, Opus 5.5
Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
---
Changes in v2:
- add MACHINE_EXTRA_RRECOMMENDS += "kernel-modules", like the other
  RK3399 machines; Ethernet (dwmac-rk), PCIe and brcmfmac are modules
  in defconfig (Quentin)
- re-tested: core-image-base built and booted on master

 README                                  |  1 +
 conf/machine/nanopc-t4.conf             | 12 ++++++++++++
 recipes-kernel/linux/linux-rockchip.inc |  1 +
 3 files changed, 14 insertions(+)
 create mode 100644 conf/machine/nanopc-t4.conf

diff --git a/README b/README
index c2697d1..3d8c568 100644
--- a/README
+++ b/README
@@ -25,6 +25,7 @@ Status of supported boards:
 			vyasa-rk3288
 
 		64-bit:
+			nanopc-t4
 			nanopc-t6
 			nanopi-m4
 			nanopi-m4-2gb
diff --git a/conf/machine/nanopc-t4.conf b/conf/machine/nanopc-t4.conf
new file mode 100644
index 0000000..5560a6e
--- /dev/null
+++ b/conf/machine/nanopc-t4.conf
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: NanoPC-T4
+#@DESCRIPTION: NanoPC-T4 RK3399 board from FriendlyElec, 4GB LPDDR3
+#https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
+
+require conf/machine/include/rk3399.inc
+
+MACHINE_FEATURES += "usbhost serial"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+KERNEL_DEVICETREE = "rockchip/rk3399-nanopc-t4.dtb"
+UBOOT_MACHINE = "nanopc-t4-rk3399_defconfig"
diff --git a/recipes-kernel/linux/linux-rockchip.inc b/recipes-kernel/linux/linux-rockchip.inc
index b87cb7a..7ca12b1 100644
--- a/recipes-kernel/linux/linux-rockchip.inc
+++ b/recipes-kernel/linux/linux-rockchip.inc
@@ -10,6 +10,7 @@ COMPATIBLE_MACHINE:tinker-board-s = "tinker-board-s"
 COMPATIBLE_MACHINE:vyasa-rk3288 = "vyasa-rk3288"
 
 # 64-bit devices
+COMPATIBLE_MACHINE:nanopc-t4 = "nanopc-t4"
 COMPATIBLE_MACHINE:nanopc-t6 = "nanopc-t6"
 COMPATIBLE_MACHINE:nanopi-m4 = "nanopi-m4"
 COMPATIBLE_MACHINE:nanopi-m4-2gb = "nanopi-m4-2gb"
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [yocto-patches] [meta-rockchip][PATCH] nanopc-t4: add
  2026-11-24  9:50 ` [yocto-patches] " Quentin Schulz
@ 2026-11-25 11:46   ` Deepak Das
  0 siblings, 0 replies; 5+ messages in thread
From: Deepak Das @ 2026-11-25 11:46 UTC (permalink / raw)
  To: yocto-patches; +Cc: twoerner

On Tue, 24 Nov 2026 at 15:21, Quentin Schulz via yocto-patches
<quentin.schulz=cherry.de@lists.yoctoproject.org> wrote:
>
> Hi Deepak,
>
> On 11/24/26 6:22 AM, Deepak Das via yocto-patches wrote:
> > [You don't often get email from deepakdas.linux=gmail.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> >
> > The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
> > 16GB onboard eMMC.
> >
> > Documentation page:
> > https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
> >
> > Specs:
> > - Rockchip RK3399
> > - Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
> > - Arm Mali T860MP4 GPU
> > - 4GB LPDDR3 RAM
> > - 16GB eMMC
> > - 1x Micro SD Card Slot
> > - 1x M.2 M-Key (4-lane PCIe 2.1)
> > - 1x Gigabit Ethernet
> > - 802.11ac WiFi and Bluetooth
> > - 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
> > - 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
> > - 40-pin GPIO header
> > - Debug UART at 1500000 baud
> > - 12V DC input
> >
> > Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
> > device tree (rk3399-nanopc-t4.dts) are used.
> >
> > Tested on scarthgap by building core-image-base and booting the wic
> > image from the SD card to a login prompt. On master, u-boot and
> > linux-yocto build successfully for this machine.
> >
> > AI-Generated: Claude Code, Opus 5.5
> > Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
> > ---
> >   README                                  |  1 +
> >   conf/machine/nanopc-t4.conf             | 11 +++++++++++
> >   recipes-kernel/linux/linux-rockchip.inc |  1 +
> >   3 files changed, 13 insertions(+)
> >   create mode 100644 conf/machine/nanopc-t4.conf
> >
> > diff --git a/README b/README
> > index c2697d1..3d8c568 100644
> > --- a/README
> > +++ b/README
> > @@ -25,6 +25,7 @@ Status of supported boards:
> >                          vyasa-rk3288
> >
> >                  64-bit:
> > +                       nanopc-t4
> >                          nanopc-t6
> >                          nanopi-m4
> >                          nanopi-m4-2gb
> > diff --git a/conf/machine/nanopc-t4.conf b/conf/machine/nanopc-t4.conf
> > new file mode 100644
> > index 0000000..20c47d3
> > --- /dev/null
> > +++ b/conf/machine/nanopc-t4.conf
> > @@ -0,0 +1,11 @@
> > +#@TYPE: Machine
> > +#@NAME: NanoPC-T4
> > +#@DESCRIPTION: NanoPC-T4 RK3399 board from FriendlyElec, 4GB LPDDR3
> > +#https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
> > +
> > +require conf/machine/include/rk3399.inc
> > +
> > +MACHINE_FEATURES += "usbhost serial"
> > +
> > +KERNEL_DEVICETREE = "rockchip/rk3399-nanopc-t4.dtb"
> > +UBOOT_MACHINE = "nanopc-t4-rk3399_defconfig"
>
> question: any reason for not including
>
> MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
>
> I'm assuming this would help in case the default Linux kernel config has
> modules that would be of interest for the board?
>
> Otherwise, looks good to me.
>
> Cheers,
> Quentin
>
Hi Quentin,

Thanks for the review. I based the machine on nanopi-m4, which is the
one RK3399 machine without it. I have a nanopi-m4 but it is broken at
the moment so could not verify why it is omitted there. Sent v2 with
MACHINE_EXTRA_RRECOMMENDS += "kernel-modules", built and boot-tested
on master and it shows all the modules in lsmod.

Thanks & regards,
Deepak
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#5501): https://lists.yoctoproject.org/g/yocto-patches/message/5501
> Mute This Topic: https://lists.yoctoproject.org/mt/122424943/10762485
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/15596334/10762485/93709656/xyzzy [deepakdas.linux@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-rockchip][PATCH v2] nanopc-t4: add
  2026-11-25 11:26 ` [meta-rockchip][PATCH v2] " Deepak Das
@ 2026-11-25 17:24   ` Quentin Schulz
  0 siblings, 0 replies; 5+ messages in thread
From: Quentin Schulz @ 2026-11-25 17:24 UTC (permalink / raw)
  To: Deepak Das, yocto-patches; +Cc: twoerner

Hi Deepak,

On 11/25/26 12:26 PM, Deepak Das wrote:
> The FriendlyElec NanoPC-T4 is an RK3399 SBC with 4GB LPDDR3 RAM and
> 16GB onboard eMMC.
> 
> Documentation page:
> https://wiki.friendlyelec.com/wiki/index.php/NanoPC-T4
> 
> Specs:
> - Rockchip RK3399
> - Dual-Core Arm Cortex-A72 + Quad-Core Arm Cortex-A53
> - Arm Mali T860MP4 GPU
> - 4GB LPDDR3 RAM
> - 16GB eMMC
> - 1x Micro SD Card Slot
> - 1x M.2 M-Key (4-lane PCIe 2.1)
> - 1x Gigabit Ethernet
> - 802.11ac WiFi and Bluetooth
> - 1x USB3 Type-C, 2x USB3 HOST, 1x USB2 HOST
> - 1x HDMI 2.0, 1x eDP, 1x MIPI DSI, 2x MIPI CSI
> - 40-pin GPIO header
> - Debug UART at 1500000 baud
> - 12V DC input
> 
> Upstream U-Boot (nanopc-t4-rk3399_defconfig) and the upstream kernel
> device tree (rk3399-nanopc-t4.dts) are used.
> 
> Tested by building core-image-base on master and booting the wic
> image from the SD card to a login prompt.
> 
> AI-Generated: Claude Code, Opus 5.5
> Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-25 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  5:22 [meta-rockchip][PATCH] nanopc-t4: add Deepak Das
2026-11-24  9:50 ` [yocto-patches] " Quentin Schulz
2026-11-25 11:46   ` Deepak Das
2026-11-25 11:26 ` [meta-rockchip][PATCH v2] " Deepak Das
2026-11-25 17:24   ` Quentin Schulz

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.