AnsweredAssumed Answered

U-boot flash in NAND

Question asked by hajimohammed on Apr 19, 2017
Latest reply on May 30, 2017 by Yuri Muhin

Hi,

 

 Am using Linux-3.14.38 kernel, i wanted to flash u-boot.imx file to NAND using linux command. When flashing from MFG tool, it's working fine and doing it manually using the below commands to NAND. It flashes successfully to the NAND, when boot its not booting

 

$ flash_erase /dev/mtd0 0 0

$ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 u-boot.imx

 

Have taken the nanddump log for MFG tool and the manual command  NAND write.

 

nandump for MFG TOOL                      

0x00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000010: 00 00 00 00 00 00 6f  fb   ff   ff  46 43 42 20 00 00
0x00000020: 00 01 50 3c 19 06 00 00 00 00 00 08 00 00 40 08
0x00000030: 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000040: 00 00 04 00 00 00 00 02 00 00 00 02 00 00 04 00
0x00000050: 00 00 0a 00 00 00 03 00 00 00 00 00 00 00 00 00

 

nanddump for Command Line:

0x00000000: 00 00 6f fb ff ff 46 43 42 20 00 00 00 01 50 3c
0x00000010: 19 06 00 00 00 00 00 08 00 04 40 08 00 00 40 00
0x00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00
0x00000030: 00 00 00 02 00 00 00 02 00 00 04 00 00 00 0a 00
0x00000040: 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 

There is difference in values when we compare both. you can see the difference in the nanddump (6f value is flashed at the 0x00000010 address while doing through MFG tool but it got flashed at 0x00000000. location when we do manually)

What could be the reason for this issue. Any suggestions will be helpful

Outcomes