Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 22:56:48 -0700
From:      Rui Paulo <rpaulo@me.com>
To:        Russell Haley <russ.haley@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Digi CCWMX53
Message-ID:  <C439A1ED-8AA0-4CA5-B375-D80E8BD4C624@me.com>
In-Reply-To: <CABx9NuQr%2BdEb_yj3ypEe6Sb_qPY%2BqP74n0x1K5=_K6Zoio2vkw@mail.gmail.com>
References:  <CABx9NuQr%2BdEb_yj3ypEe6Sb_qPY%2BqP74n0x1K5=_K6Zoio2vkw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> On Sep 26, 2014, at 22:38, Russell Haley <russ.haley@gmail.com> wrote:
>=20
> Hello,
>=20
> I am trying to build for a DIgi CCWMX53 and was actually able to get a
> kernel to build (holy cow I did it!!!) but I have failed to get it to =
boot.
> I'll outline my steps below but I am also seeking answers for the =
following
> questions:
>=20
> 1) Can anyone give me the correct u-boot enviroment variables or =
reference
> to the u-boot process to boot the completed freebsd kernel. =
Specifically on
> a CCWMX53 if possible, but I have linux references to port from. Where
> would I look for an example?

This is my setup:

https://wiki.freebsd.org/Digi-CCWMX53

I boot from the network because we don't support the MTD flash layout =
yet.  We can put a kernel in flash, but the kernel won't be able to read =
the MTD partition layout and we can't boot rootfs from there.  You can =
use a USB stick.

If you want to build U-Boot from source on FreeBSD, here's my fork: =
https://github.com/rpaulo/uboot-ccwmx53-digi

> 2) Do I need to create a cross compiler? Reference 1 says yes, =
reference
> two says no. Help!

You always need it when building on x86.

> Okay this is my process. It is performed in a 9.1-RELEASE jail within =
a
> PC-BSD 10 VM with 4 GB ram and 4 cores.
>=20
> svn checkout https://svn0.us-west.FreeBSD.org/base/head /usr/src
>=20
> cd /usr/src
>=20
> make TARGET=3Darm TARGET_ARCH=3Darm -j10 buildworld
>=20
> make TARGET=3Darm TARGET_ARCH=3Darm KERNCONF=3DDIGI-CCWMX53 =
buildkernel

Like Warner said, you need armv6.

--
Rui Paulo






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C439A1ED-8AA0-4CA5-B375-D80E8BD4C624>