how to extend the initrd to a customed size ?

3 messages, 3 authors, 2000-05-01 · open the first message on its own page

how to extend the initrd to a customed size ?

From: zhangbingchen <hidden>
Date: 2000-05-01 03:08:30

Hello!
  I have a board of Custom 860 with 16M RAM memory,which is running the specific linux kernel
  mpc8xx-2.1.3 obtained from bossek.now,I desire to enlarge the size of initrd from 4M to 6M to
 enable the initrd to contain the gigantic libc.so.6 with the size of morethan 4M;to do so,i have modified
 the line rd_size=6144 in .../drivers/block/rd.c file and the ramdisk.image has also been modified correspondly by now.
 But,to my puzzled,the console just displays the panic message:No init found and then reboots while running.
  I am sure there is no wrong with my ramdisk.image since it can be mountted correctly with
 6M size.
 That is all and I 'd be very thankful with your help or suggestion.

   regards
   john , zhang

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: how to extend the initrd to a customed size ?

From: Frank Smith <hidden>
Date: 2000-04-29 10:06:09

If you strip libc.so.6 it gets much smaller; my specific version went from
4115403 to 1032312 bytes.

-Frank.


zhangbingchen wrote:
Hello!
  I have a board of Custom 860 with 16M RAM memory,which is running the specific linux kernel
  mpc8xx-2.1.3 obtained from bossek.now,I desire to enlarge the size of initrd from 4M to 6M to
 enable the initrd to contain the gigantic libc.so.6 with the size of morethan 4M;to do so,i have modified
 the line rd_size=6144 in .../drivers/block/rd.c file and the ramdisk.image has also been modified correspondly by now.
 But,to my puzzled,the console just displays the panic message:No init found and then reboots while running.
  I am sure there is no wrong with my ramdisk.image since it can be mountted correctly with
 6M size.
 That is all and I 'd be very thankful with your help or suggestion.

   regards
   john , zhang
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: how to extend the initrd to a customed size ?

From: Graham Stoney <hidden>
Date: 2000-05-01 03:00:26

zhangbingchen writes:
  mpc8xx-2.1.3 obtained from bossek.now,I desire to enlarge the size of
initrd from 4M to 6M to enable the initrd to contain the gigantic libc.so.6
with the size of morethan 4M...
I suggest you reconfigure/rebuild your glibc with:
CFLAGS="-msoft-float -Os -DNDEBUG=1"

It shouldn't be more than 1.2 M or so.

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help