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 <[email protected]>:

> 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
>     [email protected]:/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