X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fuml%2FREADME;h=aa7bad91aeb1197ef18df8eefebd28a9ff14a52d;hb=607dfdf211bebb5043cbc0267c1e2c3e3c2514b4;hp=ae515d5f798e2d4eeedcd3f8bcf91d88c80f187f;hpb=a653c7602e243dcc4e89f467d4c97576ddd7a77f;p=oweals%2Fopenwrt.git diff --git a/target/linux/uml/README b/target/linux/uml/README index ae515d5f79..aa7bad91ae 100644 --- a/target/linux/uml/README +++ b/target/linux/uml/README @@ -1,4 +1,4 @@ -Openwrt inside a user mode linux. Why would we even want this many ask? +OpenWrt inside a user mode linux. Why would we even want this many ask? There are potentially a lot of reasons, one obvious one to me, it allows folks to 'kick the tires' without actually flashing up any hardware. It's @@ -11,13 +11,14 @@ This is a first stab at a build that 'just works' and there will be more cleanup to come. The simple directions are:- Configure for uml target -Configure with an ext2 root file system +Configure with an ext4 root file system build it all -In your bin directory you will find a kernel and an ext2 root file system +In your bin directory you will find a kernel and an ext4 root file system when it's finished. Just run it like this:- -bin/uml/openwrt-uml-vmlinux ubd0=bin/uml/openwrt-uml-ext2.img con=null ssl=null ssl0=fd:0,fd:1 con0=null,fd:2 +bin/targets/uml/generic/lede-uml-vmlinux +ubd0=bin/targets/uml/generic/openwrt-uml-ext4.img The uml will start, and eventually the serial console of the uml will be at your console prompt. If you would like it in xterms, substitute con=xterm and con0=xterm.