Forum Discussion

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

Execute Kernel from Flash

Hi!

I want to execute my uCLinux kernel from the flash mem on the Nios dev. kit Cyclone ed. board. So what I do is that I upload the kernel to the Flash mem and then I want to execute it from the very same flash. Is that possible?

Do anyone know how to solve this problem?

/Stralsjo

2 Replies

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

    Hi Stralsjo,

    > I want to execute it from the very same flash. Is that possible?

    Yes. Upload vmlinux.bin to the reset address (should be offset 0x00000000) in

    flash. When the core is reset, linux will run and relocate itself to the bottom

    of sdram.

    Regards,

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

    Does anybody know if you can execute the kernel stripped down to ~800k in the SRAM on the Altera Cyclone dev. board? Has someone tried to do so if the SDRAM allready is occupied by some other pheriferial you added.

    /Stralsjo