Cubieboard2 (AllWinner A20) hangs on boot

Maxim V Filimonov che at bein.link
Tue Oct 13 10:30:11 UTC 2015


On Tue, Oct 13, 2015 at 01:11:12AM -0300, Luiz Otavio O Souza wrote:
> On 8 October 2015 at 19:49, Maxim V Filimonov wrote:
> > Dear Everyone,
> >
> > I compiled the brand-new FreeBSD-CURRENT for my Cubieboard (following the
> > instructions there: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) and tried
> > to boot this, and that's what I'm stuck at:
> >
> > U-Boot 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:45) Allwinner Technology
> >
> > CPU:   Allwinner A20 (SUN7I)
> > Board: Cubieboard2
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   SUNXI SD/MMC: 0
> > *** Warning - bad CRC, using default environment
> >
> > In:    serial
> > Out:   serial
> > Err:   serial
> > Net:   emac
> > Hit any key to stop autoboot:  0
> > sun7i#fatload mmc 0 0x40200000 kernel; go 0x40200100
> > reading kernel
> > 8080052 bytes read in 890 ms (8.7 MiB/s)
> > ## Starting application at 0x40200100 ...
> >
> > Can I do anything about this?
> >
> 
> Maxim,
> 
> You should use the instructions at
> https://wiki.freebsd.org/FreeBSD/arm/Allwinner
> 
> The old wiki page is deprecated.
> 
> The old instructions uses an u-boot that do not pass the DTB to
> kernel, so you have to define 'options FDT_DTB_STATIC' in kernel
> config file.
> 
> Sorry for the misleading information in wiki, I've added a note there
> WRT the new instructions.
> 

Dear Luiz,

Thank you for your kind reply. I have already managed to start FreeBSD
on my board (and it runs much much better now; I suppose you're one of
the people I want to thank for that). I used the "old" method defining
"options FDT_DTB_STATIC". The only thing I'd like to add is that I also
added "makeoptions FDT_DTS_FILE=cubieboard2.dts" to the kernel config in
order to have it build.

-- 
wbr, Maxim Filimonov <che at bein.link>


More information about the freebsd-arm mailing list