pinki JEDEC ID: 0x20:0xba:0x18
after querey
SF: Detected M25P32 - 16MB with block size 65536, block count 256, total 16777216 bytes
16384 KiB M25P32 - 16MB at 0:0 is now current device
spi_nor_flash_read: from 0x00100000, len 4194304
spi_nor_flash_read: from 0x00500000, len 9437184
## Booting kernel from Legacy Image at 80800000 ...
Bad Header Checksum
ERROR: can't get kernel image!
The checksum passes if I boot from the RAM with this environment:
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x80800000
rd_loadaddr=0x81000000
netdev=eth0
ethprime=FEC0
uboot=u-boot.bin
kernel=uImage
bootargs_base=setenv bootargs console=ttymxc0,115200
bootargs_spi=setenv bootargs ${bootargs} root=/dev/ram rw ramdisk_size=49000
bootcmd=run bootcmd_spi
ethact=FEC0
bootcmd_spi=run bootargs_base bootargs_spi
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttymxc0,115200 root=/dev/ram rw ramdisk_size=49000
But the board never stops executing(like in an infinite loop) these lines:
Running the BLE_UPLD_MGR
starting pid 2122, tty '': '/etc/rc.d/rc_gpu.S'
ble_upld before while case
server url :
upload_interval : 0
server url is
Host Name = --length = 0
Unable to open file
server url :
upload_interval : 0
server url is
Host Name = --length = 0
Unable to open file
server url :
upload_interval : 0
server url is
Hi,
I´d like to clarify, is u-boot executing with not issues? is the problem you have just related to the kernel booting process?
How are you flasing the SPI NOR? Do you just want to fetch the Kernel from SPI NOR? or even U-boot is located in SPI-NOR?
Regards,
Alejandro
Hi Alejandro,
Thank you for replying.
No issues with u-boot. At the u-boot prompt, I do the "tftp" and then "sf write" (to write into flash). After rebooting, I get the kernel checksum error.
I think the issue is with SPI NOR because everything works fine when I boot the kernel and fs from RAM.
Can you share all the commands you are using?