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.

Linux Boot



Dear All,

I'm using TMS320C6474 Mezzanine EVM Board. I loaded a TI Linux Kernel on it.

But, when I reset the board I lose the kernel Image existing on the non-volatile memory.

First, I need to know if my card contains a non volatile-memory that I can use to strore the linux kernel and how to do this.

Secondly, I want to configure a bootloader, stored on the non-volatile memory,  to load the kernel after a board reset.

I have no idea how to do this. I will be glad if you could help me plz.

Regards,

  • mwere9 said:

    First, I need to know if my card contains a non volatile-memory that I can use to strore the linux kernel and how to do this.


    I believe you should find this info at: http://support.spectrumdigital.com/boards/evmc6474/revb/files/EVMC6474_TechRef_RevB.pdf
    mwere9 said:

    Secondly, I want to configure a bootloader, stored on the non-volatile memory,  to load the kernel after a board reset.

    Bootloaders (e.g. u-boot) support storing the boot params in environment that can be used to load the kernel.

  • Hi ,

    Thank  you for your reply.

    Are you shure that U-Boot support the C6474 EVM Board, because I didn't find it in the supported list defined by U-Boot. I found only the Davincy.

  • I mentioned u-boot as an example. Which boot-loader are you using to load Linux?

  • Hi , Thank you for your reply.

    In fact I'm looking for a boot loader that support my board (EVM C6474) and my linux version (2.6.34 of TI).

    Actually I load the Image kernel with CCS. And I have to reload it each time I reboot the Board, so I'm looking for a boot loader that can permit me to load the kernel automatically at the board start up.

    In my Board I don't have a flash memory so I'm thinking about using The EEPROM to store the bootloader configuration and acceed to the linux kernel with TFTP. For these reasons I'm looking for a bootloader that support the board and the TFTP protocol.

    If you have any ideas or suggestions go ahead please.

  • Hello,

     

    WE do have bootloaders that support the C6474.

    Our SW offering supports both the Dual Faraday EVM from Spectrum Digital and the low cost EVM from eInfochips.

    Please see the link http://linux-c6x.org/wiki/index.php/IBL_version_1.0

    for an overview.

    Please click on the appropriate link for the appropriate EVM.

    At this point of time we support EMAC bootloaders which are stored in the EEPROM.

    This has the capability to load a kernel from a tftp server on every power cycle.

    Thanks,

    Sandeep

     

     

     

     

  • Thank you for your reply.

    I tested it and it's great.

    I have another question : how can I reconfigure the EEPROM to use the default boot ? In fact I was only testing the IBL boot and now I want  came back to the initial configuration.

    Thanks

  • Hello,

    I don't fully understand the question.

    You can set the BOOTMODE pins to be what you want it to be. The IBL cannot do it for you.

    If you had some other piece of software in the EEPROM, then the IBL most probably over wrote it.

    If so you will have to re program the EEPROM with the Software you want.

    The IBL initializes the EVM and should leave the EVM in a state where you should be able to use all the peripherals.

     

    Thanks,

    Sandeep

  • With respect to U-Boot, at this point of time TI is not able to devote any resources to add support for the C64x range of devices in U-Boot.

    Adding support should get easier though once we have a fully functional GCC toolchain available.

    Also c64x kernel init, drivers and the IBL code should form a good base on which to start a U-Boot port if someone is interested.

    Thanks,

    Sandeep