[PATCH v2 0/3] board: rockchip: Add Hardkernel ODROID-M1

Jonas Karlman jonas at kwiboo.se
Wed Jul 12 19:07:31 CEST 2023


This series add support for Hardkernel ODROID-M1, a single board
computer with a RK3568B2 SoC.

First patch fixes a build issue in the dwc_ahci driver.

Second patch fixes a build warning in the ini command.

Third patch import the device tree from linux v6.4 and add a defconfig
for Hardkernel ODROID-M1.

Following was tested on a ODROID-M1 8GB v1.0 2022-06-13:
- SD-card boot
- eMMC boot
- SPI Flash boot
- PCIe/NVMe/AHCI
- SATA port
- USB host

Changes in v2:
- Add new patch to fix build warning in the ini command
- Enable CMD_MTD, CMD_INI and CMD_CRAMFS to closer
  match downstream legacy U-Boot
- Do not override spi0 alias, use SF_DEFAULT_BUS=4
- Collect r-b and t-b tags

With the new options added in v2 it is possible to load downstream
petitboot from SD-card using following commands:

  load mmc 1:1 $fdt_addr_r rk3568-odroid-m1.dtb
  load mmc 1:1 $cramfsaddr ODROIDBIOS.BIN
  cramfsload $scriptaddr boot.scr
  source $scriptaddr

This series have loose dependencies on the following series:
- rockchip: Fix PCIe and NVMe support on RK3568 [1]
- rockchip: rk3568: Use dwc3-generic driver [2]
- rockchip: rk3568: Fix alloc space exhausted in SPL [3]
- rockchip: rk3568: Device Tree updates [4]
- rockchip: rk35xx: Fix SPI Flash alias [5]

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=355486
[2] https://patchwork.ozlabs.org/project/uboot/list/?series=357200
[3] https://patchwork.ozlabs.org/project/uboot/list/?series=361999
[4] https://patchwork.ozlabs.org/project/uboot/list/?series=362030
[5] https://patchwork.ozlabs.org/project/uboot/list/?series=363527

Jonas Karlman (3):
  ata: dwc_ahci: Fix support for other platforms
  cmd: ini: Fix build warning
  board: rockchip: Add Hardkernel ODROID-M1

 arch/arm/dts/Makefile                     |   1 +
 arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi |  42 ++
 arch/arm/dts/rk3568-odroid-m1.dts         | 744 ++++++++++++++++++++++
 arch/arm/mach-rockchip/rk3568/Kconfig     |   6 +
 board/hardkernel/odroid_m1/Kconfig        |  15 +
 board/hardkernel/odroid_m1/MAINTAINERS    |   8 +
 board/hardkernel/odroid_m1/Makefile       |   3 +
 board/hardkernel/odroid_m1/odroid_m1.c    |   1 +
 cmd/ini.c                                 |   2 +-
 configs/odroid-m1-rk3568_defconfig        | 113 ++++
 doc/board/rockchip/rockchip.rst           |   1 +
 drivers/ata/dwc_ahci.c                    |   4 +
 include/configs/odroid_m1.h               |  11 +
 13 files changed, 950 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi
 create mode 100644 arch/arm/dts/rk3568-odroid-m1.dts
 create mode 100644 board/hardkernel/odroid_m1/Kconfig
 create mode 100644 board/hardkernel/odroid_m1/MAINTAINERS
 create mode 100644 board/hardkernel/odroid_m1/Makefile
 create mode 100644 board/hardkernel/odroid_m1/odroid_m1.c
 create mode 100644 configs/odroid-m1-rk3568_defconfig
 create mode 100644 include/configs/odroid_m1.h

-- 
2.41.0



More information about the U-Boot mailing list