This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
resources:eval:user-guides:ad-fmcomms2-ebz:software:linux:zynqmp [19 Oct 2017 11:14] – [Build the devicetree FCMOMMS2/3] Michael Hennerich | resources:eval:user-guides:ad-fmcomms2-ebz:software:linux:zynqmp [11 Jan 2018 10:20] (current) – create symlink to generic new linux-build zynqmp page Alexandru Ardelean | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building the ZynqMP / MPSoC Linux kernel and devicetrees from source ====== | + | {{page>: |
- | + | ||
- | ===== On the development host ===== | + | |
- | + | ||
- | <code> | + | |
- | git clone https:// | + | |
- | </ | + | |
- | + | ||
- | or do a git pull in the existing repository. | + | |
- | + | ||
- | ==== Checkout the xcomm_zynq development/ | + | |
- | + | ||
- | < | + | |
- | dave@hal9000: | + | |
- | Already on ' | + | |
- | Your branch is up-to-date with ' | + | |
- | </ | + | |
- | ==== Add aarch64-linux-gnu-gcc to PATH ==== | + | |
- | + | ||
- | Vivado 2016.2 SDK may be installed into a different directory | + | |
- | + | ||
- | < | + | |
- | dave@hal9000: | + | |
- | </ | + | |
- | + | ||
- | ==== Setup cross compile environment variables ==== | + | |
- | < | + | |
- | dave@hal9000: | + | |
- | + | ||
- | dave@hal9000: | + | |
- | </ | + | |
- | ==== Configure the kernel ==== | + | |
- | < | + | |
- | dave@hal9000: | + | |
- | # | + | |
- | # configuration written to .config | + | |
- | # | + | |
- | dave@hal9000: | + | |
- | </ | + | |
- | ==== Build the kernel ==== | + | |
- | + | ||
- | < | + | |
- | dave@hal9000: | + | |
- | CHK | + | |
- | CHK | + | |
- | HOSTCC | + | |
- | HOSTCC | + | |
- | + | ||
- | + | ||
- | [ -- snip --] | + | |
- | + | ||
- | CC init/ | + | |
- | LD init/ | + | |
- | KSYM .tmp_kallsyms1.o | + | |
- | KSYM .tmp_kallsyms2.o | + | |
- | LD vmlinux | + | |
- | SORTEX | + | |
- | SYSMAP | + | |
- | OBJCOPY arch/ | + | |
- | dave@hal9000: | + | |
- | </ | + | |
- | ==== Build the devicetree FCMOMMS2/3 ==== | + | |
- | + | ||
- | === Build the one that fits your FPGA carrier and FMC card === | + | |
- | | zynqmp-zcu102-rev10-ad9361-fmcomms2-3.dts | [[xilinx> | + | |
- | | zynqmp-zcu102-rev10-ad9364-fmcomms4.dts | [[xilinx> | + | |
- | | zynqmp-zcu102-revB-ad9361-fmcomms2-3.dts | [[xilinx> | + | |
- | | zynqmp-zcu102-revB-ad9364-fmcomms4.dts | [[xilinx> | + | |
- | + | ||
- | < | + | |
- | dave@hal9000:~/github-linux-build/ | + | |
- | DTC | + | |
- | dave@hal9000:~/github-linux-build/linux$ | + | |
- | </ | + | |
- | + | ||
- | ==== Copy the generated files to your SD Card ==== | + | |
- | + | ||
- | < | + | |
- | dave@hal9000:~/ | + | |
- | dave@hal9000:~/ | + | |
- | </ | + |