On Mon, Sep 14, 2015 at 04:52:07PM +0200, Alexis de BRUYN wrote:
> Hi Paul,
> 
> I have tried the last -current/octeon (and 5.7/octeon) on a D-Link DSR-500N
> (HW A1), but the bootoctlinux command failed.
> 
> Regards,

Wow, a reply to a one and a half year-old email! :-)

I think you need to clean the randomdata section from your kernel
because we don't have a native bootloader for Octeon.

$ objcopy -R .openbsd.randomdata bsd bsd.tmp && mv bsd.tmp bsd

> 
> U-Boot 1.1.1 (Development build, svnversion: exported) (Build time: Sep  1
> 2010 - 16:21:09)
> 
> Warning: Board descriptor tuple not found in eeprom, using defaults
> CUST_DSR500N board revision major:2, minor:0, serial #: unknown
> OCTEON CN5010-SCP pass 1.1, Core clock: 300 MHz, DDR clock: 200 MHz (400 Mhz
> data rate)
> DRAM:  128 MB
> Flash: 32 MB
> Clearing DRAM...... done
> BIST check passed.
> Starting PCI
> PCI Status: PCI 32-bit
> PCI BAR 0: 0x00000000, PCI BAR 1: Memory 0x00000000  PCI 0xf8000000
> Net:   octeth0, octeth1, octeth2
> 
> Hit any key to stop autoboot:  0
> D-Link DSR-500N bootloader# dhcp
> Interface 0 has 3 ports (RGMII)
> BOOTP broadcast 1
> octeth0: Up 1000 Mbps Full duplex (port  0)
> *** Unhandled DHCP Option in OFFER/ACK: 28
> *** Unhandled DHCP Option in OFFER/ACK: 42
> *** Unhandled DHCP Option in OFFER/ACK: 28
> *** Unhandled DHCP Option in OFFER/ACK: 42
> DHCP client bound to address 192.168.0.39
> D-Link DSR-500N bootloader# tftpboot 0 bsd.rd
> Using octeth0 device
> TFTP from server 192.168.0.236; our IP address is 192.168.0.39
> Filename 'bsd.rd'.
> Load address: 0x5500000
> Loading: #####################################################
> done
> Bytes transferred = 7548970 (73302a hex), 3311 Kbytes/sec
> D-Link DSR-500N bootloader# bootoctlinux
> ELF file is 64 bit
> Attempting to allocate memory for ELF segment: addr: 0xffffffff81000000
> (adjusted to: 0x0000000001000000), size 0x764600
> Allocated memory for ELF segment: addr: 0xffffffff81000000, size 0x764600
> Attempting to allocate memory for ELF segment: addr: 0xffffffff816ec790
> (adjusted to: 0x00000000016ec790), size 0x2400
> Error allocating memory for elf image!
> ## ERROR loading File!
> 
> 
> On 02/13/14 11:52, Paul Irofti wrote:
> >Hi there,
> >
> >I just updated the hardware section for the octeon port and added the
> >DSR-500 model to the supported list.
> >
> >I was wondering if similar models might also work with what's in-tree.
> >
> >Could people NFS-boot or at least try the ramdisk kernel on similar
> >models (e.g. DSR-500N, DSR-1000, DSR-1000N) and report back so we can
> >expand the supported list?
> >
> >Thank you,
> >Paul
> >
> 
> -- 
> Alexis de BRUYN

Reply via email to