Banana BPI-R3 need add new OEM spi nand flash

Hi,Everybody! I need add a new OEM spi nand flash for R3, and I have imitated the driver new files that already exist in the project, and made sure that the compilation is normal and compiled, but spi nand flash don’t work from boot, help pls.

  1. NG not startup log: image

2.Flash JPG:

[图片]

  1. BOOT mode: SW1 set 4bit: 1’b 0’b 1’b '1b(SPI NAND)

  2. Complie PC use Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-57-generic x86_64);

  3. Project use “origin git.openwrt.org Git - openwrt/openwrt.git/summary (fetch) ”;

  4. SPI NAND Flash programer use DediProg StarProg-F;

  5. SPI NAND Flash use file"openwrt-mediatek-filogic-bananapi_bpi-r3-snand-preloader.bin" burning is OK;

8.Add Files from prject: /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-5.15.79/drivers/mtd/nand/spi/xtxtech.c add /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-5.15.79/drivers/mtd/nand/spi/Makefile modify /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-5.15.79/drivers/mtd/nand/spi/core.c modify /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-5.15.79/include/linux/mtd/spinand.h modify

/home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7986_bananapi_bpi-r3-snand/u-boot-2022.10/drivers/mtd/nand/spi/xtxtech.c add /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7986_bananapi_bpi-r3-snand/u-boot-2022.10/drivers/mtd/nand/spi/Makefile modify /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7986_bananapi_bpi-r3-snand/u-boot-2022.10/drivers/mtd/nand/spi/core.c modify /home/verbena/elijah/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7986_bananapi_bpi-r3-snand/u-boot-2022.10/include/linux/mtd/spinand.h modify

Both parameter page & ID reading failed.
Does this XT26601CWSIG NAND device support parameter page?

If so, you may check signals through LA first? (ensure that ID reading command is triggered)

Thanks, am checked LA is OK by Acute TL3234B+. And am re-checked XT26G01C Flash spec. that not support parameter,I missed this performance before, like this is reason why it cannot be started now,got it.

Will XT26G01C support parameter page in the future?

XT26G01C is MP(Mass production),hard to change now,And PP will be added in a new project,samples are expected in March 2023.