From owner-freebsd-arm@freebsd.org Thu Feb 18 22:42: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 8965BAAC3A6 for ; Thu, 18 Feb 2016 22:42:22 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 460E51547; Thu, 18 Feb 2016 22:42:22 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id e185so58691068vkb.1; Thu, 18 Feb 2016 14:42:22 -0800 (PST) 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-type; bh=TMQY+5Yb3u8nN+2sXBs3bzWxEghBklTdppwWO2Wt5vs=; b=UuCQpc4/6C/H5tBSyUCm9cl5//UgOG/d+sD7XvWqMtYzmUqtFGtDhxaHCRHkiH1s3j Xqm/MHcDzdggHYzfcqFk6B9EvJjdt3S0S8b0KQKAqMxOpSjWRMpr+ALDR2OzrDLhUelM 08W8ImhSK6W1tpUqxtpC8L7BzteQZFiRAHIf0R/oMdH2ytKc1+6fTC28iHya/+GtRv5I oeqyFsgYN1unnoyayh9PtNKAD+qVIkR4b/4UW4BCPXDcTPkjbxUH+P9qXUNRnHm6Dh8J IAJOEukDgtnQhfsFLlJ/T4CdMk4MCM9qjD5M2J1x0e8o5wH1/tOGAOXfNVF3UiSWQTNw TbuQ== 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-type; bh=TMQY+5Yb3u8nN+2sXBs3bzWxEghBklTdppwWO2Wt5vs=; b=VFqYSO9ukuBmaf8flDD7AplVA4a76IBF8WQY1cQrDkgEiFhHYJfPmRNP83phN112hh Xx2g8mQsM+tzv72/PdICFW+W9v4tnC34bEA6lgXTFnGxWMHLhEFQAD8EJQXXdjaNWvGd 9JP2YMeePoFEMOGIlWreKQX/35V3JGY/OhQUayxEx5AL3Ie3PuXG7iNqbDkuax+LaD+I 6BbgDLMG2Cm7T1NEHVgr1Gw0x88p3AfQJPSHlbB1Tew96jRogVMvXzN66njI5ICJhlQw CcAe5069crZThmxJhcjLuqzidlAmDFJEtmHSwYE9HSzWu9goHP+OmwsuLJVd7gxUBU2g JQ0w== X-Gm-Message-State: AG10YOT2/g4alam6niEB6aI19SCVx0OZf0Rfpe4gYamZVbyyMWuH13cBebJgsXrKlehn56kuhpADz2Rj0FjMYQ== MIME-Version: 1.0 X-Received: by 10.31.157.67 with SMTP id g64mr8107622vke.79.1455835341303; Thu, 18 Feb 2016 14:42:21 -0800 (PST) Received: by 10.31.54.13 with HTTP; Thu, 18 Feb 2016 14:42:21 -0800 (PST) In-Reply-To: <1455825697.1294.20.camel@freebsd.org> References: <1455825697.1294.20.camel@freebsd.org> Date: Thu, 18 Feb 2016 14:42:21 -0800 Message-ID: Subject: Re: Hummingboard boot hangs in -HEAD From: Russell Haley To: Ian Lepore Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 22:42:22 -0000 On Thu, Feb 18, 2016 at 12:01 PM, Ian Lepore wrote: > > The hummingboard (really, all imx6 systems) problem showed up between > r295351 - r295543, but I haven't had time to narrow it down more than > that. > > Sata has never worked on imx6. I had limited success with it 2 years > ago (it kinda worked but there was data corruption), ran out of time > and set it aside, and have never gotten back to the driver to finish > getting it working. > > -- Ian Ian: Thanks for clarification. To the general mailing list: I would like to request additional help to resolve the sata issue on imx6. I have done a preliminary reading of the CAM code and have looked at the change made to the ahci driver late last year for arm support. I have inspected the dts files. I have done some poking a while back into what is loaded and not loaded. However, I do not know how to properly debug a CAM driver (or any kernel level code) or use the debug tools. My personal objective is to become a FreeBSD driver maintainer, and I have been tracking this issue for a while, but I have stalled out at this point. I need a higher level of support then the mailing list provides to become productive (at least initially). At this point learning how to debug kernel devices by myself is outside of my scope. However, if someone is willing to Skype or chat/email with more directed support I will pick this project back up. I would love to earn a commit bit eventually. Please send me a message if you can help. Cheers, Russ > > On Thu, 2016-02-18 at 11:57 -0800, Russell Haley wrote: > > My hummingboard booted two days ago using r294912. The image is here: > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0 > > /FreeBSD-11.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20160127 > > -r294912.img.xz. > > I was also able to buildworld and buildkernel using whatever head was > > at the time. I don't have it in front of me to check the revision and > > I have not replaced the kernel in the image with my fresh build so I > > can't say if it works. > > > > I'm still not able to see my m.2 ssd if anyone is listening and > > willing to help me. > > > > Russ > > > > On Thu, Feb 18, 2016 at 11:40 AM, Tom Sparks > > wrote: > > > I'd initially thought that it was my build that had failed so I > > > snagged an > > > image from ftp.freebsd.org and no, that image fails to boot to > > > multiuser as > > > well. > > > > > > > > > Here's where it hangs: > > > --- snip --- > > > usbus0: 480Mbps High Speed USB v2.0 > > > usbus1: 480Mbps High Speed USB v2.0 > > > ugen1.1: at usbus1 > > > uhub0: > > > on usbus1 > > > ugen0.1: at usbus0 > > > uhub1: > > > on usbus0 > > > hdmi0: i2c transfer failed: 2 > > > fb0: failed to get EDID info from HDMI framer > > > fbd0 on fb0 > > > VT: initialize with new VT driver "fb". > > > uhub0: 1 port with 1 removable, self powered > > > --- snip --- > > > > > > with boot -v I get a bit further: > > > --- snip --- > > > VT: initialize with new VT driver "fb". > > > random: harvesting attach, 8 bytes (4 bits) from fbd0 > > > uhub0: 1 port with 1 removable, self powered > > > random: harvesting attach, 8 bytes (4 bits) from uhub0 > > > --- snip --- > > > > > > Then a while later, some other stuff appears: > > > > > > --- snip --- > > > uhub0: 1 port with 1 removable, self powered > > > random: harvesting attach, 8 bytes (4 bits) from uhub0 > > > sdhci_imx0-slot0: Divider 250 for freq 400000 (base 200000000) > > > mmc0: Probing bus > > > uhub1: 1 port with 1 removable, self powered > > > random: harvesting attach, 8 bytes (4 bits) from uhub1 > > > --- snip --- > > > > > > Supposition is that this broke in the range of r295351 through > > > r29554. > > > > > > Anyone? > > > > > > -- > > > Tom Sparks > > > Systems Engineer > > > _______________________________________________ > > > 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 > > "