Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

EPCS NVRAM help

Does anyone know how to setup u-boot so that the CFG_ENV_ is stored in EPCS and does anyone know how to bootm from EPCS

I have managed to store an image in the EPCS

My CFG_NIOS_EPCSBASE is 0x08001000 and this is the only NVRAM I have available

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The EPCS has boot_loader itsself, so you only need to store your program and hardware configuration into the EPCS through the NIOS2 IDE tools <program Flash. the both program will be load from EPCS automatically when power-up reset.

    However, you must add a EPCS controller to your system in SOPC Builder!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the reply.

    I am trying to use u-boot and I already have EPCS controller added to my system and when it starts the FPGA configuration and u-boot is loaded but I have no EEPROM on my system so:-

    I would like to know how to store/recall u-boot environment variables from EPCS and also how to use the bootm command from a locations in EPCS

    Many thanks