LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Replacing Kernel on SAM9-L9260 (https://www.linuxquestions.org/questions/linux-kernel-70/replacing-kernel-on-sam9-l9260-810986/)

toredo 05-29-2010 05:08 PM

Replacing Kernel on SAM9-L9260
 
Hello,

I use a board, which is based on a SAM9-L9260. There are 2 flash's on this board. On the first, the small one, is the kernel and the bootloader (u-boot).

The bootloader loads the kernel into the ram and boots it with some parameters.

The filesystem is on the second flash (the big one). Sometimes i need a software-update. And sometimes maybe the kernel should be replaced. The kernel is on e defined address in the small ram. There are the boot-parameters for the kernel too.

For the flash's i have some devices:
/dev/mtd*

/dev/mtd0 is the small flash.
Is there a way to write something to a specific address in mtd0?

regards
toredo

bsat 05-30-2010 01:09 PM

I am not sure if I got you right, but I think you will have to cross compile the kernel for your target system.

toredo 05-30-2010 11:47 PM

No problem. I have compiled it. The system is perfectly running.

But i wanna to feature to update the kernel from everywhere. I will compile the kernel localy and then i will send this on a way to the device.

regards
toredo


All times are GMT -5. The time now is 01:07 PM.