Forum Discussion
Altera_Forum
Honored Contributor
21 years agothe sequence of boot in NIos II based HAL
I had read the boot modes of NIos II ,I want to know the boot sequence of Nios II based HAL,In the doucount of Altera,It said that if boot without boot_loader ,the crt0.s deal with boot ,see crt0.s...
Altera_Forum
Honored Contributor
21 years agoHi gerger,
> your mean if they initialize the icache at different times? If you use the bootloader, it will initialize the icache, relocate your code, then jump to your application entry point (in most cases: _start in crt0). When the loader relocates your code, the data cache is not initialized. When the entry point in crt0 is called by the loader, the crt0 code will initialize the icache (again), then initialize the dcache. Regards, --Scott