You dont have to modify the kernel for that. When configuring (menu
config) the kernel in the general setup
set the kernel command line to root=/dev/flash3 or something like that.
This way you dont
have to use any ramdisk as initrd. kernel will crib that it doesnot find
initrd but will continue.
Take a look at the mtd drivers or the flash_mem.h in drivers/block ,
depending on what version
of the kernel you are using for flash partitioning. For ex I use 2.4.0
test8 rm2 np2,
my flash partition is as follows, 256K (blob), 768K (kernel), rest
(ext2). So my command line will be
root = /dev/flash2. Hope this helps.
Greetings
vinny
[EMAIL PROTECTED] wrote:
> I am trying Arm-Linux in Intel SA1110 (Assabet) develop-board!
> Usually, I make new an image and then transfer boot+root to Assabet!!
> Howeverm,the root(Ramdisk) is not changed
> and too large for tranferring!!
> So I want to fix the Ramdisk in Flash , and
> I have written the Ramdisk file to Flash (Physical address 0x10000)
>
> Because I cannot make a new angel boot loader,
> I can only change linux kernel to copy the ramdisk image from
> flash(0x10000)
>
> to
> its default initializing ramdisk memory space (default 0xc0800000)
>
> (I had tried to change arch/arm/mach/arch.c::
> setup_initrd(0xc0800000,3*1024*1024)
>
> , but fail.....any other related parameter?1)
>
> How Count I do ?!
>
> Thanks
>
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.