* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
[not found] <1879B0158049C4B6.1423420@lists.yoctoproject.org>
@ 2025-11-20 10:34 ` Michael Opdenacker
2025-11-20 10:40 ` Quentin Schulz
0 siblings, 1 reply; 8+ messages in thread
From: Michael Opdenacker @ 2025-11-20 10:34 UTC (permalink / raw)
To: yocto-patches; +Cc: michael.opdenacker
Oops, it seems b4 messed up the subject line.
It should contain "[meta-rockchip][PATCH]"
Investigating...
--
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 10:34 ` [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add Michael Opdenacker
@ 2025-11-20 10:40 ` Quentin Schulz
2025-11-20 11:03 ` Michael Opdenacker
2025-11-20 16:38 ` Konstantin Ryabitsev
0 siblings, 2 replies; 8+ messages in thread
From: Quentin Schulz @ 2025-11-20 10:40 UTC (permalink / raw)
To: yocto-patches; +Cc: michael.opdenacker
Hi Michael,
On 11/20/25 11:34 AM, Michael Opdenacker via lists.yoctoproject.org wrote:
> Oops, it seems b4 messed up the subject line.
> It should contain "[meta-rockchip][PATCH]"
>
All my patches sent by b4 have the same pattern as yours. Glancing at
b4's code, I believe this is how it's intended to work, c.f.
get_rebuilt_subject() in src/b4/__init__.py
Cheers,
Quentin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 10:40 ` Quentin Schulz
@ 2025-11-20 11:03 ` Michael Opdenacker
2025-11-20 16:38 ` Konstantin Ryabitsev
1 sibling, 0 replies; 8+ messages in thread
From: Michael Opdenacker @ 2025-11-20 11:03 UTC (permalink / raw)
To: yocto-patches; +Cc: michael.opdenacker
Hi Quentin,
On 11/20/25 11:40, Quentin Schulz via lists.yoctoproject.org wrote:
> Hi Michael,
>
> On 11/20/25 11:34 AM, Michael Opdenacker via lists.yoctoproject.org
> wrote:
>> Oops, it seems b4 messed up the subject line.
>> It should contain "[meta-rockchip][PATCH]"
>>
>
> All my patches sent by b4 have the same pattern as yours. Glancing at
> b4's code, I believe this is how it's intended to work, c.f.
> get_rebuilt_subject() in src/b4/__init__.py
Good to know. So, it's not too bad.
Thanks for your reply!
Cheers
Michael.
--
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 10:40 ` Quentin Schulz
2025-11-20 11:03 ` Michael Opdenacker
@ 2025-11-20 16:38 ` Konstantin Ryabitsev
2025-11-20 16:54 ` Michael Opdenacker
1 sibling, 1 reply; 8+ messages in thread
From: Konstantin Ryabitsev @ 2025-11-20 16:38 UTC (permalink / raw)
To: Quentin Schulz; +Cc: yocto-patches, michael.opdenacker
On Thu, Nov 20, 2025 at 11:40:05AM +0100, Quentin Schulz wrote:
> On 11/20/25 11:34 AM, Michael Opdenacker via lists.yoctoproject.org wrote:
> > Oops, it seems b4 messed up the subject line.
> > It should contain "[meta-rockchip][PATCH]"
> >
>
> All my patches sent by b4 have the same pattern as yours. Glancing at b4's
> code, I believe this is how it's intended to work, c.f.
> get_rebuilt_subject() in src/b4/__init__.py
I just accepted some patches into current master that should deal with
[presubject] the way Yocto lists expect that to happen. Please try them out if
you can.
-K
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 16:38 ` Konstantin Ryabitsev
@ 2025-11-20 16:54 ` Michael Opdenacker
2025-11-20 17:04 ` Quentin Schulz
0 siblings, 1 reply; 8+ messages in thread
From: Michael Opdenacker @ 2025-11-20 16:54 UTC (permalink / raw)
To: Konstantin Ryabitsev; +Cc: michael.opdenacker, yocto-patches, Quentin Schulz
Hi Konstantin
On 11/20/25 17:38, Konstantin Ryabitsev wrote:
> On Thu, Nov 20, 2025 at 11:40:05AM +0100, Quentin Schulz wrote:
>> On 11/20/25 11:34 AM, Michael Opdenacker via lists.yoctoproject.org wrote:
>>> Oops, it seems b4 messed up the subject line.
>>> It should contain "[meta-rockchip][PATCH]"
>>>
>> All my patches sent by b4 have the same pattern as yours. Glancing at b4's
>> code, I believe this is how it's intended to work, c.f.
>> get_rebuilt_subject() in src/b4/__init__.py
> I just accepted some patches into current master that should deal with
> [presubject] the way Yocto lists expect that to happen. Please try them out if
> you can.
Do you mean meta-rockchip? I believe I have the latest changes and I'm
using Quentin's .b4-config file from last year...
Cheers
Michael.
--
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 16:54 ` Michael Opdenacker
@ 2025-11-20 17:04 ` Quentin Schulz
0 siblings, 0 replies; 8+ messages in thread
From: Quentin Schulz @ 2025-11-20 17:04 UTC (permalink / raw)
To: yocto-patches, Konstantin Ryabitsev; +Cc: michael.opdenacker
On 11/20/25 5:54 PM, Michael Opdenacker via lists.yoctoproject.org wrote:
> Hi Konstantin
>
> On 11/20/25 17:38, Konstantin Ryabitsev wrote:
>> On Thu, Nov 20, 2025 at 11:40:05AM +0100, Quentin Schulz wrote:
>>> On 11/20/25 11:34 AM, Michael Opdenacker via lists.yoctoproject.org
>>> wrote:
>>>> Oops, it seems b4 messed up the subject line.
>>>> It should contain "[meta-rockchip][PATCH]"
>>>>
>>> All my patches sent by b4 have the same pattern as yours. Glancing at
>>> b4's
>>> code, I believe this is how it's intended to work, c.f.
>>> get_rebuilt_subject() in src/b4/__init__.py
>> I just accepted some patches into current master that should deal with
>> [presubject] the way Yocto lists expect that to happen. Please try
>> them out if
>> you can.
>
> Do you mean meta-rockchip? I believe I have the latest changes and I'm
> using Quentin's .b4-config file from last year...
https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=d7232f5db2e4
Konstantin meant b4 added support for this in master.
I don't know if we can have send-prefixes as a fallback to
send-presubject in .b4-config for versions of b4 that predates the
support of send-presubject.
Essentially:
b4 < current master
send-prefixes
b4 >= current master
send-presubject
I (a contributor) would rather have a slightly "wrong" subject with
combined PATCH and prefixes than having no prefix/presubject at all.
Cheers,
Quentin
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH meta-rockchip] orangepi-3b: add
@ 2025-11-20 10:25 Michael Opdenacker
2025-11-20 10:35 ` [yocto-patches] " Quentin Schulz
0 siblings, 1 reply; 8+ messages in thread
From: Michael Opdenacker @ 2025-11-20 10:25 UTC (permalink / raw)
To: yocto-patches; +Cc: Michael Opdenacker
The Orange Pi 3B board is a Raspberry Pi sized single board computer
based on the Rockchip RK3566:
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html
Tech specs:
- Rockchip RK3566 (4x Arm Cortex-A55 @ 1.6GHz)
- Arm Mali-G52-2EE (OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.1, OpenCL 2.0)
- LPDDR4 RAM (2/4/8 GB)
- µSD
- SPI flash (16/32 MB)
- optional eMMC pluggable module (16/32/64/128/256 GB)
- Wi-Fi5 + Bluetooth 5.0, BLE
- 1x USB 2.0 Type A OTG, 2x USB 2.0 Type A HOST, 1x USB 3.0 Type A Host
- 1x HDMI (up to 4K @ 60fps)
- 1x MIPI CSI LCD port
- 1x MIPI CSI camera port
- colour-coded 40-pin GPIO (uart, spi, i2c, pwm, gpio)
- Gigabit Ethernet port
- optional M.2 M-KEY PCIe port
- 89 x 56 mm
Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
---
README | 1 +
conf/machine/orangepi-3b.conf | 11 +++++++++++
recipes-kernel/linux/linux-yocto_%.bbappend | 1 +
3 files changed, 13 insertions(+)
diff --git a/README b/README
index f55f750..6a13428 100644
--- a/README
+++ b/README
@@ -31,6 +31,7 @@ Status of supported boards:
nanopi-m4b
nanopi-r2s
nanopi-r4s
+ orangepi-3b
orangepi-5-plus
radxa-zero-3e
radxa-zero-3w
diff --git a/conf/machine/orangepi-3b.conf b/conf/machine/orangepi-3b.conf
new file mode 100644
index 0000000..eadf458
--- /dev/null
+++ b/conf/machine/orangepi-3b.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: Orange Pi 3B v2.1
+#@DESCRIPTION: 3th generation SBC designed by Kunlong Co.,Limited.
+#http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html
+
+require conf/machine/include/rk3566.inc
+
+KERNEL_DEVICETREE = "rockchip/rk3566-orangepi-3b-v2.1.dtb"
+MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
+
+UBOOT_MACHINE = "orangepi-3b-rk3566_defconfig"
diff --git a/recipes-kernel/linux/linux-yocto_%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
index da1b172..2dba3d7 100644
--- a/recipes-kernel/linux/linux-yocto_%.bbappend
+++ b/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -16,6 +16,7 @@ COMPATIBLE_MACHINE:nanopi-m4-2gb = "nanopi-m4-2gb"
COMPATIBLE_MACHINE:nanopi-m4b = "nanopi-m4b"
COMPATIBLE_MACHINE:nanopi-r2s = "nanopi-r2s"
COMPATIBLE_MACHINE:nanopi-r4s = "nanopi-r4s"
+COMPATIBLE_MACHINE:orangepi-3b = "orangepi-3b"
COMPATIBLE_MACHINE:orangepi-5-plus = "orangepi-5-plus"
COMPATIBLE_MACHINE:radxa-zero-3 = "radxa-zero-3"
COMPATIBLE_MACHINE:roc-rk3308-cc = "roc-rk3308-cc"
---
base-commit: f32c5da2c502c43c9dd3663a6b3cbfa37539d197
change-id: 20251120-orangepi-3b-3211c19b8db7
Best regards,
--
Michael Opdenacker <michael.opdenacker@rootcommit.com>
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 10:25 Michael Opdenacker
@ 2025-11-20 10:35 ` Quentin Schulz
2025-11-20 11:57 ` Michael Opdenacker
0 siblings, 1 reply; 8+ messages in thread
From: Quentin Schulz @ 2025-11-20 10:35 UTC (permalink / raw)
To: yocto-patches; +Cc: Michael Opdenacker
Hi Michael,
On 11/20/25 11:25 AM, Michael Opdenacker via lists.yoctoproject.org wrote:
> The Orange Pi 3B board is a Raspberry Pi sized single board computer
> based on the Rockchip RK3566:
>
> http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html
>
> Tech specs:
> - Rockchip RK3566 (4x Arm Cortex-A55 @ 1.6GHz)
> - Arm Mali-G52-2EE (OpenGL ES 1.1/2.0/3.0/3.1/3.2, Vulkan 1.1, OpenCL 2.0)
> - LPDDR4 RAM (2/4/8 GB)
> - µSD
> - SPI flash (16/32 MB)
> - optional eMMC pluggable module (16/32/64/128/256 GB)
> - Wi-Fi5 + Bluetooth 5.0, BLE
> - 1x USB 2.0 Type A OTG, 2x USB 2.0 Type A HOST, 1x USB 3.0 Type A Host
> - 1x HDMI (up to 4K @ 60fps)
> - 1x MIPI CSI LCD port
> - 1x MIPI CSI camera port
> - colour-coded 40-pin GPIO (uart, spi, i2c, pwm, gpio)
> - Gigabit Ethernet port
> - optional M.2 M-KEY PCIe port
> - 89 x 56 mm
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> ---
> README | 1 +
> conf/machine/orangepi-3b.conf | 11 +++++++++++
> recipes-kernel/linux/linux-yocto_%.bbappend | 1 +
> 3 files changed, 13 insertions(+)
>
> diff --git a/README b/README
> index f55f750..6a13428 100644
> --- a/README
> +++ b/README
> @@ -31,6 +31,7 @@ Status of supported boards:
> nanopi-m4b
> nanopi-r2s
> nanopi-r4s
> + orangepi-3b
> orangepi-5-plus
> radxa-zero-3e
> radxa-zero-3w
> diff --git a/conf/machine/orangepi-3b.conf b/conf/machine/orangepi-3b.conf
> new file mode 100644
> index 0000000..eadf458
> --- /dev/null
> +++ b/conf/machine/orangepi-3b.conf
> @@ -0,0 +1,11 @@
> +#@TYPE: Machine
> +#@NAME: Orange Pi 3B v2.1
> +#@DESCRIPTION: 3th generation SBC designed by Kunlong Co.,Limited.
Not sure the board identifier number really is synonym of generation. In
any case, should be "3rd" I guess :)
> +#http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html
> +
> +require conf/machine/include/rk3566.inc
> +
> +KERNEL_DEVICETREE = "rockchip/rk3566-orangepi-3b-v2.1.dtb"
There's also another device tree in the kernel tree for an earlier version:
rockchip/rk3566-orangepi-3b-v1.1.dtb
I think we should probably also have it in KERNEL_DEVICETREE.
Looking at the U-Boot code, the bootloader should be able to load the
proper DTB based on some runtime detection.
In which case, the NAME part at the top should simply say Orange Pi 3B.
Otherwise looks good to me!
Cheers,
Quentin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add
2025-11-20 10:35 ` [yocto-patches] " Quentin Schulz
@ 2025-11-20 11:57 ` Michael Opdenacker
0 siblings, 0 replies; 8+ messages in thread
From: Michael Opdenacker @ 2025-11-20 11:57 UTC (permalink / raw)
To: yocto-patches; +Cc: michael.opdenacker
Hi Quentin
Thanks a lot for the review!
On 11/20/25 11:35, Quentin Schulz via lists.yoctoproject.org wrote:
> Hi Michael,
>
> On 11/20/25 11:25 AM, Michael Opdenacker via lists.yoctoproject.org
> wrote:
>>
>> +++ b/conf/machine/orangepi-3b.conf
>> @@ -0,0 +1,11 @@
>> +#@TYPE: Machine
>> +#@NAME: Orange Pi 3B v2.1
>> +#@DESCRIPTION: 3th generation SBC designed by Kunlong Co.,Limited.
>
> Not sure the board identifier number really is synonym of generation.
> In any case, should be "3rd" I guess :)
Oops, indeed!
I just imitated the machine file for OrangePi 5 plus, which claimed it
was 5th generation.
I'll remove this mention of a generation which is indeed dubious.
>
>> +#http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-3B.html
>>
>> +
>> +require conf/machine/include/rk3566.inc
>> +
>> +KERNEL_DEVICETREE = "rockchip/rk3566-orangepi-3b-v2.1.dtb"
>
> There's also another device tree in the kernel tree for an earlier
> version:
>
> rockchip/rk3566-orangepi-3b-v1.1.dtb
>
> I think we should probably also have it in KERNEL_DEVICETREE.
>
> Looking at the U-Boot code, the bootloader should be able to load the
> proper DTB based on some runtime detection.
Very cool, done!
This looks like the best way to handle this.
>
> In which case, the NAME part at the top should simply say Orange Pi 3B.
>
Indeed, fixed too.
>
> Otherwise looks good to me!
Thanks again.
A V2 is coming soon once I'm done testing.
Cheers
Michael.
--
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-11-20 17:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1879B0158049C4B6.1423420@lists.yoctoproject.org>
2025-11-20 10:34 ` [yocto-patches] [PATCH meta-rockchip] orangepi-3b: add Michael Opdenacker
2025-11-20 10:40 ` Quentin Schulz
2025-11-20 11:03 ` Michael Opdenacker
2025-11-20 16:38 ` Konstantin Ryabitsev
2025-11-20 16:54 ` Michael Opdenacker
2025-11-20 17:04 ` Quentin Schulz
2025-11-20 10:25 Michael Opdenacker
2025-11-20 10:35 ` [yocto-patches] " Quentin Schulz
2025-11-20 11:57 ` Michael Opdenacker
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.