OpenWrt Forum Archive

Topic: RouterBoard RB711

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I just got one of these boards a few days ago.  It comes without a serial port but you can netboot a working image:

Booting from network
Network boot works similarly to PXE or EtherBoot protocol, and allows you to boot a RouterBOARD 711
series device from an executable image stored on a TFTP server. It uses BOOTP or DHCP (configurable in
boot loader) protocol to get a valid IP address, and TFTP protocol to download an executable (ELF) kernel
image combined with the initial RAM disk (inserted as an ELF section) to boot from (the TFTP server's IP
address and the image name must be sent by the BOOTP/DHCP server).
To boot the RouterBOARD computer from Ethernet network you need the following:
? An ELF kernel image for the loader to boot from (you can embed the kernel parameters and initrd
image as ELF sections called kernparm and initrd respectively)
? A TFTP server which to download the image from
? A BOOTP/DHCP server (may be installed on the same machine as the TFTP server) to give an IP
address, TFTP server address and boot image name
See the Button Index section on how to configure loader to boot from network.
Note that you must connect the RouterBOARD you want to boot, and the BOOTP/DHCP and TFTP servers to
the same broadcast domain (i.e., there must not be any routers between them).

Button Index
S301 Bootoader reset button. Holding this button during boot time will make RB711 look for
Netinstall servers. Release the button after the LED light goes out.
RESET RouterOS reset jumper hole (RESET, marked with a black circle in the diagram above, below
S301) – resets RouterOS software to defaults. Must short circuit the metallic sides of the hole
(with a screwdriver, for example) and boot the device. Hold screwdriver in place until
RouterOS configuration is cleared.

I had to hold the reset button for more than 20 seconds after powering the device up for the netboot to start.

So far I haven't managed to get this device going under openwrt.  It looks like there are some differences between RB750 and RB711 and I haven't found an SDK for this device yet.

The on board flash is  SAMSUNG K9F1208U0C-PCB0 and the RAM is Nanya NT5DS16M16CS-5T

RB711 pdf

(Last edited by acoul on 1 Jun 2011, 07:20)

There are two pieces of flash. I think maybe you can use the 8 pin flash to run openwrt. (you can add serial port, and change the first pin of the 8 pin flash )

bitiwindy wrote:

There are two pieces of flash. I think maybe you can use the 8 pin flash to run openwrt. (you can add serial port, and change the first pin of the 8 pin flash )

a serial port howto for the rb711 would be quite interesting.

I hate to resurrect an old thread..

Was any more progress made to get OpenWRT running on the RB711?

-Brian

Yeah, i want to know that too.
I have one but i cant get openwrt running...

When compiling the latest trunk, the RB711UA-2HnD does his "Boot Beep". But then all LEDS are on. And the Bootprogress seems to be interuppted by something.
But the RB711 doesnt seems have a serial port. So how could we check the boot.log :S

I will pay for success!

(Last edited by testuser0 on 8 Sep 2012, 22:46)

Hello,
I have a similar problem with the new RB433UAHL which is the new version of the 433 without serial port. The serial port is missing and I tried to solder a TTL adaptor to pin GND, TX and RX. Using this approach no data come from the serial port at each reboot, however I noticed that if I try a netboot with a custom NAND initramfs openwrt image the serial port starts to emit data, however it hangs before full initialization and the led stops to blink.
I don't have a 711 board but i think that the behaviour could be similar. I notice that the board pass this kernel command line to the initrd:
Kernel command line:  GPIO_RESET=yes no-uart gpio=2867 HZ=3400000
00 mem=128M kmac=00:0C:42:ED:73:56 board=433UL boot=0 mlc=2 rootfstype=yaffs noinitrd
in which there is the command no-uart. Also the kernel fails to load because it cannot find the board 433UL. Do you know how i can force a different kernel command line in order to see if forcing it to 433U and removing no-uart line could resolve the issue?

Here is the capture of the serial I receive on boot:
[    0.000000] bootconsole [early0] enabled
                                   
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
                         
[    0.000000] SoC: Atheros AR7161 rev 2
                                     
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.00
0MHz
                                                                         
[    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] 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] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 32512
                                                                     
[    0.000000] Kernel command line:  GPIO_RESET=yes no-uart gpio=2867 HZ=3400000
00 mem=128M kmac=00:0C:42:ED:73:56 board=433UL boot=0 mlc=2 rootfstype=yaffs noi
nitrd
                                                                         
[    0.000000] MIPS: no machine found for id '433UL', supported machines:
     
[    0.000000] id                       name
                                 
[    0.000000] Generic                  Generic AR71XX/AR724X/AR913X based board

                                                                             
[    0.000000] ALFA-AP96                ALFA Network AP96
                     
[    0.000000] ALFA-NX                  ALFA Network N2/N5
                   
[    0.000000] ALL0258N                 Allnet ALL0258N
                       
[    0.000000] ALL0315N                 Allnet ALL0315N
                       
[    0.000000] AP113                    Atheros AP113
                         
[    0.000000] AP121-MINI               Atheros AP121-MINI
                   
[    0.000000] AP121                    Atheros AP121 reference board
         
[    0.000000] AP136                    Atheros AP136 reference board
         
[    0.000000] AP81                     Atheros AP81 reference board
         
[    0.000000] AP83                     Atheros AP83
                         
[    0.000000] AP96                     Atheros AP96
                         
[    0.000000] AW-NR580                 AzureWave AW-NR580
                   
[    0.000000] CAP4200AG                Senao CAP4200AG
                       
[    0.000000] DB120                    Atheros DB120 reference board
         
[    0.000000] DIR-615-E4               D-Link DIR-615 rev. E4
               
[    0.000000] DIR-600-A1               D-Link DIR-600 rev. A1
               
[    0.000000] DIR-615-C1               D-Link DIR-615 rev. C1
               
[    0.000000] DIR-825-B1               D-Link DIR-825 rev. B1
               
[    0.000000] EW-DORIN-ROUTER          EmbWir-Dorin-Router
                   
[    0.000000] EW-DORIN                 EmbWir-Dorin
                         
[    0.000000] ALL0305                  Allnet ALL0305
                       
[    0.000000] EAP7660D                 Senao EAP7660D
                       
[    0.000000] JA76PF2                  jjPlus JA76PF2
                       
[    0.000000] JA76PF                   jjPlus JA76PF
                         
[    0.000000] JWAP003                  jjPlus JWAP003
                       
[    0.000000] HORNET-UB                ALFA NETWORKS Hornet-UB
               
[    0.000000] MR600                    OpenMesh MR600
                       
[    0.000000] MZK-W04NU                Planex MZK-W04NU
                     
[    0.000000] MZK-W300NH               Planex MZK-W300NH
                     
[    0.000000] NBG460N                  Zyxel NBG460N/550N/550NH
             
[    0.000000] OM2P-HS                  OpenMesh OM2P HS
                     
[    0.000000] OM2P-LC                  OpenMesh OM2P LC
                     
[    0.000000] OM2P                     OpenMesh OM2P
                         
[    0.000000] PB42                     Atheros PB42
                         
[    0.000000] PB44                     Atheros PB44 reference board
         
[    0.000000] PB92                     Atheros PB92
                         
[    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] 433U                     MikroTik RouterBOARD 433UAH
           
[    0.000000] 433                      MikroTik RouterBOARD 433/AH
           
[    0.000000] 411U                     MikroTik RouterBOARD 411U
             
[    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] 2011G                    MikroTik RouterBOARD 2011UAS-2HnD
     
[    0.000000] 2011L                    MikroTik RouterBOARD 2011L
           
[    0.000000] RW2458N                  Redwave RW2458N
                       
[    0.000000] TEW-632BRP               TRENDnet TEW-632BRP
                   
[    0.000000] TEW-673GRU               TRENDnet TEW-673GRU
                   
[    0.000000] TEW-712BR                TRENDnet TEW-712BR
                   
[    0.000000] TL-MR3040                TP-LINK TL-MR3040
                     
[    0.000000] TL-MR11U                 TP-LINK TL-MR11U
                     
[    0.000000] TL-MR3020                TP-LINK TL-MR3020
                     
[    0.000000] TL-WR841N-v7             TP-LINK TL-WR841N/ND v7
               
[    0.000000] TL-MR3420                TP-LINK TL-MR3420
                     
[    0.000000] TL-MR3220                TP-LINK TL-MR3220
                     
[    0.000000] TL-WA7510N               TP-LINK TL-WA7510N v1
                 
[    0.000000] TL-WA901ND               TP-LINK TL-WA901ND
                   
[    0.000000] TL-WA901ND-v2            TP-LINK TL-WA901ND v2
                 
[    0.000000] TL-WDR4300               TP-LINK TL-WDR3600/4300/4310
         
[    0.000000] TL-WR741ND               TP-LINK TL-WR741ND
                   
[    0.000000] TL-WR741ND-v4            TP-LINK TL-WR741ND v4
                 
[    0.000000] TL-WR841N-v1.5           TP-LINK TL-WR841N v1
                 
[    0.000000] TL-WR841N-v8             TP-LINK TL-WR841N/ND v8
               
[    0.000000] TL-WR941ND               TP-LINK TL-WR941ND
                   
[    0.000000] TL-WR1041N-v2            TP-LINK TL-WR1041N v2
                 
[    0.000000] TL-WR1043ND              TP-LINK TL-WR1043ND
                   
[    0.000000] TL-WR2543N               TP-LINK TL-WR2543N/ND
                 
[    0.000000] TL-WR703N                TP-LINK TL-WR703N v1
                 
[    0.000000] UBNT-LS-SR71             Ubiquiti LS-SR71
                     
[    0.000000] UBNT-LSX                 Ubiquiti LSX
                         
[    0.000000] UBNT-RSPRO               Ubiquiti RouterStation Pro
           
[    0.000000] UBNT-RS                  Ubiquiti RouterStation
               
[    0.000000] UAP-PRO                  Ubiquiti UniFi AP Pro
                 
[    0.000000] UBNT-U20                 Ubiquiti UniFiAP Outdoor
             
[    0.000000] UBNT-UF                  Ubiquiti UniFi
                       
[    0.000000] UBNT-AR                  Ubiquiti AirRouter
                   
[    0.000000] UBNT-NM                  Ubiquiti Nanostation M
               
[    0.000000] UBNT-RM                  Ubiquiti Rocket M
                     
[    0.000000] UBNT-BM                  Ubiquiti Bullet M
                     
[    0.000000] UBNT-XM                  Ubiquiti Networks XM (rev 1.0) board
 
[    0.000000] WHR-HP-GN                Buffalo WHR-HP-GN
                     
[    0.000000] WHR-G301N                Buffalo WHR-G301N
                     
[    0.000000] WHR-HP-G300N             Buffalo WHR-HP-G300N
                 
[    0.000000] WLAE-AG300N              Buffalo WLAE-AG300N
                   
[    0.000000] WNDR3700                 NETGEAR WNDR3700/WNDR3800/WNDRMAC
     
[    0.000000] WNDR4300                 NETGEAR WNDR4300
                     
[    0.000000] WNR2000                  NETGEAR WNR2000
                       
[    0.000000] WP543                    Compex WP543
                         
[    0.000000] WPE72                    Compex WPE72
                         
[    0.000000] WRT160NL                 Linksys WRT160NL
                     
[    0.000000] WRT400N                  Linksys WRT400N
                       
[    0.000000] WZR-HP-G300NH            Buffalo WZR-HP-G300NH
                 
[    0.000000] WZR-HP-G300NH2           Buffalo WZR-HP-G300NH2
               
[    0.000000] WZR-HP-AG300H            Buffalo WZR-HP-AG300H
                 
[    0.000000] WZR-HP-G450H             Buffalo WZR-HP-G450H
                 
[    0.000000] ZCN-1523H-5              Zcomax ZCN-1523H-5
                   
[    0.000000] ZCN-1523H-2              Zcomax ZCN-1523H-2
                   
[    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] __ex_table already sorted, skipping sort
                       
[    0.000000] Writing ErrCtl register=00059090
                               
[    0.000000] Readback ErrCtl register=00059090
                             
[    0.000000] Memory: 124548k/131072k available (2093k kernel code, 6524k reser
ved, 407k data, 2260k init, 0k highmem)
                                       
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, No
des=1
                                                                         
[    0.000000] NR_IRQS:51
                                                     
[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
       
[    0.060000] pid_max: default: 32768 minimum: 301
                           
[    0.060000] Mount-cache hash table entries: 512
                           
[    0.070000] NET: Registered protocol family 16
                             
[    0.070000] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
     
[    0.080000] bio: create slab <bio-0> at 0
                                 
[    0.090000] Switching to clocksource MIPS
                                 
[    0.090000] NET: Registered protocol family 2
                             
[    0.100000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

[    0.100000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
     
[    0.110000] TCP: Hash tables configured (established 4096 bind 4096)
       
[    0.110000] TCP: reno registered
                                           
[    0.120000] UDP hash table entries: 256 (order: 0, 4096 bytes)
             
[    0.120000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
       
[    0.130000] NET: Registered protocol family 1
                             
[    2.570000] msgmni has been set to 243
                                     
[    2.580000] io scheduler noop registered
                                   
[    2.580000] io scheduler deadline registered (default)
                     
[    2.590000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
       
[    2.610000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A

it has been done

BusyBox v1.24.1 (2015-12-05 18:34:34 EET) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 DESIGNATED DRIVER (Bleeding Edge, r48014)
 -----------------------------------------------------
  * 2 oz. Orange Juice         Combine all juices in a
  * 2 oz. Pineapple Juice      tall glass filled with
  * 2 oz. Grapefruit Juice     ice, stir well.
  * 2 oz. Cranberry Juice
 -----------------------------------------------------
root@OpenWrt:~# dmesg 
Linux version 3.18.25 (alex@aifnis) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47681) ) #2 Wed Dec 30 18:15:14 EET 2015
bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
SoC: Atheros AR7241 rev 1
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
  Normal   [mem 0x00000000-0x01ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x01ffffff]
Initmem setup node 0 [mem 0x00000000-0x01ffffff]
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802cf770, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8192 pages, LIFO batch:0
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line:  GPIO_RESET=yes no-uart gpio=790341 HZ=200000000 mem=32M kmac=00:0C:42:9F:FC:11 board=711 boot=0 mlc=2 �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������?������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������o���������������������������������������������������������������������������������������������������������������������������������<6>PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Writing ErrCtl register=00007ee0
Readback ErrCtl register=00007ee0
Memory: 28352K/32768K available (2170K kernel code, 137K rwdata, 292K rodata, 912K init, 178K bss, 4416K reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:83
Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
NET: Registered protocol family 16
MIPS: machine is MikroTik RouterBOARD 711
registering PCI controller with io_map_base unset
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [168c:ff1c] type 00 class 0x020000
pci 0000:00:00.0: fixup device configuration
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
pci 0000:00:00.0: using irq 40 for pin 1
Switched to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
futex hash table entries: 256 (order: -1, 3072 bytes)
yaffs: yaffs Installing.
msgmni has been set to 55
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12500000) is a 16550A
console [ttyS0] enabled
bootconsole [early0] disabled
NAND flash driver for the RouterBOARD 750 version 0.1.0
nand: device found, Manufacturer ID: 0xec, Chip ID: 0x76
nand: Samsung NAND 64MiB 3,3V 8-bit
nand: 64MiB, SLC, page size: 512, OOB size: 16
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "booter"
0x000000040000-0x000000400000 : "kernel"
0x000000400000-0x000004000000 : "rootfs"
mtd: device 2 (rootfs) set to be root filesystem
mtdsplit: no squashfs found in "rootfs"
mtdsplit: no squashfs found in "NAND 64MiB 3,3V 8-bit"
libphy: ag71xx_mdio: probed
ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
TCP: cubic registered
NET: Registered protocol family 17
rb: no calibration data found
Freeing unused kernel memory: 912K (802ec000 - 803d0000)
init: Console is alive
init: - watchdog -
init: - preinit -
eth0: link up (100Mbps/Full duplex)
eth0: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
random: ubusd urandom read with 14 bits of entropy available
procd: - init -
eth0: link up (100Mbps/Full duplex)
random: nonblocking pool is initialized
root@OpenWrt:~# free
             total       used       free     shared    buffers     cached
Mem:         29264       6204      23060         32          0       3176
-/+ buffers/cache:       3028      26236
Swap:            0          0          0
root@OpenWrt:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                    14632        32     14600   0% /tmp
tmpfs                      512         0       512   0% /dev
root@OpenWrt:~# cat /proc/interrupts 
           CPU0       
  4:        233      MIPS  eth0
  7:      20821      MIPS  timer
 10:          0      MISC  ath79-gpio
 11:         26      MISC  serial
ERR:          0
root@OpenWrt:~# cat /proc/cpuinfo 
system type        : Atheros AR7241 rev 1
machine            : MikroTik RouterBOARD 711
processor        : 0
cpu model        : MIPS 24Kc V7.4
BogoMIPS        : 265.42
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 16
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa            : mips1 mips2 mips32r1 mips32r2
ASEs implemented    : mips16
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

relative patches reside here

The discussion might have continued from here.