From owner-freebsd-arm@freebsd.org Sun Mar 27 02:47:09 2016 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 21359AD543A for ; Sun, 27 Mar 2016 02:47:09 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E324B16F3; Sun, 27 Mar 2016 02:47:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id u2R2l6b4007547; Sat, 26 Mar 2016 19:47:06 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id u2R2l6jo007546; Sat, 26 Mar 2016 19:47:06 -0700 (PDT) (envelope-from fbsd) Date: Sat, 26 Mar 2016 19:47:06 -0700 From: bob prohaska To: Ian Lepore Cc: freebsd-arm@FreeBSD.org, bob prohaska Subject: Re: [Bug 208308] Adding USB flash drive to fstab kills ue0 on Raspberry Pi 2 Message-ID: <20160327024706.GH86944@www.zefox.net> References: <20160326180748.GG86944@www.zefox.net> <1459016044.1091.107.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459016044.1091.107.camel@freebsd.org> User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 02:47:09 -0000 On Sat, Mar 26, 2016 at 12:14:04PM -0600, Ian Lepore wrote: > Normally the boot process waits only for the root filesystem device to > appear. You might try adding an unconditional boot delay to > /boot/loader.conf, to give time for usb devices to arrive, like > > kern.cam.boot_delay="10000" > > The number is delay in milliseconds. > Ok, that brought back some memories. It turns out that I have kern.cam.boot_delay="20000" in the other RPI2s that use USB storage. At first it was used for a mechanical hard drive but apparently was found necessary for USB flash drives as well. I'd forgotten all about the episode..... Thanks for the reminder! bob prohaska From owner-freebsd-arm@freebsd.org Sun Mar 27 05:00:08 2016 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 84A00ADFC59 for ; Sun, 27 Mar 2016 05:00:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 68F431454 for ; Sun, 27 Mar 2016 05:00:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 64C43ADFC58; Sun, 27 Mar 2016 05:00:08 +0000 (UTC) Delivered-To: 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 62089ADFC57 for ; Sun, 27 Mar 2016 05:00:08 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11C2F1453 for ; Sun, 27 Mar 2016 05:00:07 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1ak2nw-0006Bn-Na for arm@freebsd.org; Sun, 27 Mar 2016 08:00:00 +0300 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: ue0 stops on rpib when net booting/root via nfs Message-Id: Date: Sun, 27 Mar 2016 08:00:21 +0300 To: arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 05:00:08 -0000 Something is killing the ue0 after net booting the RPI-B, the driver just hangs sometime after going multiuser, and sometime later it will complain: server =E2=80=A6 not responding - since the root is = nfs mounted. I can only enter the debugger, anything I can look for? danny From owner-freebsd-arm@freebsd.org Sun Mar 27 15:48:58 2016 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 177C1ADF952 for ; Sun, 27 Mar 2016 15:48:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 03F121324 for ; Sun, 27 Mar 2016 15:48:58 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F3BB4ADF951; Sun, 27 Mar 2016 15:48:57 +0000 (UTC) Delivered-To: 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 F358EADF950 for ; Sun, 27 Mar 2016 15:48:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC8AE1323 for ; Sun, 27 Mar 2016 15:48:57 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 7020d5f2-f433-11e5-b278-7d22021d92d7 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sun, 27 Mar 2016 15:49:06 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u2RFmnSm024638; Sun, 27 Mar 2016 09:48:49 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1459093729.1091.114.camel@freebsd.org> Subject: Re: ue0 stops on rpib when net booting/root via nfs From: Ian Lepore To: Daniel Braniss , arm@freebsd.org Date: Sun, 27 Mar 2016 09:48:49 -0600 In-Reply-To: References: Content-Type: text/plain; charset="windows-1251" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 15:48:58 -0000 On Sun, 2016-03-27 at 08:00 +0300, Daniel Braniss wrote: > Something is killing the ue0 after net booting the RPI-B, > the driver just hangs sometime after going multiuser, and sometime > later > it will complain: server … not responding - since the root is nfs > mounted. > I can only enter the debugger, anything I can look for? > > > danny Is this something has been working for you for a long time and recently started to fail? I've always had intermittant trouble with armv6 and nfsroot. Sometimes the arm boards just hang even when they've been sitting idle at the shell prompt for hours, and if you ^T it shows the state as [rpccon] and it's stuck that way forever, only a reboot fixes it. It doesn't seem to happen on armv4 that I've ever noticed, just armv6 (but all armv6 for me, not just rpi, and it's intermittant and seems to happen more when the system is idle). Since nobody else has ever complained about it, I've always assumed it was some glitch in my config here, and I just never get around to figuring out why it happens. I did look at the traffic once using tcpdump on another machine, and rpc packets were going out and no replies were coming back. I don't know enough about the protocols to figure out anything from the packets I saw. -- Ian From owner-freebsd-arm@freebsd.org Mon Mar 28 01:09:31 2016 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 DCB36ADF008 for ; Mon, 28 Mar 2016 01:09:31 +0000 (UTC) (envelope-from mark@heily.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 B3C501835 for ; Mon, 28 Mar 2016 01:09:31 +0000 (UTC) (envelope-from mark@heily.com) Received: by mail-io0-x235.google.com with SMTP id 124so161284811iov.3 for ; Sun, 27 Mar 2016 18:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heily-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=fBw4t1gJyG1iUcIJTlNcsd0SBc0HPYuLRAaBfAdIXgo=; b=I83g+GEjIT2F0/jvia6Xe61gXlEbaKoaMj0StBi4YvR50gwQR8uCNUyfB5Ewkh9pE0 fZC+AzfagbHQQRIXt6MTZ8U18RfjvNtB+qmvPnyXwujC6Yu41THBQrQFNEUIZZKCfIcI ZXrlrEDxXJg2Qqp8mb99QUD+PPhAmwywD8+VNlpQbB2AWVWBburs4vSxjHqSoKz86jsH EWiA1Wgi7feyVieWtCW8LQzOTJTwG1aQTW08x+N6/bCY3g03TYtDyAdXLl9XjElCyPxY WqGPqJEqLXfatBnNj+tZ+G8NBrYreqmhxEeBLbDdBRJpqA5oJWL1TPW8wlpeOALF9SK7 5k3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=fBw4t1gJyG1iUcIJTlNcsd0SBc0HPYuLRAaBfAdIXgo=; b=NDyCMb5LqCJegpHhoWEJ3k5pXadU6JgFAJu8gPX8nNSfcyYYh8RHw4AnFd+PWfdTRX a764S4p1LkW1V8W28ewbqLtCjXUkMXHK7pPQCRlOWGS9B6OrPgWGDxr/qoz1n79xQp2O bLcJchaiXau4+4BWBTIcragy99wax4S3c8vmHTMr9Z4bBwxzyw8m1LAL58IqD4JN7nyf 6E1jgETaF11uUtmRxDowE10hmA4I/zhO8N1w0P22mEnSKJ3lkl4uBYOUqKHnuY/ihV5p Mk/6LVemT1Tzz42kxfyYn9XjZaJ4lD8thFtYrY5TVle3y/MMAGSpKVwDKWVhxUyJ/rcS V4ww== X-Gm-Message-State: AD7BkJJ3dPYF/4xDluFVYHkYVHPl0PIN17EPnKIDUoW8nyOEOh1kBQA2D8tHasQDur0wY8QjQUPVYmU8vjHTVQ== MIME-Version: 1.0 X-Received: by 10.107.135.104 with SMTP id j101mr4968233iod.158.1459127370844; Sun, 27 Mar 2016 18:09:30 -0700 (PDT) Received: by 10.79.30.133 with HTTP; Sun, 27 Mar 2016 18:09:30 -0700 (PDT) X-Originating-IP: [71.70.175.250] Date: Sun, 27 Mar 2016 21:09:30 -0400 Message-ID: Subject: Odroid C2 unable to boot From: Mark Heily To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 01:09:32 -0000 I tried loading the following image onto the SD card of my brand new Odroid C2: FreeBSD-11.0-CURRENT-arm64-aarch64-20160308-r296485-memstick.img This is an ARMv8 board: more details at: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438 It failed to boot; the blue light that indicates boot activity never came on. I was able to boot the Ubuntu 16.04 image that is provided at hardkernel.com, so I'm confident it's not a problem with the Odroid itself or the SD card. Does anyone have a recommendation for a serial UART to USB adapter that will let me connect the device to my main FreeBSD machine so I can debug the issue further? The manufacturer recommends their own kit, which looks like it's Windows-only: http://www.hardkernel.com/main/products/prdt_info.php?g_code=G134111883934 Thanks, - Mark P.S. Please CC: my personal email address as I am not subscribed to the list yet. From owner-freebsd-arm@freebsd.org Mon Mar 28 04:42:41 2016 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 780E6AE0876 for ; Mon, 28 Mar 2016 04:42:41 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 2A2F01A1D for ; Mon, 28 Mar 2016 04:42:41 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22a.google.com with SMTP id e6so143321773vkh.2 for ; Sun, 27 Mar 2016 21:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=PTP5gd+EPBT3CQIXs5IkRK/AQCik373Axk+jN1Zy5Mc=; b=oa8E5vhguasv6oD1BbTpP3HQA97RXVKZHhv9vCR9Bps3BFoXo9Brux3op+zn184ZYg Zk60dxAAmieO9d7GVY1CPPsKfvjEivE0CozFscVx/dninWunjVKEW5Oqp0RwrDgpipBz enV3VbD3Lo+vD7nhPXnmgrP8/mzaBOJXENMEEJooS3bZzQy/C4vA4bvuHi6IszIb7jZR tbrTAqR/nk54q3QQ3adiGFktE4/7sLx8Obad5t3V7eb/pcnA/2TgiVLWdQhvafVMsC7V fGYiLtGN5hVusx5rqVpaAATWeAxOfwlVOGkrYlFhvHM9ZNwzGMiB6W2BP16Cat46LV6C bs1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=PTP5gd+EPBT3CQIXs5IkRK/AQCik373Axk+jN1Zy5Mc=; b=jwKt9HSO3AZkEmikc4Mb4+JLkHrmQYnSuDrW77o6vCf2rmZt5nedjEqN1+ZxkDh1NA Fm/uaVUWxVuO1Wop6SH/fUVfKF9Sf82LCGBjjbe4dqiD9orShUFXQG3J4yDgZDgi4IUH b7SMj36Gvv4KBqT+SgLB6WYozKmdHIc5ZoKsg2cbp49Cp/DNhgQLRrxg7hb9CrjWWCzp EQBpiAOfJaA/NEG3Z8GW8tTvlxtO43jabkC3ZubMxV1o7P5LV3XORXl4Bc3ah5EG/AHg swqWK4TbFf2Lmpat72qNziSm2Jx95sl6CkRzkmrF5tl6HAZe6Q1JAAxtW0DKzb0D3ICk VRbA== X-Gm-Message-State: AD7BkJIqQAGGzFzpDXM870Isxol1Al+x7LhvamKkJAmWImqGVyZ0SPvMsY3AzLfqzRxdcvOc6ZIOaWMe9Msocg== MIME-Version: 1.0 X-Received: by 10.176.2.23 with SMTP id 23mr13668620uas.100.1459140159778; Sun, 27 Mar 2016 21:42:39 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Sun, 27 Mar 2016 21:42:39 -0700 (PDT) In-Reply-To: References: Date: Sun, 27 Mar 2016 21:42:39 -0700 Message-ID: Subject: Re: Odroid C2 unable to boot From: Russell Haley To: Mark Heily Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 04:42:41 -0000 Hey Mark, Since you're helping me with your super awesome BSD-fist launchd implementation (https://github.com/mheily/relaunchd) I'll speak up but I'm not an expert: The current AAarch64 support is still a work in progress and limited to the Cavium Thunder, though one of the developers also got it working for an Raspberry Pi 3 (http://pastebin.ca/3387711). The information you are looking for is in the wiki here: 64Bit Arm (AArch64): https://wiki.freebsd.org/arm64 With the standard Arm wiki page: https://wiki.freebsd.org/FreeBSD/arm and Odroid C1 Information being here: https://wiki.freebsd.org/FreeBSD/arm/Odroid-C1 Odroid C1 support is considered "unknown" so I think that's like saying un-maintained. I can't tell you what that means for support on the C2 though. >From a quick search of my inbox I can see that the ODroid C2 has come up 3 times since I've been skulking around the arm mailing list so I would keep an eye on the channel. Russ On Sun, Mar 27, 2016 at 6:09 PM, Mark Heily wrote: > I tried loading the following image onto the SD card of my brand new Odroid > C2: > > FreeBSD-11.0-CURRENT-arm64-aarch64-20160308-r296485-memstick.img > > This is an ARMv8 board: more details at: > > > http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438 > > It failed to boot; the blue light that indicates boot activity never came > on. I was able to boot the Ubuntu 16.04 image that is provided at > hardkernel.com, so I'm confident it's not a problem with the Odroid itself > or the SD card. > > Does anyone have a recommendation for a serial UART to USB adapter that > will let me connect the device to my main FreeBSD machine so I can debug > the issue further? The manufacturer recommends their own kit, which looks > like it's Windows-only: > > http://www.hardkernel.com/main/products/prdt_info.php?g_code=G134111883934 > > Thanks, > > - Mark > > P.S. Please CC: my personal email address as I am not subscribed to the > list yet. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Mon Mar 28 04:56:42 2016 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 2B890AE0A7F for ; Mon, 28 Mar 2016 04:56:42 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-156.reflexion.net [208.70.211.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D66CE1E60 for ; Mon, 28 Mar 2016 04:56:41 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11486 invoked from network); 28 Mar 2016 04:56:55 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 28 Mar 2016 04:56:55 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.90.0) with SMTP; Mon, 28 Mar 2016 00:56:25 -0400 (EDT) Received: (qmail 19335 invoked from network); 28 Mar 2016 04:56:25 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 28 Mar 2016 04:56:25 -0000 X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id BCE58B1E001 for ; Sun, 27 Mar 2016 21:56:27 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Odroid C2 unable to boot Message-Id: Date: Sun, 27 Mar 2016 21:56:33 -0700 To: freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 04:56:42 -0000 FYI for Hardkernel's serial cable: See. . . http://odroid.com/dokuwiki/doku.php?id=3Den:usb_uart_kit for instructions for more than just Windows 7: Linux too. For me the forum's Mac OS X material that is referenced did not work for = Mac OS X 10.11.4 but the cable worked fine in basic tests with: https://itunes.apple.com/us/app/serial/id877615577?mt=3D12 (not free) (and its built-in drivers) when I set 115200 baud, 8 bit, no parity, one = stop bit, flow control being just XON/XOFF based. [The official drivers from = http://www.silabs.com/Support%20Documents/Software/ did not work and = caused hangs of the process involved under Mac OS X 10.11.4 . I = uninstalled those drivers before buying and trying Serial.] As for booting FreeBSD: (I'm not a FreeBSD developer so take my guesses as no more than = guesses.) As far as I know no work has been done to enable ODROID-C2 FreeBSD = support and as its ARMv8 environment is without UEFI or the like the = "tier 1" status for it likely does not apply for FreeBSD-11.0. Even if = someone knew just what to do and got it booted today it might be = considered a bit late to tier-1 something that was completely untested = before this point. And the FreeBSD developers probably have there hands full with things = started well before now. While I hope to use my ODROID-C2 with FreeBSD someday I'm not expecting = it to be soon and bootstrapping kernels and such is not familiar = material for me so I'm not much help on that issue (at least not on a = reasonable time frame). I also expect that if any ARMv7/ARMv6/. . . are given tier-1 status it = will only specific SOCs/boards that get such a status: no claim of = general tier-1 support. So even if, say, RPI2B gets such a status, it = may well be that at least for a time even the RPI3B might not. Many = SOC's/boards may never get such a status. Some may only get partial = coverage and no official support. It likely is mostly tied to who has = the knowledge and spends the time and would likely be around for = continued support for a notable time. In various respects ODROID-C2 is more like ARMv7/ARMv6/. . . relative to = its likely, eventual support status as far as I can tell. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Mon Mar 28 09:49:22 2016 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 80689AE0144 for ; Mon, 28 Mar 2016 09:49:22 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36CF01577 for ; Mon, 28 Mar 2016 09:49:22 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1akTnP-0000I2-DH for freeBSD-arm@freebsd.org; Mon, 28 Mar 2016 12:49:15 +0300 From: Daniel Braniss Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: OdroidC1: ARM_INTRNG missing #endif Message-Id: <9AB08486-CFC6-4805-9975-87F54C081B93@cs.huji.ac.il> Date: Mon, 28 Mar 2016 12:49:15 +0300 To: freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 09:49:22 -0000 Hi, trying my luck, yet again with (cross)compiling for the OdroidC1, and since my kernel config file did not have option ARM_INTRNG aml8726_machdep.c failed with missing #endif added a #endif at the end. also had to remove device random. now to see if my efforts payed off and I have a workable OdroidC1+ danny From owner-freebsd-arm@freebsd.org Mon Mar 28 12:44:50 2016 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 BDC47AE0146 for ; Mon, 28 Mar 2016 12:44:50 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D09A1D36; Mon, 28 Mar 2016 12:44:50 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akWXF-000MqO-B1; Mon, 28 Mar 2016 13:44:48 +0100 From: Mark R V Murray X-Pgp-Agent: GPGMail 2.6b2 Content-Type: multipart/signed; boundary="Apple-Mail=_55823844-97A4-4491-A437-87AB5E113F35"; protocol="application/pgp-signature"; micalg=pgp-sha1 Date: Mon, 28 Mar 2016 13:44:36 +0100 Subject: RPi 2 with 7-inch touchscreen. To: freebsd-arm Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 12:44:50 -0000 --Apple-Mail=_55823844-97A4-4491-A437-87AB5E113F35 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Folks, I have an RPi2 and I'm having some difficulties with the "official" = 7-inch touch-screen: = https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/= I know the touchscreen works, because it works with RaspBian. I can't = get any activity out of it with FreeBSD, however. I'm using FreeBSD-11-CURRENT, and the boot image is based on an = 11-CURRENT "official" download, but I added a very recent build of = sysutils/u-boot-rpi2. I can build CURRENT on the machine (using a USB SSD, manually mounted), = and I made sure I had the latest RPI2.DTB file in the FAT partition. The screen stays stubbornly OFF. Here is the relevant extract of CONFIG.TXT: hdmi_force_unplug=3D1 or hdmi_force_hotplug=3D1 or #hdmi_safe=3D1 or hdmi_ignore_edid=3D0xa5000080 hdmi_drive=3D2 hdmi_group=3D2 hdmi_mode=3D28 ... and I've tried a couple of combinations of the above with no luck. I = can make an HDMI TV work, but not the inbuilt ribbon-cable interface. I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, but = I'm not all that clued in that department. Has anyone had any better luck than me? M -- Mark R V Murray --Apple-Mail=_55823844-97A4-4491-A437-87AB5E113F35 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5JzwACgkQzQuKNftX15P2VACgtFIyKoHKJEW6oMslD6HIeOLk Q9EAn0hTRkA7qgvhLZ7++RMqrJDbf6Bh =RlVM -----END PGP SIGNATURE----- --Apple-Mail=_55823844-97A4-4491-A437-87AB5E113F35-- From owner-freebsd-arm@freebsd.org Mon Mar 28 13:04:18 2016 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 BF085AE0540 for ; Mon, 28 Mar 2016 13:04:18 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D95541509; Mon, 28 Mar 2016 13:04:17 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 5cf47fa3; Mon, 28 Mar 2016 14:57:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=7t2JB3R9pjYeZeFmdozD54LTBlI=; b=WwAwrzP49NsSgYO5mj0UrTVucUas XGUVLzm8UVdm+WnSMD+XeNG80hi1gMIizYkFGsJiNgKVi/fKUgosFMc2v/eFiF7J NT1BFwJL08f/F1CFriAHfWL9J6MpyYdwhF5pVqRZWnk8KcqkqRO3NtYSOYXXkD3T Q8vKa0rgX38pido= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ScIQEY6E77mE1ATi6dkOxHhOtY9BOuJjVoLysnuqZjIrSzpNRjdoyyfZ WxaMdu+RLSn3tyUcNh30XETEOxXpjLdbRTJtAnCCu6K6+TQAKKdGbChjVzZx7JSp vgBdQdkskTvtKt7DFTSP9viX4XKb9qrw+go/xwlg9P/b0AnxnDk= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b7260a67 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 28 Mar 2016 14:57:34 +0200 (CEST) Date: Mon, 28 Mar 2016 14:57:33 +0200 From: Emmanuel Vadot To: Mark R V Murray Cc: freebsd-arm Subject: Re: RPi 2 with 7-inch touchscreen. Message-Id: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 13:04:18 -0000 Hi, I'm not sure that we support it, from what I understand the official screen seems to use i2c for the touchscreen part (via the FT5406 IC). Could you run "i2c -s" on the different i2c busses to see if the chip anwsers ? Thanks, On Mon, 28 Mar 2016 13:44:36 +0100 Mark R V Murray wrote: > Hi Folks, > > I have an RPi2 and I'm having some difficulties with the "official" 7-inch touch-screen: https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/ > > I know the touchscreen works, because it works with RaspBian. I can't get any activity out of it with FreeBSD, however. > > I'm using FreeBSD-11-CURRENT, and the boot image is based on an 11-CURRENT "official" download, but I added a very recent build of sysutils/u-boot-rpi2. > > I can build CURRENT on the machine (using a USB SSD, manually mounted), and I made sure I had the latest RPI2.DTB file in the FAT partition. > > The screen stays stubbornly OFF. > > Here is the relevant extract of CONFIG.TXT: > > hdmi_force_unplug=1 > or > hdmi_force_hotplug=1 > or > #hdmi_safe=1 > or > hdmi_ignore_edid=0xa5000080 > hdmi_drive=2 > hdmi_group=2 > hdmi_mode=28 > > ... and I've tried a couple of combinations of the above with no luck. I can make an HDMI TV work, but not the inbuilt ribbon-cable interface. > > I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, but I'm not all that clued in that department. > > Has anyone had any better luck than me? > > M > -- > Mark R V Murray > -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Mar 28 13:07:43 2016 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 AEA88AE05C7 for ; Mon, 28 Mar 2016 13:07:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7B20B15AC; Mon, 28 Mar 2016 13:07:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akWtN-000MsH-93; Mon, 28 Mar 2016 14:07:41 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> Date: Mon, 28 Mar 2016 14:07:31 +0100 Cc: freebsd-arm Message-Id: <6E62CADD-CDDF-45BB-986A-733F30F77DC8@FreeBSD.org> References: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 13:07:43 -0000 --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 13:57, Emmanuel Vadot = wrote: > Hi, >=20 > I'm not sure that we support it, from what I understand the official = screen seems to use i2c for the touchscreen part (via the FT5406 IC). > Could you run "i2c -s" on the different i2c busses to see if the chip = answers ? I see nothing on bus scans of /dev/iic[01], nut I know that I2C works as = I can talk to other I2C devices (not connected at the moment). What is more important is video; the "touch" aspect can wait. M >=20 > Thanks, >=20 > On Mon, 28 Mar 2016 13:44:36 +0100 > Mark R V Murray wrote: >=20 >> Hi Folks, >>=20 >> I have an RPi2 and I'm having some difficulties with the "official" = 7-inch touch-screen: = https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/= >>=20 >> I know the touchscreen works, because it works with RaspBian. I can't = get any activity out of it with FreeBSD, however. >>=20 >> I'm using FreeBSD-11-CURRENT, and the boot image is based on an = 11-CURRENT "official" download, but I added a very recent build of = sysutils/u-boot-rpi2. >>=20 >> I can build CURRENT on the machine (using a USB SSD, manually = mounted), and I made sure I had the latest RPI2.DTB file in the FAT = partition. >>=20 >> The screen stays stubbornly OFF. >>=20 >> Here is the relevant extract of CONFIG.TXT: >>=20 >> hdmi_force_unplug=3D1 >> or >> hdmi_force_hotplug=3D1 >> or >> #hdmi_safe=3D1 >> or >> hdmi_ignore_edid=3D0xa5000080 >> hdmi_drive=3D2 >> hdmi_group=3D2 >> hdmi_mode=3D28 >>=20 >> ... and I've tried a couple of combinations of the above with no = luck. I can make an HDMI TV work, but not the inbuilt ribbon-cable = interface. >>=20 >> I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, = but I'm not all that clued in that department. >>=20 >> Has anyone had any better luck than me? >>=20 >> M >> -- >> Mark R V Murray >>=20 >=20 >=20 > -- > Emmanuel Vadot >=20 -- Mark R V Murray --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5LJgACgkQzQuKNftX15N0LACeOdxjgTq8Du7l0t9eWCR3ftfk 1hQAn02py2DF1rHswJqzVkYrtwS5jkqh =reur -----END PGP SIGNATURE----- --Apple-Mail=_046206F5-3FFE-41BD-84F3-DFEDC91F20DB-- From owner-freebsd-arm@freebsd.org Mon Mar 28 13:15:34 2016 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 8E7D4AE072E for ; Mon, 28 Mar 2016 13:15:34 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C1BA718E8; Mon, 28 Mar 2016 13:15:33 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 93fbb0b2; Mon, 28 Mar 2016 15:15:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=rEmmLkn/ZJu1moUDNicKgE2EO+g=; b=lZd698V7iG/Ugq3NFstmlrQg1z6W N5XUWmPnk6EpVjHS6oL1TB76I8T2qS6qIHj8itx1D3iKBes08uHFb2RTI28FasYK aeq9Z+XHizbXnKz5G0xsGZYsO/cIUOTfo5aarfUAt6EyEAIye6wkz03iDnw0FH7d jy8iE+cfx0oaNuU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=PNVqkuKYbBozKW9Tjnm2PFYrgEM2J01vt5WpYWkysmhbo35fG8Zyb15A IZhDu9udhYLvGSVvr5xiY1kG2QKmKeJmqXtv4rMeX1TSnU+gFEiSOYt7740uMUOT /ptXvXhix9izOZlBseu69s9xbAd19eigmZGnPd+eVV0kOYcm4N0= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id f3020db5 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 28 Mar 2016 15:15:31 +0200 (CEST) Date: Mon, 28 Mar 2016 15:15:30 +0200 From: Emmanuel Vadot To: Mark R V Murray Cc: freebsd-arm Subject: Re: RPi 2 with 7-inch touchscreen. Message-Id: <20160328151530.3d1834f05264f9173c14a86a@bidouilliste.com> In-Reply-To: <6E62CADD-CDDF-45BB-986A-733F30F77DC8@FreeBSD.org> References: <20160328145733.0b9c9e3a42c7e623d6c68e82@bidouilliste.com> <6E62CADD-CDDF-45BB-986A-733F30F77DC8@FreeBSD.org> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 13:15:34 -0000 Oh, I thought that the touchscreen part was the problem. I know that gonzo@ have this screen and he have it working (don't know if it's RPI-B or RPI-2) If I understand correctly it works with HDMI but not with the Display Connector ? config.txt might needs some line to enable it. On Mon, 28 Mar 2016 14:07:31 +0100 Mark R V Murray wrote: > > > On 28 Mar 2016, at 13:57, Emmanuel Vadot wrote: > > Hi, > > > > I'm not sure that we support it, from what I understand the official screen seems to use i2c for the touchscreen part (via the FT5406 IC). > > Could you run "i2c -s" on the different i2c busses to see if the chip answers ? > > I see nothing on bus scans of /dev/iic[01], nut I know that I2C works as I can talk to other I2C devices (not connected at the moment). > > What is more important is video; the "touch" aspect can wait. > > M > > > > > Thanks, > > > > On Mon, 28 Mar 2016 13:44:36 +0100 > > Mark R V Murray wrote: > > > >> Hi Folks, > >> > >> I have an RPi2 and I'm having some difficulties with the "official" 7-inch touch-screen: https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/ > >> > >> I know the touchscreen works, because it works with RaspBian. I can't get any activity out of it with FreeBSD, however. > >> > >> I'm using FreeBSD-11-CURRENT, and the boot image is based on an 11-CURRENT "official" download, but I added a very recent build of sysutils/u-boot-rpi2. > >> > >> I can build CURRENT on the machine (using a USB SSD, manually mounted), and I made sure I had the latest RPI2.DTB file in the FAT partition. > >> > >> The screen stays stubbornly OFF. > >> > >> Here is the relevant extract of CONFIG.TXT: > >> > >> hdmi_force_unplug=1 > >> or > >> hdmi_force_hotplug=1 > >> or > >> #hdmi_safe=1 > >> or > >> hdmi_ignore_edid=0xa5000080 > >> hdmi_drive=2 > >> hdmi_group=2 > >> hdmi_mode=28 > >> > >> ... and I've tried a couple of combinations of the above with no luck. I can make an HDMI TV work, but not the inbuilt ribbon-cable interface. > >> > >> I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, but I'm not all that clued in that department. > >> > >> Has anyone had any better luck than me? > >> > >> M > >> -- > >> Mark R V Murray > >> > > > > > > -- > > Emmanuel Vadot > > > > -- > Mark R V Murray > -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Mar 28 15:08:26 2016 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 734B4AE044B; Mon, 28 Mar 2016 15:08:26 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from srv56-45.cdn.bestreaming.com (ns330343.ip-37-187-119.eu [37.187.119.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9540D1F98; Mon, 28 Mar 2016 15:08:24 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (localhost [IPv6:::1]) by srv56-45.cdn.bestreaming.com (8.15.2/8.15.2) with ESMTP id u2SFAwMw064313; Mon, 28 Mar 2016 17:10:58 +0200 (CEST) (envelope-from fbl@aoek.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 28 Mar 2016 17:10:58 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: Nikolai Lifanov Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org, freebsd-arm-request@freebsd.org Subject: Re: Official images without noatime In-Reply-To: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> Message-ID: <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.1.3 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 15:08:26 -0000 Hello Nikolai, El 2016-03-26 13:32, Nikolai Lifanov escribió: > Since we also default to SU-no-J, power failure can be quite bad > during, say, installworld. Why? I see no relationship between noatime and higer or lower chances to loose files while writing them. > With / noatime, I had my RPI2 lose files like /usr/bin/cmp, /bin/ls, > and /bin/cat during a power loss. Bad luck. But, again, what is the relation with having or not noatime? > Since it's not even possible to cleanly shut down this platform, I'm > for enabling noatime for / on > at least for RPI and RPI2 platforms. My RPI2 shutdown cleanly with shutdown(8) or reboot(8). Based on my experience, the less operations you do with a flash memory, the longer it lives. Don't forget that flash is a technology meant to store large files (images or video) for a few times over the lifespan of a card. Throwing a live filesystem at it is, to say the least, daring. Enabling journaling on flash storage shall be prohibited by law. Let's read again together mount(8) noatime Do not update the file access time when reading from a file. [blablabla] So, when you mount / with noatime, you are: - speeding up your system - extending the life of your flash card. Same chances to loose files. Regards, --- José Pérez From owner-freebsd-arm@freebsd.org Mon Mar 28 17:39:31 2016 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 9629EAE142F for ; Mon, 28 Mar 2016 17:39:31 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83EDC1951 for ; Mon, 28 Mar 2016 17:39:31 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id 669AA239E56; Mon, 28 Mar 2016 13:39:25 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [127.0.0.1] (vnat600.ejoco.com [166.108.32.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 2EAB6239E52; Mon, 28 Mar 2016 13:39:20 -0400 (EDT) Subject: Re: Official images without noatime To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> Cc: freebsd-arm@freebsd.org From: Nikolai Lifanov Message-ID: <56F96C46.80705@mail.lifanov.com> Date: Mon, 28 Mar 2016 13:39:18 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 17:39:31 -0000 On 03/28/16 11:10, José Pérez wrote: > Hello Nikolai, > > El 2016-03-26 13:32, Nikolai Lifanov escribió: >> Since we also default to SU-no-J, power failure can be quite bad >> during, say, installworld. > > Why? I see no relationship between noatime and higer or lower chances to > loose files while writing them. > A simple case is during install /usr/bin/cmp is ran to compare two files, atime for /usr/bin/cmp is updated during a crash, and /usr/bin/cmp is gone on next boot. I then have to copy it out of /usr/obj and into place and run installworld again. It's the handful of utilities actually *used* by installworld that do this and mounting root with noatime stops this from happening. >> With / noatime, I had my RPI2 lose files like /usr/bin/cmp, /bin/ls, >> and /bin/cat during a power loss. > > Bad luck. But, again, what is the relation with having or not noatime? > >> Since it's not even possible to cleanly shut down this platform, I'm >> for enabling noatime for / on >> at least for RPI and RPI2 platforms. > > My RPI2 shutdown cleanly with shutdown(8) or reboot(8). > It doesn't stay down if the power cable is still connected. It boots back up immediately, so the only way to shut mine down is to pull power on it. > Based on my experience, the less operations you do with a flash > memory, the longer it lives. Don't forget that flash is a technology > meant to store large files (images or video) for a few times over the > lifespan of a card. Throwing a live filesystem at it is, to say the least, > daring. > > Enabling journaling on flash storage shall be prohibited by law. > I may have been superstitious about journaling (Ian corrected me earlier), but disabling atime really helps these binaries stay around. > Let's read again together mount(8) > noatime > Do not update the file access time when reading from a > file. [blablabla] > > So, when you mount / with noatime, you are: > - speeding up your system > - extending the life of your flash card. > > Same chances to loose files. > > Regards, > > --- > José Pérez From owner-freebsd-arm@freebsd.org Mon Mar 28 17:57:51 2016 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 7D3D5AE18AF for ; Mon, 28 Mar 2016 17:57:51 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BF74166E; Mon, 28 Mar 2016 17:57:51 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=r2d2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1akb76-000AFA-TE; Mon, 28 Mar 2016 10:38:10 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: RPi 2 with 7-inch touchscreen. From: Oleksandr Tymoshenko In-Reply-To: Date: Mon, 28 Mar 2016 10:37:37 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mark R V Murray X-Mailer: Apple Mail (2.3124) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Mar 28, 2016, at 5:44 AM, Mark R V Murray wrote: > > Hi Folks, > > I have an RPi2 and I'm having some difficulties with the "official" 7-inch touch-screen: https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/ > > I know the touchscreen works, because it works with RaspBian. I can't get any activity out of it with FreeBSD, however. > > I'm using FreeBSD-11-CURRENT, and the boot image is based on an 11-CURRENT "official" download, but I added a very recent build of sysutils/u-boot-rpi2. > > I can build CURRENT on the machine (using a USB SSD, manually mounted), and I made sure I had the latest RPI2.DTB file in the FAT partition. > > The screen stays stubbornly OFF. > > Here is the relevant extract of CONFIG.TXT: > > hdmi_force_unplug=1 > or > hdmi_force_hotplug=1 > or > #hdmi_safe=1 > or > hdmi_ignore_edid=0xa5000080 > hdmi_drive=2 > hdmi_group=2 > hdmi_mode=28 > > ... and I've tried a couple of combinations of the above with no luck. I can make an HDMI TV work, but not the inbuilt ribbon-cable interface. > > I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, but I'm not all that clued in that department. > > Has anyone had any better luck than me? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: raspberrypi.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 17:57:51 -0000 > On Mar 28, 2016, at 5:44 AM, Mark R V Murray = wrote: >=20 > Hi Folks, >=20 > I have an RPi2 and I'm having some difficulties with the "official" = 7-inch touch-screen: = https://www.raspberrypi.org/blog/the-eagerly-awaited-raspberry-pi-display/= >=20 > I know the touchscreen works, because it works with RaspBian. I can't = get any activity out of it with FreeBSD, however. >=20 > I'm using FreeBSD-11-CURRENT, and the boot image is based on an = 11-CURRENT "official" download, but I added a very recent build of = sysutils/u-boot-rpi2. >=20 > I can build CURRENT on the machine (using a USB SSD, manually = mounted), and I made sure I had the latest RPI2.DTB file in the FAT = partition. >=20 > The screen stays stubbornly OFF. >=20 > Here is the relevant extract of CONFIG.TXT: >=20 > hdmi_force_unplug=3D1 > or > hdmi_force_hotplug=3D1 > or > #hdmi_safe=3D1 > or > hdmi_ignore_edid=3D0xa5000080 > hdmi_drive=3D2 > hdmi_group=3D2 > hdmi_mode=3D28 >=20 > ... and I've tried a couple of combinations of the above with no luck. = I can make an HDMI TV work, but not the inbuilt ribbon-cable interface. >=20 > I suspect the DTB file as FreeBSD's is much smaller than RaspBian's, = but I'm not all that clued in that department. >=20 > Has anyone had any better luck than me? Hi Mark, I have it working. Here is my config.txt: disable_commandline_tags=3D0 device_tree_address=3D0x100 device_tree=3Drpi2.dtb kernel=3Du-boot.bin gpu_mem=3D128 lcd_rotate=3D2 start_x=3D1 hdmi_force_hotplug=3D1 display_default_lcd=3D1 I guess relevant lines are these: lcd_rotate=3D2 hdmi_force_hotplug=3D1 display_default_lcd=3D1 I also had touchscreen driver prototype working for it but can't find it = at the moment :(=20 It's very simple busy read from memory window. Requires FDT modification = and interface to userland which FreeBSD does not have at the moment.=20 From owner-freebsd-arm@freebsd.org Mon Mar 28 18:40:36 2016 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 C9885AE04D1 for ; Mon, 28 Mar 2016 18:40:36 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 944B31021; Mon, 28 Mar 2016 18:40:36 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc5Y-000NCJ-Pq; Mon, 28 Mar 2016 19:40:33 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B1FD7E78-0082-451D-930E-AB89F5477D1D"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:40:25 +0100 Cc: freebsd-arm Message-Id: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:40:36 -0000 --Apple-Mail=_B1FD7E78-0082-451D-930E-AB89F5477D1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_B1FD7E78-0082-451D-930E-AB89F5477D1D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eqAACgkQzQuKNftX15OtdwCdE3WcaY2uMOkmrBcDhLGnjqeB PD8AoILVVpttd8gT3mDBFZovbjykQuff =znOc -----END PGP SIGNATURE----- --Apple-Mail=_B1FD7E78-0082-451D-930E-AB89F5477D1D-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:40:43 2016 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 7FDA2AE04E7 for ; Mon, 28 Mar 2016 18:40:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49C511066; Mon, 28 Mar 2016 18:40:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc5h-000NCJ-Ny; Mon, 28 Mar 2016 19:40:41 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2650AD48-5C0E-4D8F-B093-D37D29B98CD5"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:40:41 +0100 Cc: freebsd-arm Message-Id: <7CED5780-1011-4153-8CA2-194FE65D464F@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:40:43 -0000 --Apple-Mail=_2650AD48-5C0E-4D8F-B093-D37D29B98CD5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_2650AD48-5C0E-4D8F-B093-D37D29B98CD5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eqkACgkQzQuKNftX15OE7ACfbkUc0qd9R8bFMG8cTJVZCjlO qcIAn3r7jtplqDMhmSWErTbD+hxj+5G3 =7hsV -----END PGP SIGNATURE----- --Apple-Mail=_2650AD48-5C0E-4D8F-B093-D37D29B98CD5-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:06 2016 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 79CF3AE051C for ; Mon, 28 Mar 2016 18:41:06 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44D7A1116; Mon, 28 Mar 2016 18:41:06 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc63-000NCJ-Tf; Mon, 28 Mar 2016 19:41:04 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5096EF31-BD23-44D0-B902-6042912443F5"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:03 +0100 Cc: freebsd-arm Message-Id: <3596578A-7AE6-4550-8C59-107BBCC071C8@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:06 -0000 --Apple-Mail=_5096EF31-BD23-44D0-B902-6042912443F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_5096EF31-BD23-44D0-B902-6042912443F5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5er8ACgkQzQuKNftX15MDIQCgtCHebxHg/dqqwQO/+suB3fJL gzsAn2pNjQuhiT2ttf8SILKdQVak6V2H =oVeu -----END PGP SIGNATURE----- --Apple-Mail=_5096EF31-BD23-44D0-B902-6042912443F5-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:13 2016 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 A4BDDAE05FC for ; Mon, 28 Mar 2016 18:41:13 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E23C118E; Mon, 28 Mar 2016 18:41:13 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6B-000NCJ-SZ; Mon, 28 Mar 2016 19:41:12 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_91C2556B-7CF6-444E-8607-2CA0CDD065B9"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:11 +0100 Cc: freebsd-arm Message-Id: <1D308350-4DE7-42E6-8E4E-C308F1D38ABF@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:13 -0000 --Apple-Mail=_91C2556B-7CF6-444E-8607-2CA0CDD065B9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_91C2556B-7CF6-444E-8607-2CA0CDD065B9 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5escACgkQzQuKNftX15NZ1gCfbpXURkF9CWUlYapzGsyGmecj fKcAoMucO2sBhsmdP7tGQhxNhcXNKER7 =WEHp -----END PGP SIGNATURE----- --Apple-Mail=_91C2556B-7CF6-444E-8607-2CA0CDD065B9-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:14 2016 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 EE7A0AE0600 for ; Mon, 28 Mar 2016 18:41:14 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B98891195; Mon, 28 Mar 2016 18:41:14 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6D-000NCJ-4F; Mon, 28 Mar 2016 19:41:13 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_0694F83D-1F5C-44E1-87FB-66AA1F7E03B2"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:13 +0100 Cc: freebsd-arm Message-Id: References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:15 -0000 --Apple-Mail=_0694F83D-1F5C-44E1-87FB-66AA1F7E03B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_0694F83D-1F5C-44E1-87FB-66AA1F7E03B2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eskACgkQzQuKNftX15PnEACgujyGt7LEOgWIPtRKJK9QsQju 7OcAn079YXb4QkT1YRycvOFcTRobBPy5 =N2P9 -----END PGP SIGNATURE----- --Apple-Mail=_0694F83D-1F5C-44E1-87FB-66AA1F7E03B2-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:15 2016 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 4782EAE0603 for ; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12FE21198; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6D-000NCJ-HE; Mon, 28 Mar 2016 19:41:13 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_122C0599-9CD1-46ED-B399-DBB8AEF573F5"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:13 +0100 Cc: freebsd-arm Message-Id: <24F6A9F4-49A3-4744-9909-DAB78F3E83B8@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:15 -0000 --Apple-Mail=_122C0599-9CD1-46ED-B399-DBB8AEF573F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_122C0599-9CD1-46ED-B399-DBB8AEF573F5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eskACgkQzQuKNftX15PnEACeMfOLlFe4ejFK+Pn8ROpTsB6t SgwAoM8Doj3Y9+ROr5jVoVbkJ91BnUjW =dTBL -----END PGP SIGNATURE----- --Apple-Mail=_122C0599-9CD1-46ED-B399-DBB8AEF573F5-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:16 2016 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 C9250AE0625 for ; Mon, 28 Mar 2016 18:41:16 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from srv56-45.cdn.bestreaming.com (ns330343.ip-37-187-119.eu [37.187.119.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7661E11A1 for ; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (localhost [IPv6:::1]) by srv56-45.cdn.bestreaming.com (8.15.2/8.15.2) with ESMTP id u2SIhtif072891; Mon, 28 Mar 2016 20:43:55 +0200 (CEST) (envelope-from fbl@aoek.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 28 Mar 2016 20:43:55 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: Nikolai Lifanov Cc: freebsd-arm@freebsd.org Subject: Re: Official images without noatime In-Reply-To: <56F96C46.80705@mail.lifanov.com> References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> Message-ID: <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.1.3 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:16 -0000 Hello Nokolai, El 2016-03-28 19:39, Nikolai Lifanov escribió: > A simple case is during install /usr/bin/cmp is ran to compare two > files, atime for /usr/bin/cmp is updated during a crash, and > /usr/bin/cmp is gone on next boot. I then have to copy it out of > /usr/obj and into place and run installworld again. It's the handful of > utilities actually *used* by installworld that do this and mounting > root > with noatime stops this from happening. I suspect you have a problem somewhere else, maybe a faulty flash? Can you reproduce with another hardware? Can you help us reproduce it? What do you mean "atime is updated during a crash"?? >> My RPI2 shutdown cleanly with shutdown(8) or reboot(8). >> > > It doesn't stay down if the power cable is still connected. RP does not power down, you have to disconnect the power cable. But first you have to stop the OS: shutdown -p now does that for you (which includes syncing and unmounting disks). Regards, --- José Pérez From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:15 2016 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 EB2EBAE0609 for ; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B5017119C; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6E-000NCJ-5d; Mon, 28 Mar 2016 19:41:14 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4E579DA5-FEAF-405B-98C5-55629DDABA06"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:13 +0100 Cc: freebsd-arm Message-Id: <76C112DF-E6A9-4CCE-88C4-C19F585F22B6@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:16 -0000 --Apple-Mail=_4E579DA5-FEAF-405B-98C5-55629DDABA06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_4E579DA5-FEAF-405B-98C5-55629DDABA06 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eskACgkQzQuKNftX15PnEACeJiLsGaE6/laP5FoypGMhgXwO hLkAnjEf5bfyeo9I3tRMu7e6yLJbsoTQ =EYTQ -----END PGP SIGNATURE----- --Apple-Mail=_4E579DA5-FEAF-405B-98C5-55629DDABA06-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:15 2016 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 A0C16AE0606 for ; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B0231199; Mon, 28 Mar 2016 18:41:15 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6D-000NCJ-S9; Mon, 28 Mar 2016 19:41:14 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_0476170C-7FE3-4631-A2B1-8CAC06119E98"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:13 +0100 Cc: freebsd-arm Message-Id: References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:15 -0000 --Apple-Mail=_0476170C-7FE3-4631-A2B1-8CAC06119E98 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_0476170C-7FE3-4631-A2B1-8CAC06119E98 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eskACgkQzQuKNftX15PnEACgiSTPtlk444kOohRwhqOOZvgd TzUAoM/rG4sEr3mmFhyq9N4z/jyW5J9S =U1Or -----END PGP SIGNATURE----- --Apple-Mail=_0476170C-7FE3-4631-A2B1-8CAC06119E98-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:16 2016 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 390FBAE0615 for ; Mon, 28 Mar 2016 18:41:16 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03274119E; Mon, 28 Mar 2016 18:41:16 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6E-000NCJ-Es; Mon, 28 Mar 2016 19:41:14 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A5F5CC90-20B5-418A-AF85-F7663206CEF3"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:13 +0100 Cc: freebsd-arm Message-Id: References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:16 -0000 --Apple-Mail=_A5F5CC90-20B5-418A-AF85-F7663206CEF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_A5F5CC90-20B5-418A-AF85-F7663206CEF3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eskACgkQzQuKNftX15PnEACdETDAsnktyuRkx9sz13+NUPnn jToAoNBePsJxkcfz0mYf0uxSiRkRpVzo =4yZG -----END PGP SIGNATURE----- --Apple-Mail=_A5F5CC90-20B5-418A-AF85-F7663206CEF3-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:41:48 2016 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 49940AE070C for ; Mon, 28 Mar 2016 18:41:48 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 11B681452; Mon, 28 Mar 2016 18:41:48 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akc6j-000NCJ-Fq; Mon, 28 Mar 2016 19:41:46 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5E982E6A-2457-43E7-B140-F64F5FA14124"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 19:41:45 +0100 Cc: freebsd-arm Message-Id: <23EA5311-12C9-4E9A-9B6C-5DF665E0A720@FreeBSD.org> References: To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:41:48 -0000 --Apple-Mail=_5E982E6A-2457-43E7-B140-F64F5FA14124 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: > Hi Mark, >=20 > I have it working. Here is my config.txt: >=20 > disable_commandline_tags=3D0 > device_tree_address=3D0x100 > device_tree=3Drpi2.dtb > kernel=3Du-boot.bin > gpu_mem=3D128 > lcd_rotate=3D2 > start_x=3D1 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 >=20 > I guess relevant lines are these: OK ... >=20 > lcd_rotate=3D2 > hdmi_force_hotplug=3D1 > display_default_lcd=3D1 Nope. :-( It still doesn't work. The screen stays blank. [grubscrew] ~ 07:37 p.m. # tvservice -s state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive >=20 > I also had touchscreen driver prototype working for it but can't find = it at the moment :( > It's very simple busy read from memory window. Requires FDT = modification and > interface to userland which FreeBSD does not have at the moment. >=20 That's next on my list :-) M -- Mark R V Murray --Apple-Mail=_5E982E6A-2457-43E7-B140-F64F5FA14124 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5eukACgkQzQuKNftX15PljwCgyDzfZnXrNTbHkds8cuarpXMu bKoAoMQsugKRs/pRS2k2phevJO0A2B7k =D5Zs -----END PGP SIGNATURE----- --Apple-Mail=_5E982E6A-2457-43E7-B140-F64F5FA14124-- From owner-freebsd-arm@freebsd.org Mon Mar 28 18:46:07 2016 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 3BEBFAE08F1 for ; Mon, 28 Mar 2016 18:46:07 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 266121C84 for ; Mon, 28 Mar 2016 18:46:06 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id 38270239E56; Mon, 28 Mar 2016 14:46:06 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [127.0.0.1] (vnat600.ejoco.com [166.108.32.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 5E05F239E52; Mon, 28 Mar 2016 14:46:05 -0400 (EDT) Subject: Re: Official images without noatime To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> Cc: freebsd-arm@freebsd.org From: Nikolai Lifanov Message-ID: <56F97BEC.9020006@mail.lifanov.com> Date: Mon, 28 Mar 2016 14:46:04 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:46:07 -0000 On 03/28/16 14:43, José Pérez wrote: > Hello Nokolai, > > El 2016-03-28 19:39, Nikolai Lifanov escribió: >> A simple case is during install /usr/bin/cmp is ran to compare two >> files, atime for /usr/bin/cmp is updated during a crash, and >> /usr/bin/cmp is gone on next boot. I then have to copy it out of >> /usr/obj and into place and run installworld again. It's the handful of >> utilities actually *used* by installworld that do this and mounting root >> with noatime stops this from happening. > > I suspect you have a problem somewhere else, maybe a faulty flash? > > Can you reproduce with another hardware? Can you help us reproduce it? > What do you mean "atime is updated during a crash"?? > I can reproduce this with my RPI-B (and a different SD card). Roughly this: 1) mount / with atime 2) make -j4 installworld 3) You can do step #2 over ssh and tee it somewhere so that you can be sure that utilities gone are the ones used, not the ones installed. >>> My RPI2 shutdown cleanly with shutdown(8) or reboot(8). >>> >> >> It doesn't stay down if the power cable is still connected. > > RP does not power down, you have to disconnect the power cable. > But first you have to stop the OS: > shutdown -p now > does that for you (which includes syncing and unmounting disks). > I think that we are saying the same thing here. > Regards, > > --- > José Pérez - Nikolai Lifanov From owner-freebsd-arm@freebsd.org Mon Mar 28 18:49:15 2016 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 1B635AE09E7 for ; Mon, 28 Mar 2016 18:49:15 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F29B81D61; Mon, 28 Mar 2016 18:49:14 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=r2d2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1akcDw-000ARv-K0; Mon, 28 Mar 2016 11:49:13 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: RPi 2 with 7-inch touchscreen. From: Oleksandr Tymoshenko In-Reply-To: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> Date: Mon, 28 Mar 2016 11:48:41 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> To: Mark R V Murray X-Mailer: Apple Mail (2.3124) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Mar 28, 2016, at 11:40 AM, Mark R V Murray wrote: > > >> On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko wrote: >> Hi Mark, >> >> I have it working. Here is my config.txt: >> >> disable_commandline_tags=0 >> device_tree_address=0x100 >> device_tree=rpi2.dtb >> kernel=u-boot.bin >> gpu_mem=128 >> lcd_rotate=2 >> start_x=1 >> hdmi_force_hotplug=1 >> display_default_lcd=1 >> >> I guess relevant lines are these: > > OK ... > >> >> lcd_rotate=2 >> hdmi_force_hotplug=1 >> display_default_lcd=1 > > > Nope. :-( It still doesn't work. The screen stays blank. > > [grubscrew] ~ 07:37 p.m. # tvservice -s > state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, progressive [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bluezbox.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 18:49:15 -0000 > On Mar 28, 2016, at 11:40 AM, Mark R V Murray = wrote: >=20 >=20 >> On 28 Mar 2016, at 18:37, Oleksandr Tymoshenko = wrote: >> Hi Mark, >>=20 >> I have it working. Here is my config.txt: >>=20 >> disable_commandline_tags=3D0 >> device_tree_address=3D0x100 >> device_tree=3Drpi2.dtb >> kernel=3Du-boot.bin >> gpu_mem=3D128 >> lcd_rotate=3D2 >> start_x=3D1 >> hdmi_force_hotplug=3D1 >> display_default_lcd=3D1 >>=20 >> I guess relevant lines are these: >=20 > OK ... >=20 >>=20 >> lcd_rotate=3D2 >> hdmi_force_hotplug=3D1 >> display_default_lcd=3D1 >=20 >=20 > Nope. :-( It still doesn't work. The screen stays blank. >=20 > [grubscrew] ~ 07:37 p.m. # tvservice -s > state 0x120016 [DVI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, = progressive Try copying firmware files from raspbian image as this comment suggests: http://kernelnomicon.org/?p=3D540#comment-40186 Port may have older firmware, can't check right now. >>=20 >> I also had touchscreen driver prototype working for it but can't find = it at the moment :( >> It's very simple busy read from memory window. Requires FDT = modification and >> interface to userland which FreeBSD does not have at the moment. >>=20 >=20 > That's next on my list :-) I'll try to dig up the driver later today. If I haven't deleted it = during last "cleanup" that is :-/=20= From owner-freebsd-arm@freebsd.org Mon Mar 28 19:08:43 2016 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 32411AE1006 for ; Mon, 28 Mar 2016 19:08:43 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2B89186B; Mon, 28 Mar 2016 19:08:42 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1akcWm-000NGT-0p; Mon, 28 Mar 2016 20:08:40 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5D23DBD4-4E74-4AB5-9D42-25D13C319514"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: Date: Mon, 28 Mar 2016 20:08:31 +0100 Cc: freebsd-arm Message-Id: <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 19:08:43 -0000 --Apple-Mail=_5D23DBD4-4E74-4AB5-9D42-25D13C319514 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii (Sorry about the email flood in may last reply - the email client was = misbehaving) > On 28 Mar 2016, at 19:48, Oleksandr Tymoshenko = wrote: >=20 >=20 > Try copying firmware files from raspbian image as this comment = suggests: > http://kernelnomicon.org/?p=3D540#comment-40186 >=20 > Port may have older firmware, can't check right now. That worked, once I commented out the "start_x=3D1" :-) Thanks! :-) >>> I also had touchscreen driver prototype working for it but can't = find it at the moment :( >>> It's very simple busy read from memory window. Requires FDT = modification and >>> interface to userland which FreeBSD does not have at the moment. >>>=20 >>=20 >> That's next on my list :-) >=20 > I'll try to dig up the driver later today. If I haven't deleted it = during last "cleanup" that is :-/ Yes please! Do you know how to make the USB keyboard work from the get-go? Mine = works, but only *after* boot, so I can't interact with the boot process. M -- Mark R V Murray --Apple-Mail=_5D23DBD4-4E74-4AB5-9D42-25D13C319514 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb5gTcACgkQzQuKNftX15P9WQCgu4b9Pj6EUyM4wJjaEX4dsVV0 qT8AnA5CWy27OYfWixa5n4E+q6g3E9yN =vtL1 -----END PGP SIGNATURE----- --Apple-Mail=_5D23DBD4-4E74-4AB5-9D42-25D13C319514-- From owner-freebsd-arm@freebsd.org Mon Mar 28 19:13:06 2016 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 7AABAAE11AF for ; Mon, 28 Mar 2016 19:13:06 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D86A1C21; Mon, 28 Mar 2016 19:13:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 750533cb; Mon, 28 Mar 2016 21:13:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=agn9uPnNRjNbXN8MmNcsroKbcw0=; b=flMwbqyjMQgwo7bsem4iIzUvfGdY 0eJxg3Tht1hxHGhPgjY+aoDnRIBM+Zrwpjq18coUG6SW7uQU76kcQyabBVmAM+kP rObdlkF3jkBrKjEzm7pGnw/wSPbOK7tMD+eY/mh/tFmF979tJugcwTDSDBPcH80T 9spYWisfsEYC+50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=rbdL0DrZiYzOr+QCiGdHl+u33XYUEpOGrpJ0O1axJgeqOrXF10sgM1pC HCTLna2G+VADVMBKuh14D4AxODBBzaluvtslXh2WpufpwcmIhyH6NtwpfNxkjnXi BZuQVzMxWlpW1QXZmDYo4Jzx9RjKwGFXreoVNGURjbLPBsAjRrQ= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b17498ef TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 28 Mar 2016 21:13:01 +0200 (CEST) Date: Mon, 28 Mar 2016 21:13:01 +0200 From: Emmanuel Vadot To: Mark R V Murray Cc: Oleksandr Tymoshenko , freebsd-arm Subject: Re: RPi 2 with 7-inch touchscreen. Message-Id: <20160328211301.607068b0902536eea7934464@bidouilliste.com> In-Reply-To: <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 19:13:06 -0000 On Mon, 28 Mar 2016 20:08:31 +0100 Mark R V Murray wrote: > (Sorry about the email flood in may last reply - the email client was misbehaving) > > > On 28 Mar 2016, at 19:48, Oleksandr Tymoshenko wrote: > > > > > > Try copying firmware files from raspbian image as this comment suggests: > > http://kernelnomicon.org/?p=540#comment-40186 > > > > Port may have older firmware, can't check right now. > > That worked, once I commented out the "start_x=1" :-) > > Thanks! :-) > > >>> I also had touchscreen driver prototype working for it but can't find it at the moment :( > >>> It's very simple busy read from memory window. Requires FDT modification and > >>> interface to userland which FreeBSD does not have at the moment. > >>> > >> > >> That's next on my list :-) > > > > I'll try to dig up the driver later today. If I haven't deleted it during last "cleanup" that is :-/ > > Yes please! > > Do you know how to make the USB keyboard work from the get-go? Mine works, but only *after* boot, so I can't interact with the boot process. Uboot doesn't support OHCI so for now this is not possible. It might work via a USB hub. -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Mon Mar 28 19:35:45 2016 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 3D2D6AE17D1 for ; Mon, 28 Mar 2016 19:35:45 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2135D1A11; Mon, 28 Mar 2016 19:35:44 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=r2d2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1akcwq-000AYC-V5; Mon, 28 Mar 2016 12:35:42 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: RPi 2 with 7-inch touchscreen. From: Oleksandr Tymoshenko In-Reply-To: <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> Date: Mon, 28 Mar 2016 12:28:20 -0700 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <3ACB45C6-44D4-4BB6-884E-B003F736DD1E@bluezbox.com> References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> To: Mark R V Murray X-Mailer: Apple Mail (2.3124) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Mar 28, 2016, at 12:08 PM, Mark R V Murray wrote: > > (Sorry about the email flood in may last reply - the email client was misbehaving) > >> On 28 Mar 2016, at 19:48, Oleksandr Tymoshenko wrote: >> >> >> Try copying firmware files from raspbian image as this comment suggests: >> http://kernelnomicon.org/?p=540#comment-40186 >> >> Port may have older firmware, can't check right now. > > That worked, once I commented out the "start_x=1" :-) > > Thanks! :-) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 19:35:45 -0000 > On Mar 28, 2016, at 12:08 PM, Mark R V Murray = wrote: >=20 > (Sorry about the email flood in may last reply - the email client was = misbehaving) >=20 >> On 28 Mar 2016, at 19:48, Oleksandr Tymoshenko = wrote: >>=20 >>=20 >> Try copying firmware files from raspbian image as this comment = suggests: >> http://kernelnomicon.org/?p=3D540#comment-40186 >>=20 >> Port may have older firmware, can't check right now. >=20 > That worked, once I commented out the "start_x=3D1" :-) >=20 > Thanks! :-) No problem :)=20 >>>> I also had touchscreen driver prototype working for it but can't = find it at the moment :( >>>> It's very simple busy read from memory window. Requires FDT = modification and >>>> interface to userland which FreeBSD does not have at the moment. >>>>=20 >>>=20 >>> That's next on my list :-) >>=20 >> I'll try to dig up the driver later today. If I haven't deleted it = during last "cleanup" that is :-/ >=20 > Yes please! https://people.freebsd.org/~gonzo/arm/bcm2835_ft5406.c It's not pretty. You can use it as a reference. It implements home-made=20= evdev-like API I used for testing with hacked-up version of tslib:=20 = https://github.com/gonzoua/experimental-freebsd-ports/tree/master/devel/ts= lib >=20 > Do you know how to make the USB keyboard work from the get-go? Mine = works, but only *after* boot, so I can't interact with the boot process. With u-boot from ports it's not possible. It has very basic USB support=20= which does not include SPLIT commands required to communicate with keyboard. There is Stephen Warren's version of u-boot, last time I checked it did support keyboard. But in order to make it work with=20 ubldr you'll need to change default configuration and add API support + some API fixes. If you don't want to go that way you have two options: - Use serial console to communicate with u-boot if you really need=20 interactive boot process. - Just put your custom logic to bootcmd in uEnv.txt if it's = once-configure run-always thing.=20= From owner-freebsd-arm@freebsd.org Mon Mar 28 22:57:23 2016 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 846E3ADF4B1 for ; Mon, 28 Mar 2016 22:57:23 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 362141185 for ; Mon, 28 Mar 2016 22:57:22 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id u2SMvFP4016825; Mon, 28 Mar 2016 15:57:15 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id u2SMvF5E016824; Mon, 28 Mar 2016 15:57:15 -0700 (PDT) (envelope-from fbsd) Date: Mon, 28 Mar 2016 15:57:15 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Confusing RPI2 kernel options Message-ID: <20160328225715.GA7705@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 22:57:23 -0000 On an RPI2 running 11-CURRENT /usr/src/sys/arm/conf/RPI2 contains: # Comment following lines for boot console on serial port device vt device kbdmux device ukbd but in fact there _is_ a serial console and the options are _not_ commented. I realize the USB keyboard isn't expected to work, but it seems odd that the serial console does work given the description. Do I misunderstand something? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Mon Mar 28 23:18:00 2016 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 01BC7ADFA1A for ; Mon, 28 Mar 2016 23:18:00 +0000 (UTC) (envelope-from sylgar@gmail.com) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (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 9CB091E16; Mon, 28 Mar 2016 23:17:59 +0000 (UTC) (envelope-from sylgar@gmail.com) Received: by mail-wm0-f47.google.com with SMTP id p65so2261273wmp.0; Mon, 28 Mar 2016 16:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8ZgMy4qGBYnqF2W5hWHdQgRFfbipyhU8xNpHvZDYniI=; b=F78ipvdkg0AC0DtcRAj3pb5MEySiquLRj/6HtzYdP+kiBIXQbf5SJkElw/v8OBnnqc pF7xvhzIzjTbeRQujey5CTgJEPmDTB7OMyashUpaO84CCizCHMDbg+OhETNuTNtTb9G7 HVWYE+dKBUcDrr5vG/5tZReTrqcv0vL/Xa7c4QBw/Te/ed0G9zu7w1TovO/BDG0Xf3m1 8jy3fklVgbhIZmZ/gPBCHQ2Sy4islHFEboB4DKuZnnHX/mY77ZwFkBF+LTRtPsKFbzWw 09nm1mdTrIcX6ldkiFkNZX+ruN2WagRjpzbjOvll4nz07998w1+Hvg9ZTA312sUM3rjW CSIg== X-Gm-Message-State: AD7BkJIoPSbi09II/0Nhjs6CTP+0XsxdIzRaIVkpUXFm2856OWwMrQqnMzXTeuks51NhEg== X-Received: by 10.28.65.137 with SMTP id o131mr13376154wma.54.1459205348221; Mon, 28 Mar 2016 15:49:08 -0700 (PDT) Received: from [192.168.0.4] ([81.56.235.196]) by smtp.gmail.com with ESMTPSA id a1sm26515687wje.43.2016.03.28.15.49.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Mar 2016 15:49:07 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: RPi 2 with 7-inch touchscreen. From: sylvain@sylvaingarrigues.com In-Reply-To: <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> Date: Tue, 29 Mar 2016 00:49:06 +0200 Cc: Oleksandr Tymoshenko , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <642E5EFA-1D97-4766-800E-5EE8AA6D4DDD@sylvaingarrigues.com> References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> To: Mark R V Murray X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 23:18:00 -0000 Hi Mark, > Le 28 mars 2016 =C3=A0 21:08, Mark R V Murray a = =C3=A9crit : >=20 > Do you know how to make the USB keyboard work from the get-go? Mine = works, but only *after* boot, so I can't interact with the boot process. I have a recent (as of March 21) version of u-boot for the RPi 2 with = USB keyboard support. My port is here: = https://github.com/SylvainGarrigues/freebsd-ports/tree/master/u-boot-rpi2=20= You need to press a key during the initial 2 seconds before u-boot loads = FreeBSD to get to the u-boot prompt. =E2=80=94 Sylvain= From owner-freebsd-arm@freebsd.org Tue Mar 29 01:49:11 2016 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 EF852AE18BD; Tue, 29 Mar 2016 01:49:11 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B9D21C85; Tue, 29 Mar 2016 01:49:10 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u2T1mee3095695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 03:48:47 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u2T1mXKa035046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2016 03:48:33 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u2T1mW3Z071025; Tue, 29 Mar 2016 03:48:32 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u2T1mVil071024; Tue, 29 Mar 2016 03:48:31 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2016 03:48:31 +0200 From: Bernd Walter To: =?iso-8859-1?Q?Jos=E9_P=E9rez?= Cc: Nikolai Lifanov , freebsd-arm-request@freebsd.org, freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org Subject: Re: Official images without noatime Message-ID: <20160329014831.GB68225@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 01:49:12 -0000 On Mon, Mar 28, 2016 at 05:10:58PM +0200, José Pérez wrote: > Let's read again together mount(8) > noatime > Do not update the file access time when reading > from a > file. [blablabla] > > So, when you mount / with noatime, you are: > - speeding up your system > - extending the life of your flash card. > > Same chances to loose files. The extra atime writes increases the riscs. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Tue Mar 29 02:01:39 2016 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 69BD0AE1C5D for ; Tue, 29 Mar 2016 02:01:39 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A69711E4 for ; Tue, 29 Mar 2016 02:01:37 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u2T21EjO095798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 04:01:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u2T218GI035273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2016 04:01:08 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u2T218Kd071065; Tue, 29 Mar 2016 04:01:08 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u2T218xl071064; Tue, 29 Mar 2016 04:01:08 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2016 04:01:07 +0200 From: Bernd Walter To: =?iso-8859-1?Q?Jos=E9_P=E9rez?= Cc: Nikolai Lifanov , freebsd-arm@freebsd.org Subject: Re: Official images without noatime Message-ID: <20160329020107.GC68225@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 02:01:39 -0000 On Mon, Mar 28, 2016 at 08:43:55PM +0200, José Pérez wrote: > Hello Nokolai, > > El 2016-03-28 19:39, Nikolai Lifanov escribió: > >A simple case is during install /usr/bin/cmp is ran to compare two > >files, atime for /usr/bin/cmp is updated during a crash, and > >/usr/bin/cmp is gone on next boot. I then have to copy it out of > >/usr/obj and into place and run installworld again. It's the handful of > >utilities actually *used* by installworld that do this and mounting > >root > >with noatime stops this from happening. > > I suspect you have a problem somewhere else, maybe a faulty flash? Well - unless you don't have a power loss having atime on just increases the write load. And having a power loss during install is always a bad thing to happen, since the card is writing anyway. Of course chance that you loose the used binary is obvious, since it is updating the inode of that binary, but the way flash cards work you may loose way more than that. > Can you reproduce with another hardware? Can you help us reproduce it? > What do you mean "atime is updated during a crash"?? If it is crashing (instead of having a power loss) during writes the situation is different. Since the card had no power loss all data that the OS had written should be on the card. That means either the old inode or the new inode. First thing to see is why it crashes. Another good thing to do is to do a full fsck of the filesystem. Trusting a journal can be a bad idea, since the whole media technology can't be trusted to begin with. > >>My RPI2 shutdown cleanly with shutdown(8) or reboot(8). > >> > > > >It doesn't stay down if the power cable is still connected. > > RP does not power down, you have to disconnect the power cable. > But first you have to stop the OS: > shutdown -p now > does that for you (which includes syncing and unmounting disks). Chances are that your system crashes on shutdown, so that it automatically reboots. The only way to find out what happens is plugging something to the console and see. That said: it shouldn't crash, neither on shutdown nor when installing something. You should hook up a console to find out anyway. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Tue Mar 29 02:04:12 2016 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 6B42CAE1DEA for ; Tue, 29 Mar 2016 02:04:12 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E35431527 for ; Tue, 29 Mar 2016 02:04:11 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id u2T2472R095822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 04:04:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id u2T2416h035303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id u2T241GZ071071; Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id u2T241Dj071070; Tue, 29 Mar 2016 04:04:01 +0200 (CEST) (envelope-from ticso) Date: Tue, 29 Mar 2016 04:04:01 +0200 From: Bernd Walter To: Nikolai Lifanov Cc: =?iso-8859-1?Q?Jos=E9_P=E9rez?= , freebsd-arm@freebsd.org Subject: Re: Official images without noatime Message-ID: <20160329020400.GD68225@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> <56F97BEC.9020006@mail.lifanov.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56F97BEC.9020006@mail.lifanov.com> X-Operating-System: FreeBSD cicely7.cicely.de 10.2-RELEASE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 02:04:12 -0000 On Mon, Mar 28, 2016 at 02:46:04PM -0400, Nikolai Lifanov wrote: > On 03/28/16 14:43, José Pérez wrote: > > Hello Nokolai, > > > > El 2016-03-28 19:39, Nikolai Lifanov escribió: > >> A simple case is during install /usr/bin/cmp is ran to compare two > >> files, atime for /usr/bin/cmp is updated during a crash, and > >> /usr/bin/cmp is gone on next boot. I then have to copy it out of > >> /usr/obj and into place and run installworld again. It's the handful of > >> utilities actually *used* by installworld that do this and mounting root > >> with noatime stops this from happening. > > > > I suspect you have a problem somewhere else, maybe a faulty flash? > > > > Can you reproduce with another hardware? Can you help us reproduce it? > > What do you mean "atime is updated during a crash"?? > > > > I can reproduce this with my RPI-B (and a different SD card). > Roughly this: > 1) mount / with atime > 2) make -j4 installworld > 3) This is saying that it is damged by smashing it with a hammer. > You can do step #2 over ssh and tee it somewhere so that you can > be sure that utilities gone are the ones used, not the ones installed. That doesn't mean the filesystem(s) and card internal buffers are synced. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Tue Mar 29 07:22:21 2016 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 CD0E4AE1D87 for ; Tue, 29 Mar 2016 07:22:21 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 971BD1112; Tue, 29 Mar 2016 07:22:21 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1aknye-000Nym-Nn; Tue, 29 Mar 2016 08:22:15 +0100 Subject: Re: RPi 2 with 7-inch touchscreen. Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_23C5D971-1B5A-4AD0-95D1-AFD35437A064"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Mark R V Murray In-Reply-To: <642E5EFA-1D97-4766-800E-5EE8AA6D4DDD@sylvaingarrigues.com> Date: Tue, 29 Mar 2016 08:22:12 +0100 Cc: Oleksandr Tymoshenko , freebsd-arm Message-Id: <8C1BEC77-5491-4651-99C1-23AC317CC4D1@FreeBSD.org> References: <8243E254-B30D-4C42-818C-3584D79ABC6B@FreeBSD.org> <3995875D-D11B-426B-8D3F-8449631CFE71@FreeBSD.org> <642E5EFA-1D97-4766-800E-5EE8AA6D4DDD@sylvaingarrigues.com> To: sylvain@sylvaingarrigues.com X-Mailer: Apple Mail (2.3124) X-SA-Score: -1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 07:22:21 -0000 --Apple-Mail=_23C5D971-1B5A-4AD0-95D1-AFD35437A064 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Sylvain, > On 28 Mar 2016, at 23:49, sylvain@sylvaingarrigues.com wrote: >=20 > Hi Mark, >=20 >> Le 28 mars 2016 =C3=A0 21:08, Mark R V Murray a = =C3=A9crit : >>=20 >> Do you know how to make the USB keyboard work from the get-go? Mine = works, but only *after* boot, so I can't interact with the boot process. >=20 > I have a recent (as of March 21) version of u-boot for the RPi 2 with = USB keyboard support. Excellent! :-) > My port is here: = https://github.com/SylvainGarrigues/freebsd-ports/tree/master/u-boot-rpi2 I'll look at it tonight, thanks! > You need to press a key during the initial 2 seconds before u-boot = loads FreeBSD to get to the u-boot prompt. Will it give me access to the FreeBSD boot prompt so I can load/unload = modules and boot verbosely or in single-user mode? M -- Mark R V Murray --Apple-Mail=_23C5D971-1B5A-4AD0-95D1-AFD35437A064 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlb6LSQACgkQzQuKNftX15Oe3ACff5uXHanO9ebBdlS2M3zBNt0V I/UAnA0eVw6kwwEqChNHCBgy4l70y7zD =M9Iq -----END PGP SIGNATURE----- --Apple-Mail=_23C5D971-1B5A-4AD0-95D1-AFD35437A064-- From owner-freebsd-arm@freebsd.org Tue Mar 29 10:42:46 2016 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 E4281AE2039 for ; Tue, 29 Mar 2016 10:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA28116EF for ; Tue, 29 Mar 2016 10:42:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u2TAgkN6062909 for ; Tue, 29 Mar 2016 10:42:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 208381] kernel panic at _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/arm/arm/pmap-v6.c:1890 Date: Tue, 29 Mar 2016 10:42:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: otacilio.neto@bsd.com.br X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 10:42:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208381 Bug ID: 208381 Summary: kernel panic at _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/arm/arm/pmap-v6.c:1890 Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: otacilio.neto@bsd.com.br Created attachment 168752 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168752&action= =3Dedit session log of many kernel panics. I'm installing xfce on a beaglebone black running=20 FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r296898M: Wed Mar 16 23:52:02 BRT 2016=20=20=20=20 ota@nostromo:/root/crochet/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE-DEBUG = arm FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: armv6--freebsd11.0-gnueabi Thread model: posix InstalledDir: /usr/bin All times I getting a kernel panic on /usr/src/sys/arm/arm/pmap-v6.c:1890 [51/87] Extracting libgsf-1.14.36: 40%panic: pmap_fault: pm_pt1 abort KDB: enter: panic dbg_check_slot_free: Invalid slot number 0, max -1 dbg_check_slot_free: Invalid slot number 1, max -1 [ thread pid 933 tid 100091 ] Stopped at $d.6:panic: _mtx_lock_sleep: recursed on non-recursive mutex pmap @ /usr/src/sys/arm/arm/pmap-v6.c:1890 Attached is a session log of many sessions trying install xfce and triggeri= ng the kernel panic. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Mar 30 02:59:10 2016 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 D912FAE2017 for ; Wed, 30 Mar 2016 02:59:10 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id B8C481A2A; Wed, 30 Mar 2016 02:59:10 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 998AF1EEC; Wed, 30 Mar 2016 02:59:10 +0000 (UTC) Date: Wed, 30 Mar 2016 02:59:05 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: np@FreeBSD.org, pfg@FreeBSD.org, adrian@FreeBSD.org, markj@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1299097205.157.1459306749691.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #2739 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 02:59:11 -0000 FreeBSD_HEAD_arm64 - Build #2739 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2739/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2739/ch= anges Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2739/con= sole Change summaries: 297407 by pfg: freopen(3): prevent uninitialized errno. The case doesn't look very likely but clean the possibility nevertheless CID:=09=091018720 MFC after:=091 week 297406 by np: Remove unnecessary dequeue_mutex (added in r294610) from the iWARP connection manager. Examining so_comp without synchronization with iw_so_event_handler is a harmless race. Submitted by:=09Krishnamraju Eraparaju @ Chelsio Reviewed by:=09Steve Wise @ Open Grid Computing Sponsored by:=09Chelsio Communications 297405 by adrian: [net80211] migrate the time_* macros to ieee80211_* namespace. It turns out that these will clash very annoyingly with the linux macros in the linuxkpi layer, so let the wookie^Wlinux win. The only user that I can find is ath(4), so fix it there too. 297404 by adrian: [net80211] Add fields to decode uAPSD fields. It turns out that madwifi actually has the basics for uAPSD implemented but it was never ported to FreeBSD. I may eventually port most of the pieces; I'll see how it goes! Obtained from:=09Madwifi 297403 by markj: Fix the lladdr copy in in6_lltable_dump_entry() after r292978. This bug caused "ndp -a" to show the wrong link layer address for neighbour cache entries. PR:=09208067 The end of the build log: [...truncated 148148 lines...] --- all_subdir_ata --- --- all_subdir_ata/atapci/chipsets/atasiliconimage --- ctfconvert -L VERSION -g ata-siliconimage.o --- atasiliconimage.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o atasiliconimage.= kld ata-siliconimage.o ctfmerge -L VERSION -g -o atasiliconimage.kld ata-siliconimage.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk atasiliconimage.kld export_syms | x= args -J% /usr/local/aarch64-freebsd/bin/objcopy % atasiliconimage.kld --- atasiliconimage.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o atasilicon= image.ko.full ata-siliconimage.o --- atasiliconimage.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug atasiliconimage.ko= .full atasiliconimage.ko.debug --- atasiliconimage.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= atasiliconimage.ko.debug atasiliconimage.ko.full atasiliconimage.ko --- all_subdir_bwi --- =3D=3D=3D> bwi (all) --- machine --- machine -> /usr/src/sys/arm64/include --- opt_inet.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_inet.h opt_inet.h --- opt_bwi.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_bwi.h opt_bwi.h --- opt_wlan.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_wlan.h opt_wlan.h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_ata --- --- all_subdir_ata/atapci/chipsets/atasis --- ctfconvert -L VERSION -g ata-sis.o --- all_subdir_bwi --- --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- all_subdir_ata --- --- atasis.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o atasis.kld ata-s= is.o ctfmerge -L VERSION -g -o atasis.kld ata-sis.o --- all_subdir_bwi --- --- if_bwi_pci.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.if_bwi_pci.o -MTif_bwi_pci.o -mgeneral-regs-only -ffixed-x18 -ffree= standing -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf_= _ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthes= es-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-= shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/bwi/../= ../dev/bwi/if_bwi_pci.c -o if_bwi_pci.o --- all_subdir_ata --- :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk atasis.kld export_syms | xargs -J% = /usr/local/aarch64-freebsd/bin/objcopy % atasis.kld --- atasis.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o atasis.ko.= full ata-sis.o --- atasis.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug atasis.ko.full ata= sis.ko.debug --- atasis.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= atasis.ko.debug atasis.ko.full atasis.ko --- all_subdir_ata/atapci/chipsets/atavia --- =3D=3D=3D> ata/atapci/chipsets/atavia (all) --- machine --- machine -> /usr/src/sys/arm64/include --- ata_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/ata/ata_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- all_subdir_ath --- ctfconvert -L VERSION -g if_ath_btcoex.o --- all_subdir_ata --- --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- ata-via.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.ata-via.o -MTata-via.o -mgeneral-regs-only -ffixed-x18 -ffreestandi= ng -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-ext= erns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wc= ast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wm= issing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-e= rror-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equ= ality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-= negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/ata/atapci/ch= ipsets/atavia/../../../../../dev/ata/chipsets/ata-via.c -o ata-via.o --- all_subdir_ath --- --- if_ath_lna_div.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys/modules/ath/../../de= v/ath -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal -I. -I/usr/src/sys/m= odules/ath/../../contrib/dev/ath/ath_hal/ -DHAVE_KERNEL_OPTION_HEADERS -inc= lude /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src= /sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD= -MF.depend.if_ath_lna_div.o -MTif_ath_lna_div.o -mgeneral-regs-only -ffix= ed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant= -decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer= -arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__fre= ebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkn= own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-er= ror-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sig= n -Wno-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/mo= dules/ath/../../dev/ath/if_ath_lna_div.c -o if_ath_lna_div.o --- all_subdir_bwi --- ctfconvert -L VERSION -g if_bwi_pci.o --- bwimac.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.bwimac.o -MTbwimac.o -mgeneral-regs-only -ffixed-x18 -ffreestanding= -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-exter= ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcas= t-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmis= sing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equal= ity -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne= gative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/bwi/../../dev/b= wi/bwimac.c -o bwimac.o --- all_subdir_ata --- ctfconvert -L VERSION -g ata-via.o --- atavia.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o atavia.kld ata-v= ia.o ctfmerge -L VERSION -g -o atavia.kld ata-via.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk atavia.kld export_syms | xargs -J% = /usr/local/aarch64-freebsd/bin/objcopy % atavia.kld --- atavia.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o atavia.ko.= full ata-via.o --- atavia.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug atavia.ko.full ata= via.ko.debug --- atavia.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= atavia.ko.debug atavia.ko.full atavia.ko --- all_subdir_ath --- --- if_ath_ioctl.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys/modules/ath/../../de= v/ath -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal -I. -I/usr/src/sys/m= odules/ath/../../contrib/dev/ath/ath_hal/ -DHAVE_KERNEL_OPTION_HEADERS -inc= lude /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src= /sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD= -MF.depend.if_ath_ioctl.o -MTif_ath_ioctl.o -mgeneral-regs-only -ffixed-x= 18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-dec= ls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari= th -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-= pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -W= no-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/module= s/ath/../../dev/ath/if_ath_ioctl.c -o if_ath_ioctl.o --- if_ath_lna_div.o --- ctfconvert -L VERSION -g if_ath_lna_div.o --- all_subdir_bwn --- =3D=3D=3D> bwn (all) --- machine --- machine -> /usr/src/sys/arm64/include --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- all_subdir_bge --- ctfconvert -L VERSION -g if_bge.o --- all_subdir_bwn --- --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- all_subdir_ath --- --- if_ath_ioctl.o --- ctfconvert -L VERSION -g if_ath_ioctl.o --- all_subdir_bge --- --- if_bge.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o if_bge.kld if_bg= e.o --- all_subdir_bwn --- --- if_bwn.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.if_bwn.o -MTif_bwn.o -mgeneral-regs-only -ffixed-x18 -ffreestanding= -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-exter= ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcas= t-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmis= sing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equal= ity -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne= gative-value -Wno-error-sometimes-uninitialized -std=3Diso9899:1999 -c /u= sr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c -o if_bwn.o --- all_subdir_bge --- ctfmerge -L VERSION -g -o if_bge.kld if_bge.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_bge.kld export_syms | xargs -J% = /usr/local/aarch64-freebsd/bin/objcopy % if_bge.kld --- if_bge.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o if_bge.ko.= full if_bge.o --- if_bge.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug if_bge.ko.full if_= bge.ko.debug --- if_bge.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=3D= if_bge.ko.debug if_bge.ko.full if_bge.ko --- all_subdir_bwi --- --- bwiphy.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.bwiphy.o -MTbwiphy.o -mgeneral-regs-only -ffixed-x18 -ffreestanding= -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-exter= ns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcas= t-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmis= sing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err= or-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equal= ity -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-ne= gative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/bwi/../../dev/b= wi/bwiphy.c -o bwiphy.o --- all_subdir_ath --- --- if_ath_descdma.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys/modules/ath/../../de= v/ath -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal -I. -I/usr/src/sys/m= odules/ath/../../contrib/dev/ath/ath_hal/ -DHAVE_KERNEL_OPTION_HEADERS -inc= lude /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src= /sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD= -MF.depend.if_ath_descdma.o -MTif_ath_descdma.o -mgeneral-regs-only -ffix= ed-x18 -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant= -decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer= -arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__fre= ebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkn= own-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-er= ror-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sig= n -Wno-error-shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/mo= dules/ath/../../dev/ath/if_ath_descdma.c -o if_ath_descdma.o --- all_subdir_bwn --- /usr/src/sys/modules/bwn/../../dev/bwn/if_bwn.c:2615:7: error: implicit dec= laration of function 'time_before' is invalid in C99 [-Werror,-Wimplicit-fu= nction-declaration] if (time_before(lo->pwr_vec_read_time, expire)) { ^ --- all_subdir_bwi --- --- bwimac.o --- ctfconvert -L VERSION -g bwimac.o --- all_subdir_ath --- ctfconvert -L VERSION -g if_ath_descdma.o --- all_subdir_cam --- =3D=3D=3D> cam (all) --- machine --- machine -> /usr/src/sys/arm64/include --- opt_cam.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_cam.h opt_cam.h --- opt_ada.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_ada.h opt_ada.h --- opt_scsi.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_scsi.h opt_scsi.h --- opt_cd.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_cd.h opt_cd.h --- opt_kdtrace.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_kdtrace.h opt_kdtrace= .h --- opt_pt.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_pt.h opt_pt.h --- opt_sa.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_sa.h opt_sa.h --- opt_ses.h --- ln -sf /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_ses.h opt_ses.h --- vnode_if_newproto.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p --- vnode_if_typedef.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- all_subdir_ath --- --- ah_osdep.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys/modules/ath/../../de= v/ath -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal -I. -I/usr/src/sys/m= odules/ath/../../contrib/dev/ath/ath_hal/ -DHAVE_KERNEL_OPTION_HEADERS -inc= lude /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src= /sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD= -MF.depend.ah_osdep.o -MTah_osdep.o -mgeneral-regs-only -ffixed-x18 -ffre= estanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winl= ine -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf= __ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthe= ses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error= -shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/ath/..= /../dev/ath/ah_osdep.c -o ah_osdep.o --- all_subdir_cam --- --- vnode_if.h --- awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h --- cam_compat.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werro= r -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include = /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys = -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -MD -MF= .depend.cam_compat.o -MTcam_compat.o -mgeneral-regs-only -ffixed-x18 -ffree= standing -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf_= _ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas = -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parenthes= es-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-= shift-negative-value -std=3Diso9899:1999 -c /usr/src/sys/modules/cam/../= ../cam/cam_compat.c -o cam_compat.o --- all_subdir_bwn --- 1 error generated. *** [if_bwn.o] Error code 1 bmake[4]: stopped in /usr/src/sys/modules/bwn 1 error bmake[4]: stopped in /usr/src/sys/modules/bwn *** [all_subdir_bwn] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_ath --- ctfconvert -L VERSION -g ah_osdep.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/ath *** [all_subdir_ath] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_cam --- ctfconvert -L VERSION -g cam_compat.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/cam *** [all_subdir_cam] Error code 2 bmake[3]: stopped in /usr/src/sys/modules --- all_subdir_bwi --- --- bwiphy.o --- ctfconvert -L VERSION -g bwiphy.o A failure has been detected in another branch of the parallel make bmake[4]: stopped in /usr/src/sys/modules/bwi *** [all_subdir_bwi] Error code 2 bmake[3]: stopped in /usr/src/sys/modules 4 errors bmake[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error bmake[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC *** [buildkernel] Error code 2 bmake[1]: stopped in /usr/src 1 error bmake[1]: stopped in /usr/src *** [buildkernel] Error code 2 make: stopped in /usr/src 1 error make: stopped in /usr/src Build step 'Execute shell' marked build as failure [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson3532841747811767069.sh + export 'PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/b= in' + export 'jname=3DFreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Wed Mar 30 04:11:40 2016 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 69A46AE2EC3 for ; Wed, 30 Mar 2016 04:11:40 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23C0E18DD for ; Wed, 30 Mar 2016 04:11:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id u2U4BWA2030775; Tue, 29 Mar 2016 21:11:32 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id u2U4BVsI030774; Tue, 29 Mar 2016 21:11:32 -0700 (PDT) (envelope-from fbsd) Date: Tue, 29 Mar 2016 21:11:31 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Turning on HDMI video after boot Message-ID: <20160330041131.GA24672@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 04:11:40 -0000 It seems when booting 11-CURRENT on an RPI2 the HDMI monitor must be present during boot, else the video won't work if a monitor is connected later. Is there a way to wake up the HDMI port after FreeBSD is in multi-user mode? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Mar 30 07:24:15 2016 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 C2F04AE28DF for ; Wed, 30 Mar 2016 07:24:15 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55CCE1CE0 for ; Wed, 30 Mar 2016 07:24:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1alATz-000NEt-HT for freeBSD-arm@freebsd.org; Wed, 30 Mar 2016 10:24:03 +0300 From: Daniel Braniss Content-Type: multipart/mixed; boundary="Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF" Subject: Odroidc1+ stuck booting Message-Id: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> Date: Wed, 30 Mar 2016 10:24:03 +0300 To: freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 07:24:15 -0000 --Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, Managed to make a bootable SD, cross compile world/kernel, but the kernel startup gets stuck, I can=E2=80=99t even get into the = debugger. any help/hints most welcome :-) btw, I can also boot via the network, cutting down the debug cycle = considerably. thanks, danny PS: here is the console output --Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF Content-Disposition: attachment; filename=s1 Content-Type: application/octet-stream; name="s1" Content-Transfer-Encoding: 7bit QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1; ----------------------------------------------------------------------- * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) * ----------------------------------------------------------------------- CPU : AMLogic S805 MEM : 1024MB (DDR3@792MHz) BID : HKC1310001 S/N : HKC11122F37E041A 0x0000009f check SD_boot_type:0x1 card_type:0x1 Loading U-boot...success. U-boot(odroidc@) (Jun 12 2015 - 17:31:14) DRAM: 1 GiB relocation Offset is: 2ff1c000 MMC: SDCARD: 0, eMMC: 1 IR init is done! vpu clk_level = 3 set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) mode = 6 vic = 4 set HDMI vic: 4 mode is: 6 viu chan = 1 config HPLL config HPLL done reconfig packet setting done MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK There is no valid bmp file at the given address ============================================================ Vendor: Man 035054 Snr da311585 Rev: 3.0 Prod: SS08G Type: Removable Hard Disk Capacity: 7388.0 MB = 7.2 GB (15130624 x 512) ------------------------------------------------------------ Partition Start Sector Num Sectors Type 1 1134 131040 6 2 132174 1964970 a5 ============================================================ Net: Meson_Ethernet init suspend firmware done. (ret:0) Hit Enter key to stop autoboot -- : 0 exit abortboot: 0 reading boot.ini 2560 bytes read Loading boot.ini from mmc0:1 (vfat) Executing the script... setenv m "1080p" # 1080P 1920x1080 setenv vout_mode "hdmi" setenv m_bpp "32" setenv disableuhs "disableuhs" setenv vpu "1" setenv hdmioutput "1" setenv bootargs "console=ttyS0,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs}" ethrst Success: reset mac OK!(0) ETH PHY hardware reset OK find net phy id=0x1cc916, phyad=0 set_mac_mode(0) final_addr[rx-tx]: 0xee100fb0-0xe2000003 Ethernet reset OK video open; video clear; video dev open 720p mode = 6 vic = 4 set HDMI vic: 4 mode is: 6 viu chan = 1 config HPLL config HPLL done reconfig packet setting done logo size 720p bmp scale setenv loaderdev mmc0:3 fatload mmc 0:1 0x21000000 ubldr reading ubldr 262654 bytes read fatload mmc 0:1 0x21800000 odroidc1.dtb reading odroidc1.dtb 10862 bytes read fdt addr 21800000 fdt set / board_serial ${fbt_id#} fdt set /mesonfb fb_width 1280 fdt set /mesonfb fb_height 720 fdt set /mesonfb fb_bpp 24 video dev open 480p mode = 2 vic = 3 set HDMI vic: 3 mode is: 2 viu chan = 1 config HPLL config HPLL done reconfig packet setting done fatload mmc 0 0x1000000 kernel.bin reading kernel.bin 4486116 bytes read go 0x1000000 ## Starting application at 0x01000000 ... ARM Debug Architecture v7 2 watchpoints and 3 breakpoints supported 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 11.0-CURRENT #1 r297292M: Mon Mar 28 12:37:04 IDT 2016 danny@rnd:/home/obj/rnd/armv6/odroid/arm.armv6/r+d/vanilla/11/src/sys/ODROIDC1 arm FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "kernel" at 0xc063e500. CPU: Cortex A5 rev 1 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB enabled LABT branch prediction disabled LoUU:2 LoC:2 LoUIS:2 Cache level 1: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc real memory = 1073737728 (1023 MB) avail memory = 1039278080 (991 MB) Physical memory chunk(s): 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) Excluded memory regions: 0x01000000 - 0x01653fff, 6 MB ( 1620 pages) NoAlloc Static device mappings: 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 Amlogic aml8726-m8b SoC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 null: openfirm: mem: random: harvesting attach, 8 bytes (4 bits) from nexus0 ofwbus0: simplebus0: on ofwbus0 random: harvesting attach, 8 bytes (4 bits) from simplebus0 random: harvesting attach, 8 bytes (4 bits) from ofwbus0 scu0: mem 0x4300000-0x4300fff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from scu0 cpuconfig0: mem 0x1901ff80-0x1901ff8f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 l2cache0: mem 0x4200000-0x4200fff irq 0 on simplebus0 l2cache0: Part number: 0x3, release: 0x9 l2cache0: L2 Cache enabled: 512KB/32B 8 ways l2cache0: Early BRESP response: disabled l2cache0: Instruction prefetch: disabled l2cache0: Data prefetch: enabled l2cache0: Non-secure interrupt control: disabled l2cache0: Non-secure lockdown: disabled l2cache0: Share override: disabled l2cache0: Double linefill: disabled l2cache0: Instruction prefetch: disabled l2cache0: Data prefetch: enabled l2cache0: Double linefill on WRAP request: disabled l2cache0: Prefetch drop: disabled l2cache0: Incr double Linefill: disabled l2cache0: Not same ID on exclusive sequence: disabled l2cache0: Prefetch offset: 0 random: harvesting attach, 8 bytes (4 bits) from l2cache0 ccm0: mem 0x1104140-0x1104153 on simplebus0 random: harvesting attach, 8 bytes (4 bits) from ccm0 pinctrl0: mem 0x11080b0-0x11080d7,0x11080e8-0x11080ff,0x1108120-0x1108137,0x8100014-0x8100017,0x810002c-0x810002f,0x810002c-0x810002f on simplebus0 Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@11080b0 Processing 1 pin-config node(s) in pinctrl-0 for mmc@1108c20 Processing 1 pin-config node(s) in pinctrl-0 for sdxc@1108e00 random: harvesting attach, 8 bytes (4 bits) from pinctrl0 gic0: mem 0x4301000-0x4301fff,0x4300100-0x43001ff on simplebus0 simplebus0: no default resources for rid = 0, type = 1 gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 random: harvesting attach, 8 bytes (4 bits) from gic0 wdt0: mem 0x1109900-0x1109907 irq 1 on simplebus0 random: harvesting attach, 8 bytes (4 bits) from wdt0 timer0: mem 0x1109940-0x1109957 irq 2,3,4,5 on simplebus0 Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 random: harvesting attach, 8 bytes (4 bits) from timer0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpu0: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu0 cpu1: on cpulist0 cpu1: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu1 cpu2: on cpulist0 cpu2: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu2 cpu3: on cpulist0 cpu3: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu3 random: harvesting attach, 8 bytes (4 bits) from cpulist0 rtc0: mem 0x8100740-0x8100753 irq 6 on simplebus0 rtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s) random: harvesting attach, 8 bytes (4 bits) from rtc0 clkmsr0: mem 0x1108758-0x1108767 on simplebus0 clkmsr0: bus clock 159 MHz random: harvesting attach, 8 bytes (4 bits) from clkmsr0 uart0: mem 0x81004c0-0x81004d3 irq 7 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 gpio0: mem 0x8100024-0x8100027,0x8100024-0x8100027,0x8100028-0x810002b on simplebus0 gpiobus0: on gpio0 gpioled0: at pin 13 on gpiobus0 random: harvesting attach, 8 bytes (4 bits) from gpioled0 random: harvesting attach, 8 bytes (4 bits) from gpiobus0 gpioc0: on gpio0 random: harvesting attach, 8 bytes (4 bits) from gpioc0 random: harvesting attach, 8 bytes (4 bits) from gpio0 gpio1: mem 0x1108054-0x1108057,0x1108058-0x110805b,0x110805c-0x110805f on simplebus0 gpiobus1: on gpio1 random: harvesting attach, 8 bytes (4 bits) from gpiobus1 gpioc1: on gpio1 random: harvesting attach, 8 bytes (4 bits) from gpioc1 random: harvesting attach, 8 bytes (4 bits) from gpio1 gpio2: mem 0x110806c-0x110806f,0x1108070-0x1108073,0x1108074-0x1108077 on simplebus0 gpiobus2: on gpio2 random: harvesting attach, 8 bytes (4 bits) from gpiobus2 gpioc2: on gpio2 random: harvesting attach, 8 bytes (4 bits) from gpioc2 random: harvesting attach, 8 bytes (4 bits) from gpio2 aml8726_mmc0: mem 0x1108c20-0x1108c3f irq 8 on simplebus0 mmc0: on aml8726_mmc0 random: harvesting attach, 8 bytes (4 bits) from mmc0 random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 aml8726_sdxc0: mem 0x1108e00-0x1108e3b irq 9 on simplebus0 mmc1: on aml8726_sdxc0 random: harvesting attach, 8 bytes (4 bits) from mmc1 random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 simplebus0: mem 0x1108100-0x1108107 compat amlogic,aml8726-rng (no driver attached) aml8726_iic0: mem 0x1108500-0x110851f irq 10 on simplebus0 iicbb0: on aml8726_iic0 iicbus0: on iicbb0 master-only iic0: on iicbus0 random: harvesting attach, 8 bytes (4 bits) from iic0 random: harvesting attach, 8 bytes (4 bits) from iicbus0 random: harvesting attach, 8 bytes (4 bits) from iicbb0 random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 aml8726_iic1: mem 0x11087c0-0x11087df irq 11 on simplebus0 iicbb1: on aml8726_iic1 iicbus1: on iicbb1 master-only iic1: on iicbus1 random: harvesting attach, 8 bytes (4 bits) from iic1 random: harvesting attach, 8 bytes (4 bits) from iicbus1 random: harvesting attach, 8 bytes (4 bits) from iicbb1 random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 uart0: mem 0x11084c0-0x11084d3 irq 12 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 uart0: mem 0x11084dc-0x11084ef irq 13 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 uart0: mem 0x1108700-0x1108713 irq 14 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 usbphy0: mem 0x1108800-0x110881f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy0 usbphy1: mem 0x1108820-0x110883f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy1 dwcotg0: mem 0x9040000-0x907ffff irq 15 on simplebus0 usbus0 on dwcotg0 dwcotg0: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus0 random: harvesting attach, 8 bytes (4 bits) from dwcotg0 dwcotg1: mem 0x90c0000-0x90fffff irq 16 on simplebus0 usbus1 on dwcotg1 dwcotg1: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus1 random: harvesting attach, 8 bytes (4 bits) from dwcotg1 dwc0: mem 0x9410000-0x9411fff irq 17 on simplebus0 miibus0: on dwc0 rgephy0: PHY 0 on miibus0 rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from rgephy0 rgephy1: PHY 1 on miibus0 rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from rgephy1 random: harvesting attach, 8 bytes (4 bits) from miibus0 dwc0: bpf attached dwc0: Ethernet address: 62:73:64:9a:63:5f random: harvesting attach, 8 bytes (4 bits) from dwc0 fb0: mem 0x8006048-0x8006053,0x1106800-0x1106bff,0x1107400-0x11077ff irq 18,19,20,21 on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". random: harvesting attach, 8 bytes (4 bits) from fbd0 random: harvesting attach, 8 bytes (4 bits) from fb0 ofwbus0: compat gpio-leds (no driver attached) procfs registered Timecounters tick every 10.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 lo0: bpf attached mmc0: Probing bus usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 **** and now it hungs **** --Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF-- From owner-freebsd-arm@freebsd.org Wed Mar 30 07:27:55 2016 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 9E74EAE2A08 for ; Wed, 30 Mar 2016 07:27:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6AB831F27 for ; Wed, 30 Mar 2016 07:27:55 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 062FC1FE023; Wed, 30 Mar 2016 09:27:52 +0200 (CEST) Subject: Re: Confusing RPI2 kernel options To: bob prohaska , freebsd-arm@freebsd.org References: <20160328225715.GA7705@www.zefox.net> From: Hans Petter Selasky Message-ID: <56FB80B1.9090903@selasky.org> Date: Wed, 30 Mar 2016 09:30:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160328225715.GA7705@www.zefox.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 07:27:55 -0000 On 03/29/16 00:57, bob prohaska wrote: > On an RPI2 running 11-CURRENT /usr/src/sys/arm/conf/RPI2 contains: > > # Comment following lines for boot console on serial port > device vt > device kbdmux > device ukbd > > but in fact there _is_ a serial console and the options > are _not_ commented. > > I realize the USB keyboard isn't expected > to work, but it seems odd that the serial console does > work given the description. Do I misunderstand something? > > Thanks for reading, > > bob prohaska > Hi, The USB keyboard does not work on the serial console, only the HDMI port or display. --HPS From owner-freebsd-arm@freebsd.org Wed Mar 30 09:03:55 2016 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 EA95BAE0899 for ; Wed, 30 Mar 2016 09:03:55 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id DEF5F1341; Wed, 30 Mar 2016 09:03:55 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 3E6181FD4; Wed, 30 Mar 2016 09:03:56 +0000 (UTC) Date: Wed, 30 Mar 2016 09:03:53 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: pfg@FreeBSD.org, adrian@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1378027656.163.1459328636195.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1299097205.157.1459306749691.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1299097205.157.1459306749691.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #2740 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 09:03:56 -0000 FreeBSD_HEAD_arm64 - Build #2740 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2740/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2740/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/2740/console Change summaries: 297409 by adrian: [bwn] fix time_before -> ieee80211_time_before() Noticed by: Jia-Shiun Li 297408 by pfg: freopen(3): prevent uninitialized errno. Revert r297407 and redo it cleanly. Pointed out by: Jukka A. Ukkonen CID: 1018720 MFC after: 1 week From owner-freebsd-arm@freebsd.org Wed Mar 30 11:02:25 2016 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 7B357AE310C for ; Wed, 30 Mar 2016 11:02:25 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 500461705 for ; Wed, 30 Mar 2016 11:02:25 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id g185so62313059ioa.2 for ; Wed, 30 Mar 2016 04:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YAAniln+Q1GB9d7EidUZ3Evs6Gcw5BdERMqblDVVwiQ=; b=tO7l1xCUotqNrBsTPthvCElgJaBcRUY4EdZQCMvINxEWPHPzRgk53En+3fPKWWko8A GBbc/DO9KBcycfI0KwiSHqr4eepOWB+hxZwxWyWYbaTGX2/5ke2PGmX5xMbh0FHVJoUr peN7+4w5Dmvez+8yOoy1D11c/EH9+ps89aLAxLaUTMLUfVLuMc0IAJSGg8Q25AjzPFbz vUpDnQtebVbXocv6v8NXTtdmp2TfokTuenDXbTvtK+VXV+ELZczS8Zo9aYDD2t+Y/K3L 9O94lcmJK4KLl5dygJHPtethQN2iaKijv0dJZjqwjsAeAPIN3gS04cxqS7dfsGd3SeKd ub3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YAAniln+Q1GB9d7EidUZ3Evs6Gcw5BdERMqblDVVwiQ=; b=kra2FSH5z969+oSRsPKn4zZioUxaAS8P/blCMNJwJYvDbKPRJnJjsy/h1mOMbCQjnm HcDjN0qqzVxxt2YDZNxfuFchHmrqbxlfkcMXxlGdT/R0XhTMNo+1PjHNgphx0dO++oT3 k05WFW4ev8xnrTBikZlf9yDzKYWcQsFXZjyeDt3l4twZVvp/5tarkHxgmzpN0RxtW3LF 2X3g2qpdA44w36qZeGthboVOSSICRF10IzcNDtBOzsqTJdDCNJIiSrfhGOXzBKUWlRG7 aeSzb4a31+ogYn2tsfZt0L/rgzfuYpopTOTC9z0Nmni8PKJyWeHOyIOXO9BYBxh01DAt Oymg== X-Gm-Message-State: AD7BkJLZNuMVW1rKdjEVYxzcQR7vjMoI2IKsTSqZVsnq6wMtb9t+X3Q21S8+ifV3BYE2LuzFFzGa7J9lANuXWw== X-Received: by 10.107.27.205 with SMTP id b196mr8584323iob.163.1459335744410; Wed, 30 Mar 2016 04:02:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.38.73 with HTTP; Wed, 30 Mar 2016 04:01:55 -0700 (PDT) In-Reply-To: <56FB80B1.9090903@selasky.org> References: <20160328225715.GA7705@www.zefox.net> <56FB80B1.9090903@selasky.org> From: Jia-Shiun Li Date: Wed, 30 Mar 2016 19:01:55 +0800 Message-ID: Subject: Re: Confusing RPI2 kernel options To: Hans Petter Selasky Cc: bob prohaska , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 11:02:25 -0000 On Wed, Mar 30, 2016 at 3:30 PM, Hans Petter Selasky wrote: > On 03/29/16 00:57, bob prohaska wrote: > >> On an RPI2 running 11-CURRENT /usr/src/sys/arm/conf/RPI2 contains: >> >> # Comment following lines for boot console on serial port >> device vt >> device kbdmux >> device ukbd >> >> but in fact there _is_ a serial console and the options >> are _not_ commented. >> >> I realize the USB keyboard isn't expected >> to work, but it seems odd that the serial console does >> work given the description. Do I misunderstand something? >> >> Thanks for reading, >> >> bob prohaska >> >> > Hi, > > The USB keyboard does not work on the serial console, only the HDMI port > or display. > > That's not about keyboard but "boot console", or more formally "system console", to which kernel messages is output. At booting kernel, - with vt, kernel boot messages go to HDMI display. Serial port shows nothing until getty is up for it to bring login prompt. - without vt, kernel boot messages go to serial port. -Jia-Shiun. From owner-freebsd-arm@freebsd.org Wed Mar 30 15:54:53 2016 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 023B8AE36DD for ; Wed, 30 Mar 2016 15:54:53 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0BB7104B for ; Wed, 30 Mar 2016 15:54:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id u2UFso2Y032601; Wed, 30 Mar 2016 08:54:50 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id u2UFsnsx032600; Wed, 30 Mar 2016 08:54:49 -0700 (PDT) (envelope-from fbsd) Date: Wed, 30 Mar 2016 08:54:49 -0700 From: bob prohaska To: Jia-Shiun Li Cc: Hans Petter Selasky , "freebsd-arm@freebsd.org" Subject: Re: Confusing RPI2 kernel options Message-ID: <20160330155449.GA32545@www.zefox.net> References: <20160328225715.GA7705@www.zefox.net> <56FB80B1.9090903@selasky.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 15:54:53 -0000 On Wed, Mar 30, 2016 at 07:01:55PM +0800, Jia-Shiun Li wrote: > On Wed, Mar 30, 2016 at 3:30 PM, Hans Petter Selasky > wrote: > > That's not about keyboard but "boot console", > or more formally "system console", > to which kernel messages is output. > > At booting kernel, > > - with vt, kernel boot messages go to HDMI display. > Serial port shows nothing until getty is up for it to > bring login prompt. > - without vt, kernel boot messages go to serial port. > > > -Jia-Shiun. That's not what I'm observing. Using a kernel config containing # Comment following lines for boot console on serial port device vt device kbdmux device ukbd the serial console gets a complete transcript of the boot process, but the HDMI display stops updating somewhere around the ethernet probe and does not resume until a login prompt appears. Thats the reverse of the indicated behavior. Has anybody tried commenting out those lines to see what happens? It would be a pleasant surprise if the USB keyboard started to work in single-user mode. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Thu Mar 31 00:47:49 2016 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 A71B7AE3E6B for ; Thu, 31 Mar 2016 00:47:49 +0000 (UTC) (envelope-from e.moe@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75F631D5F for ; Thu, 31 Mar 2016 00:47:49 +0000 (UTC) (envelope-from e.moe@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=LdGckmri c=1 sm=1 tr=0 a=efnlm+H454WbFyl931Y/pQ==:117 a=efnlm+H454WbFyl931Y/pQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=-01tIbIbAZ3IUfsZnTEA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: ZS5tb2VAcmNuLmNvbQ== Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=e.moe@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=e.moe@rcn.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=e.moe; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 166.175.63.98 is neither permitted nor denied by domain of rcn.com) Received: from [166.175.63.98] ([166.175.63.98:28237] helo=[10.49.124.234]) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPA id B2/FB-17663-DA37CF65; Wed, 30 Mar 2016 20:47:42 -0400 References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> Mime-Version: 1.0 (1.0) In-Reply-To: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> Cc: freebsd-arm X-Mailer: iPhone Mail (13D15) From: Erik Moe Subject: Re: Odroidc1+ stuck booting Date: Wed, 30 Mar 2016 19:47:39 -0500 To: Daniel Braniss X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 00:47:49 -0000 I was able to build a working odroid-c1 image not too long ago. Let me pull= the latest sources and see if something has changed. Erik=20 > On Mar 30, 2016, at 2:24 AM, Daniel Braniss wrote: >=20 > Hi, > Managed to make a bootable SD, cross compile world/kernel, > but the kernel startup gets stuck, I can=E2=80=99t even get into the debug= ger. > any help/hints most welcome :-) > btw, I can also boot via the network, cutting down the debug cycle conside= rably. > thanks, > danny > PS: here is the console output > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Thu Mar 31 06:11:48 2016 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 4566AAE2122 for ; Thu, 31 Mar 2016 06:11:48 +0000 (UTC) (envelope-from e.moe@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07E871336 for ; Thu, 31 Mar 2016 06:11:47 +0000 (UTC) (envelope-from e.moe@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=LdGckmri c=1 sm=1 tr=0 a=kLIaxcRmAfIWWG5Fo3VFTQ==:117 a=kLIaxcRmAfIWWG5Fo3VFTQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=uMu5s0StMlu4mocynx4A:9 a=uMHbKwE9_JdYfmHl:21 a=WPKlmtpf2Jd8UXNv:21 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: ZS5tb2VAcmNuLmNvbQ== Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=e.moe@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=e.moe@rcn.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=e.moe; auth=pass (PLAIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 24.148.20.83 is neither permitted nor denied by domain of rcn.com) Received: from [24.148.20.83] ([24.148.20.83:17856] helo=[192.168.3.100]) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPSA (cipher=AES256-SHA) id 9A/DE-17663-2AFBCF65; Thu, 31 Mar 2016 02:11:46 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Odroidc1+ stuck booting From: Erik Moe In-Reply-To: <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> Date: Thu, 31 Mar 2016 01:11:45 -0500 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> To: Daniel Braniss X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 06:11:48 -0000 I built a new image for my odriod-c1 for ssd from the latest sources and = had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99t = have and odriod-c1+, but my understanding is there isn=E2=80=99t much = difference between the two. I am using the serial console. = QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PA= SS:1; ----------------------------------------------------------------------- * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) * ----------------------------------------------------------------------- CPU : AMLogic S805 MEM : 1024MB (DDR3@792MHz) BID : HKC13C0001 S/N : HKC1CC037EBE4620 0x0000009f check SD_boot_type:0x1 card_type:0x1 Loading U-boot...success. U-boot(odroidc@) (Jun 12 2015 - 17:31:14) DRAM: 1 GiB relocation Offset is: 2ff1c000 MMC: SDCARD: 0, eMMC: 1 IR init is done! vpu clk_level =3D 3 set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) mode =3D 6 vic =3D 4 set HDMI vic: 4 mode is: 6 viu chan =3D 1 config HPLL config HPLL done reconfig packet setting done MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: OK There is no valid bmp file at the given address =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G Type: Removable Hard Disk Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) ------------------------------------------------------------ Partition Start Sector Num Sectors Type 1 1134 131040 6 2 132174 15391666 a5 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Net: Meson_Ethernet init suspend firmware done. (ret:0) Hit Enter key to stop autoboot -- : 0 exit abortboot: 0 reading boot.ini 98 bytes read Loading boot.ini from mmc0:1 (vfat) Executing the script... setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" run bootcmd reading kernel.bin 6055396 bytes read ## Starting application at 0x00100000 ... ARM Debug Architecture v7 2 watchpoints and 3 breakpoints supported 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 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 CDT = 2016 = root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/home/e= moe/Projects/ARM/src/sys/ODROIDC1 arm FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "kernel" at 0xc07c5d6c. CPU: Cortex A5 rev 1 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB enabled LABT branch prediction disabled LoUU:2 LoC:2 LoUIS:2 Cache level 1: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc real memory =3D 1073737728 (1023 MB) avail memory =3D 1038233600 (990 MB) Physical memory chunk(s): 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) Excluded memory regions: 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc Static device mappings: 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 Amlogic aml8726-m8b SoC FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 random: entropy device external interface null: openfirm: mem: nfslock: pseudo-device crypto: random: harvesting attach, 8 bytes (4 bits) from nexus0 ofwbus0: simplebus0: on ofwbus0 random: harvesting attach, 8 bytes (4 bits) from simplebus0 random: harvesting attach, 8 bytes (4 bits) from ofwbus0 clkmsr0: mem 0xc1108758-0xc1108767 on = simplebus0 clkmsr0: bus clock 159 MHz random: harvesting attach, 8 bytes (4 bits) from clkmsr0 l2cache0: mem 0xc4200000-0xc4200fff irq 0 on = ofwbus0 l2cache0: Part number: 0x3, release: 0x9 l2cache0: L2 Cache enabled: 512KB/32B 8 ways l2cache0: Early BRESP response: disabled l2cache0: Instruction prefetch: disabled l2cache0: Data prefetch: enabled l2cache0: Non-secure interrupt control: disabled l2cache0: Non-secure lockdown: disabled l2cache0: Share override: disabled l2cache0: Double linefill: disabled l2cache0: Instruction prefetch: disabled l2cache0: Data prefetch: enabled l2cache0: Double linefill on WRAP request: disabled l2cache0: Prefetch drop: disabled l2cache0: Incr double Linefill: disabled l2cache0: Not same ID on exclusive sequence: disabled l2cache0: Prefetch offset: 0 random: harvesting attach, 8 bytes (4 bits) from l2cache0 scu0: mem 0xc4300000-0xc4300fff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from scu0 cpuconfig0: mem 0xd901ff80-0xd901ff8f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 ccm0: mem 0xc1104140-0xc1104153 on simplebus0 random: harvesting attach, 8 bytes (4 bits) from ccm0 pinctrl0: mem = 0xc11080b0-0xc11080d7,0xc11080e8-0xc11080ff,0xc1108120-0xc1108137,0xc81000= 14-0xc8100017,0xc810002c-0xc810002f,0xc810002c-0xc810002f on simplebus0 Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 random: harvesting attach, 8 bytes (4 bits) from pinctrl0 gic0: mem = 0xc4301000-0xc4301fff,0xc4300100-0xc43001ff on ofwbus0 ofwbus0: no default resources for rid =3D 0, type =3D 1 gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 random: harvesting attach, 8 bytes (4 bits) from gic0 wdt0: mem 0xc1109900-0xc1109907 irq 2 on = simplebus0 random: harvesting attach, 8 bytes (4 bits) from wdt0 timer0: mem 0xc1109940-0xc1109957 irq 1 on = ofwbus0 Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 random: harvesting attach, 8 bytes (4 bits) from timer0 uart0: mem 0xc81004c0-0xc81004d7 irq 3 on = simplebus0 uart0: RTS iflow, CTS oflow uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart0 uart1: mem 0xc11084c0-0xc11084d7 irq 4 on = simplebus0 uart1: RTS iflow, CTS oflow uart1: fast interrupt uart1: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart1 uart2: mem 0xc11084dc-0xc11084f3 irq 5 on = simplebus0 uart2: RTS iflow, CTS oflow uart2: fast interrupt uart2: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart2 uart3: mem 0xc1108700-0xc1108717 irq 6 on = simplebus0 uart3: RTS iflow, CTS oflow uart3: fast interrupt uart3: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart3 simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled = compat amlogic,meson6-i2c (no driver attached) aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 on = simplebus0 iicbb0: on aml8726_iic0 iicbus0: on iicbb0 master-only iic0: on iicbus0 random: harvesting attach, 8 bytes (4 bits) from iic0 random: harvesting attach, 8 bytes (4 bits) from iicbus0 random: harvesting attach, 8 bytes (4 bits) from iicbb0 random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 on = simplebus0 iicbb1: on aml8726_iic1 iicbus1: on iicbb1 master-only iic1: on iicbus1 random: harvesting attach, 8 bytes (4 bits) from iic1 random: harvesting attach, 8 bytes (4 bits) from iicbus1 random: harvesting attach, 8 bytes (4 bits) from iicbb1 random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 simplebus0: mem 0xc8100480-0xc810049f irq 10 = disabled compat amlogic,meson6-ir (no driver attached) simplebus0: mem 0xc1108c80-0xc1108cff disabled compat = amlogic,meson6-spifc (no driver attached) simplebus0: mem = 0xc9410000-0xc941ffff,0xc1108108-0xc110810b irq 11 disabled compat = amlogic,meson6-dwmac (no driver attached) rtc0: mem 0xc8100740-0xc8100753 irq 12 on = simplebus0 rtc0: crystal oscillator check failed device_attach: rtc0 attach returned 6 gpio0: mem = 0xc8100024-0xc8100027,0xc8100024-0xc8100027,0xc8100028-0xc810002b on = simplebus0 gpiobus0: on gpio0 gpioled0: at pin 13 on gpiobus0 random: harvesting attach, 8 bytes (4 bits) from gpioled0 random: harvesting attach, 8 bytes (4 bits) from gpiobus0 gpioc0: on gpio0 random: harvesting attach, 8 bytes (4 bits) from gpioc0 random: harvesting attach, 8 bytes (4 bits) from gpio0 gpio1: mem = 0xc1108054-0xc1108057,0xc1108058-0xc110805b,0xc110805c-0xc110805f on = simplebus0 gpiobus1: on gpio1 random: harvesting attach, 8 bytes (4 bits) from gpiobus1 gpioc1: on gpio1 random: harvesting attach, 8 bytes (4 bits) from gpioc1 random: harvesting attach, 8 bytes (4 bits) from gpio1 gpio2: mem = 0xc110806c-0xc110806f,0xc1108070-0xc1108073,0xc1108074-0xc1108077 on = simplebus0 gpiobus2: on gpio2 random: harvesting attach, 8 bytes (4 bits) from gpiobus2 gpioc2: on gpio2 random: harvesting attach, 8 bytes (4 bits) from gpioc2 random: harvesting attach, 8 bytes (4 bits) from gpio2 aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 on = simplebus0 mmc0: on aml8726_mmc0 random: harvesting attach, 8 bytes (4 bits) from mmc0 random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b irq = 14 on simplebus0 mmc1: on aml8726_sdxc0 random: harvesting attach, 8 bytes (4 bits) from mmc1 random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 simplebus0: mem 0xc1108100-0xc1108107 compat = amlogic,aml8726-rng (no driver attached) usbphy0: mem 0xc1108800-0xc110881f on = simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy0 usbphy1: mem 0xc1108820-0xc110883f on = simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy1 dwcotg0: mem = 0xc9040000-0xc907ffff irq 15 on simplebus0 usbus0 on dwcotg0 dwcotg0: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus0 random: harvesting attach, 8 bytes (4 bits) from dwcotg0 dwcotg1: mem = 0xc90c0000-0xc90fffff irq 16 on simplebus0 usbus1 on dwcotg1 dwcotg1: usbpf: Attached random: harvesting attach, 8 bytes (4 bits) from usbus1 random: harvesting attach, 8 bytes (4 bits) from dwcotg1 dwc0: mem = 0xc9410000-0xc9411fff irq 11 on simplebus0 miibus0: on dwc0 rgephy0: PHY 0 on = miibus0 rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from rgephy0 rgephy1: PHY 1 on = miibus0 rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto random: harvesting attach, 8 bytes (4 bits) from rgephy1 random: harvesting attach, 8 bytes (4 bits) from miibus0 dwc0: bpf attached dwc0: Ethernet address: 62:73:64:5d:6a:ec random: harvesting attach, 8 bytes (4 bits) from dwc0 fb0: mem = 0xc8006048-0xc8006053,0xc1106800-0xc1106bff,0xc1107400-0xc11077ff irq = 17,18,19,20 on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". random: harvesting attach, 8 bytes (4 bits) from fbd0 random: harvesting attach, 8 bytes (4 bits) from fb0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpu0: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu0 cpu1: on cpulist0 cpu1: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu1 cpu2: on cpulist0 cpu2: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu2 cpu3: on cpulist0 cpu3: missing 'clock-frequency' property random: harvesting attach, 8 bytes (4 bits) from cpu3 random: harvesting attach, 8 bytes (4 bits) from cpulist0 ofwbus0: compat fixed-clock (no driver attached) ofwbus0: compat gpio-leds (no driver attached) cryptosoft0: crypto: assign cryptosoft0 driver id 0, flags 100663296 crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 procfs registered Timecounters tick every 10.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 usbus0: 480Mbps High Speed USB v2.0 IPsec: Initialized Security Association Processing. lo0: bpf attached mmc0: Probing bus usbus1: 480Mbps High Speed USB v2.0 mmc0: SD 2.0 interface conditions: OK mmc0: SD probe: OK (OCR: 0x40ff8000) mmc0: Current OCR: 0x00ff8000 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 mmc0: Probing cards mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) mmc0: Card at relative address 0xaaaa added: mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD mmc0: bus: 4bit, 50MHz, high speed timing mmc0: memory: 15523840 blocks, erase sector 8192 blocks mmc0: setting transfer rate to 39.750MHz (high speed timing) mmcsd0: 8GB at mmc0 = 39.7MHz/4bit/8-block random: harvesting attach, 8 bytes (4 bits) from mmcsd0 mmc1: Probing bus GEOM: new disk mmcsd0 mmc0: setting bus width to 4 bits GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 bytes GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 bytes mmc1: SD probe: failed mmc1: MMC probe: failed mmc1: Current OCR: 0x00000000 mmc1: No compatible cards found on bus Release APs WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:mmcsd0s2 []... GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes warning: no time-of-day clock registered, system time will not be set = accurately start_init: trying /sbin/init uhub0: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub0 uhub1: 1 port with 1 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub1 ugen1.2: at usbus1 uhub2: on = usbus1 uhub2: MTT enabled Growing root partition to fill device GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes mmcsd0s2 resized growfs: superblock not recognized /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, = generating a new one uhub2: 4 ports with 4 removable, self powered random: harvesting attach, 8 bytes (4 bits) from uhub2 Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. Setting hostid: 0x373425ad. No suitable dump device was found. Starting file system checks: /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% = fragmentation) GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned on = 4194304 bytes GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes Mounting local file systems:. Setting hostname: freebsd. Setting up = harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,K= EYBOARD,ATTACH,CACHED Feeding entropy:random: unblocking device. . dwc0: link state changed to DOWN Starting Network: lo0 dwc0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 dwc0: flags=3D8843 metric 0 mtu = 1500 options=3D80008 ether 62:73:64:5d:6a:ec media: Ethernet autoselect (none) status: no carrier nd6 options=3D29 ELF ldconfig path: /lib /usr/lib /usr/lib/compat Starting devd. add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Generating host.conf. Waiting 30s for the default route interface: .....(no carrier) Creating and/or trimming log files. Starting syslogd. Clearing /tmp (X related). Updating motd:. Mounting late file systems:. Configuring vt: blanktime. Generating RSA host key. 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd = (RSA) Generating ECDSA host key. 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd = (ECDSA) Generating ED25519 host key. 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd = (ED25519) Performing sanity check on sshd configuration. Could not load host key: /etc/ssh/ssh_host_dsa_key Starting sshd. Could not load host key: /etc/ssh/ssh_host_dsa_key Starting cron. Starting background file system checks in 60 seconds. lock order reversal: 1st 0xc4499814 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 2nd 0xd90169a0 bufwait (bufwait) @ = /usr/home/emoe/Projects/ARM/src/sys/ufs/ffs/ffs_vnops.c:263 3rd 0xc45c15d4 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 stack backtrace: mount: /dev/mmcsd0s2: Device busy Thu Mar 31 10:49:29 UTC 2016 FreeBSD/arm (freebsd) (ttyu0) login: > On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >=20 > I was able to build a working odroid-c1 image not too long ago. Let = me pull the latest sources and see if something has changed. >=20 > Erik=20 >=20 >> On Mar 30, 2016, at 2:24 AM, Daniel Braniss = wrote: >>=20 >> Hi, >> Managed to make a bootable SD, cross compile world/kernel, >> but the kernel startup gets stuck, I can=E2=80=99t even get into the = debugger. >> any help/hints most welcome :-) >> btw, I can also boot via the network, cutting down the debug cycle = considerably. >> thanks, >> danny >> PS: here is the console output >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Thu Mar 31 06:31:47 2016 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 0C285AE26E1 for ; Thu, 31 Mar 2016 06:31:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F2971EB6 for ; Thu, 31 Mar 2016 06:31:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1alW8r-000DFq-1m; Thu, 31 Mar 2016 09:31:41 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Odroidc1+ stuck booting From: Daniel Braniss In-Reply-To: Date: Thu, 31 Mar 2016 09:31:40 +0300 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> To: Erik Moe X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 06:31:47 -0000 hi Erik, can you send me your uboot boot.ini *.dtb I=E2=80=99m pretty sure the issue is somewhere there then. thanks, danny > On 31 Mar 2016, at 09:11, Erik Moe wrote: >=20 > I built a new image for my odriod-c1 for ssd from the latest sources = and had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99= t have and odriod-c1+, but my understanding is there isn=E2=80=99t much = difference between the two. I am using the serial console. >=20 > = QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PA= SS:1; > = ----------------------------------------------------------------------- > * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) = * > = ----------------------------------------------------------------------- > CPU : AMLogic S805 > MEM : 1024MB (DDR3@792MHz) > BID : HKC13C0001 > S/N : HKC1CC037EBE4620 > 0x0000009f > check SD_boot_type:0x1 card_type:0x1 > Loading U-boot...success. >=20 >=20 > U-boot(odroidc@) (Jun 12 2015 - 17:31:14) >=20 > DRAM: 1 GiB > relocation Offset is: 2ff1c000 > MMC: SDCARD: 0, eMMC: 1 > IR init is done! > vpu clk_level =3D 3 > set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) > mode =3D 6 vic =3D 4 > set HDMI vic: 4 > mode is: 6 > viu chan =3D 1 > config HPLL > config HPLL done > reconfig packet setting done > MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: = OK > There is no valid bmp file at the given address > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G > Type: Removable Hard Disk > Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) > ------------------------------------------------------------ > Partition Start Sector Num Sectors Type > 1 1134 131040 6 > 2 132174 15391666 a5 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Net: Meson_Ethernet > init suspend firmware done. (ret:0) > Hit Enter key to stop autoboot -- : 0 > exit abortboot: 0 > reading boot.ini >=20 > 98 bytes read > Loading boot.ini from mmc0:1 (vfat) > Executing the script... > setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" > run bootcmd > reading kernel.bin >=20 > 6055396 bytes read > ## Starting application at 0x00100000 ... > ARM Debug Architecture v7 > 2 watchpoints and 3 breakpoints supported > 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 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 CDT = 2016 > = root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/home/e= moe/Projects/ARM/src/sys/ODROIDC1 arm > FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) > WARNING: WITNESS option enabled, expect reduced performance. > VT: init without driver. > Preloaded elf kernel "kernel" at 0xc07c5d6c. > CPU: Cortex A5 rev 1 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB enabled LABT branch prediction disabled > LoUU:2 LoC:2 LoUIS:2 > Cache level 1: > 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc > 32KB/32B 2-way instruction cache Read-Alloc > real memory =3D 1073737728 (1023 MB) > avail memory =3D 1038233600 (990 MB) > Physical memory chunk(s): > 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) > Excluded memory regions: > 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc > Static device mappings: > 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 > 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 > 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 > 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 > 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 > 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 > 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 > 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 > Amlogic aml8726-m8b SoC > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > ULE: setup cpu 0 > ULE: setup cpu 1 > ULE: setup cpu 2 > ULE: setup cpu 3 > random: entropy device external interface > null: > openfirm: > mem: > nfslock: pseudo-device > crypto: > random: harvesting attach, 8 bytes (4 bits) from nexus0 > ofwbus0: > simplebus0: on ofwbus0 > random: harvesting attach, 8 bytes (4 bits) from simplebus0 > random: harvesting attach, 8 bytes (4 bits) from ofwbus0 > clkmsr0: mem 0xc1108758-0xc1108767 on = simplebus0 > clkmsr0: bus clock 159 MHz > random: harvesting attach, 8 bytes (4 bits) from clkmsr0 > l2cache0: mem 0xc4200000-0xc4200fff irq 0 = on ofwbus0 > l2cache0: Part number: 0x3, release: 0x9 > l2cache0: L2 Cache enabled: 512KB/32B 8 ways > l2cache0: Early BRESP response: disabled > l2cache0: Instruction prefetch: disabled > l2cache0: Data prefetch: enabled > l2cache0: Non-secure interrupt control: disabled > l2cache0: Non-secure lockdown: disabled > l2cache0: Share override: disabled > l2cache0: Double linefill: disabled > l2cache0: Instruction prefetch: disabled > l2cache0: Data prefetch: enabled > l2cache0: Double linefill on WRAP request: disabled > l2cache0: Prefetch drop: disabled > l2cache0: Incr double Linefill: disabled > l2cache0: Not same ID on exclusive sequence: disabled > l2cache0: Prefetch offset: 0 > random: harvesting attach, 8 bytes (4 bits) from l2cache0 > scu0: mem 0xc4300000-0xc4300fff on simplebus0 > random: harvesting attach, 8 bytes (4 bits) from scu0 > cpuconfig0: mem 0xd901ff80-0xd901ff8f on = simplebus0 > random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 > ccm0: mem 0xc1104140-0xc1104153 on simplebus0 > random: harvesting attach, 8 bytes (4 bits) from ccm0 > pinctrl0: mem = 0xc11080b0-0xc11080d7,0xc11080e8-0xc11080ff,0xc1108120-0xc1108137,0xc81000= 14-0xc8100017,0xc810002c-0xc810002f,0xc810002c-0xc810002f on simplebus0 > Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 > Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 > Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 > random: harvesting attach, 8 bytes (4 bits) from pinctrl0 > gic0: mem = 0xc4301000-0xc4301fff,0xc4300100-0xc43001ff on ofwbus0 > ofwbus0: no default resources for rid =3D 0, type =3D 1 > gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 > random: harvesting attach, 8 bytes (4 bits) from gic0 > wdt0: mem 0xc1109900-0xc1109907 irq 2 on = simplebus0 > random: harvesting attach, 8 bytes (4 bits) from wdt0 > timer0: mem 0xc1109940-0xc1109957 irq 1 on = ofwbus0 > Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 > Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 > random: harvesting attach, 8 bytes (4 bits) from timer0 > uart0: mem 0xc81004c0-0xc81004d7 irq 3 on = simplebus0 > uart0: RTS iflow, CTS oflow > uart0: console (115200,n,8,1) > uart0: fast interrupt > uart0: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart0 > uart1: mem 0xc11084c0-0xc11084d7 irq 4 on = simplebus0 > uart1: RTS iflow, CTS oflow > uart1: fast interrupt > uart1: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart1 > uart2: mem 0xc11084dc-0xc11084f3 irq 5 on = simplebus0 > uart2: RTS iflow, CTS oflow > uart2: fast interrupt > uart2: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart2 > uart3: mem 0xc1108700-0xc1108717 irq 6 on = simplebus0 > uart3: RTS iflow, CTS oflow > uart3: fast interrupt > uart3: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart3 > simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled = compat amlogic,meson6-i2c (no driver attached) > aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 on = simplebus0 > iicbb0: on aml8726_iic0 > iicbus0: on iicbb0 master-only > iic0: on iicbus0 > random: harvesting attach, 8 bytes (4 bits) from iic0 > random: harvesting attach, 8 bytes (4 bits) from iicbus0 > random: harvesting attach, 8 bytes (4 bits) from iicbb0 > random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 > aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 on = simplebus0 > iicbb1: on aml8726_iic1 > iicbus1: on iicbb1 master-only > iic1: on iicbus1 > random: harvesting attach, 8 bytes (4 bits) from iic1 > random: harvesting attach, 8 bytes (4 bits) from iicbus1 > random: harvesting attach, 8 bytes (4 bits) from iicbb1 > random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 > simplebus0: mem 0xc8100480-0xc810049f irq 10 = disabled compat amlogic,meson6-ir (no driver attached) > simplebus0: mem 0xc1108c80-0xc1108cff disabled compat = amlogic,meson6-spifc (no driver attached) > simplebus0: mem = 0xc9410000-0xc941ffff,0xc1108108-0xc110810b irq 11 disabled compat = amlogic,meson6-dwmac (no driver attached) > rtc0: mem 0xc8100740-0xc8100753 irq 12 on = simplebus0 > rtc0: crystal oscillator check failed > device_attach: rtc0 attach returned 6 > gpio0: mem = 0xc8100024-0xc8100027,0xc8100024-0xc8100027,0xc8100028-0xc810002b on = simplebus0 > gpiobus0: on gpio0 > gpioled0: at pin 13 on gpiobus0 > random: harvesting attach, 8 bytes (4 bits) from gpioled0 > random: harvesting attach, 8 bytes (4 bits) from gpiobus0 > gpioc0: on gpio0 > random: harvesting attach, 8 bytes (4 bits) from gpioc0 > random: harvesting attach, 8 bytes (4 bits) from gpio0 > gpio1: mem = 0xc1108054-0xc1108057,0xc1108058-0xc110805b,0xc110805c-0xc110805f on = simplebus0 > gpiobus1: on gpio1 > random: harvesting attach, 8 bytes (4 bits) from gpiobus1 > gpioc1: on gpio1 > random: harvesting attach, 8 bytes (4 bits) from gpioc1 > random: harvesting attach, 8 bytes (4 bits) from gpio1 > gpio2: mem = 0xc110806c-0xc110806f,0xc1108070-0xc1108073,0xc1108074-0xc1108077 on = simplebus0 > gpiobus2: on gpio2 > random: harvesting attach, 8 bytes (4 bits) from gpiobus2 > gpioc2: on gpio2 > random: harvesting attach, 8 bytes (4 bits) from gpioc2 > random: harvesting attach, 8 bytes (4 bits) from gpio2 > aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 = on simplebus0 > mmc0: on aml8726_mmc0 > random: harvesting attach, 8 bytes (4 bits) from mmc0 > random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 > aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b irq = 14 on simplebus0 > mmc1: on aml8726_sdxc0 > random: harvesting attach, 8 bytes (4 bits) from mmc1 > random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 > simplebus0: mem 0xc1108100-0xc1108107 compat = amlogic,aml8726-rng (no driver attached) > usbphy0: mem 0xc1108800-0xc110881f on = simplebus0 > random: harvesting attach, 8 bytes (4 bits) from usbphy0 > usbphy1: mem 0xc1108820-0xc110883f on = simplebus0 > random: harvesting attach, 8 bytes (4 bits) from usbphy1 > dwcotg0: mem = 0xc9040000-0xc907ffff irq 15 on simplebus0 > usbus0 on dwcotg0 > dwcotg0: usbpf: Attached > random: harvesting attach, 8 bytes (4 bits) from usbus0 > random: harvesting attach, 8 bytes (4 bits) from dwcotg0 > dwcotg1: mem = 0xc90c0000-0xc90fffff irq 16 on simplebus0 > usbus1 on dwcotg1 > dwcotg1: usbpf: Attached > random: harvesting attach, 8 bytes (4 bits) from usbus1 > random: harvesting attach, 8 bytes (4 bits) from dwcotg1 > dwc0: mem = 0xc9410000-0xc9411fff irq 11 on simplebus0 > miibus0: on dwc0 > rgephy0: PHY 0 on = miibus0 > rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 > rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto > random: harvesting attach, 8 bytes (4 bits) from rgephy0 > rgephy1: PHY 1 on = miibus0 > rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 > rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto > random: harvesting attach, 8 bytes (4 bits) from rgephy1 > random: harvesting attach, 8 bytes (4 bits) from miibus0 > dwc0: bpf attached > dwc0: Ethernet address: 62:73:64:5d:6a:ec > random: harvesting attach, 8 bytes (4 bits) from dwc0 > fb0: mem = 0xc8006048-0xc8006053,0xc1106800-0xc1106bff,0xc1107400-0xc11077ff irq = 17,18,19,20 on simplebus0 > fbd0 on fb0 > VT: initialize with new VT driver "fb". > random: harvesting attach, 8 bytes (4 bits) from fbd0 > random: harvesting attach, 8 bytes (4 bits) from fb0 > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu0: missing 'clock-frequency' property > random: harvesting attach, 8 bytes (4 bits) from cpu0 > cpu1: on cpulist0 > cpu1: missing 'clock-frequency' property > random: harvesting attach, 8 bytes (4 bits) from cpu1 > cpu2: on cpulist0 > cpu2: missing 'clock-frequency' property > random: harvesting attach, 8 bytes (4 bits) from cpu2 > cpu3: on cpulist0 > cpu3: missing 'clock-frequency' property > random: harvesting attach, 8 bytes (4 bits) from cpu3 > random: harvesting attach, 8 bytes (4 bits) from cpulist0 > ofwbus0: compat fixed-clock (no driver attached) > ofwbus0: compat gpio-leds (no driver attached) > cryptosoft0: > crypto: assign cryptosoft0 driver id 0, flags 100663296 > crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 > crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 > random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 > procfs registered > Timecounters tick every 10.000 msec > tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 > usbus0: 480Mbps High Speed USB v2.0 > IPsec: Initialized Security Association Processing. > lo0: bpf attached > mmc0: Probing bus > usbus1: 480Mbps High Speed USB v2.0 > mmc0: SD 2.0 interface conditions: OK > mmc0: SD probe: OK (OCR: 0x40ff8000) > mmc0: Current OCR: 0x00ff8000 > ugen1.1: at usbus1 > uhub0: on = usbus1 > ugen0.1: at usbus0 > uhub1: on = usbus0 > mmc0: Probing cards > mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) > mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) > mmc0: Card at relative address 0xaaaa added: > mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD > mmc0: bus: 4bit, 50MHz, high speed timing > mmc0: memory: 15523840 blocks, erase sector 8192 blocks > mmc0: setting transfer rate to 39.750MHz (high speed timing) > mmcsd0: 8GB at mmc0 = 39.7MHz/4bit/8-block > random: harvesting attach, 8 bytes (4 bits) from mmcsd0 > mmc1: Probing bus > GEOM: new disk mmcsd0 > mmc0: setting bus width to 4 bits > GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 = bytes > GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 = bytes > mmc1: SD probe: failed > mmc1: MMC probe: failed > mmc1: Current OCR: 0x00000000 > mmc1: No compatible cards found on bus > Release APs > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:mmcsd0s2 []... > GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes > warning: no time-of-day clock registered, system time will not be set = accurately > start_init: trying /sbin/init > uhub0: 1 port with 1 removable, self powered > random: harvesting attach, 8 bytes (4 bits) from uhub0 > uhub1: 1 port with 1 removable, self powered > random: harvesting attach, 8 bytes (4 bits) from uhub1 > ugen1.2: at usbus1 > uhub2: = on usbus1 > uhub2: MTT enabled > Growing root partition to fill device > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes > mmcsd0s2 resized > growfs: superblock not recognized > /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, = generating a new one > uhub2: 4 ports with 4 removable, self powered > random: harvesting attach, 8 bytes (4 bits) from uhub2 > Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. > Setting hostid: 0x373425ad. > No suitable dump device was found. > Starting file system checks: > /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% = fragmentation) > GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned = on 4194304 bytes > Mounting local file systems:. > Setting hostname: freebsd. > Setting up = harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,K= EYBOARD,ATTACH,CACHED > Feeding entropy:random: unblocking device. > . > dwc0: link state changed to DOWN > Starting Network: lo0 dwc0. > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=3D21 > dwc0: flags=3D8843 metric 0 = mtu 1500 > options=3D80008 > ether 62:73:64:5d:6a:ec > media: Ethernet autoselect (none) > status: no carrier > nd6 options=3D29 > ELF ldconfig path: /lib /usr/lib /usr/lib/compat > Starting devd. > add net fe80::: gateway ::1 > add net ff02::: gateway ::1 > add net ::ffff:0.0.0.0: gateway ::1 > add net ::0.0.0.0: gateway ::1 > Generating host.conf. > Waiting 30s for the default route interface: .....(no carrier) > Creating and/or trimming log files. > Starting syslogd. > Clearing /tmp (X related). > Updating motd:. > Mounting late file systems:. > Configuring vt: blanktime. > Generating RSA host key. > 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd = (RSA) > Generating ECDSA host key. > 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd = (ECDSA) > Generating ED25519 host key. > 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd = (ED25519) > Performing sanity check on sshd configuration. > Could not load host key: /etc/ssh/ssh_host_dsa_key > Starting sshd. > Could not load host key: /etc/ssh/ssh_host_dsa_key > Starting cron. > Starting background file system checks in 60 seconds. > lock order reversal: > 1st 0xc4499814 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 > 2nd 0xd90169a0 bufwait (bufwait) @ = /usr/home/emoe/Projects/ARM/src/sys/ufs/ffs/ffs_vnops.c:263 > 3rd 0xc45c15d4 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 > stack backtrace: > mount: /dev/mmcsd0s2: Device busy >=20 > Thu Mar 31 10:49:29 UTC 2016 >=20 > FreeBSD/arm (freebsd) (ttyu0) >=20 > login: >=20 >> On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >>=20 >> I was able to build a working odroid-c1 image not too long ago. Let = me pull the latest sources and see if something has changed. >>=20 >> Erik=20 >>=20 >>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss = wrote: >>>=20 >>> Hi, >>> Managed to make a bootable SD, cross compile world/kernel, >>> but the kernel startup gets stuck, I can=E2=80=99t even get into the = debugger. >>> any help/hints most welcome :-) >>> btw, I can also boot via the network, cutting down the debug cycle = considerably. >>> thanks, >>> danny >>> PS: here is the console output >>> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 From owner-freebsd-arm@freebsd.org Thu Mar 31 06:36:40 2016 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 2A6F2AE2745 for ; Thu, 31 Mar 2016 06:36:40 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B045F1087 for ; Thu, 31 Mar 2016 06:36:39 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from chamsa.cs.huji.ac.il ([132.65.80.19]) by kabab.cs.huji.ac.il with esmtp id 1alWDd-000DIW-9s; Thu, 31 Mar 2016 09:36:37 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Odroidc1+ stuck booting From: Daniel Braniss In-Reply-To: Date: Thu, 31 Mar 2016 09:36:37 +0300 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> To: Erik Moe X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 06:36:40 -0000 oh, and if you feel generous your ODROIDC1.conf =E2=80=A6 thanks, danny > On 31 Mar 2016, at 09:31, Daniel Braniss wrote: >=20 > hi Erik, > can you send me your > uboot > boot.ini > *.dtb > I=E2=80=99m pretty sure the issue is somewhere there then. > thanks, > danny >=20 >> On 31 Mar 2016, at 09:11, Erik Moe wrote: >>=20 >> I built a new image for my odriod-c1 for ssd from the latest sources = and had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99= t have and odriod-c1+, but my understanding is there isn=E2=80=99t much = difference between the two. I am using the serial console. >>=20 >> = QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PA= SS:1; >> = ----------------------------------------------------------------------- >> * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) = * >> = ----------------------------------------------------------------------- >> CPU : AMLogic S805 >> MEM : 1024MB (DDR3@792MHz) >> BID : HKC13C0001 >> S/N : HKC1CC037EBE4620 >> 0x0000009f >> check SD_boot_type:0x1 card_type:0x1 >> Loading U-boot...success. >>=20 >>=20 >> U-boot(odroidc@) (Jun 12 2015 - 17:31:14) >>=20 >> DRAM: 1 GiB >> relocation Offset is: 2ff1c000 >> MMC: SDCARD: 0, eMMC: 1 >> IR init is done! >> vpu clk_level =3D 3 >> set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) >> mode =3D 6 vic =3D 4 >> set HDMI vic: 4 >> mode is: 6 >> viu chan =3D 1 >> config HPLL >> config HPLL done >> reconfig packet setting done >> MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: = OK >> There is no valid bmp file at the given address >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G >> Type: Removable Hard Disk >> Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) >> ------------------------------------------------------------ >> Partition Start Sector Num Sectors Type >> 1 1134 131040 6 >> 2 132174 15391666 a5 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Net: Meson_Ethernet >> init suspend firmware done. (ret:0) >> Hit Enter key to stop autoboot -- : 0 >> exit abortboot: 0 >> reading boot.ini >>=20 >> 98 bytes read >> Loading boot.ini from mmc0:1 (vfat) >> Executing the script... >> setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" >> run bootcmd >> reading kernel.bin >>=20 >> 6055396 bytes read >> ## Starting application at 0x00100000 ... >> ARM Debug Architecture v7 >> 2 watchpoints and 3 breakpoints supported >> 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 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 = CDT 2016 >> = root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/home/e= moe/Projects/ARM/src/sys/ODROIDC1 arm >> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) >> WARNING: WITNESS option enabled, expect reduced performance. >> VT: init without driver. >> Preloaded elf kernel "kernel" at 0xc07c5d6c. >> CPU: Cortex A5 rev 1 (Cortex-A core) >> Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext >> WB enabled LABT branch prediction disabled >> LoUU:2 LoC:2 LoUIS:2 >> Cache level 1: >> 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc >> 32KB/32B 2-way instruction cache Read-Alloc >> real memory =3D 1073737728 (1023 MB) >> avail memory =3D 1038233600 (990 MB) >> Physical memory chunk(s): >> 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) >> Excluded memory regions: >> 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc >> Static device mappings: >> 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 >> 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 >> 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 >> 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 >> 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 >> 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 >> 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 >> 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 >> Amlogic aml8726-m8b SoC >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> ULE: setup cpu 0 >> ULE: setup cpu 1 >> ULE: setup cpu 2 >> ULE: setup cpu 3 >> random: entropy device external interface >> null: >> openfirm: >> mem: >> nfslock: pseudo-device >> crypto: >> random: harvesting attach, 8 bytes (4 bits) from nexus0 >> ofwbus0: >> simplebus0: on ofwbus0 >> random: harvesting attach, 8 bytes (4 bits) from simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from ofwbus0 >> clkmsr0: mem 0xc1108758-0xc1108767 on = simplebus0 >> clkmsr0: bus clock 159 MHz >> random: harvesting attach, 8 bytes (4 bits) from clkmsr0 >> l2cache0: mem 0xc4200000-0xc4200fff irq 0 = on ofwbus0 >> l2cache0: Part number: 0x3, release: 0x9 >> l2cache0: L2 Cache enabled: 512KB/32B 8 ways >> l2cache0: Early BRESP response: disabled >> l2cache0: Instruction prefetch: disabled >> l2cache0: Data prefetch: enabled >> l2cache0: Non-secure interrupt control: disabled >> l2cache0: Non-secure lockdown: disabled >> l2cache0: Share override: disabled >> l2cache0: Double linefill: disabled >> l2cache0: Instruction prefetch: disabled >> l2cache0: Data prefetch: enabled >> l2cache0: Double linefill on WRAP request: disabled >> l2cache0: Prefetch drop: disabled >> l2cache0: Incr double Linefill: disabled >> l2cache0: Not same ID on exclusive sequence: disabled >> l2cache0: Prefetch offset: 0 >> random: harvesting attach, 8 bytes (4 bits) from l2cache0 >> scu0: mem 0xc4300000-0xc4300fff on = simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from scu0 >> cpuconfig0: mem 0xd901ff80-0xd901ff8f on = simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 >> ccm0: mem 0xc1104140-0xc1104153 on simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from ccm0 >> pinctrl0: mem = 0xc11080b0-0xc11080d7,0xc11080e8-0xc11080ff,0xc1108120-0xc1108137,0xc81000= 14-0xc8100017,0xc810002c-0xc810002f,0xc810002c-0xc810002f on simplebus0 >> Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 >> Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 >> Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 >> random: harvesting attach, 8 bytes (4 bits) from pinctrl0 >> gic0: mem = 0xc4301000-0xc4301fff,0xc4300100-0xc43001ff on ofwbus0 >> ofwbus0: no default resources for rid =3D 0, type =3D 1 >> gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 >> random: harvesting attach, 8 bytes (4 bits) from gic0 >> wdt0: mem 0xc1109900-0xc1109907 irq 2 on = simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from wdt0 >> timer0: mem 0xc1109940-0xc1109957 irq 1 on = ofwbus0 >> Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 >> Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 >> random: harvesting attach, 8 bytes (4 bits) from timer0 >> uart0: mem 0xc81004c0-0xc81004d7 irq 3 on = simplebus0 >> uart0: RTS iflow, CTS oflow >> uart0: console (115200,n,8,1) >> uart0: fast interrupt >> uart0: PPS capture mode: DCDinvalid >> random: harvesting attach, 8 bytes (4 bits) from uart0 >> uart1: mem 0xc11084c0-0xc11084d7 irq 4 on = simplebus0 >> uart1: RTS iflow, CTS oflow >> uart1: fast interrupt >> uart1: PPS capture mode: DCDinvalid >> random: harvesting attach, 8 bytes (4 bits) from uart1 >> uart2: mem 0xc11084dc-0xc11084f3 irq 5 on = simplebus0 >> uart2: RTS iflow, CTS oflow >> uart2: fast interrupt >> uart2: PPS capture mode: DCDinvalid >> random: harvesting attach, 8 bytes (4 bits) from uart2 >> uart3: mem 0xc1108700-0xc1108717 irq 6 on = simplebus0 >> uart3: RTS iflow, CTS oflow >> uart3: fast interrupt >> uart3: PPS capture mode: DCDinvalid >> random: harvesting attach, 8 bytes (4 bits) from uart3 >> simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled = compat amlogic,meson6-i2c (no driver attached) >> aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 = on simplebus0 >> iicbb0: on aml8726_iic0 >> iicbus0: on iicbb0 master-only >> iic0: on iicbus0 >> random: harvesting attach, 8 bytes (4 bits) from iic0 >> random: harvesting attach, 8 bytes (4 bits) from iicbus0 >> random: harvesting attach, 8 bytes (4 bits) from iicbb0 >> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 >> aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 = on simplebus0 >> iicbb1: on aml8726_iic1 >> iicbus1: on iicbb1 master-only >> iic1: on iicbus1 >> random: harvesting attach, 8 bytes (4 bits) from iic1 >> random: harvesting attach, 8 bytes (4 bits) from iicbus1 >> random: harvesting attach, 8 bytes (4 bits) from iicbb1 >> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 >> simplebus0: mem 0xc8100480-0xc810049f irq 10 = disabled compat amlogic,meson6-ir (no driver attached) >> simplebus0: mem 0xc1108c80-0xc1108cff disabled compat = amlogic,meson6-spifc (no driver attached) >> simplebus0: mem = 0xc9410000-0xc941ffff,0xc1108108-0xc110810b irq 11 disabled compat = amlogic,meson6-dwmac (no driver attached) >> rtc0: mem 0xc8100740-0xc8100753 irq 12 on = simplebus0 >> rtc0: crystal oscillator check failed >> device_attach: rtc0 attach returned 6 >> gpio0: mem = 0xc8100024-0xc8100027,0xc8100024-0xc8100027,0xc8100028-0xc810002b on = simplebus0 >> gpiobus0: on gpio0 >> gpioled0: at pin 13 on gpiobus0 >> random: harvesting attach, 8 bytes (4 bits) from gpioled0 >> random: harvesting attach, 8 bytes (4 bits) from gpiobus0 >> gpioc0: on gpio0 >> random: harvesting attach, 8 bytes (4 bits) from gpioc0 >> random: harvesting attach, 8 bytes (4 bits) from gpio0 >> gpio1: mem = 0xc1108054-0xc1108057,0xc1108058-0xc110805b,0xc110805c-0xc110805f on = simplebus0 >> gpiobus1: on gpio1 >> random: harvesting attach, 8 bytes (4 bits) from gpiobus1 >> gpioc1: on gpio1 >> random: harvesting attach, 8 bytes (4 bits) from gpioc1 >> random: harvesting attach, 8 bytes (4 bits) from gpio1 >> gpio2: mem = 0xc110806c-0xc110806f,0xc1108070-0xc1108073,0xc1108074-0xc1108077 on = simplebus0 >> gpiobus2: on gpio2 >> random: harvesting attach, 8 bytes (4 bits) from gpiobus2 >> gpioc2: on gpio2 >> random: harvesting attach, 8 bytes (4 bits) from gpioc2 >> random: harvesting attach, 8 bytes (4 bits) from gpio2 >> aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 = on simplebus0 >> mmc0: on aml8726_mmc0 >> random: harvesting attach, 8 bytes (4 bits) from mmc0 >> random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 >> aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b = irq 14 on simplebus0 >> mmc1: on aml8726_sdxc0 >> random: harvesting attach, 8 bytes (4 bits) from mmc1 >> random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 >> simplebus0: mem 0xc1108100-0xc1108107 compat = amlogic,aml8726-rng (no driver attached) >> usbphy0: mem 0xc1108800-0xc110881f on = simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from usbphy0 >> usbphy1: mem 0xc1108820-0xc110883f on = simplebus0 >> random: harvesting attach, 8 bytes (4 bits) from usbphy1 >> dwcotg0: mem = 0xc9040000-0xc907ffff irq 15 on simplebus0 >> usbus0 on dwcotg0 >> dwcotg0: usbpf: Attached >> random: harvesting attach, 8 bytes (4 bits) from usbus0 >> random: harvesting attach, 8 bytes (4 bits) from dwcotg0 >> dwcotg1: mem = 0xc90c0000-0xc90fffff irq 16 on simplebus0 >> usbus1 on dwcotg1 >> dwcotg1: usbpf: Attached >> random: harvesting attach, 8 bytes (4 bits) from usbus1 >> random: harvesting attach, 8 bytes (4 bits) from dwcotg1 >> dwc0: mem = 0xc9410000-0xc9411fff irq 11 on simplebus0 >> miibus0: on dwc0 >> rgephy0: PHY 0 on = miibus0 >> rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 >> rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto >> random: harvesting attach, 8 bytes (4 bits) from rgephy0 >> rgephy1: PHY 1 on = miibus0 >> rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 >> rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto >> random: harvesting attach, 8 bytes (4 bits) from rgephy1 >> random: harvesting attach, 8 bytes (4 bits) from miibus0 >> dwc0: bpf attached >> dwc0: Ethernet address: 62:73:64:5d:6a:ec >> random: harvesting attach, 8 bytes (4 bits) from dwc0 >> fb0: mem = 0xc8006048-0xc8006053,0xc1106800-0xc1106bff,0xc1107400-0xc11077ff irq = 17,18,19,20 on simplebus0 >> fbd0 on fb0 >> VT: initialize with new VT driver "fb". >> random: harvesting attach, 8 bytes (4 bits) from fbd0 >> random: harvesting attach, 8 bytes (4 bits) from fb0 >> cpulist0: on ofwbus0 >> cpu0: on cpulist0 >> cpu0: missing 'clock-frequency' property >> random: harvesting attach, 8 bytes (4 bits) from cpu0 >> cpu1: on cpulist0 >> cpu1: missing 'clock-frequency' property >> random: harvesting attach, 8 bytes (4 bits) from cpu1 >> cpu2: on cpulist0 >> cpu2: missing 'clock-frequency' property >> random: harvesting attach, 8 bytes (4 bits) from cpu2 >> cpu3: on cpulist0 >> cpu3: missing 'clock-frequency' property >> random: harvesting attach, 8 bytes (4 bits) from cpu3 >> random: harvesting attach, 8 bytes (4 bits) from cpulist0 >> ofwbus0: compat fixed-clock (no driver attached) >> ofwbus0: compat gpio-leds (no driver attached) >> cryptosoft0: >> crypto: assign cryptosoft0 driver id 0, flags 100663296 >> crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 >> crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 >> random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 >> procfs registered >> Timecounters tick every 10.000 msec >> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 >> usbus0: 480Mbps High Speed USB v2.0 >> IPsec: Initialized Security Association Processing. >> lo0: bpf attached >> mmc0: Probing bus >> usbus1: 480Mbps High Speed USB v2.0 >> mmc0: SD 2.0 interface conditions: OK >> mmc0: SD probe: OK (OCR: 0x40ff8000) >> mmc0: Current OCR: 0x00ff8000 >> ugen1.1: at usbus1 >> uhub0: on = usbus1 >> ugen0.1: at usbus0 >> uhub1: on = usbus0 >> mmc0: Probing cards >> mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) >> mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) >> mmc0: Card at relative address 0xaaaa added: >> mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD >> mmc0: bus: 4bit, 50MHz, high speed timing >> mmc0: memory: 15523840 blocks, erase sector 8192 blocks >> mmc0: setting transfer rate to 39.750MHz (high speed timing) >> mmcsd0: 8GB at mmc0 = 39.7MHz/4bit/8-block >> random: harvesting attach, 8 bytes (4 bits) from mmcsd0 >> mmc1: Probing bus >> GEOM: new disk mmcsd0 >> mmc0: setting bus width to 4 bits >> GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 = bytes >> GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 = bytes >> mmc1: SD probe: failed >> mmc1: MMC probe: failed >> mmc1: Current OCR: 0x00000000 >> mmc1: No compatible cards found on bus >> Release APs >> WARNING: WITNESS option enabled, expect reduced performance. >> Trying to mount root from ufs:mmcsd0s2 []... >> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >> warning: no time-of-day clock registered, system time will not be set = accurately >> start_init: trying /sbin/init >> uhub0: 1 port with 1 removable, self powered >> random: harvesting attach, 8 bytes (4 bits) from uhub0 >> uhub1: 1 port with 1 removable, self powered >> random: harvesting attach, 8 bytes (4 bits) from uhub1 >> ugen1.2: at usbus1 >> uhub2: = on usbus1 >> uhub2: MTT enabled >> Growing root partition to fill device >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >> mmcsd0s2 resized >> growfs: superblock not recognized >> /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, = generating a new one >> uhub2: 4 ports with 4 removable, self powered >> random: harvesting attach, 8 bytes (4 bits) from uhub2 >> Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. >> Setting hostid: 0x373425ad. >> No suitable dump device was found. >> Starting file system checks: >> /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS >> /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% = fragmentation) >> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >> Mounting local file systems:. >> Setting hostname: freebsd. >> Setting up = harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,K= EYBOARD,ATTACH,CACHED >> Feeding entropy:random: unblocking device. >> . >> dwc0: link state changed to DOWN >> Starting Network: lo0 dwc0. >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D600003 >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >> inet 127.0.0.1 netmask 0xff000000 >> groups: lo >> nd6 options=3D21 >> dwc0: flags=3D8843 metric 0 = mtu 1500 >> options=3D80008 >> ether 62:73:64:5d:6a:ec >> media: Ethernet autoselect (none) >> status: no carrier >> nd6 options=3D29 >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >> Starting devd. >> add net fe80::: gateway ::1 >> add net ff02::: gateway ::1 >> add net ::ffff:0.0.0.0: gateway ::1 >> add net ::0.0.0.0: gateway ::1 >> Generating host.conf. >> Waiting 30s for the default route interface: .....(no carrier) >> Creating and/or trimming log files. >> Starting syslogd. >> Clearing /tmp (X related). >> Updating motd:. >> Mounting late file systems:. >> Configuring vt: blanktime. >> Generating RSA host key. >> 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd = (RSA) >> Generating ECDSA host key. >> 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd = (ECDSA) >> Generating ED25519 host key. >> 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd = (ED25519) >> Performing sanity check on sshd configuration. >> Could not load host key: /etc/ssh/ssh_host_dsa_key >> Starting sshd. >> Could not load host key: /etc/ssh/ssh_host_dsa_key >> Starting cron. >> Starting background file system checks in 60 seconds. >> lock order reversal: >> 1st 0xc4499814 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 >> 2nd 0xd90169a0 bufwait (bufwait) @ = /usr/home/emoe/Projects/ARM/src/sys/ufs/ffs/ffs_vnops.c:263 >> 3rd 0xc45c15d4 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 >> stack backtrace: >> mount: /dev/mmcsd0s2: Device busy >>=20 >> Thu Mar 31 10:49:29 UTC 2016 >>=20 >> FreeBSD/arm (freebsd) (ttyu0) >>=20 >> login: >>=20 >>> On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >>>=20 >>> I was able to build a working odroid-c1 image not too long ago. Let = me pull the latest sources and see if something has changed. >>>=20 >>> Erik=20 >>>=20 >>>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss = wrote: >>>>=20 >>>> Hi, >>>> Managed to make a bootable SD, cross compile world/kernel, >>>> but the kernel startup gets stuck, I can=E2=80=99t even get into = the debugger. >>>> any help/hints most welcome :-) >>>> btw, I can also boot via the network, cutting down the debug cycle = considerably. >>>> thanks, >>>> danny >>>> PS: here is the console output >>>> >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Thu Mar 31 09:30:02 2016 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 4AD86AE31CC for ; Thu, 31 Mar 2016 09:30:02 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [IPv6:2001:470:6c08::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 034F21E63 for ; Thu, 31 Mar 2016 09:30:01 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [172.31.20.14]) by system.jails.se (Postfix) with SMTP id F204648339B for ; Thu, 31 Mar 2016 11:29:58 +0200 (CEST) Received: from [192.168.167.222] (nyx.uppmax.uu.se [130.238.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 7454F483398 for ; Thu, 31 Mar 2016 11:29:58 +0200 (CEST) To: freebsd-arm@freebsd.org From: =?UTF-8?Q?Peter_Ankerst=c3=a5l?= Subject: PPS input on GPIO pin RPI2. Message-ID: <56FCEE15.60109@pean.org> Date: Thu, 31 Mar 2016 11:29:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms080105090903090206000509" X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Mar 31 11:29:58 2016 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 56fcee16177761087614977 X-DSPAM-Factors: 27, this+should+be+#+to, 0.40000, a+generic+#+#+on, 0.40000, should+#+#+to, 0.40000, question+#+#+lists+freebsd, 0.40000, but, 0.40000, have+heard+nothing, 0.40000, for+#+of+double, 0.40000, be+easy, 0.40000, 2014+July+#+html+Peter, 0.40000, weeks+#+about+#+PPS, 0.40000, lists+freebsd, 0.40000, lists+freebsd, 0.40000, arm+list+and+thought+this, 0.40000, question+#+the+stable+list, 0.40000, format+#+#+#+of, 0.40000, Today+I+#+out, 0.40000, MIME+#+#+for, 0.40000, asked+#+question+on+the, 0.40000, out+#+the+arm+list, 0.40000, on+a+generic+GPIO+pin, 0.40000, on+the+RPI2+#+received, 0.40000, generic+#+pin+on, 0.40000, the+#+list+#+few, 0.40000, question+Background, 0.40000, freebsd+stable+2016+March+084288, 0.40000, Subject*input+#+GPIO+#+RPI2., 0.40000, https+lists+#+org, 0.40000 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 09:30:02 -0000 This is a cryptographically signed message in MIME format. --------------ms080105090903090206000509 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable (Sorry for sort of double posting) Hi! I asked a question on the stable@ list a few weeks ago about having PPS=20 input on a generic GPIO-pin on the RPI2. I received some positive=20 feedback that this should be easy to implement but have heard nothing=20 since. Today I found out about the arm-list and thought this maybe was a = better place for this question. Background: https://lists.freebsd.org/pipermail/freebsd-stable/2016-March/084288.html= Similar question: https://lists.freebsd.org/pipermail/freebsd-questions/2014-July/259055.ht= ml /Peter. --------------ms080105090903090206000509 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC C9EwggXiMIIDyqADAgECAhBrp4p9CteI1lEK+Vnk57ThMA0GCSqGSIb3DQEBCwUAMH0xCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGln aXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMSkwJwYDVQQDEyBTdGFydENvbSBDZXJ0aWZpY2F0 aW9uIEF1dGhvcml0eTAeFw0xNTEyMTYwMTAwMDVaFw0zMDEyMTYwMTAwMDVaMHUxCzAJBgNV BAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBDZXJ0 aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGllbnQg Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9fdr3w6J9g/Zbgv3bW1+uHht1 wLUZr5gkrLtXedg17AkefMyUGwrQdvwObhajcVmnKVxhrUwkZPXRAwZZosRHfEIi5FH7x6SV /8Sp5lZEuiMnvMFG2MzLA84J6Ws5T4NfXZ0qn4TPgnr3X2vPVS51M7Ua9nIJgn8jvTra4eyy QzxvuA/GZwKg7VQfDCmCS+kICslYYWgXOMt2xlsSslxLce0CGWRsT8EpMyt1iDflSjXZIsE7 m1uTyHaKZspMLyIyz6mySu8j8BWWHpChNNeTrFuhVfrOAyDPFJVUvKZCLKBhibTLloyy+Lat oWELrjdI4a8StZY8+dIR9t4APXGzAgMBAAGjggFkMIIBYDAOBgNVHQ8BAf8EBAMCAQYwHQYD VR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMBIGA1UdEwEB/wQIMAYBAf8CAQAwMgYDVR0f BCswKTAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20vc2ZzY2EuY3JsMGYGCCsGAQUF BwEBBFowWDAkBggrBgEFBQcwAYYYaHR0cDovL29jc3Auc3RhcnRzc2wuY29tMDAGCCsGAQUF BzAChiRodHRwOi8vYWlhLnN0YXJ0c3NsLmNvbS9jZXJ0cy9jYS5jcnQwHQYDVR0OBBYEFCSB bDlhvkkPj7cbRivJKLUnSG1oMB8GA1UdIwQYMBaAFE4L7xqkQFulF2mHMMo0aEPQQa7yMD8G A1UdIAQ4MDYwNAYEVR0gADAsMCoGCCsGAQUFBwIBFh5odHRwOi8vd3d3LnN0YXJ0c3NsLmNv bS9wb2xpY3kwDQYJKoZIhvcNAQELBQADggIBAIvj94fsAYuErQ8BAluc4SMnIwS9NPBwAm5S H9uh2NCXTq7im61g7F1LIiNI/+wq37fUuaMbz4g7VarKQTgf8ubs0p7NZWcIe7Bvem2AWaXB sxsaRTYw5kG3DN8pd1hSEUuFoTa7DmNeFe8tiK1BrL3rbA/m48jp4AiFXgvxprJrW7izsyet OrRHPbkW4Y07v29MdhaPv3u1JELyszXqOzjIYo4sWlC8iDQXwgSW/ntvWy2n4LuiaozlCfXl 149tKeqvwlvrla2Yklue/quWp9j9ou4T/OY0CXMuY+B8wNK0ohd2D4ShgFlMSjzAFRoHGKF8 1snTr2d1A7Ew02oF6UQyCkC2aNNsK5cWOojBar5c7HplX9aHYUCZouxIeU28SONJAxnATgR4 cJ2jrpmYSz/kliUJ46S6UpVDo/ebn9c6PaM/XtDYCCaM/7XX6wc3s++sbQ7CtCn1Ax7df6uf QbwyO0V+oFa9H0KAsjHMzcwk3EV2B2NLatidKE/m7G+rB9m+FlVgIiSp0mGlg43QO9Kh1+Jq vTCIzv2bJJkmPMLQJNuKKwHNL8F4GGp6jbAV+WL+LDeGfVcq8DHS3LrD+xyYEXQBiqZEdiPV OMxLDSUCXsDO0uCWpaNQ8j6y6S9p0xE/Ga0peVLadVHhqf9nXqKaxnr358VgfrxzUIrvOaOj MIIF5zCCBM+gAwIBAgIQHcJGczwAGL/ehxPfLmSYzzANBgkqhkiG9w0BAQsFADB1MQswCQYD VQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50 IENBMB4XDTE2MDEyNjE3MTg0NFoXDTE3MDEyNjE3MTg0NFowODEXMBUGA1UEAwwOcGV0ZXJA cGVhbi5vcmcxHTAbBgkqhkiG9w0BCQEWDnBldGVyQHBlYW4ub3JnMIICIjANBgkqhkiG9w0B AQEFAAOCAg8AMIICCgKCAgEAsKld9wpANAHCShFhnWgVUcUd+7F8RJJIatfZa7ucpAyaWIuq HFbzBUFbLPWJNeothNQ3ZLcSus2CP+l5gCamv0G5SXl+d+c1QFRP/fua3Fd8l2+x3X0gLm+T sb2b3eYU7d2MZgl3gwtKTM2ZHtG19qFVKlIC5pVrqPkvMlVtRiFgz/BtbtxSZ5xsd9Ut2TYq uLz3aQmc7bUjwEEvBL+psMQCOk0Ra7b6nxyN5Gz6al0aFgQsMM3xjd8tNUDPyuIWxKO/AXWi KutXCDGb+pB8sdMxnYXYVIi5TLzORXBZYQo7uPXO5iXpBX1WoaUFZmDqtatOL+pJt5RY/x6i cvQQ1Snv8c+0SgaiBdOprMlnRgjeSiqUQyJLlhFAchViZKzIk4uZZF2O6Elhs1Su0SB3Ynac urW3LBXQywfB4e1of96/Hhj/VUslFBMLiv2in2kGBYQsjVx61oyaR823Iz+l3+q622r2XzlP vsDfGqhhMBEGu0CiofUnfCkHfAXcMGKIX8KDVLK0aDq91Byr8xc8pZ+4UAYhYx6Zy1kywXRe 2fFIreb6i6T+lnzHWRNYfHRAu7LhbQUc4mUFHaowfqhcUgwePeKWVtGcWF26AccSQz1n2p2W iZ00ROdn986gttXt4HsIl9lMPcn69Jg55GJZ+ns8kgNtqudb7fh2OAhkp40CAwEAAaOCAa4w ggGqMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwCQYDVR0T BAIwADAdBgNVHQ4EFgQUNOER7EGIq2as8FEQKZFgngDghb8wHwYDVR0jBBgwFoAUJIFsOWG+ SQ+PtxtGK8kotSdIbWgwbwYIKwYBBQUHAQEEYzBhMCQGCCsGAQUFBzABhhhodHRwOi8vb2Nz cC5zdGFydHNzbC5jb20wOQYIKwYBBQUHMAKGLWh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2Nl cnRzL3NjYS5jbGllbnQxLmNydDA4BgNVHR8EMTAvMC2gK6AphidodHRwOi8vY3JsLnN0YXJ0 c3NsLmNvbS9zY2EtY2xpZW50MS5jcmwwGQYDVR0RBBIwEIEOcGV0ZXJAcGVhbi5vcmcwIwYD VR0SBBwwGoYYaHR0cDovL3d3dy5zdGFydHNzbC5jb20vMEYGA1UdIAQ/MD0wOwYLKwYBBAGB tTcBAgQwLDAqBggrBgEFBQcCARYeaHR0cDovL3d3dy5zdGFydHNzbC5jb20vcG9saWN5MA0G CSqGSIb3DQEBCwUAA4IBAQC8BvcUW70zTt2JWWD0P2rqyKdX2zvltXPNIAS9GNY3ltkcG9BB ehDJKbJf4BQC5pLRrw5BGjVhr4+3f3lDb95FHHolKHe7G4gTUjdqIlcanu0XH1WGNXDUwibM RngvnOd94ycxFoAfWSFC8k2sFAb2BLE9KYYl9e4ULkS/Bf2iclHMs/shXHGRzFXug8bgHpif zzHClHtcW97XArUkFvBSH2PSg7sSnolOpl4u0VwIiCKvLRTZCWLD7TSJCrTnhsIy4nWjRtZz IsRinO35fhulRpjL2b+pkhNSz6j2SVMF4G3H1SCK6QxBpA0uQD+f6Og2a/AIjntmWtaQjt3/ g793MYIE7DCCBOgCAQEwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0 ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQD ExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQHcJGczwAGL/ehxPfLmSYzzANBglghkgB ZQMEAgMFAKCCAjMwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN MTYwMzMxMDkyOTU3WjBPBgkqhkiG9w0BCQQxQgRArGecHkwehWpwmNeLtAbJSeF65nzCCZUN BJ0VdMkeEG2F7XbBe9PrroO9nTeFu+xKin9TSSzgBexTnsvfnHVUzDBsBgkqhkiG9w0BCQ8x XzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwIC AgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGaBgkrBgEEAYI3 EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNV BAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENv bSBDbGFzcyAxIENsaWVudCBDQQIQHcJGczwAGL/ehxPfLmSYzzCBnAYLKoZIhvcNAQkQAgsx gYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsT IFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBD bGFzcyAxIENsaWVudCBDQQIQHcJGczwAGL/ehxPfLmSYzzANBgkqhkiG9w0BAQEFAASCAgAq g6SJWS6Q14WEcWQjs0FfNGjbZVV8fIXjw5bDxXQtkyZI7gQNTiaIehNV5xhwU91DANEmHTmS If8BTSMTD2qFyaGse5CWKQCG7G+jQGCATGrdyq8VT8FIo+1RMBTb1/tNnt/ATN4v+7Px0gaK UEcCTQzEi91h4WasDozp1A4UTCxi0CQiPehWT5clJr59G42X/AEsenTXsDVA43WJgntghNuX dg3fkWKyomn5xhTCzbtaSor9EhD5KMofzC7RYIev1ExaRNuPdWeOqxO/VFRVQ65TASs/PTF+ fLopDQz+yNsHSIgOsTP5Na40PiBMYyBq9DNxb/AuZHhIIhiz1V+Ml23DeLOjH2ROC480sNV+ dmwMarNRp6dx9ESLs679C8GpRhdaVp+aR+XaEEN/fRaTl9uYCTdTSvp0TUz+sRg+zEAjTJ4f y9ZKdMhwbZdqyQaS/fVADp2fkkxcysBBbckzYPYe/ltnOweu1xvHGCe8vdtMioJi+m8o3ij1 yRHDLcOmJbY7VJVkFScRofAoudNgybMFlGXn8hve2uVqn4pGkF0GN45Ty2HhwZtyCnvD+2Ex KqFx0d8bRaFZHWjjopUnWj1IN1laIfvccp+MQHqnS90gRXQ3gC76iYU28k5MAFSYV66ZN0dm t117UZDNRY/yR858pcp31sgIiC7WlxnItgAAAAAAAA== --------------ms080105090903090206000509-- From owner-freebsd-arm@freebsd.org Thu Mar 31 12:29:25 2016 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 24A16AE2754 for ; Thu, 31 Mar 2016 12:29:25 +0000 (UTC) (envelope-from e.moe@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9ED415B3 for ; Thu, 31 Mar 2016 12:29:24 +0000 (UTC) (envelope-from e.moe@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.1 cv=bOO2WKKZ c=1 sm=1 tr=0 a=kLIaxcRmAfIWWG5Fo3VFTQ==:117 a=kLIaxcRmAfIWWG5Fo3VFTQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=OA2lqS22AAAA:8 a=x_K67aqtPEWKoA7Liu4A:9 a=yJKIK_Yhmq97DPip:21 a=apoxvYJiKidJfsxN:21 a=QEXdDO2ut3YA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: ZS5tb2VAcmNuLmNvbQ== Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=e.moe@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=e.moe@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=e.moe; auth=pass (PLAIN) Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 24.148.20.83 is neither permitted nor denied by domain of rcn.com) Received: from [24.148.20.83] ([24.148.20.83:59332] helo=[192.168.3.100]) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.2.43620 r(Platform:3.6.2.0)) with ESMTPSA (cipher=AES256-SHA) id 66/0F-19652-2281DF65; Thu, 31 Mar 2016 08:29:22 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Odroidc1+ stuck booting From: Erik Moe In-Reply-To: Date: Thu, 31 Mar 2016 07:29:23 -0500 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> To: Daniel Braniss X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 12:29:25 -0000 Everything I=E2=80=99m doing I =E2=80=9Cborrowed=E2=80=9D from here: = https://wiki.freebsd.org/FreeBSD/arm/Odroid-C1 I=E2=80=99m using the stock ODROIDC1 kernel config in head which builds = the FTD statically into the kernel from = src/sys/boot/fdt/dts/arm/odroidc1.dts. I liberated u-boot from = ArchLinuxARM-odroid-c1-latest.tar.gz. My boot.ini is simply this: ODROIDC-UBOOT-CONFIG setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" run bootcmd Erik > On Mar 31, 2016, at 1:36 AM, Daniel Braniss = wrote: >=20 > oh, and if you feel generous your ODROIDC1.conf =E2=80=A6 > thanks, > danny >=20 >> On 31 Mar 2016, at 09:31, Daniel Braniss wrote: >>=20 >> hi Erik, >> can you send me your >> uboot >> boot.ini >> *.dtb >> I=E2=80=99m pretty sure the issue is somewhere there then. >> thanks, >> danny >>=20 >>> On 31 Mar 2016, at 09:11, Erik Moe wrote: >>>=20 >>> I built a new image for my odriod-c1 for ssd from the latest sources = and had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99= t have and odriod-c1+, but my understanding is there isn=E2=80=99t much = difference between the two. I am using the serial console. >>>=20 >>> = QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PA= SS:1; >>> = ----------------------------------------------------------------------- >>> * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 = 2014) * >>> = ----------------------------------------------------------------------- >>> CPU : AMLogic S805 >>> MEM : 1024MB (DDR3@792MHz) >>> BID : HKC13C0001 >>> S/N : HKC1CC037EBE4620 >>> 0x0000009f >>> check SD_boot_type:0x1 card_type:0x1 >>> Loading U-boot...success. >>>=20 >>>=20 >>> U-boot(odroidc@) (Jun 12 2015 - 17:31:14) >>>=20 >>> DRAM: 1 GiB >>> relocation Offset is: 2ff1c000 >>> MMC: SDCARD: 0, eMMC: 1 >>> IR init is done! >>> vpu clk_level =3D 3 >>> set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) >>> mode =3D 6 vic =3D 4 >>> set HDMI vic: 4 >>> mode is: 6 >>> viu chan =3D 1 >>> config HPLL >>> config HPLL done >>> reconfig packet setting done >>> MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: = OK >>> There is no valid bmp file at the given address >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G >>> Type: Removable Hard Disk >>> Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) >>> ------------------------------------------------------------ >>> Partition Start Sector Num Sectors Type >>> 1 1134 131040 6 >>> 2 132174 15391666 a5 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> Net: Meson_Ethernet >>> init suspend firmware done. (ret:0) >>> Hit Enter key to stop autoboot -- : 0 >>> exit abortboot: 0 >>> reading boot.ini >>>=20 >>> 98 bytes read >>> Loading boot.ini from mmc0:1 (vfat) >>> Executing the script... >>> setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" >>> run bootcmd >>> reading kernel.bin >>>=20 >>> 6055396 bytes read >>> ## Starting application at 0x00100000 ... >>> ARM Debug Architecture v7 >>> 2 watchpoints and 3 breakpoints supported >>> 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 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 = CDT 2016 >>> = root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/home/e= moe/Projects/ARM/src/sys/ODROIDC1 arm >>> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based = on LLVM 3.8.0) >>> WARNING: WITNESS option enabled, expect reduced performance. >>> VT: init without driver. >>> Preloaded elf kernel "kernel" at 0xc07c5d6c. >>> CPU: Cortex A5 rev 1 (Cortex-A core) >>> Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 = Security_Ext >>> WB enabled LABT branch prediction disabled >>> LoUU:2 LoC:2 LoUIS:2 >>> Cache level 1: >>> 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc >>> 32KB/32B 2-way instruction cache Read-Alloc >>> real memory =3D 1073737728 (1023 MB) >>> avail memory =3D 1038233600 (990 MB) >>> Physical memory chunk(s): >>> 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) >>> Excluded memory regions: >>> 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc >>> Static device mappings: >>> 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 >>> 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 >>> 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 >>> 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 >>> 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 >>> 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 >>> 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 >>> 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 >>> Amlogic aml8726-m8b SoC >>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>> ULE: setup cpu 0 >>> ULE: setup cpu 1 >>> ULE: setup cpu 2 >>> ULE: setup cpu 3 >>> random: entropy device external interface >>> null: >>> openfirm: >>> mem: >>> nfslock: pseudo-device >>> crypto: >>> random: harvesting attach, 8 bytes (4 bits) from nexus0 >>> ofwbus0: >>> simplebus0: on ofwbus0 >>> random: harvesting attach, 8 bytes (4 bits) from simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from ofwbus0 >>> clkmsr0: mem 0xc1108758-0xc1108767 on = simplebus0 >>> clkmsr0: bus clock 159 MHz >>> random: harvesting attach, 8 bytes (4 bits) from clkmsr0 >>> l2cache0: mem 0xc4200000-0xc4200fff irq = 0 on ofwbus0 >>> l2cache0: Part number: 0x3, release: 0x9 >>> l2cache0: L2 Cache enabled: 512KB/32B 8 ways >>> l2cache0: Early BRESP response: disabled >>> l2cache0: Instruction prefetch: disabled >>> l2cache0: Data prefetch: enabled >>> l2cache0: Non-secure interrupt control: disabled >>> l2cache0: Non-secure lockdown: disabled >>> l2cache0: Share override: disabled >>> l2cache0: Double linefill: disabled >>> l2cache0: Instruction prefetch: disabled >>> l2cache0: Data prefetch: enabled >>> l2cache0: Double linefill on WRAP request: disabled >>> l2cache0: Prefetch drop: disabled >>> l2cache0: Incr double Linefill: disabled >>> l2cache0: Not same ID on exclusive sequence: disabled >>> l2cache0: Prefetch offset: 0 >>> random: harvesting attach, 8 bytes (4 bits) from l2cache0 >>> scu0: mem 0xc4300000-0xc4300fff on = simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from scu0 >>> cpuconfig0: mem 0xd901ff80-0xd901ff8f on = simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 >>> ccm0: mem 0xc1104140-0xc1104153 on simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from ccm0 >>> pinctrl0: mem = 0xc11080b0-0xc11080d7,0xc11080e8-0xc11080ff,0xc1108120-0xc1108137,0xc81000= 14-0xc8100017,0xc810002c-0xc810002f,0xc810002c-0xc810002f on simplebus0 >>> Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 >>> Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 >>> Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 >>> random: harvesting attach, 8 bytes (4 bits) from pinctrl0 >>> gic0: mem = 0xc4301000-0xc4301fff,0xc4300100-0xc43001ff on ofwbus0 >>> ofwbus0: no default resources for rid =3D 0, type =3D 1 >>> gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 >>> random: harvesting attach, 8 bytes (4 bits) from gic0 >>> wdt0: mem 0xc1109900-0xc1109907 irq 2 on = simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from wdt0 >>> timer0: mem 0xc1109940-0xc1109957 irq 1 on = ofwbus0 >>> Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 >>> Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 >>> random: harvesting attach, 8 bytes (4 bits) from timer0 >>> uart0: mem 0xc81004c0-0xc81004d7 irq 3 on = simplebus0 >>> uart0: RTS iflow, CTS oflow >>> uart0: console (115200,n,8,1) >>> uart0: fast interrupt >>> uart0: PPS capture mode: DCDinvalid >>> random: harvesting attach, 8 bytes (4 bits) from uart0 >>> uart1: mem 0xc11084c0-0xc11084d7 irq 4 on = simplebus0 >>> uart1: RTS iflow, CTS oflow >>> uart1: fast interrupt >>> uart1: PPS capture mode: DCDinvalid >>> random: harvesting attach, 8 bytes (4 bits) from uart1 >>> uart2: mem 0xc11084dc-0xc11084f3 irq 5 on = simplebus0 >>> uart2: RTS iflow, CTS oflow >>> uart2: fast interrupt >>> uart2: PPS capture mode: DCDinvalid >>> random: harvesting attach, 8 bytes (4 bits) from uart2 >>> uart3: mem 0xc1108700-0xc1108717 irq 6 on = simplebus0 >>> uart3: RTS iflow, CTS oflow >>> uart3: fast interrupt >>> uart3: PPS capture mode: DCDinvalid >>> random: harvesting attach, 8 bytes (4 bits) from uart3 >>> simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled = compat amlogic,meson6-i2c (no driver attached) >>> aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 = on simplebus0 >>> iicbb0: on aml8726_iic0 >>> iicbus0: on iicbb0 master-only >>> iic0: on iicbus0 >>> random: harvesting attach, 8 bytes (4 bits) from iic0 >>> random: harvesting attach, 8 bytes (4 bits) from iicbus0 >>> random: harvesting attach, 8 bytes (4 bits) from iicbb0 >>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 >>> aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 = on simplebus0 >>> iicbb1: on aml8726_iic1 >>> iicbus1: on iicbb1 master-only >>> iic1: on iicbus1 >>> random: harvesting attach, 8 bytes (4 bits) from iic1 >>> random: harvesting attach, 8 bytes (4 bits) from iicbus1 >>> random: harvesting attach, 8 bytes (4 bits) from iicbb1 >>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 >>> simplebus0: mem 0xc8100480-0xc810049f irq 10 = disabled compat amlogic,meson6-ir (no driver attached) >>> simplebus0: mem 0xc1108c80-0xc1108cff disabled compat = amlogic,meson6-spifc (no driver attached) >>> simplebus0: mem = 0xc9410000-0xc941ffff,0xc1108108-0xc110810b irq 11 disabled compat = amlogic,meson6-dwmac (no driver attached) >>> rtc0: mem 0xc8100740-0xc8100753 irq 12 on = simplebus0 >>> rtc0: crystal oscillator check failed >>> device_attach: rtc0 attach returned 6 >>> gpio0: mem = 0xc8100024-0xc8100027,0xc8100024-0xc8100027,0xc8100028-0xc810002b on = simplebus0 >>> gpiobus0: on gpio0 >>> gpioled0: at pin 13 on gpiobus0 >>> random: harvesting attach, 8 bytes (4 bits) from gpioled0 >>> random: harvesting attach, 8 bytes (4 bits) from gpiobus0 >>> gpioc0: on gpio0 >>> random: harvesting attach, 8 bytes (4 bits) from gpioc0 >>> random: harvesting attach, 8 bytes (4 bits) from gpio0 >>> gpio1: mem = 0xc1108054-0xc1108057,0xc1108058-0xc110805b,0xc110805c-0xc110805f on = simplebus0 >>> gpiobus1: on gpio1 >>> random: harvesting attach, 8 bytes (4 bits) from gpiobus1 >>> gpioc1: on gpio1 >>> random: harvesting attach, 8 bytes (4 bits) from gpioc1 >>> random: harvesting attach, 8 bytes (4 bits) from gpio1 >>> gpio2: mem = 0xc110806c-0xc110806f,0xc1108070-0xc1108073,0xc1108074-0xc1108077 on = simplebus0 >>> gpiobus2: on gpio2 >>> random: harvesting attach, 8 bytes (4 bits) from gpiobus2 >>> gpioc2: on gpio2 >>> random: harvesting attach, 8 bytes (4 bits) from gpioc2 >>> random: harvesting attach, 8 bytes (4 bits) from gpio2 >>> aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 = on simplebus0 >>> mmc0: on aml8726_mmc0 >>> random: harvesting attach, 8 bytes (4 bits) from mmc0 >>> random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 >>> aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b = irq 14 on simplebus0 >>> mmc1: on aml8726_sdxc0 >>> random: harvesting attach, 8 bytes (4 bits) from mmc1 >>> random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 >>> simplebus0: mem 0xc1108100-0xc1108107 compat = amlogic,aml8726-rng (no driver attached) >>> usbphy0: mem 0xc1108800-0xc110881f on = simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from usbphy0 >>> usbphy1: mem 0xc1108820-0xc110883f on = simplebus0 >>> random: harvesting attach, 8 bytes (4 bits) from usbphy1 >>> dwcotg0: mem = 0xc9040000-0xc907ffff irq 15 on simplebus0 >>> usbus0 on dwcotg0 >>> dwcotg0: usbpf: Attached >>> random: harvesting attach, 8 bytes (4 bits) from usbus0 >>> random: harvesting attach, 8 bytes (4 bits) from dwcotg0 >>> dwcotg1: mem = 0xc90c0000-0xc90fffff irq 16 on simplebus0 >>> usbus1 on dwcotg1 >>> dwcotg1: usbpf: Attached >>> random: harvesting attach, 8 bytes (4 bits) from usbus1 >>> random: harvesting attach, 8 bytes (4 bits) from dwcotg1 >>> dwc0: mem = 0xc9410000-0xc9411fff irq 11 on simplebus0 >>> miibus0: on dwc0 >>> rgephy0: PHY 0 on = miibus0 >>> rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 >>> rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto >>> random: harvesting attach, 8 bytes (4 bits) from rgephy0 >>> rgephy1: PHY 1 on = miibus0 >>> rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 >>> rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto >>> random: harvesting attach, 8 bytes (4 bits) from rgephy1 >>> random: harvesting attach, 8 bytes (4 bits) from miibus0 >>> dwc0: bpf attached >>> dwc0: Ethernet address: 62:73:64:5d:6a:ec >>> random: harvesting attach, 8 bytes (4 bits) from dwc0 >>> fb0: mem = 0xc8006048-0xc8006053,0xc1106800-0xc1106bff,0xc1107400-0xc11077ff irq = 17,18,19,20 on simplebus0 >>> fbd0 on fb0 >>> VT: initialize with new VT driver "fb". >>> random: harvesting attach, 8 bytes (4 bits) from fbd0 >>> random: harvesting attach, 8 bytes (4 bits) from fb0 >>> cpulist0: on ofwbus0 >>> cpu0: on cpulist0 >>> cpu0: missing 'clock-frequency' property >>> random: harvesting attach, 8 bytes (4 bits) from cpu0 >>> cpu1: on cpulist0 >>> cpu1: missing 'clock-frequency' property >>> random: harvesting attach, 8 bytes (4 bits) from cpu1 >>> cpu2: on cpulist0 >>> cpu2: missing 'clock-frequency' property >>> random: harvesting attach, 8 bytes (4 bits) from cpu2 >>> cpu3: on cpulist0 >>> cpu3: missing 'clock-frequency' property >>> random: harvesting attach, 8 bytes (4 bits) from cpu3 >>> random: harvesting attach, 8 bytes (4 bits) from cpulist0 >>> ofwbus0: compat fixed-clock (no driver attached) >>> ofwbus0: compat gpio-leds (no driver attached) >>> cryptosoft0: >>> crypto: assign cryptosoft0 driver id 0, flags 100663296 >>> crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 >>> crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 >>> random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 >>> procfs registered >>> Timecounters tick every 10.000 msec >>> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 >>> usbus0: 480Mbps High Speed USB v2.0 >>> IPsec: Initialized Security Association Processing. >>> lo0: bpf attached >>> mmc0: Probing bus >>> usbus1: 480Mbps High Speed USB v2.0 >>> mmc0: SD 2.0 interface conditions: OK >>> mmc0: SD probe: OK (OCR: 0x40ff8000) >>> mmc0: Current OCR: 0x00ff8000 >>> ugen1.1: at usbus1 >>> uhub0: on = usbus1 >>> ugen0.1: at usbus0 >>> uhub1: on = usbus0 >>> mmc0: Probing cards >>> mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) >>> mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) >>> mmc0: Card at relative address 0xaaaa added: >>> mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD >>> mmc0: bus: 4bit, 50MHz, high speed timing >>> mmc0: memory: 15523840 blocks, erase sector 8192 blocks >>> mmc0: setting transfer rate to 39.750MHz (high speed timing) >>> mmcsd0: 8GB at mmc0 = 39.7MHz/4bit/8-block >>> random: harvesting attach, 8 bytes (4 bits) from mmcsd0 >>> mmc1: Probing bus >>> GEOM: new disk mmcsd0 >>> mmc0: setting bus width to 4 bits >>> GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 = bytes >>> GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 = bytes >>> mmc1: SD probe: failed >>> mmc1: MMC probe: failed >>> mmc1: Current OCR: 0x00000000 >>> mmc1: No compatible cards found on bus >>> Release APs >>> WARNING: WITNESS option enabled, expect reduced performance. >>> Trying to mount root from ufs:mmcsd0s2 []... >>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >>> warning: no time-of-day clock registered, system time will not be = set accurately >>> start_init: trying /sbin/init >>> uhub0: 1 port with 1 removable, self powered >>> random: harvesting attach, 8 bytes (4 bits) from uhub0 >>> uhub1: 1 port with 1 removable, self powered >>> random: harvesting attach, 8 bytes (4 bits) from uhub1 >>> ugen1.2: at usbus1 >>> uhub2: = on usbus1 >>> uhub2: MTT enabled >>> Growing root partition to fill device >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >>> mmcsd0s2 resized >>> growfs: superblock not recognized >>> /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, = generating a new one >>> uhub2: 4 ports with 4 removable, self powered >>> random: harvesting attach, 8 bytes (4 bits) from uhub2 >>> Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. >>> Setting hostid: 0x373425ad. >>> No suitable dump device was found. >>> Starting file system checks: >>> /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS >>> /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% = fragmentation) >>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 = bytes >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned = on 4194304 bytes >>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not = aligned on 4194304 bytes >>> Mounting local file systems:. >>> Setting hostname: freebsd. >>> Setting up = harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,K= EYBOARD,ATTACH,CACHED >>> Feeding entropy:random: unblocking device. >>> . >>> dwc0: link state changed to DOWN >>> Starting Network: lo0 dwc0. >>> lo0: flags=3D8049 metric 0 mtu 16384 >>> options=3D600003 >>> inet6 ::1 prefixlen 128 >>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >>> inet 127.0.0.1 netmask 0xff000000 >>> groups: lo >>> nd6 options=3D21 >>> dwc0: flags=3D8843 metric 0 = mtu 1500 >>> options=3D80008 >>> ether 62:73:64:5d:6a:ec >>> media: Ethernet autoselect (none) >>> status: no carrier >>> nd6 options=3D29 >>> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>> Starting devd. >>> add net fe80::: gateway ::1 >>> add net ff02::: gateway ::1 >>> add net ::ffff:0.0.0.0: gateway ::1 >>> add net ::0.0.0.0: gateway ::1 >>> Generating host.conf. >>> Waiting 30s for the default route interface: .....(no carrier) >>> Creating and/or trimming log files. >>> Starting syslogd. >>> Clearing /tmp (X related). >>> Updating motd:. >>> Mounting late file systems:. >>> Configuring vt: blanktime. >>> Generating RSA host key. >>> 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd = (RSA) >>> Generating ECDSA host key. >>> 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd = (ECDSA) >>> Generating ED25519 host key. >>> 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd = (ED25519) >>> Performing sanity check on sshd configuration. >>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>> Starting sshd. >>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>> Starting cron. >>> Starting background file system checks in 60 seconds. >>> lock order reversal: >>> 1st 0xc4499814 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 >>> 2nd 0xd90169a0 bufwait (bufwait) @ = /usr/home/emoe/Projects/ARM/src/sys/ufs/ffs/ffs_vnops.c:263 >>> 3rd 0xc45c15d4 ufs (ufs) @ = /usr/home/emoe/Projects/ARM/src/sys/kern/vfs_subr.c:2498 >>> stack backtrace: >>> mount: /dev/mmcsd0s2: Device busy >>>=20 >>> Thu Mar 31 10:49:29 UTC 2016 >>>=20 >>> FreeBSD/arm (freebsd) (ttyu0) >>>=20 >>> login: >>>=20 >>>> On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >>>>=20 >>>> I was able to build a working odroid-c1 image not too long ago. = Let me pull the latest sources and see if something has changed. >>>>=20 >>>> Erik=20 >>>>=20 >>>>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss = wrote: >>>>>=20 >>>>> Hi, >>>>> Managed to make a bootable SD, cross compile world/kernel, >>>>> but the kernel startup gets stuck, I can=E2=80=99t even get into = the debugger. >>>>> any help/hints most welcome :-) >>>>> btw, I can also boot via the network, cutting down the debug cycle = considerably. >>>>> thanks, >>>>> danny >>>>> PS: here is the console output >>>>> >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>=20 >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 From owner-freebsd-arm@freebsd.org Thu Mar 31 12:49:24 2016 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 6CA5BAE2B65 for ; Thu, 31 Mar 2016 12:49:24 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 2870C1E82 for ; Thu, 31 Mar 2016 12:49:23 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 27591EA9A0 for ; Thu, 31 Mar 2016 14:40:00 +0200 (CEST) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ypvv1yW_Qmsi for ; Thu, 31 Mar 2016 14:39:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id B6B23EB01B for ; Thu, 31 Mar 2016 14:39:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no B6B23EB01B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1459427999; bh=VvbkrawRjCve0i6ZFAFKoSDDYUCtoGXMaEbo5GXzRjY=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=UJHDIxjwVG0jpO6gP9EhO/x074EATiA9zos/BW0JCQAtUJtvqg83DUEpm7QRN360a ZA+3T9CH6TmMopRaBp9F5v8FVkmQlrtfqj3f+Ii+cHjRU0yFAVrULDpI/8YgabtKkM oJtRfIAtmERC7eLA9kNdtJ5HQRBiHrqKhYJs3v/I= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id apgOnwXilgOR for ; Thu, 31 Mar 2016 14:39:59 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.226.9.getinternet.no [84.215.226.9]) by lamora.getmail.no (Postfix) with ESMTPSA id 52AE1EAAD3 for ; Thu, 31 Mar 2016 14:39:59 +0200 (CEST) Date: Thu, 31 Mar 2016 14:39:54 +0200 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Booting kernel.bin directly on Raspberry Pi / external DTB support Message-Id: <20160331143954.d778f208e62e2fc974403f45@getmail.no> In-Reply-To: References: <1CCA59DC-5539-4CFB-81BA-0112E2120B3B@gmail.com> <20160325052509.GE48704@cicely7.cicely.de> <97BB142C-D335-469B-9514-D1210E869C5D@gmail.com> <2A98ACB7-2815-4169-951A-0123C71D9987@gmail.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 12:49:24 -0000 On Fri, 25 Mar 2016 22:35:47 +0100 Sylvain Garrigues wrote: >=20 > I am sorry to ask here, I guess my questions aren=E2=80=99t of interest= to many people, but I want to learn more and can=E2=80=99t find document= ation on this matter. =20 FWIW, I find this subject interesting - IMHO you should keep asking quest= ions here. And a general plea to all participants of this and other FreeBSD mailing = lists: trim your quotes, please. --=20 Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Thu Mar 31 16:08:38 2016 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 7F152AE394B for ; Thu, 31 Mar 2016 16:08:38 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (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 3836C15F0 for ; Thu, 31 Mar 2016 16:08:38 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x230.google.com with SMTP id e185so109161288vkb.1 for ; Thu, 31 Mar 2016 09:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=ApXfcMaelZGDlr+tA6yPrIHR6xsxIduaPRXVDDH4FQc=; b=dVbUuPOhgo8SttLkfJ5G9vk4oVM7tzxqCugfW6mx3cXQIZNS+ESKygb0eK8ujzOQGJ hH59ibzq6LS5Fpb1wwquAS0InbM7wUTz1cspK89Zf0ZEc/TEXxpEhggKYrqupVh5Q54y 529hMsLt3gcdaMS6MesW7+6tJXQNKD8XWKSu6vFgU6eR6OBvzcY+m9QKuPNhbS7Mc5TH TcQra5GLV2M502l+FWT+9mBC8lYY1gYS2zxR9GjBa5ba5TROJ9Rn9ZkXV0nDnWtq/FRu ky3ZspDv0moxlAoZJOlm6ck8qKuGjHKhRyyLs0IZ9oTZbKJDxdfvWs47UJgk5ZrVNtYC vWSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=ApXfcMaelZGDlr+tA6yPrIHR6xsxIduaPRXVDDH4FQc=; b=JKRamtn1aijq7ivOlf+jFugPaicFerbmrdI8nfX7uBYy7nNu5cXLnq0gV2yEhFU5hh JQ0zxJ3Zutg+umhD6M1Hkm4CICa9vv9J59H87ffbcDx2FBKdl7BUg6ZZ+POpiL79uOwy QVvy7Cj0BLWdZ9QbKPJpv5AmzExxdC9TZ2OkOt4BtkrIkQPn+Ivj/UPMZ8T+6ltxknjG L0h/TUdOdLMYq6A/1nuj208S63yrIvarn+WNoWdart1JTdAT9HO+sOhRosurU56tfu9g qFadKIk0OqnnxQDC8My72sXxQTzfOEuujUFdq8ZdhkIAP6Oy9MXwHfy+uwruWePX8Miy k5Uw== X-Gm-Message-State: AD7BkJJXp9S71rh6H8tW8jnfnw+iYCzlsC9GLdB6Ua6TC1nMviclMuvnjUkQfQHNiJwp5nMhvXPlq8yEiHM1dA== MIME-Version: 1.0 X-Received: by 10.31.45.143 with SMTP id t137mr9641570vkt.143.1459440517113; Thu, 31 Mar 2016 09:08:37 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Thu, 31 Mar 2016 09:08:37 -0700 (PDT) In-Reply-To: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> Date: Thu, 31 Mar 2016 09:08:37 -0700 Message-ID: Subject: Re: Odroidc1+ stuck booting From: Russell Haley To: Erik Moe Cc: Daniel Braniss , freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 16:08:38 -0000 On Thu, Mar 31, 2016 at 5:29 AM, Erik Moe wrote: > Everything I=E2=80=99m doing I =E2=80=9Cborrowed=E2=80=9D from here: htt= ps://wiki.freebsd.org/FreeBSD/arm/Odroid-C1 > > I=E2=80=99m using the stock ODROIDC1 kernel config in head which builds t= he FTD statically into the kernel from src/sys/boot/fdt/dts/arm/odroidc1.dt= s. I liberated u-boot from ArchLinuxARM-odroid-c1-latest.tar.gz. My boot.i= ni is simply this: > > ODROIDC-UBOOT-CONFIG > > setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" > run bootcmd > > Erik u-boot images are available for a couple of boards through the ports tree but it looks like ODROID hasn't made it in there yet? http://www.freshports.org/search.php?query=3Du-boot&search=3Dgo&num=3D10&st= ype=3Dname&method=3Dmatch&deleted=3Dexcludedeleted&start=3D1&casesensitivit= y=3Dcaseinsensitive The source is here: https://github.com/hardkernel/u-boot I was never able to set up the cross tools correctly to get u-boot to build. I had to have Ian spoon feed me a binary, which is what prompted him to put a build script in the ports tree. lolz There is also a binary for u-boot on the wiki: https://people.freebsd.org/~ganbold/FreeBSD-amlogic-20150311/build/ Russ >> On Mar 31, 2016, at 1:36 AM, Daniel Braniss wrote: >> >> oh, and if you feel generous your ODROIDC1.conf =E2=80=A6 >> thanks, >> danny >> >>> On 31 Mar 2016, at 09:31, Daniel Braniss wrote: >>> >>> hi Erik, >>> can you send me your >>> uboot >>> boot.ini >>> *.dtb >>> I=E2=80=99m pretty sure the issue is somewhere there then. >>> thanks, >>> danny >>> >>>> On 31 Mar 2016, at 09:11, Erik Moe wrote: >>>> >>>> I built a new image for my odriod-c1 for ssd from the latest sources a= nd had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99= t have and odriod-c1+, but my understanding is there isn=E2=80=99t much dif= ference between the two. I am using the serial console. >>>> >>>> QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:= 0;PASS:1; >>>> ----------------------------------------------------------------------= - >>>> * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) = * >>>> ----------------------------------------------------------------------= - >>>> CPU : AMLogic S805 >>>> MEM : 1024MB (DDR3@792MHz) >>>> BID : HKC13C0001 >>>> S/N : HKC1CC037EBE4620 >>>> 0x0000009f >>>> check SD_boot_type:0x1 card_type:0x1 >>>> Loading U-boot...success. >>>> >>>> >>>> U-boot(odroidc@) (Jun 12 2015 - 17:31:14) >>>> >>>> DRAM: 1 GiB >>>> relocation Offset is: 2ff1c000 >>>> MMC: SDCARD: 0, eMMC: 1 >>>> IR init is done! >>>> vpu clk_level =3D 3 >>>> set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) >>>> mode =3D 6 vic =3D 4 >>>> set HDMI vic: 4 >>>> mode is: 6 >>>> viu chan =3D 1 >>>> config HPLL >>>> config HPLL done >>>> reconfig packet setting done >>>> MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: O= K >>>> There is no valid bmp file at the given address >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G >>>> Type: Removable Hard Disk >>>> Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) >>>> ------------------------------------------------------------ >>>> Partition Start Sector Num Sectors Type >>>> 1 1134 131040 6 >>>> 2 132174 15391666 a5 >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> Net: Meson_Ethernet >>>> init suspend firmware done. (ret:0) >>>> Hit Enter key to stop autoboot -- : 0 >>>> exit abortboot: 0 >>>> reading boot.ini >>>> >>>> 98 bytes read >>>> Loading boot.ini from mmc0:1 (vfat) >>>> Executing the script... >>>> setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" >>>> run bootcmd >>>> reading kernel.bin >>>> >>>> 6055396 bytes read >>>> ## Starting application at 0x00100000 ... >>>> ARM Debug Architecture v7 >>>> 2 watchpoints and 3 breakpoints supported >>>> 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, 19= 94 >>>> The Regents of the University of California. All rights reserved. >>>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>>> FreeBSD 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 CDT= 2016 >>>> root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/h= ome/emoe/Projects/ARM/src/sys/ODROIDC1 arm >>>> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) >>>> WARNING: WITNESS option enabled, expect reduced performance. >>>> VT: init without driver. >>>> Preloaded elf kernel "kernel" at 0xc07c5d6c. >>>> CPU: Cortex A5 rev 1 (Cortex-A core) >>>> Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext >>>> WB enabled LABT branch prediction disabled >>>> LoUU:2 LoC:2 LoUIS:2 >>>> Cache level 1: >>>> 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc >>>> 32KB/32B 2-way instruction cache Read-Alloc >>>> real memory =3D 1073737728 (1023 MB) >>>> avail memory =3D 1038233600 (990 MB) >>>> Physical memory chunk(s): >>>> 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) >>>> Excluded memory regions: >>>> 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc >>>> Static device mappings: >>>> 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 >>>> 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 >>>> 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 >>>> 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 >>>> 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 >>>> 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 >>>> 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 >>>> 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 >>>> Amlogic aml8726-m8b SoC >>>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>>> ULE: setup cpu 0 >>>> ULE: setup cpu 1 >>>> ULE: setup cpu 2 >>>> ULE: setup cpu 3 >>>> random: entropy device external interface >>>> null: >>>> openfirm: >>>> mem: >>>> nfslock: pseudo-device >>>> crypto: >>>> random: harvesting attach, 8 bytes (4 bits) from nexus0 >>>> ofwbus0: >>>> simplebus0: on ofwbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from ofwbus0 >>>> clkmsr0: mem 0xc1108758-0xc1108767 on simpleb= us0 >>>> clkmsr0: bus clock 159 MHz >>>> random: harvesting attach, 8 bytes (4 bits) from clkmsr0 >>>> l2cache0: mem 0xc4200000-0xc4200fff irq 0 = on ofwbus0 >>>> l2cache0: Part number: 0x3, release: 0x9 >>>> l2cache0: L2 Cache enabled: 512KB/32B 8 ways >>>> l2cache0: Early BRESP response: disabled >>>> l2cache0: Instruction prefetch: disabled >>>> l2cache0: Data prefetch: enabled >>>> l2cache0: Non-secure interrupt control: disabled >>>> l2cache0: Non-secure lockdown: disabled >>>> l2cache0: Share override: disabled >>>> l2cache0: Double linefill: disabled >>>> l2cache0: Instruction prefetch: disabled >>>> l2cache0: Data prefetch: enabled >>>> l2cache0: Double linefill on WRAP request: disabled >>>> l2cache0: Prefetch drop: disabled >>>> l2cache0: Incr double Linefill: disabled >>>> l2cache0: Not same ID on exclusive sequence: disabled >>>> l2cache0: Prefetch offset: 0 >>>> random: harvesting attach, 8 bytes (4 bits) from l2cache0 >>>> scu0: mem 0xc4300000-0xc4300fff on simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from scu0 >>>> cpuconfig0: mem 0xd901ff80-0xd901ff8f on simplebu= s0 >>>> random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 >>>> ccm0: mem 0xc1104140-0xc1104153 on simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from ccm0 >>>> pinctrl0: mem 0xc11080b0-0xc11080d7,0xc11080= e8-0xc11080ff,0xc1108120-0xc1108137,0xc8100014-0xc8100017,0xc810002c-0xc810= 002f,0xc810002c-0xc810002f on simplebus0 >>>> Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 >>>> Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 >>>> Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 >>>> random: harvesting attach, 8 bytes (4 bits) from pinctrl0 >>>> gic0: mem 0xc4301000-0xc4301fff,0xc= 4300100-0xc43001ff on ofwbus0 >>>> ofwbus0: no default resources for rid =3D 0, type =3D 1 >>>> gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 >>>> random: harvesting attach, 8 bytes (4 bits) from gic0 >>>> wdt0: mem 0xc1109900-0xc1109907 irq 2 on simpleb= us0 >>>> random: harvesting attach, 8 bytes (4 bits) from wdt0 >>>> timer0: mem 0xc1109940-0xc1109957 irq 1 on ofw= bus0 >>>> Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 >>>> Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 >>>> random: harvesting attach, 8 bytes (4 bits) from timer0 >>>> uart0: mem 0xc81004c0-0xc81004d7 irq 3 on simpl= ebus0 >>>> uart0: RTS iflow, CTS oflow >>>> uart0: console (115200,n,8,1) >>>> uart0: fast interrupt >>>> uart0: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart0 >>>> uart1: mem 0xc11084c0-0xc11084d7 irq 4 on simpl= ebus0 >>>> uart1: RTS iflow, CTS oflow >>>> uart1: fast interrupt >>>> uart1: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart1 >>>> uart2: mem 0xc11084dc-0xc11084f3 irq 5 on simpl= ebus0 >>>> uart2: RTS iflow, CTS oflow >>>> uart2: fast interrupt >>>> uart2: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart2 >>>> uart3: mem 0xc1108700-0xc1108717 irq 6 on simpl= ebus0 >>>> uart3: RTS iflow, CTS oflow >>>> uart3: fast interrupt >>>> uart3: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart3 >>>> simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled co= mpat amlogic,meson6-i2c (no driver attached) >>>> aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 on= simplebus0 >>>> iicbb0: on aml8726_iic0 >>>> iicbus0: on iicbb0 master-only >>>> iic0: on iicbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from iic0 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbb0 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 >>>> aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 on= simplebus0 >>>> iicbb1: on aml8726_iic1 >>>> iicbus1: on iicbb1 master-only >>>> iic1: on iicbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from iic1 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbb1 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 >>>> simplebus0: mem 0xc8100480-0xc810049f irq 10 di= sabled compat amlogic,meson6-ir (no driver attached) >>>> simplebus0: mem 0xc1108c80-0xc1108cff disabled compat a= mlogic,meson6-spifc (no driver attached) >>>> simplebus0: mem 0xc9410000-0xc941ffff,0xc1108108-0= xc110810b irq 11 disabled compat amlogic,meson6-dwmac (no driver attached) >>>> rtc0: mem 0xc8100740-0xc8100753 irq 12 on simple= bus0 >>>> rtc0: crystal oscillator check failed >>>> device_attach: rtc0 attach returned 6 >>>> gpio0: mem 0xc8100024-0xc8100027,0xc8100024-0xc= 8100027,0xc8100028-0xc810002b on simplebus0 >>>> gpiobus0: on gpio0 >>>> gpioled0: at pin 13 on gpiobus0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioled0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus0 >>>> gpioc0: on gpio0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio0 >>>> gpio1: mem 0xc1108054-0xc1108057,0xc1108058-0xc= 110805b,0xc110805c-0xc110805f on simplebus0 >>>> gpiobus1: on gpio1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus1 >>>> gpioc1: on gpio1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio1 >>>> gpio2: mem 0xc110806c-0xc110806f,0xc1108070-0xc= 1108073,0xc1108074-0xc1108077 on simplebus0 >>>> gpiobus2: on gpio2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus2 >>>> gpioc2: on gpio2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio2 >>>> aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 o= n simplebus0 >>>> mmc0: on aml8726_mmc0 >>>> random: harvesting attach, 8 bytes (4 bits) from mmc0 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 >>>> aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b irq= 14 on simplebus0 >>>> mmc1: on aml8726_sdxc0 >>>> random: harvesting attach, 8 bytes (4 bits) from mmc1 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 >>>> simplebus0: mem 0xc1108100-0xc1108107 compat amlogic,am= l8726-rng (no driver attached) >>>> usbphy0: mem 0xc1108800-0xc110881f on sim= plebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from usbphy0 >>>> usbphy1: mem 0xc1108820-0xc110883f on sim= plebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from usbphy1 >>>> dwcotg0: mem 0xc9040000-0xc907= ffff irq 15 on simplebus0 >>>> usbus0 on dwcotg0 >>>> dwcotg0: usbpf: Attached >>>> random: harvesting attach, 8 bytes (4 bits) from usbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from dwcotg0 >>>> dwcotg1: mem 0xc90c0000-0xc90f= ffff irq 16 on simplebus0 >>>> usbus1 on dwcotg1 >>>> dwcotg1: usbpf: Attached >>>> random: harvesting attach, 8 bytes (4 bits) from usbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from dwcotg1 >>>> dwc0: mem 0xc9410000-0xc94= 11fff irq 11 on simplebus0 >>>> miibus0: on dwc0 >>>> rgephy0: PHY 0 on mii= bus0 >>>> rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 >>>> rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000ba= seT-FDX, 1000baseT-FDX-master, auto >>>> random: harvesting attach, 8 bytes (4 bits) from rgephy0 >>>> rgephy1: PHY 1 on mii= bus0 >>>> rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 >>>> rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000ba= seT-FDX, 1000baseT-FDX-master, auto >>>> random: harvesting attach, 8 bytes (4 bits) from rgephy1 >>>> random: harvesting attach, 8 bytes (4 bits) from miibus0 >>>> dwc0: bpf attached >>>> dwc0: Ethernet address: 62:73:64:5d:6a:ec >>>> random: harvesting attach, 8 bytes (4 bits) from dwc0 >>>> fb0: mem 0xc8006048-0xc8006053,0xc1106800-0xc1106= bff,0xc1107400-0xc11077ff irq 17,18,19,20 on simplebus0 >>>> fbd0 on fb0 >>>> VT: initialize with new VT driver "fb". >>>> random: harvesting attach, 8 bytes (4 bits) from fbd0 >>>> random: harvesting attach, 8 bytes (4 bits) from fb0 >>>> cpulist0: on ofwbus0 >>>> cpu0: on cpulist0 >>>> cpu0: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu0 >>>> cpu1: on cpulist0 >>>> cpu1: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu1 >>>> cpu2: on cpulist0 >>>> cpu2: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu2 >>>> cpu3: on cpulist0 >>>> cpu3: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu3 >>>> random: harvesting attach, 8 bytes (4 bits) from cpulist0 >>>> ofwbus0: compat fixed-clock (no driver attached) >>>> ofwbus0: compat gpio-leds (no driver attached) >>>> cryptosoft0: >>>> crypto: assign cryptosoft0 driver id 0, flags 100663296 >>>> crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 >>>> random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 >>>> procfs registered >>>> Timecounters tick every 10.000 msec >>>> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 >>>> usbus0: 480Mbps High Speed USB v2.0 >>>> IPsec: Initialized Security Association Processing. >>>> lo0: bpf attached >>>> mmc0: Probing bus >>>> usbus1: 480Mbps High Speed USB v2.0 >>>> mmc0: SD 2.0 interface conditions: OK >>>> mmc0: SD probe: OK (OCR: 0x40ff8000) >>>> mmc0: Current OCR: 0x00ff8000 >>>> ugen1.1: at usbus1 >>>> uhub0: on usbu= s1 >>>> ugen0.1: at usbus0 >>>> uhub1: on usbu= s0 >>>> mmc0: Probing cards >>>> mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) >>>> mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) >>>> mmc0: Card at relative address 0xaaaa added: >>>> mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD >>>> mmc0: bus: 4bit, 50MHz, high speed timing >>>> mmc0: memory: 15523840 blocks, erase sector 8192 blocks >>>> mmc0: setting transfer rate to 39.750MHz (high speed timing) >>>> mmcsd0: 8GB at mmc0 3= 9.7MHz/4bit/8-block >>>> random: harvesting attach, 8 bytes (4 bits) from mmcsd0 >>>> mmc1: Probing bus >>>> GEOM: new disk mmcsd0 >>>> mmc0: setting bus width to 4 bits >>>> GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 byte= s >>>> GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 byte= s >>>> mmc1: SD probe: failed >>>> mmc1: MMC probe: failed >>>> mmc1: Current OCR: 0x00000000 >>>> mmc1: No compatible cards found on bus >>>> Release APs >>>> WARNING: WITNESS option enabled, expect reduced performance. >>>> Trying to mount root from ufs:mmcsd0s2 []... >>>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 by= tes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> warning: no time-of-day clock registered, system time will not be set = accurately >>>> start_init: trying /sbin/init >>>> uhub0: 1 port with 1 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub0 >>>> uhub1: 1 port with 1 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub1 >>>> ugen1.2: at usbus1 >>>> uhub2: o= n usbus1 >>>> uhub2: MTT enabled >>>> Growing root partition to fill device >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> mmcsd0s2 resized >>>> growfs: superblock not recognized >>>> /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, g= enerating a new one >>>> uhub2: 4 ports with 4 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub2 >>>> Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. >>>> Setting hostid: 0x373425ad. >>>> No suitable dump device was found. >>>> Starting file system checks: >>>> /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS >>>> /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% fragmen= tation) >>>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 by= tes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> Mounting local file systems:. >>>> Setting hostname: freebsd. >>>> Setting up harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,= NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED >>>> Feeding entropy:random: unblocking device. >>>> . >>>> dwc0: link state changed to DOWN >>>> Starting Network: lo0 dwc0. >>>> lo0: flags=3D8049 metric 0 mtu 16384 >>>> options=3D600003 >>>> inet6 ::1 prefixlen 128 >>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >>>> inet 127.0.0.1 netmask 0xff000000 >>>> groups: lo >>>> nd6 options=3D21 >>>> dwc0: flags=3D8843 metric 0 mt= u 1500 >>>> options=3D80008 >>>> ether 62:73:64:5d:6a:ec >>>> media: Ethernet autoselect (none) >>>> status: no carrier >>>> nd6 options=3D29 >>>> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>>> Starting devd. >>>> add net fe80::: gateway ::1 >>>> add net ff02::: gateway ::1 >>>> add net ::ffff:0.0.0.0: gateway ::1 >>>> add net ::0.0.0.0: gateway ::1 >>>> Generating host.conf. >>>> Waiting 30s for the default route interface: .....(no carrier) >>>> Creating and/or trimming log files. >>>> Starting syslogd. >>>> Clearing /tmp (X related). >>>> Updating motd:. >>>> Mounting late file systems:. >>>> Configuring vt: blanktime. >>>> Generating RSA host key. >>>> 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd (= RSA) >>>> Generating ECDSA host key. >>>> 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd (E= CDSA) >>>> Generating ED25519 host key. >>>> 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd (E= D25519) >>>> Performing sanity check on sshd configuration. >>>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>>> Starting sshd. >>>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>>> Starting cron. >>>> Starting background file system checks in 60 seconds. >>>> lock order reversal: >>>> 1st 0xc4499814 ufs (ufs) @ /usr/home/emoe/Projects/ARM/src/sys/kern/vf= s_subr.c:2498 >>>> 2nd 0xd90169a0 bufwait (bufwait) @ /usr/home/emoe/Projects/ARM/src/sys= /ufs/ffs/ffs_vnops.c:263 >>>> 3rd 0xc45c15d4 ufs (ufs) @ /usr/home/emoe/Projects/ARM/src/sys/kern/vf= s_subr.c:2498 >>>> stack backtrace: >>>> mount: /dev/mmcsd0s2: Device busy >>>> >>>> Thu Mar 31 10:49:29 UTC 2016 >>>> >>>> FreeBSD/arm (freebsd) (ttyu0) >>>> >>>> login: >>>> >>>>> On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >>>>> >>>>> I was able to build a working odroid-c1 image not too long ago. Let = me pull the latest sources and see if something has changed. >>>>> >>>>> Erik >>>>> >>>>>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss wr= ote: >>>>>> >>>>>> Hi, >>>>>> Managed to make a bootable SD, cross compile world/kernel, >>>>>> but the kernel startup gets stuck, I can=E2=80=99t even get into the= debugger. >>>>>> any help/hints most welcome :-) >>>>>> btw, I can also boot via the network, cutting down the debug cycle c= onsiderably. >>>>>> thanks, >>>>>> danny >>>>>> PS: here is the console output >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-arm@freebsd.org mailing list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.or= g" >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " >>>> >>> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"