Skip to contentSkip to conversation

initrd compiled in kernel

DISCUSSION Piotr Roszatycki 1 participant 1 message Sep 26, 2003

lore
Share & tools
lore
#0 lore raw

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?

Signature · 4 lines
Piotr Roszatycki, Netia Telekom S.A.                    .''`.
mailto:[email protected]                   : :' :
mailto:[email protected]                               `. `'
                                                         `-