Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2014 11:27:53 -0500 (EST)
From:      "Scott Ellis" <scott@jumpnowtek.com>
To:        "Tom Everett" <tom@khubla.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: Wandboard Dual and Crochet-FreeBSD
Message-ID:  <1415032073.272927972@apps.rackspace.com>
In-Reply-To: <CAB3ij4CW=AM0m5o-OukArWuCsY8n8CCmfXtHRaav-Xj1wJ6aow@mail.gmail.com>
References:  <1415023949.765217459@apps.rackspace.com>  <1415030377.1200.56.camel@revolution.hippie.lan>  <CAB3ij4CW=AM0m5o-OukArWuCsY8n8CCmfXtHRaav-Xj1wJ6aow@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I submitted a bug and I am volunteering to test. =0A=0AI only have Quads an=
d Duals.=0A=0A-----Original Message-----=0AFrom: "Tom Everett" <tom@khubla.=
com>=0ASent: Monday, November 3, 2014 11:13am=0ATo: "Ian Lepore" <ian@freeb=
sd.org>=0ACc: "Scott Ellis" <scott@jumpnowtek.com>, "freebsd-arm@freebsd.or=
g" <freebsd-arm@freebsd.org>=0ASubject: Re: Wandboard Dual and Crochet-Free=
BSD=0A=0ACould I ask that you submit a bug here?=0A=0Ahttps://github.com/ki=
entzle/crochet-freebsd=0A=0AI only have a Quad, so that is what I built for=
.  I am willing to make some=0Afixes, if a tester will volunteer to verify =
them on the dual.=0A=0A=0AOn Mon, Nov 3, 2014 at 8:59 AM, Ian Lepore <ian@f=
reebsd.org> wrote:=0A=0A> On Mon, 2014-11-03 at 09:12 -0500, Scott Ellis wr=
ote:=0A> > Wandboard-Quad crochet builds are working fine using the default=
=0A> > config in freebsd-crochet/board/Wandboard using CURRENT r273961=0A> =
> for the source.=0A> >=0A> > I tried creating a new freebsd-crochet/board/=
Wandboard-Dual config=0A> > directory with the following changes=0A> >=0A> =
> scott@fbsd:~/crochet-freebsd/board % diff -r Wandboard Wandboard-Dual=0A>=
 >=0A> > diff -r Wandboard/files/boot.txt Wandboard-Dual/files/boot.txt=0A>=
 > 1c1=0A> > < setenv fdt_file wandboard-quad.dtb;fatload mmc 0:1 88000000=
=0A> ubldr;bootelf 88000000;=0A> > ---=0A> > > setenv fdt_file wandboard-du=
al.dtb;fatload mmc 0:1 88000000=0A> ubldr;bootelf 88000000;=0A> >=0A> > dif=
f -r Wandboard/setup.sh Wandboard-Dual/setup.sh=0A> > 33c33=0A> > <     str=
ategy_add $PHASE_BUILD_OTHER uboot_configure=0A> $WANDBOARD_UBOOT_SRC wandb=
oard_quad_config=0A> > ---=0A> > >     strategy_add $PHASE_BUILD_OTHER uboo=
t_configure=0A> $WANDBOARD_UBOOT_SRC wandboard_dl_config=0A> > 66,67c66,67=
=0A> > <     freebsd_install_fdt wandboard-quad.dts wandboard-quad.dts=0A> =
> <     freebsd_install_fdt wandboard-quad.dts wandboard-quad.dtb=0A> > ---=
=0A> > >     freebsd_install_fdt wandboard-dual.dts wandboard-dual.dts=0A> =
> >     freebsd_install_fdt wandboard-dual.dts wandboard-dual.dtb=0A> > 76,=
77c76,77=0A> > <     freebsd_install_fdt wandboard-quad.dts=0A> boot/kernel=
/wandboard-quad.dts=0A> > <     freebsd_install_fdt wandboard-quad.dts=0A> =
boot/kernel/wandboard-quad.dtb=0A> > ---=0A> > >     freebsd_install_fdt wa=
ndboard-dual.dts=0A> boot/kernel/wandboard-dual.dts=0A> > >     freebsd_ins=
tall_fdt wandboard-dual.dts=0A> boot/kernel/wandboard-dual.dtb=0A> >=0A> >=
=0A> > When I try to boot the resulting image on a Wandboard-Dual it hangs =
here=0A> >=0A> >=0A> > U-Boot 2014.07 (Nov 02 2014 - 13:03:34)=0A> >=0A> > =
CPU:   Freescale i.MX6DL rev1.1 at 792 MHz=0A> > Reset cause: POR=0A> > Boa=
rd: Wandboard=0A> > I2C:   ready=0A> > DRAM:  1 GiB=0A> > WARNING: Caches n=
ot enabled=0A> > MMC:   FSL_SDHC: 0, FSL_SDHC: 1=0A> > *** Warning - bad CR=
C, using default environment=0A> >=0A> > No panel detected: default to HDMI=
=0A> > Display: HDMI (1024x768)=0A> > In:    serial=0A> > Out:   serial=0A>=
 > Err:   serial=0A> > Net:   FEC [PRIME]=0A> > Hit any key to stop autoboo=
t:  0=0A> > switch to partitions #0, OK=0A> > mmc0 is current device=0A> > =
reading boot.scr=0A> > 157 bytes read in 10 ms (14.6 KiB/s)=0A> > Running b=
ootscript from mmc ...=0A> > ## Executing script at 12000000=0A> > reading =
ubldr=0A> > 251107 bytes read in 27 ms (8.9 MiB/s)=0A> > (hang)=0A> >=0A> >=
=0A> > A Wandboard-Quad boot looks like this=0A> >=0A> >=0A> > U-Boot 2014.=
07 (Nov 01 2014 - 16:31:42)=0A> >=0A> > CPU:   Freescale i.MX6Q rev1.2 at 7=
92 MHz=0A> > Reset cause: WDOG=0A> > Board: Wandboard=0A> > I2C:   ready=0A=
> > DRAM:  2 GiB=0A> > WARNING: Caches not enabled=0A> > MMC:   FSL_SDHC: 0=
, FSL_SDHC: 1=0A> > *** Warning - bad CRC, using default environment=0A> >=
=0A> > No panel detected: default to HDMI=0A> > Display: HDMI (1024x768)=0A=
> > In:    serial=0A> > Out:   serial=0A> > Err:   serial=0A> > Net:   FEC =
[PRIME]=0A> > Hit any key to stop autoboot:  0=0A> > switch to partitions #=
0, OK=0A> > mmc0 is current device=0A> > reading boot.scr=0A> > 157 bytes r=
ead in 10 ms (14.6 KiB/s)=0A> > Running bootscript from mmc ...=0A> > ## Ex=
ecuting script at 12000000=0A> > reading ubldr=0A> > 251107 bytes read in 2=
7 ms (8.9 MiB/s)=0A> > ## Starting application at 0x88000054 ...=0A> > Cons=
oles: U-Boot console=0A> > Compatible U-Boot API signature found @8f5854a8=
=0A> >=0A> > FreeBSD/armv6 U-Boot loader, Revision 1.2=0A> > (root@fbsd, Su=
n Nov  2 06:29:08 EST 2014)=0A> >=0A> > ... kernel boots=0A> >=0A> >=0A> > =
So it looks to me like u-boot built okay, but maybe ubldr did not.=0A> >=0A=
> > What is the correct way to setup crochet-freebsd to build for a=0A> > W=
andboard-Dual or Solo?=0A>=0A> I think the problem is the 88000000 address.=
  A dual board doesn't have=0A> that much ram.  I load ubldr at 11000000 on=
 all my wandboards (but I=0A> don't use crochet).  I do know that it's impo=
rtant that ubldr be linked=0A> at the same address it's configured to load =
at, so you may have several=0A> places in crochet to adjust that 88000000 n=
umber.=0A>=0A> I just now booted a dual board (it's been a while) and it's =
working=0A> fine.  Something I have not done for many months is boot a solo=
 board, I=0A> guess I should check it sometime soon.=0A>=0A> -- Ian=0A>=0A>=
=0A> _______________________________________________=0A> freebsd-arm@freebs=
d.org mailing list=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-ar=
m=0A> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org=
"=0A>=0A=0A=0A=0A-- =0AA better world shall emerge based on faith and under=
standing  - Douglas=0AMacArthur=0A




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