Booting kernel on Cubieboard/Mele a_1000 (Allwiner A10)

Ganbold Tsagaankhuu ganbold at gmail.com
Fri Aug 30 02:11:38 UTC 2013


Alexander,

On Fri, Jun 28, 2013 at 2:51 AM, Alexander Fedorov <
alexander.fedorov at 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 <mercanoles at gmail.com>:
> > 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:
> >   <fstype>:<device> [options]
> >       Mount <device> using filesystem <fstype>
> >       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)
> >   <empty line>    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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>


More information about the freebsd-arm mailing list