qspi nor flashing issue

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

Ganesh
Posts: 4
Joined: Wed Nov 20, 2019 4:24 pm

qspi nor flashing issue

Fri Nov 29, 2019 4:22 pm

platfrom: sama5d27
kernel version:4.9.109.
nor flash:mx25l25645g

following below commands to flash the images to nor using sam-ba
Flashing bootstrape to NOR:

it is booting if i dont save any environment at bootloader level. if i add anything then save the environment.. board is not booting stopping at that stage.. check the below log..

CPU: SAMA5D27 512M bits DDR2 SDRAM
Crystal frequency: 24 MHz
CPU clock : 492 MHz
Master clock : 164 MHz
DRAM: 64 MiB
MMC: sdio-host@a0000000: 0, sdio-host@b0000000: 1
Loading Environment from SPI Flash... SF: Detected mx25l25645g with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Failed (-5)
In: serial@f8020000
Out: serial@f8020000
Err: serial@f8020000
Net: eth0: ethernet@f8008000
=> setenv bootcmd 'run bootargs; sf probe; sf read 0x22000000 0x90000 0x500000; sf read 0x21000000 0x80000 0x10000; bootz 0x22000000 - 0x21000000'
=> rin bootcmd
Unknown command 'rin' - try 'help'
=> run bootcmd
Unknown command 'console=ttyS0,115200' - try 'help'
SF: Detected mx25l25645g with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x90000, size 0x500000
SF: 5242880 bytes @ 0x90000 Read: OK
device 0 offset 0x80000, size 0x10000
SF: 65536 bytes @ 0x80000 Read: OK
## Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000
Loading Device Tree to 23b6a000, end 23b757ed ... OK

Starting kernel ...
.......................................................

Please tell us a solution to over come this issue....

below are the partitions in the uboot and kernel.. same..
blue_z
Location: USA
Posts: 2005
Joined: Thu Apr 19, 2007 10:15 pm

Re: qspi nor flashing issue

Wed Dec 04, 2019 12:13 am

Ganesh wrote: following below commands to flash the images to nor using sam-ba
Flashing bootstrape to NOR:
...
below are the partitions in the uboot and kernel.. same..
The information you claim to provide is not viewable.
You need to proofread what you post.

Ganesh wrote: it is booting if i dont save any environment at bootloader level. if i add anything then save the environment.. board is not booting stopping at that stage..
Please tell us a solution to over come this issue....
Then simply don't "add anything" that breaks booting.
What is in the default environment?

Regards

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest