Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 10:30:00 +0000
From:      Maxim V Filimonov <che@bein.link>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Cubieboard2 (AllWinner A20) hangs on boot
Message-ID:  <20151013103000.GB30944@bein.link>
In-Reply-To: <CAB=2f8z74zB_b1kxLX8qS2iwvX5tZcQD%2BbniFOEW11NA62z4SQ@mail.gmail.com>
References:  <1624600.Emhi2YBmRE@thinkpad> <CAB=2f8z74zB_b1kxLX8qS2iwvX5tZcQD%2BbniFOEW11NA62z4SQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@bein.link>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151013103000.GB30944>