initrd compiled in kernel

From: Piotr Roszatycki
Date: Fri Sep 26 2003 - 14:57:18 EST


I'm trying to use initrd on Jornada 720 with hpcboot.exe (2.4.19). It doesn't
support initrd in separate file. I have to link the initrd image with kernel
image. How can I do it? I tried to make a string with image:

unsigned char initrd_image[] = "\0x00\0x00\0xFF...[about 1MB initrd image]...";
unsigned int initrd_image_size = sizeof(initrd_image);

and use it in arch/arm/kernel/setup.c as:

phys_initrd_start = initrd_image;
phys_initrd_size = initrd_image_size;

without success.

Another way?

--
Piotr Roszatycki, Netia Telekom S.A. .''`.
mailto:Piotr_Roszatycki@xxxxxxxxxxxx : :' :
mailto:dexter@xxxxxxxxxx `. `'
`-


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/