From owner-freebsd-arm@freebsd.org Thu Mar 30 23:30:01 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC1B6D26251 for ; Thu, 30 Mar 2017 23:30:01 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42FD278E for ; Thu, 30 Mar 2017 23:30:01 +0000 (UTC) (envelope-from jensrasmus@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id z15so35678975lfd.1 for ; Thu, 30 Mar 2017 16:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:reply-to:mail-followup-to :mime-version:content-disposition; bh=DvcepPosxfDhE71t0d2iD4mQoDmi3VXPdZNfpYUauM0=; b=Tt1O2zqr5qOv7J+96btUFK/XCx6Tr1IF1/i7qsiY+t0iob7iRpUtWan9Y8jnIAM3PU Xnq0eUOYn7KLZ/q4lQEgggOjhi3W1BCIbGMFv+Gyl5nfNtQa6Ql5mDypIyhkWxmPVde5 ltXMHGy/2T7IFk6iZE3yaKL7afGeZ85F5BrP86lPF/NJEJxxpKA0nWCKzXoMBCx8MNrl zmPBO/z3c7YyP5WddxqLzeX89LmJlteh0dttmeMRen7ZABIDND1fOiQr7mmVJzH7EUZ0 JfqphW7f9+gmur72K0ZiAh4U2npu0+6a0ae6OjBbXINYyargTrTAPhWAUXq8kJ45tRXw q2ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :mail-followup-to:mime-version:content-disposition; bh=DvcepPosxfDhE71t0d2iD4mQoDmi3VXPdZNfpYUauM0=; b=KpwpPRj05w8NOP4MUNLxgOxMZ+GlB0bFbEPdDpIQ+c54zr3ERjmQ89GlPLPTufvSVK TPZ5OQgZYfwWUpDBJSaYlxJq1rT5KSFVDlaR+G5ejVFxsuH8RJY5+zXUCajHvt2lSevc gSvJP0ydHMMB59ObH4CjKpChGkNQBLIGPpzmLJ08SY0Tv2yot143wkYTchy0trt7lhjA TYUgPgx5dyXwDKZNdgQ3VrmDIWpfEYbVvVSzCRvxt/Em7brcdEhP0ittMaYaNU9hjXVZ 92W67C+QWJ08YPC0+FWIXB8tx4+4XB0+E0dXfTDXrjOBug2wFg8OIUdhQfQ4P5JGj+w5 qymA== X-Gm-Message-State: AFeK/H3OaOxjn6bWuODpRF1ClxXuf5dflAkJBhPhq1qfHpVNTzpcw48O2MsCzkD/FIjTeQ== X-Received: by 10.25.152.9 with SMTP id a9mr551380lfe.155.1490916598100; Thu, 30 Mar 2017 16:29:58 -0700 (PDT) Received: from jrl.uk.to (cm-84.211.229.154.getinternet.no. [84.211.229.154]) by smtp.gmail.com with ESMTPSA id 3sm606019ljj.16.2017.03.30.16.29.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 16:29:57 -0700 (PDT) Date: Fri, 31 Mar 2017 01:29:07 +0200 From: Rasmus Liland To: freebsd-arm@freebsd.org Subject: DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net) Message-ID: <20170330232907.GA21389@jrl.uk.to> Reply-To: Rasmus Liland Mail-Followup-To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline X-GPG-Key-Server: http://pgp.mit.edu X-GPG-Key-FingerPrint: DD51 6042 15B2 DC18 B546 B847 9807 9AF9 3DFD 5DF7 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 23:30:01 -0000 --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--