Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 15:09:47 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ganbold Tsagaankhuu <ganbold@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Hope for the help on building the supported image for FreeBSD
Message-ID:  <FCF57B6E-4925-49E8-83FA-2C3A00AD7840@bsdimp.com>
In-Reply-To: <CAGtf9xOPaku2fycnhULLRFT5s5zH8w2avOfJCOWciuWYdeVa_Q@mail.gmail.com>
References:  <CAKrd9eXwdQw7G7q7UfPntpVwHOh4hbMQFx47h48U=5EuZj3ciA@mail.gmail.com> <CAGtf9xOPaku2fycnhULLRFT5s5zH8w2avOfJCOWciuWYdeVa_Q@mail.gmail.com>

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

On Jan 25, 2013, at 2:05 AM, Ganbold Tsagaankhuu wrote:

> 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

shouldn't that be XDEV_ARCH=armv6?

Warner
> 
> 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"
> _______________________________________________
> 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?FCF57B6E-4925-49E8-83FA-2C3A00AD7840>