Italiano English
Edit History Actions

Diff for "OpenWrtOnQemu"

Differences between revisions 8 and 9
Revision 8 as of 2008-03-18 17:28:07
Size: 1198
Editor: localhost
Comment: converted to 1.6 markup
Revision 9 as of 2009-05-22 21:38:46
Size: 996
Editor: ClauzClauz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== x86 ==

Riferimento: http://wiki.openwrt.org/RunningKamikazeOnQEMUHowTo
Line 11: Line 7:
Dopo aver scaricato [[attachment:openwrt-x86-jffs2-128k.image]], ingranditela con dd: Dopo aver scaricato [[attachment:openwrt-x86-ext2.vmdk]], lanciatela:
Line 14: Line 10:
$ dd if=/dev/null of=openwrt-x86-2.6-jffs2-128k.image seek=42336
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.2627e-05 s, 0.0 kB/s

$ qemu openwrt-x86-jffs2-128k.image -redir tcp:5555::80
$ qemu openwrt-x86-ext2.vmdk
Line 23: Line 13:
Per vedere la webif puntate il browser su http://localhost:5555 e dopo il boot premete invio

=== Compilare con l'openwrt build system ===

 * scegliere x86
 * scegliere immagini per virtualbox

OpenWrt su qemu

x86 quick start

Dopo aver scaricato openwrt-x86-ext2.vmdk, lanciatela:

$ qemu openwrt-x86-ext2.vmdk 

e dopo il boot premete invio

Compilare con l'openwrt build system

  • scegliere x86
  • scegliere immagini per virtualbox

mips

Vedere:

L'architettura di riferimento è ar7 (Texas Instruments), ma attualmente sembra non essere supportata in Kamikaze (vedere http://wiki.openwrt.org/AR7Port).


In pratica riesco a compilare l'immagine ma poi non riesco a farla partire con qemu. Ho provato tutte le varianti del comando

$ qemu-system-mips -M malta ar7-root.jffs2-128k -kernel ./ar7-vmlinux -nographic

Allego file binari. --Clauz

  • [get | view] (2007-12-23 18:57:06, 2304.0 KB) [[attachment:ar7-root.jffs2-128k]]
  • [get | view] (2007-12-23 19:00:15, 2481.5 KB) [[attachment:ar7-vmlinux]]
  • [get | view] (2007-12-23 19:06:50, 2490.4 KB) [[attachment:ar7-vmlinux.elf]]
  • [get | view] (2007-12-23 19:02:52, 3328.0 KB) [[attachment:openwrt-ar7-jffs2-128k.bin]]
  • [get | view] (2009-05-22 21:39:47, 8128.0 KB) [[attachment:openwrt-x86-ext2.vmdk]]
  • [get | view] (2009-02-15 17:34:37, 21168.0 KB) [[attachment:openwrt-x86-jffs2-128k-qemu-friendly.image]]
  • [get | view] (2007-12-25 22:05:43, 6743.5 KB) [[attachment:openwrt-x86-jffs2-128k.image]]