[PATCH 0/2] Add support for pine H64 model B board

Daniel Wagenknecht dwagenk at mailbox.org
Tue Dec 14 21:59:30 CET 2021


The following patches add support for the pine H64 model B board. The hardware
differences to the pine H64 model A are minimal and not relevant for u-boot.
The differences in the device-tree are relevant in linux though and the u-boot
preset for the 'fdtfile' variable is infered from CONFIG_DEFAULT_DEVICE_TREE,
thus using the model A's u-boot on a model B board works, but selects the wrong
device tree when booting linux.

An alternative approach would be to implement logic like used by e.g. the
rockchip based boards to use the separate CONFIG_DEFAULT_FDT_FILE option to
preset the 'fdtfile' variable and thus select the device-tree to use when
booting linux. I prefer the 'copy dts file from linux kernel src' approach as
implemented in these patches.

If necessary I'd also be willing to be the maintainer for this board.
But since I'm (not yet) paying attention to u-boot development progress I'd
prefer if this would be maintained together with the pine H64 model A board.

CC Icenowy Zheng as the pine H64 model A maintianer.

Daniel Wagenknecht (2):
  sunxi: dts: add device-tree for pine H64 model B
  sunxi: configs: add defconfig for pine H64 model B

 arch/arm/dts/Makefile                       |  1 +
 arch/arm/dts/sun50i-h6-pine-h64-model-b.dts | 51 +++++++++++++++++++++
 configs/pine_h64-model-b_defconfig          | 21 +++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 arch/arm/dts/sun50i-h6-pine-h64-model-b.dts
 create mode 100644 configs/pine_h64-model-b_defconfig

-- 
2.31.1



More information about the U-Boot mailing list