Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi Goon,
If you want the kernel to execute in place, the following should be looked after (many of them needs changes on source code or Makefiles): 1. when building the kernel, give the Text a flash address, and give data and bss ram addresses. Probably you need to change the makefiles and linker script. 2. when loading the kernel, the bootstrap code has to copy the data to the ram address where they are linked to. Probably you need to change head.S 3. Special attention to the vector. The simplest way is change the core: set that address 0x20 from the start of kernel in flash. Good luck,