Forum Discussion

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

Difference between booting from onchipmem and cfi?

Hello,

everyone

Having done the step 1-3 successfully, I will do sth. else:

Then more fun:

CompileHello

FlashProgrammer

EPCSGuide

EtherNet

NFSFileSytem

CompactFlash

AlteraPCI .

UsbHost.

ModuleProgarmming

BuildrootGuide

BusyBox

KernelPatches

CustomBootLoader

Mpeg2Dec

MmcSd

When doing "FlashProgrammer " ,I have a question:

what are the Differences between booting from onchipmem and cfi?

Thanks!

2 Replies

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

    in sopc builder, more cpu setting, reset address

    this is the hardware reset entry point

    a. if you set it to cfi flash, it will insert a altera supplied cfi boot loader by default, then load your program image to sdram, and jump to sdram.

    b. if you set it to epcs, it will include a hidden onchip memory, with altera supplied epcs boot loader,

    which will load your program image to sdram, and jump to sdram.

    c. if you set it to onchip memory, then you need a custom boot loader on the onchip memory, which should load your program image to sdram. eg, you can store your image on IDE HDD, etc.