Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 01:29:07 +0200
From:      Rasmus Liland <jensrasmus@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net)
Message-ID:  <20170330232907.GA21389@jrl.uk.to>

next in thread | raw e-mail | index | archive | help

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear arm list,

I now almost managed to boot the DB-88F6XXX configuration on a 
Seagate GoFlex Net (Kirkwood 88F6281_A0), but not past clang 
announcement of the first nine dmesg lines before CPU 
announcement is being expected.

Based on sys/arm/mv/kirkwood/kirkwood.c, I am certain this board 
is supported. Attached is a log of the kernel being loaded in 
u-boot by running standard commands:

    dhcp
    tftpboot 500000 kernel.bin
    go 500000

The kernel was built based on an old 10/stable tree last checked 
out August 2016 using this standard procedure from the FreeBSD 
Wiki https://wiki.freebsd.org/FreeBSDMarvell:

    make buildworld TARGET_ARCH=arm
    make buildkernel TARGET_ARCH=arm KERNCONF=DB-88F6XXX

I am not sure how to make it past the clang announcement, thus is 
it possible for anyone to point me in a fruitful direction?

/Rasmus

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="goflex_uboot.log"

U-Boot 2010.09 (Feb 16 2011 - 18:42:02)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC:   Kirkwood 88F6281_A0
DRAM:  128 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=3"
UBI: MTD device size:            219 MiB
UBI: number of good PEBs:        1752
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(Re)start USB...
USB:   Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
Marvell>> dhcp
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 10.6.6.26
*** Warning: no boot file name; using '0A06061A.img'
Using egiga0 device
TFTP from server 10.6.6.1; our IP address is 10.6.6.26
Filename '0A06061A.img'.
Load address: 0x800000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Marvell>> tftpboot 500000 kernel.bin
Using egiga0 device
TFTP from server 10.6.6.1; our IP address is 10.6.6.26
Filename 'kernel.bin'.
Load address: 0x500000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################
done
Bytes transferred = 4380232 (42d648 hex)
Marvell>> go 500000
## Starting application at 0x00500000 ...
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.3-STABLE #0 r304297: Thu Mar 30 19:28:22 CEST 2017
    root@node:/usr/obj/arm.arm/usr/src/stable/10/sys/DB-88F6XXX arm
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512

--HcAYCG3uE/tztfnV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170330232907.GA21389>