From owner-freebsd-arm@FreeBSD.ORG Thu Aug 1 08:45:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B34B6DE6 for ; Thu, 1 Aug 2013 08:45:19 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D982228B for ; Thu, 1 Aug 2013 08:45:19 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id ta17so3291594obb.4 for ; Thu, 01 Aug 2013 01:45:18 -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-type; bh=vbHvEokFmAosLez1XZlRpCYQBVNx8qXJRxud+Aae5GU=; b=xNrq05j87UaUPp55cwSlowbcyx5Bhjz1nnPN+iyxttK8wFleor6Sti6v0gxubBDGzi r0hNOxv6CluyImx/iYp9dlTaNXRdi5k6m58Oq2+mYJDdXFKVxDQ0M6OIjSMqlA13NLOW JAZJaFOkGK5tb3JwUXHJMaio/zaLi/Beg3amEd1RnDw2nfeFjN3jqxcz4Yix8LQC0PBb Lsh4psgcNx5R+Ri4k4zz/W3omCBbE9eDZG/gieNRyE12IUuqWN8Yg1IFh2VE6mZtSgUu RR39G5ItUO0R8mSRvyDJafJI5nz4SOcNIufuRrJNhX6zzSjUWD6D8UuiZVtGUxw1kREX KXYg== MIME-Version: 1.0 X-Received: by 10.43.74.74 with SMTP id yv10mr51758icb.67.1375346718853; Thu, 01 Aug 2013 01:45:18 -0700 (PDT) Received: by 10.64.235.239 with HTTP; Thu, 1 Aug 2013 01:45:18 -0700 (PDT) In-Reply-To: <305aab98f554d14590e9768e2f676372@wafaa.eu> References: <00B715B9-CC2F-4660-8987-448FD1AA9E5E@bsdimp.com> <305aab98f554d14590e9768e2f676372@wafaa.eu> Date: Thu, 1 Aug 2013 16:45:18 +0800 Message-ID: Subject: Re: Allwinner A20 (dual core Cortex A7) From: Ganbold Tsagaankhuu To: Andrew Wafaa Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 08:45:19 -0000 On Thu, Aug 1, 2013 at 2:14 PM, Andrew Wafaa wrote: > On 01-08-2013 03:09, Warner Losh wrote: > >> On Jul 31, 2013, at 8:05 PM, Ganbold Tsagaankhuu wrote: >> >> Hi Hans and all, >>> >>> Just tried to run freebsd on Cubieboard2 with some minor modification to >>> timer code for A10. >>> However after detecting usb it just stops near "Root mount waiting for: >>> usbus1". I see light on usb stick. System supposed to mount rootfs from >>> usb >>> stick and usb stick was prepared by using Tim's crochet script. >>> >>> Dmesg: http://pastebin.com/7WkkExN2 >>> >>> What problem it could be? Any suggestions? >>> >> >> Clocks. I'd make sure that all the clocks are spun up correctly. On >> other ARM cores if you do this wrong (and it tends to be different for >> different SoCs), then you get weird usb behavior. >> >> Interrupts. When interrupts aren't routed correctly, usb misbehaves >> (although not that badly). >> >> Cache. Maybe the cache lines are bigger (though doubtful, since the >> A10 has an A7 inside, iirc). If so, then USB_DMA_ALIGNMENT may need to >> be bumped. >> >> > One of the big differences with the A20 vs the A10 is the Interrupt > Controller, as the new Cortex-A7 based devices are now connected to a > standard ARM GIC rather than some home grown thing on the older Cortex-A8s. > There's a strong chance that it could be causing you issues if not > supported properly, this is certainly the case on other OSes. > That was the problem, I thought I updated interrupts of devices in dts accordingly, however it wasn't. After updating interrupts to correct ones in dts, freebsd boots and works fine. thanks a lot, Ganbold > > Regards, > > Andy > ______________________________**_________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@**freebsd.org > " >