I rebuilt sdk 2.0 for the ls1043ardb without any change. I noticed that the NOR flash was not recognized as follows:
[ 0.232235] scsi host0: ahci-qoriq
[ 0.235739] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 30
[ 0.245089] of-flash 60000000.nor: do_map_probe() failed for type cfi_probe
[ 0.252104] of-flash 60000000.nor: do_map_probe() failed
Executing the following command got:
root@ls1043ardb:~# cat /proc/mtd
dev: size erasesize name
mtd0: 20000000 00020000 "7e800000.flash"
mtd1: 01000000 00010000 "spi0.0"
the entire startup log is attached!
Do anyone know how to fix this problem?
thanks,
Hoa
Original Attachment has been moved to: NOR_failed.txt.zip
Usually u-boot provides NOR Flash configuration. Linux uses configuration from u-boot.
Is there problem for using NOR Flash under u-boot on your board.
U-boot configuration file is located in the u-boot source folder: /include/configs. This folder contains the .h files for the different boards.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------