Loading Cpio (gz) image as rootfs

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Jun 4 22:59:49 EDT 2012


On 14:21 Mon 04 Jun     , Benoit RAT wrote:
>    Hy everybody,
>    I was wondering if it was possible to load a cpio.gz image as rootfs! (I
>    think it is the kernel that load it so it should not be a problem)
>    however I don't know how to pass the arguments.
>    Here you can find the commands, that i am using:
>    addpart /dev/mem  8M at 0x71000000(kernel);
>    tftp zImage /dev/mem.kernel
>    addpart /dev/mem  32M at 0x72000000(fs)
>    tftp image.cpio.gz /dev/mem.fs 
>    bootargs="$bootargs root=/dev/ram0 initrd=0x72000000"
>    bootz /dev/mem.kernel
btw do not use bootz but bootm

if you want to use a zimage and cpio.gz directly you needt to use -r option

Best Regards,
J.
>    Regards,
>    --
>    [IMG] [IMG]
>    Benoit RAT LAMY
> 
>    Engineer (Sw) \ Ingeniero (Sw)
> 
>    fix. (+34) 958 285 024
> 
>    cel. (+34) 617 989 123
> 
>    e-mail: benoit at sevensols.com
> 
>    www.sevensols.com / www.sevensecurity.es
> 
>    _________________________________
> 
>    C/ Baza, parcela 19 Nave 3  \ Poligono Ind. Juncaril \
> 
>    18210 - PELIGROS - GRANADA *SPAIN

> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox




More information about the barebox mailing list