This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

uboot reset problem

hi:

 I meet a problem when I add yaffs2 support in uboot of DM8168.

  What I do:

 I use the orignal u-boot-04.00.00.10. It work very well first in my DM8168 EVM board. I add "#define CONFIG_YAFFS2" in ti8168_evm.h for support yaffs2.   I complied the new uboot and  write the new uboot to my EVM board. I found it's reset is abnormal. It will fail to reset about once if I press the reset button 30 times.  If I recover the orignal uboot, it work well.  So I feel very surprise. I connect the EVM board with CCS, I found there are uboot code in address 0x80700000 . It means the uboot had been move to the  DDR. But the uboot run continue error. The difference between the new and orignal uboot is the "#define CONFIG_YAFFS2".

 How can I resolve this problem ? Thank you !

Alan Tong

  • Alan,

    We have not been using/testing with YAFFS2 as internally we only used JFFS2 as far as i know.

    Anyway other than just changing the "#define CONFIG_YAFFS2" in u-boot is the rest of the NAND flash erased or do you have a yaffs2 file system on it?

    Also when it does not reset properly and you connect with CCS and see it is hung, can you figure out (using the map file) where exactly it is stuck?

     

    Benoit

     

    P.S. If this response helps answer your question please mark this post as verified - Thanks!