How to read NAND on uboot?

Hi. I want to read NAND memory from the uboot prompt.

In the past, when working on other platforms, I used the nand read command to read data from SDRAM, but it doesn’t work well on R64.

I ran the command below.

BPI-R64> nand info

Device 0: nand0, sector size 1806848 KiB Page size 7 b OOB size 64 b Erase size 1850212352 b BPI-R64> nand read 0x4007FF28 0x00 0x1000

NAND read: device 0 offset 0x0, size 0x1000 undefined instructions pc: [<00200004>] lr: [<7ef43c08>] sp:7cf1bc90 ip:00000000 fp:00000000 r10: 00000000 r9: 7cf1bf40 r8: 00000000 r7:7cf1bce0 r6: 00000000 r5:7ef7a090 r4:00000000 r3:00000000 r2:00000020 r1:00000000 r0:00000000 Flags: nZcv IRQs off FIQs off Mode SVC_32 Resetting CPU…

Please advise to me. Thank you.

It would help if you can tell where your U-Boot version comes from and which version it is.

Use code block when you paste some log…

```
Some log output
```