odroidn2: point the SPI NOR instructions at the odroid-n2-spi overlay

The comment named a -spi.dtb that the build does not produce and kept a
TODO for an overlay that already exists. Use overlays=odroid-n2-spi and
armbian-install instead.
This commit is contained in:
Igor Velkov 2026-11-26 07:40:49 +02:00 • committed by Igor
parent 402fd60182
commit c869c65124

View file

@ -21,9 +21,8 @@ BOOTBRANCH_BOARD="tag:v2026.07"
BOOTPATCHDIR="v2026.07"
# Enable writing u-boot to SPI on the N2(+) for current and edge
# @TODO: replace this with an overlay, after meson64 overlay revamp
# To enable the SPI NOR the -spi .dtb is required, because eMMC shares a pin with SPI on the N2(+). To use it:
# fdtfile=amlogic/meson-g12b-odroid-n2-plus-spi.dtb # in armbianEnv.txt and reboot, then run nand-sata-install
# eMMC shares pins with the SPI NOR on the N2(+); the odroid-n2-spi overlay drops eMMC to 4 bits and enables the SPI NOR:
# overlays=odroid-n2-spi # in armbianEnv.txt and reboot, then run armbian-install
UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin.sd.bin:u-boot.bin u-boot-dtb.img u-boot.bin:u-boot-spi.bin"
function write_uboot_platform_mtd() {
# Pin 7 of the flash (RESET# or HOLD# while QE=0) shares eMMC D3 on the N2(+), so eMMC traffic in 4-bit