[Core3506] Initial Flash to SPI NAND Flash Fails

  • Based on the currently collected SPI-Flash compatibility list (available at https://lo01.g77k.com/aeb/docs/cn/Commo ... 240326.pdf), most models do not support the MX35LF4G24AD. The driver for the RK3506 is quite similar to that of the RK3576, so the test results of the MX35LF4GE4AD-Z4I on the RK3576 can be used as a reference.
    We have tested the Core3506 with an SPI-NAND from the compatibility list(W25N02KVZEIR) and confirmed that it can boot successfully. You may first try flashing the miniloader.bin onto the board (without miniloader.bin, advanced functions may fail to execute), and then run "Get Selected Storage" to check whether the device is properly recognized.
  • Thank you! I have changed the flash to a yet different one and that did the trick. Now the flashing succeeds, SPINAND is selected as the default storage, but the device is not booting from the flash and still boots into MASKROM mode. I have checked and SARADC_IN0_BOOT, SARADC_IN1_RECOVERY have 1.8 volts on them, so this should not be the cause. Just to be sure - have I overlooked something else to change apart from BR2_TARGET_ROOTFS_UBI*, RK_UBI_*, RK_FLASH_SIZE parameters?

    As this could be caused by unsupported flash, I will buy W25N02KVZEIR and see if it helps.
    FlashInfo.png
  • Under normal conditions, flashing the firmware image to the Luckfox Lyra Zero should allow the device to boot. Even if there are some device tree misconfigurations, it would typically still reach the kernel loading stage rather than getting stuck in Maskrom mode. It is recommended to check the debug serial output during the flashing process and confirm that the NOR flash pins have pull‑up resistors.