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>

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

--Apple-Mail=_84636F09-16A7-4A42-BD89-B04CABCB5605
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


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

I haven=E2=80=99t 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=E2=80=99ve 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)?

=E2=80=94Thomas


--Apple-Mail=_84636F09-16A7-4A42-BD89-B04CABCB5605
Content-Disposition: attachment;
	filename=Makefile
Content-Type: application/octet-stream;
	name="Makefile"
Content-Transfer-Encoding: 7bit


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

--Apple-Mail=_84636F09-16A7-4A42-BD89-B04CABCB5605--



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