cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lim.junhyoung
Adventurer
Adventurer
514 Views
Registered: ‎03-27-2019

how to write u-boot env to nand flash.

I'm using petalinux 19.2.
after i write BOOT.BIN to nand flash, if i boot my board.
u-boot displays this message "Loading Environment from NAND... *** Warning - bad CRC, using default environment".
after i enter u-boot mode. i'd had input saveenv command. and reboot.
The message disappears.


my nand partition is below.

image.png

this captured when i'd done nand dump 0x ~ 0xA.

1. after nand write BOOT.BIN to nandflash and first bootting.

 - Nothing is written where the u-boot env should be.

image.png

2. in u-boot mode, input saveenv command, and reboot.

image.png

how to write u-boot env to nand flash when i write BOOT.BIN to nand flash?

 

0 Kudos
0 Replies