Just to add more detail, I have confirmed this is definitely a U-Boot issue. The same larger firmware will flash to NAND just fine using sysupgrade from an existing NAND-booted system. Took a quick poke through the uboot source code just for curiosity and notice that the config/ar750s-ar71xx_generic.mk has:

MAKEOPTS_FLASH_SIZE=16
MAKEOPTS_ATH_DUAL_FLASH=1
MAKEOPTS_ATH_SPI_NAND=1
MAKEOPTS_ATH_SPI_NAND_CS_GPIO=6

I’m not very familiar with how uboot compiles, but since the only “size” ever stated is 16, I wonder if uboot is saying that is maximum for either NOR or NAND. Not sure how you would go about fixing it, but that seems like hard confirmation of what I’ve run into and noted above…

Hopefully it’s something easily fixed!

2 Likes