Xavier-industral module spi1 nor-flash

1 My board using nor-flash Fram, spi1
jetpack4.6.4 sdk
spi1 pinmux:
spi1@nvidia-xavier:/home/nvidia# cat /sys/kernel/debug/tegra_pinctrl_reg | grep spi1
Bank: 0 Reg: 0x0243b030 Val: 0x00023440 → qspi1_io3_pd3
Bank: 0 Reg: 0x0243b038 Val: 0x00023440 → qspi1_io2_pd2
Bank: 0 Reg: 0x0243b040 Val: 0x00023440 → qspi1_io1_pd1
Bank: 0 Reg: 0x0243b048 Val: 0x00023440 → qspi1_io0_pd0
Bank: 0 Reg: 0x0243b050 Val: 0x00023460 → qspi1_sck_pc6
Bank: 0 Reg: 0x0243b058 Val: 0x00023400 → qspi1_cs_n_pc7
Bank: 0 Reg: 0x0243d010 Val: 0x00001400 → spi1_cs0_pz6
Bank: 0 Reg: 0x0243d020 Val: 0x00001450 → spi1_miso_pz4
Bank: 0 Reg: 0x0243d040 Val: 0x00001400 → spi1_sck_pz3
Bank: 0 Reg: 0x0243d050 Val: 0x00001400 → spi1_cs1_pz7
Bank: 0 Reg: 0x0243d058 Val: 0x00001400 → spi1_mosi_pz5
图片
2.kernel and dtb modify:

  1. sudo ./flash.sh -r jetson-agx-xavier-industrial mmcblk0p1 flash module, can’t see mtd device
    (nor-flash ) root@nvidia-xavier:/home/nvidia# cat /proc/mtd
    dev: size erasesize name
    mtd0: 04000000 00040000 “Whole_flash0”
    mtd1: 02000000 00001000 “Secure_ROM”

pls nv help me

Hi chengcheng2015,

Are you using the devkit or custom board for AGX Xavier Industrial module?

It seems you are porting a nor-flash module(from FUJITSU) controlled by SPI interface.
We don’t have this module to verify locally.
Have you also asked the help from your vendor?

Or is there any error showing in dmesg during boot up?

tks KevinFFF
this custom board for XavierI module
xavier-i-spi1.log (41.9 KB)

[    1.686823] m25p80 spi0.2: unrecognized JEDEC id bytes: ff, ff, ff

Please check your m25p80 driver and debug the above error.

Have you confirmed your nor-flash module connected correctly?
(eg. which pin you used for CS? why you configure it as fram@2 rather than fram@0 or fram@1?)

tk kevinFFF notice. fram is ok