Hi,
I'd like to install openwrt on my Mikrotik router. It's a 24GbE ports with routing capacity + Wireless.
As far as I know it's not yet supported by openwrt and nobody seems to have already messed with it.
I compiled openwrt for Atheros AR7xxx/AR9xxx platforms and loaded it from TFTP. It's booting and basic stuff is working but network interfaces aren't working.
I asked mikrotik for the kernel patches, I'm waiting for an answer.
Can you give me hint where to start ?
Thanks A lot
Romain
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Clocks: CPU:600.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 80314b60, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 parts=1 boot_part_size=4194304 gpio=233003 HZ=300000000 mem=128Mkmac=D4:CA:6D:F9:C2:43 board=crs125g ver=3.08 boot=1 mlc=5 rootfstype=yaffs noinitrd
[ 0.000000] MIPS: no machine found for id 'crs125g', supported machines:
[ 0.000000] id name
[ 0.000000] Generic Generic AR71XX/AR724X/AR913X based board
[ 0.000000] BXU2000n-2-A1 BHU BXU2000n-2 rev. A1
[ 0.000000] DRAGINO2 Dragino Dragino v2
[ 0.000000] MYNET-N750 WD My Net N750
[ 0.000000] MYNET-REXT WD My Net Wi-Fi Range Extender
[ 0.000000] 493G MikroTik RouterBOARD 493G
[ 0.000000] 493 MikroTik RouterBOARD 493/AH
[ 0.000000] 450G MikroTik RouterBOARD 450G
[ 0.000000] 450 MikroTik RouterBOARD 450
[ 0.000000] 435G MikroTik RouterBOARD 435G
[ 0.000000] 411 MikroTik RouterBOARD 411/A/AH
[ 0.000000] 751g MikroTik RouterBOARD 751G
[ 0.000000] 751 MikroTik RouterBOARD 751
[ 0.000000] 750Gr3 MikroTik RouterBOARD 750GL
[ 0.000000] 750i MikroTik RouterBOARD 750
[ 0.000000] 711Gr100 (null)
[ 0.000000] 951G MikroTik RouterBOARD 951G-2HnD
[ 0.000000] 2011G (null)
[ 0.000000] 2011US (null)
[ 0.000000] 2011L (null)
[ 0.000000] TL-WA901ND-v3 TP-LINK TL-WA901ND v3
[ 0.000000] TL-WA850RE TP-LINK TL-WA850RE
[ 0.000000] TL-WA801ND-v2 TP-LINK TL-WA801ND v2
[ 0.000000] TL-WA750RE TP-LINK TL-WA750RE
[ 0.000000] TL-WR1043ND-v2 TP-LINK TL-WR1043ND v2
[ 0.000000] WLR8100 Sitecom WLR-8100
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.070000] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
[ 0.100000] bio: create slab <bio-0> at 0
[ 0.110000] Switching to clocksource MIPS
[ 0.120000] NET: Registered protocol family 2
[ 0.120000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.120000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.130000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.130000] TCP: reno registered
[ 0.140000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.140000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.150000] NET: Registered protocol family 1
[ 0.150000] PCI: CLS 0 bytes, default 32
[ 5.700000] yaffs: yaffs built Jan 28 2014 20:28:24 Installing.
[ 5.700000] msgmni has been set to 238
[ 5.740000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 5.750000] console [ttyS0] enabled, bootconsole disabled
[ 5.770000] TCP: cubic registered
[ 5.770000] NET: Registered protocol family 17
[ 5.780000] Bridge firewalling registered
[ 5.780000] 8021q: 802.1Q VLAN Support v1.8
[ 5.810000] Freeing unused kernel memory: 4344K (80332000 - 80770000)
[ 5.890000] usbcore: registered new interface driver usbfs
[ 5.890000] usbcore: registered new interface driver hub
[ 5.910000] usbcore: registered new device driver usb
[ 5.930000] SCSI subsystem initialized
[ 9.800000] NET: Registered protocol family 10
[ 9.820000] aoe: AoE v81 initialised.
[ 9.820000] nbd: registered device at major 43
[ 9.940000] nf_conntrack version 0.5.0 (1975 buckets, 7900 max)
[ 9.960000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.020000] hidraw: raw HID events driver (C) Jiri Kosina
[ 10.040000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[ 10.040000] Backport generated by backports.git backports-20130802-0-gdb67a3
[ 10.120000] usbcore: registered new interface driver usbserial_generic
[ 10.120000] usbserial: USB Serial support registered for generic
[ 10.160000] xt_time: kernel timezone is -0000
[ 10.190000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.190000] cfg80211: World regulatory domain updated:
[ 10.200000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 10.210000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.220000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 10.220000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 10.230000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 10.240000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 10.250000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 10.330000] PPP generic driver version 2.4.2
[ 10.350000] NET: Registered protocol family 24
[ 10.390000] usbcore: registered new interface driver option
[ 10.390000] usbserial: USB Serial support registered for GSM modem (1-port)
root@OpenWrt:/# cat /proc/cpuinfo
system type : Atheros AR9344 rev 2
machine : Generic AR71XX/AR724X/AR913X based board
processor : 0
cpu model : MIPS 74Kc V4.12
BogoMIPS : 299.82
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0078, 0x0868]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp dsp2
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@OpenWrt:/# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 61.7M 40.0K 61.7M 0% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/# free
total used free shared buffers
Mem: 126436 24912 101524 0 0
-/+ buffers: 24912 101524
Swap: 0 0 0
root@OpenWrt:/# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:447 errors:0 dropped:0 overruns:0 frame:0
TX packets:447 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30246 (29.5 KiB) TX bytes:30246 (29.5 KiB)