X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fuml%2FREADME;h=aa7bad91aeb1197ef18df8eefebd28a9ff14a52d;hb=607dfdf211bebb5043cbc0267c1e2c3e3c2514b4;hp=85cc72c2bb45fff53cdb6d1730054ab5aee67059;hpb=56231056ea784f1cec6450f649b1adaed1f56366;p=oweals%2Fopenwrt.git diff --git a/target/linux/uml/README b/target/linux/uml/README index 85cc72c2bb..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/openwrt-uml-2.6-vmlinux ubd0=bin/openwrt-uml-2.6-ext2.img con=null ssl=null ssl0=fd:0,fd:1 con0=null,fd:1 init=/etc/preinit +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.