All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip][PATCH v7 0/6] kmeta BSP for nanopi-m4
@ 2021-05-17 12:19 Yann Dirson
  2021-05-17 12:19 ` [meta-rockchip][PATCH v7 1/6] linux-yocto: add an initial NanoPi-M4 BSP Yann Dirson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Yann Dirson @ 2021-05-17 12:19 UTC (permalink / raw)
  To: yocto; +Cc: twoerner, Yann Dirson

From: Yann Dirson <yann@blade-group.com>

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

-- 
2.30.2


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

end of thread, other threads:[~2021-05-17 12:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 12:19 [meta-rockchip][PATCH v7 0/6] kmeta BSP for nanopi-m4 Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 1/6] linux-yocto: add an initial NanoPi-M4 BSP Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 2/6] linux-yocto: add workaround to disable VOPL usage on HDMI Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 3/6] linux-firmware: import variables file for ap4356s firmware from armbian Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 4/6] NanoPi-M4: activate Wifi support Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 5/6] WIP Import rkwifibt-firmware from vendor's meta-rockchip Yann Dirson
2021-05-17 12:19 ` [meta-rockchip][PATCH v7 6/6] WIP NanoPi-M4: activate BT support Yann Dirson

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.