Last active
December 21, 2015 10:09
-
-
Save thefinn93/6290064 to your computer and use it in GitHub Desktop.
If ran from an openwrt buildroot, will rebuild openwrt and launch it in qemu. Don't forget to Target System → MIPS Malta CoreLV board (qemu). And of course change the paths in lines 2 and 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
disk="/home/finn/openwrt/bin/malta/openwrt-malta-be-vmlinux-initramfs.elf" | |
cd ~/openwrt | |
git pull | |
scripts/feeds update | |
scripts/feeds install -a | |
make -j3 V=s || exit 1 | |
sudo qemu-system-mips -kernel $disk -nographic -m 256 -append "init=/sbin/init" -net nic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment