Hello everyone I am a bit of a newbie at this, so bear with me please. I am looking for help on how to change the location in flash that the kernel expects the filesystem to be at
I am working with a SAM9M10-G45-EK dev board and I have been following the directions outlined
http://www.at91.com/linux4sam/bin/view/ ... inuxKernel to get linux running on this board.
Things have been working according to plan and I've been able to create/configure my own linux image which I have been able to load via tftp and I have been able to run successfuly.
Up to this point I have been putting everything; bootstrap, uboot, linux kernel and filesystem in NANDflash.
Because I have been adding packages to the linux distribution the kernel image has grown to the point where the size of the kernel overruns the memory address where the example in the demo (
http://www.at91.com/linux4sam/pub/Linux ... sh_map.png) stores the filesystem. and therefore I have needed to push the flash address of the filesystem.
Pushing up the filesystem allows me the run linux once (and only once) and when I do that it appears that linux is expecting the filesystem to be at the original address and therefore overwrites the flash location of the kernel.
The flash original memory map looked like this :
set bootStrapAddr 0x00000000
set ubootAddr 0x00020000
set ubootEnvAddr 0x00060000
set kernelAddr 0x00200000
set rootfsAddr 0x00400000
The new memory map looks like this:
bootStrapAddr 0x00000000
ubootAddr 0x00020000
ubootEnvAddr 0x00060000
kernelAddr 0x00200000
rootfsAddr 0x00600000
How can I tell Linux that rootfsAddr has been shifted?
Thanks in advance for your help