Optimized KVM guest startup

Just some braindump:

qemu-system-x86_64 -no-acpi -m 4096 -curses -net nic,model=virtio,vlan=0 \
-net bridge,vlan=0,br=br0 -enable-kvm -smp 4 \
-drive if=scsi,file=cleaned.qcow2 -drive if=scsi,file=/dev/sdb1,index=1

OpenWrt with Asus low-end routers

As it turned out, some of the low-end Asus routers are not supported by OpenWrt (and/or LEDE). Also, due to wonders of the marketing department, the boards are shared between some of these, i.e.:

– Asus RT-N12+ == RT-N11P == RT-N12E b1
– Asus RT-N12+ V3 == RT-N300 B1
– Asus RT-N12E c1 == ???

(You can spend some time on wikidevi to map these, use the FCC ID as a confirmation for a match).

These are usually built on a flavour of Ralink MIPS boards (MT7620a/n, MT7628), so can be easily supported with a standard DTS added, the difference is mostly around LED configs, buttons, and USB enabled/disabled.

To cover the first set, a patch was sent as an example:


If you want to add one yourself, files that need changes:

modified: target/linux/ramips/base-files/etc/board.d/01_leds
modified: target/linux/ramips/base-files/etc/board.d/02_network
modified: target/linux/ramips/base-files/lib/ramips.sh
modified: target/linux/ramips/base-files/lib/upgrade/platform.sh
modified: target/linux/ramips/image/mt7620.mk

… and copy the DTS in target/linux/ramips/dts from the closest sibling. You can use the “rt-n12p” device target as an example.


back after brb

Hi all,

I’ve decided to bring this blog back online after almost 4 years of hiatus, to record my rumblings again around opensource projects, and various (mostly) OpenWrt stuff.

Welcome onboard again.