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.

AM1705 U-boot issue

Other Parts Discussed in Thread: AM1705

Hi,

I am currently using AM1705 custom board.

Our ARM UBL is working properly & it is passing control to U-boot properly.

Our custom board contains SPI Flash of Macronix MX25L25635E.

I have made changes in U-boot to support MX25L25635E.

But now the issue is that it is able to read from SPI flash, but when I use saveenv command to save data in SPI flash then it is display that it is saving data in SPI flash.

But after system reset when I do "printenv" command then it displays only the default commands not the newly added parameter which were saved using "saveenv" command.

 

Can anybody guide me in solving above issue.

Waiting for you reply.

Thanks & Regards

Jitendra

 

 

 

 

 

 

 

 

  • Hi,

    I am currently using U-BOOT provided in " DaVinci-PSP-SDK-03.20.00.12 " for my custom AM1705 board.

    U-BOOT SPI FLASH issue:

    As giiven in above post my U-BOOT is not able to store data in  Macronix MX25L25635E SPI flash, But it shows that it is erasing & writing data in SPI flash during "saveenv" command.

     

    U-BOOT EMAC issue:

    The RMII configuration & drivers of OMAPL137 & AM1705 are same, therefore U-BOOT EMAC code should work for AM1705 board, but u-boot is not able to ping any device connected in the network. I have already set the IPaddr & ethernet address through u-boot command.

    Can anyone provide solution for above issue

    Thanks & Regards

    Jitendra

     

     

  • Hi,

     

    MORE OBSERVATION for EMAC issue:

    When I added debug statements in U-BOOT then my ping started working. Now from my AM1705 board I am able to ping the PC connected on the network.

    But from the PC when I am pinging the AM1705 baord then I am not able to receive any response.

    Can anyone help me in solving the above issue.

     

    Thanks & Regards

     

     

  • Hello Jitendra,

     

    It is expected. From the PC you cannot ping the board when it is in the u-boot prompt. Only when Linux kernel has booted can you ping.

     

    The other way is working so that is a good progress.

     

    Best Regards

    Feroz

  • Jitendra Jagasia said:

    Our custom board contains SPI Flash of Macronix MX25L25635E.

    I have made changes in U-boot to support MX25L25635E.

    But now the issue is that it is able to read from SPI flash, but when I use saveenv command to save data in SPI flash then it is display that it is saving data in SPI flash.

    But after system reset when I do "printenv" command then it displays only the default commands not the newly added parameter which were saved using "saveenv" command.

     

    Jitendra,

     

    Could you attach your u-boot prompt initialization and dump it to this thread?

    I have a looming suspicion that you are getting the "*** Warning - bad CRC, using default environment." string.

    Another thing to check is that you aren't trying to overwrite parameters that are included elsewhere in your configuration file. If you are trying to do that, you need to define

    CONFIG_ENV_OVERWRITE in your config file.

    Finally, if all else fails, include your include/configs/board.h file so we can sanity check your parameters.

     

    Thanks,

     

    Andrew