lkml.org 
[lkml]   [2003]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectinitrd compiled in kernel
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@netia.net.pl : :' :
mailto:dexter@debian.org `. `'
`-


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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.068 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site