Finally bringing FreeBSD to Parallella

Adrian Chadd adrian.chadd at gmail.com
Sun Jan 1 02:52:33 UTC 2017


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 at 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 accessible by all AXI masters.  This is done in zynq-7000.dtsi right now but maybe it can be done in zy7_machdep.c (?))
> - Several peripherals (including mpcore-timers) must derive their reference clock speed automagically from the PS clock speed instead of being specified in each peripheral's device tree entry.
> - The ethernet driver needs to be able to change its reference clock in response to media speed changes.  The hack I use for this requires the ethernet’s device tree entry to specify the “unit number" of its reference clock so it can request speed changes from the SLCR block.
>
> It’s kind of on my to-do list to have GNU DTS files working for 12.0 but I haven’t been working on it lately.
>
> Regarding Parallella:
>
> I had FreeBSD booting on Parallella several years ago but I bricked my board and so I stopped updating it.  The Parallella has u-boot in a flash memory but without the API option. Rather than trying to re-flash the u-boot and 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 process was FSBL —> U-boot —> U-boot —> ubldr —> FreeBSD.  The uImage file I used is in a tarball at http://www.skibo.net/zedbsd/parallella_freebsd.tgz .
>
> I think it would be better, for now, to use RELEASE-11.0 which has good Zynq support and just come up with a BSD style DTS file for Parallella.  I think the only difference between Parallella and Zedboard is that the SD card is attached to SDHCI1 instead of SDHCI0 and the memory size is larger.  My best guess for a DTS file is attached.
>
> Happy New Year.
>
>> Thomas Skibo
> thomasskibo at yahoo.com
>
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list