[PATCH v2 0/4] add serial nand support for bananapi bpi-r64

Oskari Lemmela oskari at lemmela.net
Sat Apr 10 18:16:04 BST 2021


Some BananaPi BPI-R64 boards have W25N01GV 128MB serial NAND
attached to SPI bus. Add support for installing OpenWRT to it.

Serial NAND bootloader files are added to SD card image.
SD card bootmenu entry provides easy install process.

Same sysupgrade image is used to upgrade all variants.

Changes after v1:
 - rebase to current master
 - reorder ubi volumes. fit partition is always with index 2
 - rename bl2 and fip images
 - remove default 32MB value for overlay ubi partition
 - make nand upgrade as default one
 - fix indentations

Oskari Lemmela (4):
  mediatek: bpi-r64: use separate partition for emmc bootloader
  mediatek: fix writing bananapi bpi-r64 env
  mediatek: mt7622: add ubi support for bananapi bpi-r64
  mediatek: mt7622: add snand support for bananapi bpi-r64

 package/boot/uboot-envtools/files/mediatek    |  19 +-
 package/boot/uboot-mediatek/Makefile          |  12 +
 .../403-add-bananapi_bpi-r64_defconfigs.patch | 278 ++++++++++++++++--
 .../404-add-bananapi-bpi-r64-snand.patch      |  34 +++
 target/linux/mediatek/image/mt7622.mk         |  19 +-
 .../mt7622/base-files/lib/upgrade/platform.sh |  34 ++-
 .../115-dts-bpi64-add-snand-support.patch     |  57 ++++
 .../115-dts-bpi64-add-snand-support.patch     |  57 ++++
 8 files changed, 466 insertions(+), 44 deletions(-)
 create mode 100644 package/boot/uboot-mediatek/patches/404-add-bananapi-bpi-r64-snand.patch
 create mode 100644 target/linux/mediatek/patches-5.10/115-dts-bpi64-add-snand-support.patch
 create mode 100644 target/linux/mediatek/patches-5.4/115-dts-bpi64-add-snand-support.patch

-- 
2.25.1




More information about the openwrt-devel mailing list