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

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

Thanks so much Warner and Rui.

Rui I've been pouring over your page trying to glean as much as I could
from it. I'm working with someone else and he tried booting from the
addresses on your page but since I wasn't building with the cross compiler
the kernel was never going to boot. He was wondering why the offset for the
go command when booting from the network (setenv bootcmd 'dhcp; tftpboot
0x70800000 kernel.ccwmx53; go 0x70800100')?

I can't wait to try this out!

Thanks Guys!
Russ

On Fri, Sep 26, 2014 at 10:56 PM, Rui Paulo <rpaulo@me.com> wrote:

> Hi,
>
> > On Sep 26, 2014, at 22:38, Russell Haley <russ.haley@gmail.com> wrote:
> >
> > Hello,
> >
> > 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:
> >
> > 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.
> >
> > svn checkout https://svn0.us-west.FreeBSD.org/base/head /usr/src
> >
> > cd /usr/src
> >
> > make TARGET=arm TARGET_ARCH=arm -j10 buildworld
> >
> > make TARGET=arm TARGET_ARCH=arm KERNCONF=DIGI-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?CABx9NuQH36gyh1cT06fN7eJLZhrByzWpJH-RN8kb7hJi2ad9xw>