spi_flash_read issue

dvo dan.vo.ict at jvn.edu.vn
Thu Feb 20 11:10:26 CET 2020


Hello,

I encounter an issue with spi_flash_read function. I'd copy uboot from SPI
Flash to DDRAM. If I use the function once. It works OK. If I use the
function is more than 1 time, then it doesn't work properly.
Here is the procedure of what I did:

uboot version: U-Boot 2019.07-00013-g6107815c9c
uboot size: 244288 Bytes

case 1:
- Copy uboot to 0x81000000 -> Jump to uboot at 0x81000000 OK

case 2:
- Copy uboot to 0x81000000 
- Copy uboot to 0x83000000
-> Jump to uboot at 0x83000000 NOK. Only able to load some parts of uboot
and then hang.

I hexdump and do memory comparison between 0x81000000 and 0x83000000. The
memory is different from i=78078.

Do I need to do something in between 2 copies to solve the issue?
Has anyone experienced this issue?

Thanks for any help or suggestion.
Dan



--
Sent from: http://u-boot.10912.n7.nabble.com/


More information about the U-Boot mailing list