what is the default procedure made for the AT91x40 ?
> because I’ve seen the in the configuration panel of the kernel before > the compilation there is an option “kernel executes from” RAM or ROM. > But it seems that the option CONFIG_RAMKERNEL or CONFIG_ROMKERNEL isn’t > used by the AT91 source. That’s why I think that maybe this option has > no effect for the AT91 and then I’m wondering which procedure (RAM > starting kernel or ROM starting kernel) is used by the AT91x40. Hello Armand, the CONFIG_ROMKERNEL is used in arch/armnommu/kernel/head-armv.S. However, I have just recognized that the necessary link script for execution from rom isn’t in the official kernel source. I have never submitted for CVS because currently I have to copy the right link script by hand. If you want to run the kernel from flash, you can pick parts of http://cvs.home.at/midori/sources/linux-2.4.20-uc1/xip.patch The scripts are arch/armnommu/vmlinux-armv-ram.lds.in and vmlinux-armv-rom.lds.in. In the official kernel source, the kernel can be executed from ram o
> because I’ve seen the in the configuration panel of the kernel before > the compilation there is an option “kernel executes from” RAM or ROM. > But it seems that the option CONFIG_RAMKERNEL or CONFIG_ROMKERNEL isn’t > used by the AT91 source. That’s why I think that maybe this option has > no effect for the AT91 and then I’m wondering which procedure (RAM > starting kernel or ROM starting kernel) is used by the AT91x40. Hello Armand, the CONFIG_ROMKERNEL is used in arch/armnommu/kernel/head-armv.S. However, I have just recognized that the necessary link script for execution from rom isn’t in the official kernel source. I have never submitted for CVS because currently I have to copy the right link script by hand. If you want to run the kernel from flash, you can pick parts of http://cvs.home.at/midori/sources/linux-2.4.20-uc1/xip.patch The scripts are arch/armnommu/vmlinux-armv-ram.lds.in and vmlinux-armv-rom.lds.in. In the official kernel source, the kernel can be executed from ram o