Skip to content

kmeta BSP for nanopi-m4

Yann Dirson yocto 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 0 repliesNew
  2. v66 patches 0 repliesSuperseded
  3. v52 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v43 patches5 repliesApplied
v33 patches1 replySuperseded
v24 patches1 replySuperseded
v13 patches0 repliesSuperseded

Changes in v7 from the cover letter

- use "KMETA_EXTERNAL_BSP" and "nopatch" in the BSP definition to get the patches properly applied, as discussed in
https://lists.yoctoproject.org/g/yocto/topic/82769152
- remove WIP tag from "add workaround to disable VOPL usage on HDMI" thanks to this

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6linux-yocto: add an initial NanoPi-M4 BSPrecipes-kernel/linux/files/bsp/rockchip/nanopi-m4-standard.scc recipes-kernel/linux/files/bsp/rockchip/nanopi-m4-tiny.scc recipes-kernel/linux/files/bsp/rockchip/nanopi-m4.cfg +6 more+169 -00 replies
2/6linux-yocto: add workaround to disable VOPL usage on HDMIrecipes-kernel/linux/files/bsp/rockchip/hdmi-no-vopl.patch recipes-kernel/linux/files/bsp/rockchip/rockchip.scc+67 -00 replies
3/6linux-firmware: import variables file for ap4356s firmware from armbianrecipes-kernel/linux-firmware/files/brcmfmac4356-sdio.txt recipes-kernel/linux-firmware/linux-firmware_%.bbappend+139 -00 replies
4/6NanoPi-M4: activate Wifi supportconf/machine/include/nanopi-m4.inc recipes-kernel/linux/files/bsp/rockchip/nanopi-m4.cfg+9 -10 replies
5/6WIP Import rkwifibt-firmware from vendor's meta-rockchiprecipes-kernel/rkwifibt-firmware/files/LICENSE.rockchip recipes-kernel/rkwifibt-firmware/rkwifibt-firmware.bb+151 -00 replies
6/6WIP NanoPi-M4: activate BT supportconf/machine/include/nanopi-m4.inc recipes-kernel/linux/files/bsp/rockchip/nanopi-m4.cfg+11 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [meta-rockchip][PATCH v7 0/6] kmeta BSP for nanopi-m4

From: Yann Dirson <[email protected]>

With this version the most board features work (Wifi requires recent poky master for a linux-firmware fix), except for the audio jack and possibly Bluetooth support (the WIP patches are mostly here for discussion).

I'm not especially happy with the BT support:
- it uses the rkwifibt repo because I don't have any other BT firmware for this chip
- I was not able to get it to work on the board I have (even with vendor image with legacy kernel), so I may have a problem with this particular piece of hardware. At least it can do discover and pairing, maybe wider testing will be useful.

Changes in v7:
- use "KMETA_EXTERNAL_BSP" and "nopatch" in the BSP definition to get the patches properly applied, as discussed in
https://lists.yoctoproject.org/g/yocto/topic/82769152
- remove WIP tag from "add workaround to disable VOPL usage on HDMI" thanks to this

Changes in v6:
- support for Wifi and BT

Changes in v5:
- removed AP6356S-related config options, will come later with proper wifi/bt support
- removed CONFIG_SND_SOC_RK3288_HDMI_ANALOG which turns out not to be needed for HDMI audio
- new patch to get HDMI to work

Changes in v4:
- install our bsp files in bsp/rockchip/ rather than directly in bsp/
- also add "serial" to MACHINE_FEATURES

Changes in v3:
- relocate the bsp files into files/ so we don't have to add linux-yocto/ to FILESEXTRAPATHS for all other kernels
- removed the "don't force KCONFIG_MODE to alldefconfig" (not needed finally, and causing interferences in default setup)
- add "usbhost" to MACHINE_FEATURES to enable lsusb and friends
- better hardware coverage (though still no wifi/bt/audio, and buggy hdmi)

Yann Dirson (6):
linux-yocto: add an initial NanoPi-M4 BSP
linux-yocto: add workaround to disable VOPL usage on HDMI
linux-firmware: import variables file for ap4356s firmware from
armbian
NanoPi-M4: activate Wifi support
WIP Import rkwifibt-firmware from vendor's meta-rockchip WIP NanoPi-M4: activate BT support

 conf/machine/include/nanopi-m4.inc            |   9 +-
 .../files/brcmfmac4356-sdio.txt               | 126 ++++++++++++++++++
 .../linux-firmware/linux-firmware_%.bbappend  |  13 ++
 .../files/bsp/rockchip/hdmi-no-vopl.patch     |  65 +++++++++
 .../files/bsp/rockchip/nanopi-m4-standard.scc |   8 ++
 .../files/bsp/rockchip/nanopi-m4-tiny.scc     |   8 ++
 .../linux/files/bsp/rockchip/nanopi-m4.cfg    |  22 +++
 .../linux/files/bsp/rockchip/nanopi-m4.scc    |   5 +
 .../linux/files/bsp/rockchip/rk3399.cfg       |  70 ++++++++++
 .../linux/files/bsp/rockchip/rk3399.scc       |   5 +
 .../linux/files/bsp/rockchip/rockchip.cfg     |  50 +++++++
 .../linux/files/bsp/rockchip/rockchip.scc     |   8 ++
 recipes-kernel/linux/linux-yocto%.bbappend    |   6 +
 .../rkwifibt-firmware/files/LICENSE.rockchip  |  41 ++++++
 .../rkwifibt-firmware/rkwifibt-firmware.bb    | 110 +++++++++++++++
 15 files changed, 545 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/linux-firmware/files/brcmfmac4356-sdio.txt
 create mode 100644 recipes-kernel/linux-firmware/linux-firmware_%.bbappend
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/hdmi-no-vopl.patch
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/nanopi-m4-standard.scc
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/nanopi-m4-tiny.scc
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/nanopi-m4.cfg
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/nanopi-m4.scc
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/rk3399.cfg
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/rk3399.scc
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/rockchip.cfg
 create mode 100644 recipes-kernel/linux/files/bsp/rockchip/rockchip.scc
 create mode 100644 recipes-kernel/rkwifibt-firmware/files/LICENSE.rockchip
 create mode 100644 recipes-kernel/rkwifibt-firmware/rkwifibt-firmware.bb
Signature · 1 line
2.30.2