From owner-freebsd-arm@FreeBSD.ORG Fri Aug 30 02:11:38 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 0B336691 for ; Fri, 30 Aug 2013 02:11:38 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D63702AF3 for ; Fri, 30 Aug 2013 02:11:37 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id ro12so1231489pbb.27 for ; Thu, 29 Aug 2013 19:11:37 -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=puyVBTbOh9Et+XHs4HjYwjzfHj8+MPDdFU5mTdK7tXo=; b=uEPrxeDHh5T07OUWOmIrn04abR5O4AwBYRgXS3SwIOguQuzHZXmFW+XXmcc2tg6pVV 042wVjQ/RGt0i4ItCxOeeXSXGX7EcYSoar5SNjbuEhcOBQXofDK1A3CijUKm2MiVN4I8 cJCSdKb6CkSSqr6l34HKc1utezuKIdWvUCcBc+7iqLSyokoVXgmfVFfuocBM9z5Z6ZEm YGgaFmvRSVUtnOk/Vrfwkz2TtrcWXYSgzHPpg/jqUimH9XmAvtoBrqwqIZBhPYKcGIdP s4N7Tg8g8GvxEBmKJI2/4fFl+IxUiUouuus5Qm2mz0MMiOralydYf5gv9BtvbnNd2lfv BTiA== MIME-Version: 1.0 X-Received: by 10.66.163.2 with SMTP id ye2mr7656318pab.168.1377828697071; Thu, 29 Aug 2013 19:11:37 -0700 (PDT) Received: by 10.68.88.129 with HTTP; Thu, 29 Aug 2013 19:11:36 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Aug 2013 10:11:36 +0800 Message-ID: Subject: Re: Booting kernel on Cubieboard/Mele a_1000 (Allwiner A10) From: Ganbold Tsagaankhuu To: Alexander Fedorov 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: Fri, 30 Aug 2013 02:11:38 -0000 Alexander, On Fri, Jun 28, 2013 at 2:51 AM, Alexander Fedorov < alexander.fedorov@rtlservice.com> wrote: > Hi! > Freebsd doesn't support Allwinner A10 MMC controller. > > You should use USB stick for the root filesystem. > > P.S. > I have an initial version of the driver for MMC, but it does not > support DMA, so the IO is very slow. I tested it with my Hackberry > board. > If you're interested, see the patch in attachment and configuration > files. Also, I will publish the code on github in a few days. > How reliable is this driver? Does it work well? If it is working well then maybe we should think about getting into src tree like fixing styles etc. Please let me know. Ganbold > > 2013/6/27 Mariano Lescano : > > Hi > > We have the kernel booting using ubldr. At the point to mount the root > > filesystem we get this message: > > > > ====================================================== > > > > Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... > > stack_capture: frame=0xdcacfa3c > > stack_capture: frame=0 > > stack_capture: frame=0xdcacf85c > > stack_capture: frame=0xc30feda4 > > stack_capture: frame=0 > > mountroot: waiting for device /dev/mmcsd0s2a ... > > Mounting from ufs:/dev/mmcsd0s2a failed with error 19. > > Trying to mount root from ufs:/dev/da0s2a []... > > mountroot: waiting for device /dev/da0s2a ... > > Mounting from ufs:/dev/da0s2a failed with error 19. > > > > Loader variables: > > vfs.root.mountfrom=ufs:/dev/mmcsd0s2a > > vfs.root.mountfrom.options=rw,noatime > > > > Manual root filesystem specification: > > : [options] > > Mount using filesystem > > and with the specified (optional) option list. > > > > eg. ufs:/dev/da0s1a > > zfs:tank > > cd9660:/dev/acd0 ro > > (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) > > > > ? List valid disk boot devices > > . Yield 1 second (for background tasks) > > Abort manual input > > > > mountroot> ? > > > > List of GEOM managed disk devices: > > > > > > mountroot> > > > > ======================================================== > > > > We can see that List of GEOM managed disk devices is empty > > > > What could be the problem? > > Any suggestions? > > > > Thanks > > _______________________________________________ > > 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" > > _______________________________________________ > 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" >