xref: /OK3568_Linux_fs/buildroot/board/zynqmp/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun********************************
2*4882a593SmuzhiyunXilinx ZCU106 board - ZynqMP SoC
3*4882a593Smuzhiyun********************************
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunThis document describes the Buildroot support for the ZCU106 board by
6*4882a593SmuzhiyunXilinx, based on the Zynq UltraScale+ MPSoC (aka ZynqMP). It has been
7*4882a593Smuzhiyuntested with the EK-U1-ZCU106-ES2 pre-production board.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunHow to build it
10*4882a593Smuzhiyun===============
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunConfigure Buildroot:
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun    $ make zynqmp_zcu106_defconfig
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunCompile everything and build the rootfs image:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun    $ make
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunResult of the build
21*4882a593Smuzhiyun-------------------
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunAfter building, you should get a tree like this:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun    output/images/
26*4882a593Smuzhiyun    +-- atf-uboot.ub
27*4882a593Smuzhiyun    +-- bl31.bin
28*4882a593Smuzhiyun    +-- boot.bin
29*4882a593Smuzhiyun    +-- boot.vfat
30*4882a593Smuzhiyun    +-- Image
31*4882a593Smuzhiyun    +-- rootfs.ext2
32*4882a593Smuzhiyun    +-- rootfs.ext4 -> rootfs.ext2
33*4882a593Smuzhiyun    +-- sdcard.img
34*4882a593Smuzhiyun    +-- system.dtb -> zynqmp-zcu106-revA.dtb
35*4882a593Smuzhiyun    +-- u-boot.bin
36*4882a593Smuzhiyun    `-- zynqmp-zcu106-revA.dtb
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunHow to write the SD card
39*4882a593Smuzhiyun========================
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunWARNING! This will destroy all the card content. Use with care!
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunThe sdcard.img file is a complete bootable image ready to be written
44*4882a593Smuzhiyunon the boot medium. To install it, simply copy the image to an SD
45*4882a593Smuzhiyuncard:
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun    # dd if=output/images/sdcard.img of=/dev/sdX
48*4882a593Smuzhiyun
49*4882a593SmuzhiyunWhere 'sdX' is the device node of the SD.
50*4882a593Smuzhiyun
51*4882a593SmuzhiyunEject the SD card, insert it in the board, and power it up.
52