Mikrotik Metarouter

I have purchased a Routerboard 750GL and I'm currently waiting for several PPC-based Routerboards to be shipped.  I'm highly interested in the Metarouter functionality described here:

http://wiki.mikrotik.com/wiki/Manual:Metarouter#OpenWRT_as_virtual_machine

I've created a patch against the latest OpenWRT stable release (attitude_adjustment/12.09) which compiles MIPS and PPC cleanly as of the latest rev (r37811).  I've updated the kernel patches for PPC and MIPS to support Linux kernel version 3.3.8.

When I boot the MIPS image (RouterOS 6.2 on 750GL) Metarouter reports the machine as "running" and this is the kernel output from the console:

[    0.000000] Linux version 3.3.8-svn37266 (kris@kkdesk) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sun Aug 18 14:52:02 EDT 2013
[    0.000000] CPU revision is: 0001800a (MIPS 4Kc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 00029000 @ 003fc000 (usable after init)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00001000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00001000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line: console=hvc0 board=vm mem=16M
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Memory: 11716k/16384k available (2612k kernel code, 4668k reserved, 437k data, 164k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [hvc0] enabled
[    0.000000] Calibrating delay loop...

Where it hangs...

I'm going to keep working on this but I thought I'd share early.

FYI, I'm calling this openwrt-metarouter-1.3 and the patch is below as are the MIPS and PPC images for you to try.

ċ
openwrt-metarouter-1.3.patch
(157k)
Kristian Kielhofner,
Aug 18, 2013, 6:01 PM
ċ
openwrt-mr-mips-rootfs.tar.gz
(2540k)
Kristian Kielhofner,
Aug 18, 2013, 6:02 PM
ċ
openwrt-mr-ppc-rootfs.tar.gz
(2275k)
Kristian Kielhofner,
Aug 18, 2013, 6:03 PM
Comments