Cross compile ARM Linux Part-3

On July 31, 2010, in Embedded Linux, by admin

{video}
Cross compile arm linux with busybox and initrd rootfs and run arm versatilpb on qemu and embedded linux for embedded system

Tagged with:  

2 Responses to Cross compile ARM Linux Part-3

  1. priyankchester says:

    cp ../arm-none-linux-gnueabi/etc/passwd . //wherever your toolchain might be…,by ..,i dont mean the parent directory
    cp ../arm-none-linux-gnueabi/etc/group .
    cp ../arm-none-linux-gnueabi/etc/shadow .
    vi issue
    cd ..
    cd var
    mkdir log stat run
    cd ..
    mkdir tmp
    mkdir dev
    ../busybox-1.15.0/examples/bootfloppy/mkdevfs.h dev/

  2. priyankchester says:

    dd if=/dev/zero of=initrd-rootfs bs=1024 count=32768
    ls -lh initrd-rootfs
    mke2fs initrd-rootfs
    echo $? // gives exit status
    mount -o loop initrd-roots /root/test //sudo mkdir /root/test
    df -h
    cd /root/test
    cp -rv ../busybox-1.15.0/_install/* . //wherever busybox might be…by ..,i dont mean the parent directory
    mkdir etc proc var
    mkdir usr/lib

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>