cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
265 Views
Registered: ‎04-20-2019

ZC702 Uboot changes to load image.ub from SPI flash

Hi All,

I am able to flash BOOT.BIN to ZC702 spi flash using sf commands. But when I power cycle the board and try to boot it, its hanging at uboot command prompt. I believe U-boot needs some command defined to load image.ub from spi flash to RAM and execute kernel.

Can you tell me SPI address to load image.ub?
Also where should I load image.ub from flash using sf read to RAM? RAM location to read image.ub from spi flash.


Regards,

Shyam

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
247 Views
Registered: ‎06-27-2017

Hi @shyamthella ,

Could you please share your bootargs of ZC702 board?

you can use printenv command 

e.g. printenv bootargs

You need to add boot args as shown below if you are uisng jffs2 filesystem,

earlycon clk_ignore_unused root=mtd:jffs2 rw rootfstype=jffs2

if you are using normal initramfs then,

earlycon console=ttyPS0,115200 clk_ignore_unused

 

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos