Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2017 19:16:04 -0800
From:      Thomas Skibo <thomasskibo@yahoo.com>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, =?utf-8?Q?Daniel_H=C3=BCbleitner?= <daniel.huebleitner@student.tuwien.ac.at>
Subject:   Re: Finally bringing FreeBSD to Parallella
Message-ID:  <4CA92CCC-79C3-4E86-9B7F-3FAA80D1CF5E@yahoo.com>
In-Reply-To: <CAJ-VmondYWRWtE=a68qO3YMzX50=YD1sXPoJL3RtvS4kVTtiAg@mail.gmail.com>
References:  <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <CAJ-Vmo=cCBS4-W_q0RKYT4pnkdoKj_kSrk8eem%2BeDOqZt2W-AQ@mail.gmail.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <CAJ-VmondYWRWtE=a68qO3YMzX50=YD1sXPoJL3RtvS4kVTtiAg@mail.gmail.com>

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

[-- Attachment #1 --]

> On Jan 4, 2017, at 4:19 PM, Adrian Chadd <adrian.chadd@gmail.com> wrote:
> 
> Hi,
> 
> Would you be able to find the uboot bits that are needed so we can
> make up a port with the relevant bits? :)
> 
> 
> -adrian

I haven’t been able to find it.  I did manage to find a Makefile I used to package the second u-boot into the file uImage.

But, I’ve been thinking and maybe it would be easier (and less hokey) if we built a FreeBSD kernel with a static DTB and crammed that into a uImage file.  Do we really need ubldr (which would require a u-boot with CONFIG_API)?

—Thomas


[-- Attachment #2 --]

default: uImage

uImage: u-boot.bin.gz
	mkimage -A arm -O linux -T kernel -C gzip -a 0x4000000 -e 0x4000000 \
	-n parallella-freebsd -d u-boot.bin.gz uImage

u-boot.bin.gz: u-boot.bin
	gzip --best --force u-boot.bin

u-boot.bin: u-boot.elf
	arm-linux-gnueabi-objcopy -O binary u-boot.elf u-boot.bin

clean:
	$(RM) u-boot.bin u-boot.bin.gz uImage
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA92CCC-79C3-4E86-9B7F-3FAA80D1CF5E>