From owner-freebsd-arm@FreeBSD.ORG Thu Aug 1 02:10:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D61B684E for ; Thu, 1 Aug 2013 02:10:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC6F820EF for ; Thu, 1 Aug 2013 02:10:10 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id hz10so1550544pad.30 for ; Wed, 31 Jul 2013 19:10:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=ELxEN6qdrtzDJymJyhEILH109A6YjD2JBzW3H6kjNZg=; b=jWskWxGlBljhqggNAIPa0rKEr3TewZrcvjJ0emaxEMD1AG/OOBfSuimOs5RbZpjgwm PTOS8rV+pw2bNYywuca/3JSe3LQzbEAJ5NQu68o0IqTVL+ncpefgTZmhdIhtpMS48I/h nREVY98RycIZ1hPHH7H5ZQ6J+7VhLUzcEOwmWcXzEbhNE/ww7FzIBQzj8Ox/Sjrfk5Zi 9eqze4axBXr4+qnPPrFxmSRiiJmDn2GHTmpkPHA24ANBSXKwIeZjnYsQYRy/eC/BBjJ2 HYarII6vzWeY/GGtrTisV2S1Shvd9l3ZRraj3didncNPGfD8Jkn7zk9fv6xeb6cG4n5Y SHXA== X-Received: by 10.68.106.36 with SMTP id gr4mr10610562pbb.0.1375323004764; Wed, 31 Jul 2013 19:10:04 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ai6sm849274pad.15.2013.07.31.19.10.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Jul 2013 19:10:03 -0700 (PDT) Sender: Warner Losh Subject: Re: Allwinner A20 (dual core Cortex A7) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 31 Jul 2013 20:09:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <00B715B9-CC2F-4660-8987-448FD1AA9E5E@bsdimp.com> References: To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkc+gLNwmMVgKQZ5x8s/1Oy2G/iyEvihGrjSVH3nHEyPm7kb5wwjmjszShTZpXPawLFVo1G Cc: "freebsd-arm@freebsd.org" , Hans Petter Selasky 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 02:10:10 -0000 On Jul 31, 2013, at 8:05 PM, Ganbold Tsagaankhuu wrote: > Hi Hans and all, >=20 > 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. >=20 > Dmesg: http://pastebin.com/7WkkExN2 >=20 > 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. Warner