We're updating the issue view to help you get more done. 

Proposed Zed Platform Build Script Improvements


Made some modifications to many of the zed scripts:

  • makeSD.sh now allows for an optional platform argument. This allows for pulling in the appropriate boot.bin and devicetree.dtb for zed, zc702, or zc706. Defaults to zed if no device given.

  • formatSD.sh now umounts the drives as opposed to ejecting. Ejecting was too harsh and caused the system to completely lose track of the SD device. Also changed the grep search expression to be the actual device, as opposed to "Disk" which was returning to many results and screwing up the rest of the operations.

  • createOcpiZedRelease.sh pulls in a patch(included, should be placed in the "/platforms/zed" directory) that allows the kernel for v14.7 to be built. Also includes some (basic) logic to prevent the script from breaking when the git checkout results in a detached head.

  • doXilinxRelease.sh now only takes 1 mandatory argument, or a second optional argument. The mandatory argument is the release version (14.X or 201X.X). The optional argument is the platform target for makeSD. The script now automatically finds the appropriate download file for the release version as opposed to requiring the user to know the url.

  • phy-zynq-usb.patch fixes a bug that prevents the linux kernel to build (at least in 14.7, my only test case)






Neil Schafer