Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 17:05:42 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        XiaoQI Ge <ghw@7axu.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Hope for the help on building the supported image for FreeBSD
Message-ID:  <CAGtf9xOPaku2fycnhULLRFT5s5zH8w2avOfJCOWciuWYdeVa_Q@mail.gmail.com>
In-Reply-To: <CAKrd9eXwdQw7G7q7UfPntpVwHOh4hbMQFx47h48U=5EuZj3ciA@mail.gmail.com>
References:  <CAKrd9eXwdQw7G7q7UfPntpVwHOh4hbMQFx47h48U=5EuZj3ciA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 25, 2013 at 4:18 PM, XiaoQI Ge <ghw@7axu.com> wrote:
>  I've just bought an CubieBoard, but when I searched the httpXXX,found
> there was not any materials about CubieBoard, and I just want ask how to
> compile the IMG for Freebsd, espically on the ubldr part

You have to prepare SD card with special layout like
http://linux-sunxi.org/U-Boot.
(You can also use SD card which was prepared for linux, just
remove/rename uImage)

Once SD card is ready make sure you have xdev tools built.
Make sure you have CURRENT machine with source.
Tim's script also require xdev tools and you can build it like:

cd /usr/src
make xdev XDEV=arm XDEV_ARCH=arm

Then you can compile kernel like:

make TARGET_ARCH=armv6 KERNCONF=CUBIEBOARD buildkernel

and put your kernel to fat partition of SD card and you are ready to boot.

To boot using sd card, at uboot prompt type:

fatload mmc 0 0x40200000 kernel
go 0x40200100


Ganbold

> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



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