]> rtime.felk.cvut.cz Git - can-eth-gw.git/blob - test/launch-debug
changing paths to relative
[can-eth-gw.git] / test / launch-debug
1 #!/bin/bash
2 SRCDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
4 # build for debug
5 make -C../kernel/ debug
6
7 # create ramdisk
8 ( (cd $SRCDIR/../distro/busybox/_install; find . | cpio -o -H newc        );\
9   (cd $SRCDIR/../distro/customroot; find . | cpio -o --dereference -H newc) )\
10   | gzip > ramdisk
11
12 qemu-system-i386 -kernel kernel-debug -initrd ramdisk -s -serial file:/tmp/qemu_dmsg.log -device rtl8139,netdev=qlan -netdev user,id=qlan -append console=ttyS0 -virtfs local,path=/home/monter/project/,security_model=none,mount_tag=shared_tag
13