Bug 243211

Summary: [new port] sysutils/u-boot-zybo-z7 - u-boot for Zynq based Zybo Z7 board
Product: Ports & Packages Reporter: bsd
Component: Individual Port(s)Assignee: freebsd-uboot (Nobody) <uboot>
Status: New ---    
Severity: Affects Only Me CC: diizzy, lwhsu, manu
Priority: ---    
Version: Latest   
Hardware: arm   
OS: Any   
Description Flags
new port's shar
Modifed shar file using patchwork
New patch working with 2020.07 u-boot sources none

Description bsd 2020-01-09 10:36:55 UTC
Created attachment 210561 [details]
new port's shar

This port adds u-boot for Zybo Z7 board into ports collection. It is tested to build working binaries suitable for dropping into armv7-genericsd image's MSDOSBOOT partition to provide working system, just valid DTB file needs to be added to it (not part of this port, naturally).
Comment 1 bsd 2020-01-09 10:38:58 UTC
Tested with currently used 2019.10 u-boot distfile, it works with recently released 2020.01 too (builds and boots).
Comment 2 bsd 2020-01-09 10:42:34 UTC
Patches for two init issues are included in this port - there is bad clock in defconfig file for UART and two MIO pins are initialized incorrectly with pull-ups activated. Both are reported already upstream, but could not be included in release before 2020.04, naturally, so in the meantime use simple patches in this port.
Comment 3 bsd 2020-01-20 09:42:13 UTC
Created attachment 210888 [details]
Modifed shar file using patchwork
Comment 4 Daniel Engberg freebsd_committer 2020-04-22 17:57:47 UTC
Can you have a look at this?
Comment 5 Emmanuel Vadot freebsd_committer 2020-04-23 17:35:46 UTC
Oh god, shar ...
Well, I'm doing u-boot updates tonight, I'll see if it compiles and will commit it if it does.
Comment 6 Emmanuel Vadot freebsd_committer 2020-04-23 18:56:58 UTC
This does not work with 2020.04
Please send a new patch (not shar please).
Note that the patches doesn't seems to be needed anymore.
Comment 7 bsd 2020-08-01 07:15:31 UTC
Created attachment 216927 [details]
New patch working with 2020.07 u-boot sources

This port was checked today for both build and boot functionality - raw make all install provide required files booting on my Zybo Z7 board with no intervention up to starting kernel.
Comment 8 Daniel Engberg freebsd_committer 2020-12-12 01:11:08 UTC
This seems to be good to go now?