Not that I think this may be useful but just for the record anyway of
the hardware.

That's what it looks like under Linux.


Jumping to start of image at address 0xbfca0000


U-Boot 2012.04.01 (UBNT Build ID: 4670715-g7c4b1d0) (Build time: May 27
2014 - 11:19:05)

Skipping PCIe port 0 BIST, in EP mode, can't tell if clocked.
Skipping PCIe port 1 BIST, reset not done. (port not configured)
BIST check passed.
UBNT_E200 r1:0, r2:15, serial #: 44D9E7410ECB
MPR 13-00317-15
Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x8f800000, size: 0x800000
DRAM: 2 GiB
Clearing DRAM...... done
Flash: 8 MiB
Net:   octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6,
octeth7
MMC:   Octeon MMC/SD0: 0
USB:   USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
Type the command 'usb start' to scan for USB storage devices.

Hit any key to stop autoboot:  0
reading vmlinux.64

5319248 bytes read
argv[2]: numcores=2
argv[3]: endbootargs
Allocating memory for ELF segment: addr: 0xffffffff80100000 (adjusted
to: 0x100000), size 0x53b1f0
## Loading big-endian Linux kernel with entry point: 0xffffffff80423e60 ...
Bootloader: Done loading app on coremask: 0x3
Starting cores 0x3
Linux version 3.4.27-UBNT (ancheng@ubnt-builder2) (gcc version 4.7.0
(Cavium Inc. Version: SDK_3_0_0 build 16) ) #1 SMP Mon Oct 14 18:16:38
PDT 2013
CVMSEG size: 2 cache lines (256 bytes)
Cavium Inc. SDK-3.0
bootconsole [early0] enabled
CPU revision is: 000d9301 (Cavium Octeon II)
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
Determined physical RAM map:
 memory: 000000000e800000 @ 0000000000700000 (usable)
 memory: 0000000000c00000 @ 000000000f200000 (usable)
 memory: 000000006f800000 @ 0000000020000000 (usable)
 memory: 000000000003a000 @ 00000000005d6000 (usable after init)
Wasting 83664 bytes for tracking 1494 unused pages
Using passed Device Tree <8000000000080000>.
Placing 0MB software IO TLB between 8000000002c0a000 - 8000000002c4a000
software IO TLB at phys 0x2c0a000 - 0x2c4a000
Zone PFN ranges:
  DMA32    0x000005d6 -> 0x000f0000
  Normal   empty
Movable zone start PFN for each node
Early memory PFN ranges
    0: 0x000005d6 -> 0x00000610
    0: 0x00000700 -> 0x0000ef00
    0: 0x0000f200 -> 0x0000fe00
    0: 0x00020000 -> 0x0008f800
Cavium Hotplug: Available coremask 0x0
Primary instruction cache 37kB, virtually tagged, 37 way, 8 sets,
linesize 128 bytes.
Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
Secondary unified cache 1024kB, 16-way, 512 sets, linesize 128 bytes.
PERCPU: Embedded 10 pages/cpu @8000000002c6f000 s9216 r8192 d23552 u40960
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 511210
Kernel command line:  root=/dev/mmcblk0p2 rootdelay=10 rw
rootsqimg=squashfs.img rootsqwdir=w console=ttyS0,115200
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 2044368k/2076904k available (3259k kernel code, 32536k reserved,
1688k data, 232k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:256
Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS
(lpj=10000000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 256
Checking for the daddi bug... no.
SMP: Booting CPU01 (CoreId  1)...
CPU revision is: 000d9301 (Cavium Octeon II)
Brought up 2 CPUs
NET: Registered protocol family 16
PTP Clock: Using sclk reference at 600000000 Hz
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource OCTEON_CVMCOUNT
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP: reno registered
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
ERROR: octeon_pci_console_setup0 failed.
/proc/octeon_perf: Octeon performance counter interface loaded
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.11 (for 3.4)
msgmni has been set to 3992
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
loop: module loaded
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
octeon-ehci 16f0000000000.ehci: Octeon EHCI
octeon-ehci 16f0000000000.ehci: new USB bus registered, assigned bus
number 1
octeon-ehci 16f0000000000.ehci: irq 56, io mem 0x16f0000000000
octeon-ehci 16f0000000000.ehci: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
octeon-ohci 16f0000000400.ohci: Octeon OHCI
octeon-ohci 16f0000000400.ohci: new USB bus registered, assigned bus
number 2
octeon-ohci 16f0000000400.ohci: irq 56, io mem 0x16f0000000400
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
i2c-octeon 1180000001000.i2c: version 2.0
i2c-octeon 1180000001200.i2c: version 2.0
octeon_wdt: Initial granularity 5 Sec
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
L2 lock: TLB refill 256 bytes
L2 lock: General exception 128 bytes
L2 lock: low-level interrupt 128 bytes
L2 lock: interrupt 640 bytes
L2 lock: memcpy 1152 bytes
1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34) is a OCTEON
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 35) is a OCTEON
Bootbus flash: Setting flash for 8MB flash at 0x1f400000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank.
Manufacturer ID 0x0000c2 Chip ID 0x0000c9
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.1.
phys_mapped_flash: Swapping erase regions for top-boot CFI table.
number of CFI chips: 1
Waiting 10sec before mounting root device...
mmc0: new high speed MMC card at address 0001
mmcblk0: mmc0:0001 SEM04G 3.68 GiB
mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB
 mmcblk0: p1 p2
 mmcblk0boot1: unknown partition table
 mmcblk0boot0: unknown partition table
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (unionfs filesystem) on device 0:10.
Freeing unused kernel memory: 232k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.88 booting
INIT: Entering runlevel: 2
Starting routing daemon: rib.
Starting EdgeOS router: migrate rl-system configure.

Welcome to EdgeOS ubnt ttyS0

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

ubnt login:


On 12/5/15 6:18 PM, Daniel Ouellet wrote:
> I got a little bit more now. Not much, but still some progress I guess,
> or not.
> 
> I am the wrong person to judge if so or not...
> 
> But looks to be a tiny bit more ahead.
> 
> At this point it is more trial and errors, no doc to play with...
> 
> 
> Hit any key to stop autoboot:  0
> (Re)start USB...
> USB:   USB EHCI 1.00
> scanning bus for devices... 2 USB Device(s) found
>        scanning bus for storage devices... 1 Storage Device(s) found
> reading bsd
> 
> 4032753 bytes read
> Allocating memory for ELF segment: addr: 0xffffffff81000000 (adjusted
> to: 0x1000000), size 0x3fb2e0
> ## Loading big-endian Linux kernel with entry point: 0xffffffff81000000 ...
> Bootloader: Done loading app on coremask: 0x1
> Starting cores 0x1
> Total DRAM Size 0x0000000080000000
> Bank 0 = 0x00000000013FC000   ->  0x000000000FFFFFFF
> Bank 1 = 0x0000000410000000   ->  0x000000041FFFFFFF
> Bank 2 = 0x0000000020000000   ->  0x000000007FFFC001
> mem_layout[0] page 0x00000000000004FF -> 0x0000000000003FFF
> mem_layout[1] page 0x0000000000008000 -> 0x000000000001FFFF
> mem_layout[2] page 0x0000000000104000 -> 0x0000000000107FFF
> boot_desc->argv[1] = rootdev=/dev/sd0
> Initial setup done, switching console.
> boot_desc->desc_ver:7
> boot_desc->desc_size:400
> boot_desc->stack_top:0
> boot_desc->heap_start:0
> boot_desc->heap_end:0
> boot_desc->argc:2
> boot_desc->flags:0x5
> boot_desc->core_mask:0x1
> boot_desc->dram_size:2048
> boot_desc->phy_mem_desc_addr:0
> boot_desc->debugger_flag_addr:0xc84
> boot_desc->eclock:1000000000
> boot_desc->boot_info_addr:0x1001f0
> boot_info->ver_major:1
> boot_info->ver_minor:3
> boot_info->stack_top:0
> boot_info->heap_start:0
> boot_info->heap_end:0
> boot_info->boot_desc_addr:0
> boot_info->exception_base_addr:0x1000
> boot_info->stack_size:0
> boot_info->flags:0x5
> boot_info->core_mask:0x1
> boot_info->dram_size:2048
> boot_info->phys_mem_desc_addr:0x48108
> boot_info->debugger_flags_addr:0
> boot_info->eclock:1000000000
> boot_info->dclock:533000000
> boot_info->board_type:20003
> boot_info->board_rev_major:0
> boot_info->board_rev_minor:15
> boot_info->mac_addr_count:8
> boot_info->cf_common_addr:0
> boot_info->cf_attr_addr:0
> boot_info->led_display_addr:0
> boot_info->dfaclock:0
> boot_info->config_flags:0x8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2015 OpenBSD. All rights reserved.
> http://www.OpenBSD.org
> 
> OpenBSD 5.8-current (GENERIC) #1: Thu Nov 26 15:01:01 CET 2015
>     jas...@erl-2.jasper.la:/usr/src/sys/arch/octeon/compile/GENERIC
> real mem = 2126512128 (2028MB)
> avail mem = 2109603840 (2011MB)
> warning: no entropy supplied by boot loader
> mainbus0 at root
> cpu0 at mainbus0: Cavium OCTEON II CPU rev 0.1 1000 MHz, Software FP
> emulation
> cpu0: cache L1-I 512KB D 8KB 64 way, L2 1024KB 8 way
> clock0 at mainbus0: int 5
> iobus0 at mainbus0
> dwctwo0 at iobus0 base 0x1180068000000 irq 56octrng0 at iobus0 base
> 0x1400000000000 irq 0
> cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
> unsupported octeon model: 0xd9301
> uar: ns16550, no working fifo
> com0: console
> com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
> /dev/ksyms: Symbol table not valid.
> vscsi0 at root
> scsibus0 at vscsi0: 256 targets
> softraid0 at root
> scsibus1 at softraid0: 256 targets
> root device:
> 
> 
> On 12/5/15 2:56 PM, Janne Johansson wrote:
>> My ERL would not run SMP if coremask was 0x1 (ie, use only one cpu) so I
>> setenv:ed the bootmask to add coremask=0x3 so that the bsd.mp would find
>> both cores, otherwise it bombed while probing for the second.
>>
>>
>> 2015-12-05 14:21 GMT+01:00 Daniel Ouellet <dan...@presscom.net>:
>>
>>> Not the end of the world, I was trying to see if I could boot OpenBSD on
>>> this version of the EdgeRouter Pro from Ubiquiti. I try the latest
>>> Octeon available just in case.
>>>
>>> I am still trying, but start to run out of idea and i do need to get
>>> some sleep now.
>>>
>>> Anyone have a possible Idea as what I may try to load this may be.
>>>
>>> Look like the processor may not be configure here, or may be I don't
>>> read it right:
>>>
>>> Anyway, this all from the start at the boot and then when it crash, it
>>> retry to boot and then keep cycling in.
>>>
>>> I just wanted to give this a trill as the box is nice and have 8 Gb
>>> ports, of witch 2 can also be SFP in a very small 1U may be 7 inch deep.
>>>
>>> Anyway, here it is.
>>>
>>> ==============================
>>>
>>>
>>> Octeon ubnt_e200# resetJumping to start of image at address 0xbfca0000
>>>
>>>
>>> U-Boot 2012.04.01 (UBNT Build ID: 4670715-g7c4b1d0) (Build time: May 27
>>> 2014 - 11:19:05)
>>>
>>> Skipping PCIe port 0 BIST, in EP mode, can't tell if clocked.
>>> Skipping PCIe port 1 BIST, reset not done. (port not configured)
>>> BIST check passed.
>>> UBNT_E200 r1:0, r2:15, serial #: 44D9E7410ECB
>>> MPR 13-00317-15
>>> Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
>>> Base DRAM address used by u-boot: 0x8f800000, size: 0x800000
>>> DRAM: 2 GiB
>>> Clearing DRAM...... done
>>> Flash: 8 MiB
>>> Net:   octeth0, octeth1, octeth2, octeth3, octeth4, octeth5, octeth6,
>>> octeth7
>>> MMC:   Octeon MMC/SD0: 0
>>> USB:   USB EHCI 1.00
>>> scanning bus for devices... 2 USB Device(s) found
>>> Type the command 'usb start' to scan for USB storage devices.
>>>
>>> Hit any key to stop autoboot:  0
>>> (Re)start USB...
>>> USB:   USB EHCI 1.00
>>> scanning bus for devices... 2 USB Device(s) found
>>>        scanning bus for storage devices... 1 Storage Device(s) found
>>> reading bsd.rd
>>>
>>> 7568951 bytes read
>>> Allocating memory for ELF segment: addr: 0xffffffff81000000 (adjusted
>>> to: 0x1000000), size 0x768c20
>>> ## Loading big-endian Linux kernel with entry point: 0xffffffff81000000 ...
>>> Bootloader: Done loading app on coremask: 0x1
>>> Starting cores 0x1
>>> Total DRAM Size 0x0000000080000000
>>> Bank 0 = 0x000000000176C000   ->  0x000000000FFFFFFF
>>> Bank 1 = 0x0000000410000000   ->  0x000000041FFFFFFF
>>> Bank 2 = 0x0000000020000000   ->  0x000000007FFFC001
>>> mem_layout[0] page 0x00000000000005DB -> 0x0000000000003FFF
>>> mem_layout[1] page 0x0000000000008000 -> 0x000000000001FFFF
>>> mem_layout[2] page 0x0000000000104000 -> 0x0000000000107FFF
>>> boot_desc->argv[1] = rootdev=/dev/sd0
>>> Initial setup done, switching console.
>>> boot_desc->desc_ver:7
>>> boot_desc->desc_size:400
>>> boot_desc->stack_top:0
>>> boot_desc->heap_start:0
>>> boot_desc->heap_end:0
>>> boot_desc->argc:2
>>> boot_desc->flags:0x5
>>> boot_desc->core_mask:0x1
>>> boot_desc->dram_size:2048
>>> boot_desc->phy_mem_desc_addr:0
>>> boot_desc->debugger_flag_addr:0xc84
>>> boot_desc->eclock:1000000000
>>> boot_desc->boot_info_addr:0x1001f0
>>> boot_info->ver_major:1
>>> boot_info->ver_minor:3
>>> boot_info->stack_top:0
>>> boot_info->heap_start:0
>>> boot_info->heap_end:0
>>> boot_info->boot_desc_addr:0
>>> boot_info->exception_base_addr:0x1000
>>> boot_info->stack_size:0
>>> boot_info->flags:0x5
>>> boot_info->core_mask:0x1
>>> boot_info->dram_size:2048
>>> boot_info->phys_mem_desc_addr:0x48108
>>> boot_info->debugger_flags_addr:0
>>> boot_info->eclock:1000000000
>>> boot_info->dclock:533000000
>>> boot_info->board_type:20003
>>> boot_info->board_rev_major:0
>>> boot_info->board_rev_minor:15
>>> boot_info->mac_addr_count:8
>>> boot_info->cf_common_addr:0
>>> boot_info->cf_attr_addr:0
>>> boot_info->led_display_addr:0
>>> boot_info->dfaclock:0
>>> boot_info->config_flags:0x8
>>> Copyright (c) 1982, 1986, 1989, 1991, 1993
>>>         The Regents of the University of California.  All rights reserved.
>>> Copyright (c) 1995-2015 OpenBSD. All rights reserved.
>>> http://www.OpenBSD.org
>>>
>>> OpenBSD 5.8-current (RAMDISK) #1: Thu Nov 26 17:33:10 CET 2015
>>>     jas...@erl-2.jasper.la:/usr/src/sys/arch/octeon/compile/RAMDISK
>>> real mem = 2122907648 (2024MB)
>>> avail mem = 2106032128 (2008MB)
>>> mainbus0 at root
>>> cpu0 at mainbus0: Cavium OCTEON II CPU rev 0.1 1000 MHz, Software FP
>>> emulation
>>> cpu0: cache L1-I 512KB D 8KB 64 way, L2 1024KB 8 way
>>> clock0 at mainbus0: int 5
>>> iobus0 at mainbus0
>>> dwctwo0 at iobus0 base 0x1180068000000 irq 56cn30xxgmx0 at iobus0 base
>>> 0x1180008000000 irq 48
>>> unsupported octeon model: 0xd9301
>>> uar: ns16550, no working fifo
>>> com0: console
>>> com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
>>> root on rd0a swap on rd0b dump on rd0b
>>> WARNING: No TOD clock, believing file system.
>>> WARNING: CHECK AND RESET THE DATE!
>>> panic: pool_do_get: filepl free list modified: page 0x980000041e984000;
>>> item addr 0x980000041e984000; offset 0x0=0x0 != 0xc45e62ccb6b162fe
>>> syncing disks... done
>>> System restart.
>>>                �Jumping to start of image at address 0xbfca0000
>>>
>>>
>>> U-Boot 2012.04.01 (UBNT Build ID: 4670715-g7c4b1d0) (Build time: May 27
>>> 2014 - 11:19:05)
>>>
>>>
>>
>>
>> --
>> May the most significant bit of your life be positive.

Reply via email to