On Tue, Jun 12, 2018 at 03:08:49PM +0200, Holger Glaess wrote:
> hi

hello,

> i bought the edgerouter 6 to play around wird openbsd 6.3 current.
> 
> i install and boot current susccessful on a usb stick.
> 
> my problem is that he only use one core.
> 
> if i boot the boot the bsd.mp kernel by tftp , the system have 4 cores.

Take a look at INSTALL.octeon file.

beta$ grep -i core INSTALL.octeon
  On multi-core systems, boot with all CPU cores enabled:
        # bootoctlinux rootdev=rd0 numcores=<number of cores>
...

Hope that helps...

Regards,
-peter




> my boot env
> 
> 
> Octeon ubnt_e300(ram)# printenv
> autoload=n
> baudrate=115200
> boardname=ubnt_e300
> bootcmd=usb reset; fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0
> numcores=4
> bootdelay=10
> dram_size_mbytes=1024
> env_size=2000
> eth1addr=fc:ec:da:40:fa:43
> eth2addr=fc:ec:da:40:fa:44
> eth3addr=fc:ec:da:40:fa:45
> eth4addr=fc:ec:da:40:fa:46
> eth5addr=fc:ec:da:40:fa:47
> ethact=octeth1
> ethaddr=fc:ec:da:40:fa:42
> ethprime=octeth1
> fdtaddr=80000
> flash_base_addr=1f400000
> flash_size=800000
> loadaddr=0x20000000
> mtdparts=spi32766.0:3072k(boot0),1024k(dummy),64k(eeprom)
> nuke_env=env default -a;saveenv
> numcores=4
> numcoreshex=0x4
> octeon_failsafe_mode=0
> octeon_ram_mode=1
> old_bootcmd="fatload mmc 0 $(loadaddr) vmlinux.64;bootoctlinux $(loadaddr)
> numcores=$(numcores) endbootargs mem=0 root=/dev/mmcblk0p2 rootdelay=
> 10 rw rootsqimg=squashfs.img rootsqwdir=w
> mtdparts=spi32766.0:3072k(boot0),1024k(dummy),64k(eeprom)"
> serial#=FCECDA40FA42
> stderr=serial
> stdin=serial,pci,bootcmd
> stdout=serial
> usb=start;fatload usb 0 $loadaddr bsd.mp;bootoctlinux rootdev=/dev/sd0
> numcores=4
> ver=U-Boot 2013.07 (Build time: Jan 04 2018 - 17:14:38)
> 
> Environment size: 1132/8188 bytes
> Octeon ubnt_e300(ram)#
> 
> 
> any clue for me to boot the box with all cpu cores ?
> 
> 
> holger

Reply via email to