Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 18:52:30 -0800
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Thomas Skibo <thomasskibo@yahoo.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:  <CAJ-Vmo=cCBS4-W_q0RKYT4pnkdoKj_kSrk8eem%2BeDOqZt2W-AQ@mail.gmail.com>
In-Reply-To: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com>
References:  <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com>

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

I'd love to get the parallela I have working on freebsd-head, enough
to start poking at porting their SDK.

Would anyone accept donations of the monetary variety to get the DTS
and bootloader bits from Thomas updated and ready to land in -HEAD?
(or, Thomas, would you be interested? :)


-a


On 30 December 2016 at 11:33, Thomas Skibo via freebsd-arm
<freebsd-arm@freebsd.org> wrote:
> Hello.
>
> Using the GNU dts files for Zynq boards is not as easy as just adding the=
 proper compat strings.  Off the top of my head:
>
> - A range of physical memory must be reserved because it is not accessibl=
e by all AXI masters.  This is done in zynq-7000.dtsi right now but maybe i=
t can be done in zy7_machdep.c (?))
> - Several peripherals (including mpcore-timers) must derive their referen=
ce clock speed automagically from the PS clock speed instead of being speci=
fied in each peripheral's device tree entry.
> - The ethernet driver needs to be able to change its reference clock in r=
esponse to media speed changes.  The hack I use for this requires the ether=
net=E2=80=99s device tree entry to specify the =E2=80=9Cunit number" of its=
 reference clock so it can request speed changes from the SLCR block.
>
> It=E2=80=99s kind of on my to-do list to have GNU DTS files working for 1=
2.0 but I haven=E2=80=99t been working on it lately.
>
> Regarding Parallella:
>
> I had FreeBSD booting on Parallella several years ago but I bricked my bo=
ard and so I stopped updating it.  The Parallella has u-boot in a flash mem=
ory but without the API option. Rather than trying to re-flash the u-boot a=
nd risk bricking the Parallella (which I eventually did anyway), I packaged=
 a u-boot binary with the proper options in a uImage file so the boot proce=
ss was FSBL =E2=80=94> U-boot =E2=80=94> U-boot =E2=80=94> ubldr =E2=80=94>=
 FreeBSD.  The uImage file I used is in a tarball at http://www.skibo.net/z=
edbsd/parallella_freebsd.tgz .
>
> I think it would be better, for now, to use RELEASE-11.0 which has good Z=
ynq support and just come up with a BSD style DTS file for Parallella.  I t=
hink the only difference between Parallella and Zedboard is that the SD car=
d is attached to SDHCI1 instead of SDHCI0 and the memory size is larger.  M=
y best guess for a DTS file is attached.
>
> Happy New Year.
>
> =E2=80=94
> Thomas Skibo
> thomasskibo@yahoo.com
>
>
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://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?CAJ-Vmo=cCBS4-W_q0RKYT4pnkdoKj_kSrk8eem%2BeDOqZt2W-AQ>