Rewriting instructions to generate a zedboard image to make it really verbose
PATCH 1/1 Rewriting instructions to generate a zedboard image to make it really verbose
--- board/avnet/zedboard/readme.txt | 51 +++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 10 deletions(-)
board/avnet/zedboard/readme.txt +41 -10
@@ -5,26 +5,57 @@ System-On-Chip. Zedboard information including schematics, reference designs, and manuals are available from http://www.zedboard.org . -To boot the Zedboard using a buildroot generated image copy the following files -to the sdcard: - zynq-zed.dtb -> devicetree.dtb - rootfs.cpio.gz.uboot -> uramdisk.image.gz - uImage -> uImage - boot.bin -> boot.bin +The firmware releases for the Xilinx Zynq silicons depend on Xilinx some propietary tools or code. This dependency has been reduced to a pair of source files available in the regular Xilinx SDK. -U-Boot SPL Support -------------- +You will need this files from Xilinx tree to generate the later listed files: + ps7_init.c + ps7_init.h + +You will need the following files from output/images: + zynq-zed.dtb + rootfs.cpio.uboot + uImage + u-boot.img + boot.bin + + +uboot.bin -- U-Boot SPL Support +-------------------------------- Due to licensing issues, the files ps7_init.c/h are not able to be distributed with the U-Boot source code. These files are required to make a boot.bin file. -If you already have the Xilinx tools installed, the follwing sequence will +If you already have the Xilinx tools installed, the following sequence will unpack, patch and build the rfs, kernel, uboot, and uboot-spl. make zedboard_defconfig make uboot-patch cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \ -output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/ +output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/ + +Now that you patched the uboot files, you will be capable of compiling the +buildroot: + make + +Resulting system +---------------- +The SD card should be filled like the following, in a FAT32 partition at the +beggining of the device: + /boot.bin + /devicetree.dtb + /uImage + /uramdisk.image.gz + /u-boot.img + + +All needed files can be taken from output/images/ + +boot.bin, uImage and u-boot.img are direct copies of the same files +available on output/images/ + +devicetree.dtb is just zynq-zed.dtb renamed. + +uramdisk.image.gz is rootfs.cpio.uboot renamed
Signature · 1 line
1.7.10.4
PATCH 1/1 Rewriting instructions to generate a zedboard image to make it really verbose
Javier,
Please see the comments inline.
Quoted 11 lines · Javier Domingo Cansino
Signed-off-by Javier Domingo Cansino <[email protected]>--- board/avnet/zedboard/readme.txt | 51 +++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 10 deletions(-)board/avnet/zedboard/readme.txt +0
-0
board/avnet/zedboard/readme.txt System-On-Chip. · line 8
Quoted 10 lines
board/avnet/zedboard/readme.txt +1
-6@@ -5,26 +5,57 @@ System-On-Chip. Zedboard information including schematics, reference designs, and manuals are available from http://www.zedboard.org . -To boot the Zedboard using a buildroot generated image copy the following files -to the sdcard: - zynq-zed.dtb -> devicetree.dtb - rootfs.cpio.gz.uboot -> uramdisk.image.gz - uImage -> uImage - boot.bin -> boot.bin +The firmware releases for the Xilinx Zynq silicons depend on Xilinx some propietary tools or code. This dependency has been reduced to a pair of source files available in the regular Xilinx SDK.
Possibly the following is better:
The U-Boot firmware for the Xilinx Zynq All Programmable SoC depends on some proprietary code. This dependency has consists of a pair of files available from in a Xilinx SDK installation.
board/avnet/zedboard/readme.txt System-On-Chip. · line 10
Quoted 3 lines
board/avnet/zedboard/readme.txt +1
-2-U-Boot SPL Support -------------- +You will need this files from Xilinx tree to generate the later listed files:
You will need these files from a Xilinx SDK installation to generate the U-Boot firmware.
board/avnet/zedboard/readme.txt System-On-Chip. · line 14
Quoted 4 lines
board/avnet/zedboard/readme.txt +4
-0+ ps7_init.c + ps7_init.h + +You will need the following files from output/images:
Buildroot will create the following files and place them in the <output>/images directory.
board/avnet/zedboard/readme.txt System-On-Chip. · line 22
Quoted 8 lines
board/avnet/zedboard/readme.txt +8
-0+ zynq-zed.dtb + rootfs.cpio.uboot + uImage + u-boot.img + boot.bin + + +uboot.bin -- U-Boot SPL Support
uboot.bin -- U-Boot SPL w/ Xilinx boot.bin wrapper
Quoted 8 lines
board/avnet/zedboard/readme.txt +2
-1+-------------------------------- Due to licensing issues, the files ps7_init.c/h are not able to be distributed with the U-Boot source code. These files are required to make a boot.bin file. -If you already have the Xilinx tools installed, the follwing sequence will +If you already have the Xilinx tools installed, the following sequence will
board/avnet/zedboard/readme.txt System-On-Chip. · line 38
Quoted 10 lines
board/avnet/zedboard/readme.txt +4
-1unpack, patch and build the rfs, kernel, uboot, and uboot-spl. make zedboard_defconfig make uboot-patch cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \ -output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/ +output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/ + +Now that you patched the uboot files, you will be capable of compiling the +buildroot:
After copying these files into the U-Boot source tree, you can continue the build by:
board/avnet/zedboard/readme.txt System-On-Chip. · line 41
Quoted 3 lines
board/avnet/zedboard/readme.txt +1
-0+ make
It would be good to add the following notice:
While the build will successfully complete without the ps7_init.* files, the uboot.bin file generated by this configuration will not function properly on the Zedboard. Therefore, it is imperative that the ps7_init.* files be copied into the U-Boot source tree any time the clean, or uboot-dirclean targets are made.
board/avnet/zedboard/readme.txt System-On-Chip. · line 46
Quoted 5 lines
board/avnet/zedboard/readme.txt +5
-0+ +Resulting system +---------------- +The SD card should be filled like the following, in a FAT32 partition at the +beggining of the device:
A FAT32 partition should be created at the beginning of the SD Card and the following files should be installed:
Quoted 18 lines
board/avnet/zedboard/readme.txt +15
-1+ /boot.bin + /devicetree.dtb + /uImage + /uramdisk.image.gz + /u-boot.img + + +All needed files can be taken from output/images/ + +boot.bin, uImage and u-boot.img are direct copies of the same files +available on output/images/ + +devicetree.dtb is just zynq-zed.dtb renamed. + +uramdisk.image.gz is rootfs.cpio.uboot renamed --1.7.10.4
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Thanks,
Spenser
Signature · 3 lines
Spenser Gilliland Computer Engineer Doctoral Candidate
PATCH 1/1 Rewriting instructions to generate a zedboard image to make it really verbose
I have this in task list, I still didn't have any spare time, but I will do it.
Cheers,
Javier Domingo Cansino
2014-06-11 5:15 GMT+02:00 Spenser Gilliland <[email protected]>:
Quoted 126 lines
Javier,
Please see the comments inline.
Quoted 11 lines · Javier Domingo Cansino
Signed-off-by Javier Domingo Cansino <[email protected]>--- board/avnet/zedboard/readme.txt | 51 +++++++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 10 deletions(-)board/avnet/zedboard/readme.txt +0
-0board/avnet/zedboard/readme.txt System-On-Chip. · line 8
Quoted 10 lines
board/avnet/zedboard/readme.txt +1
-6@@ -5,26 +5,57 @@ System-On-Chip. Zedboard information including schematics, reference designs, and manuals are available from http://www.zedboard.org . -To boot the Zedboard using a buildroot generated image copy the following files -to the sdcard: - zynq-zed.dtb -> devicetree.dtb - rootfs.cpio.gz.uboot -> uramdisk.image.gz - uImage -> uImage - boot.bin -> boot.bin +The firmware releases for the Xilinx Zynq silicons depend on Xilinx some propietary tools or code. This dependency has been reduced to a pair of source files available in the regular Xilinx SDK.Possibly the following is better:
The U-Boot firmware for the Xilinx Zynq All Programmable SoC depends on some proprietary code. This dependency has consists of a pair of files available from in a Xilinx SDK installation.
board/avnet/zedboard/readme.txt System-On-Chip. · line 10
Quoted 3 lines
board/avnet/zedboard/readme.txt +1
-2-U-Boot SPL Support -------------- +You will need this files from Xilinx tree to generate the later listed files:You will need these files from a Xilinx SDK installation to generate the U-Boot firmware.
board/avnet/zedboard/readme.txt System-On-Chip. · line 14
Quoted 4 lines
board/avnet/zedboard/readme.txt +4
-0+ ps7_init.c + ps7_init.h + +You will need the following files from output/images:Buildroot will create the following files and place them in the <output>/images directory.
board/avnet/zedboard/readme.txt System-On-Chip. · line 22
Quoted 8 lines
board/avnet/zedboard/readme.txt +8
-0+ zynq-zed.dtb + rootfs.cpio.uboot + uImage + u-boot.img + boot.bin + + +uboot.bin -- U-Boot SPL Supportuboot.bin -- U-Boot SPL w/ Xilinx boot.bin wrapper
Quoted 8 lines
board/avnet/zedboard/readme.txt +2
-1+-------------------------------- Due to licensing issues, the files ps7_init.c/h are not able to be distributed with the U-Boot source code. These files are required to make a boot.bin file. -If you already have the Xilinx tools installed, the follwing sequence will +If you already have the Xilinx tools installed, the following sequence willboard/avnet/zedboard/readme.txt System-On-Chip. · line 38
Quoted 10 lines
board/avnet/zedboard/readme.txt +4
-1unpack, patch and build the rfs, kernel, uboot, and uboot-spl. make zedboard_defconfig make uboot-patch cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \ -output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/ +output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/ + +Now that you patched the uboot files, you will be capable of compiling the +buildroot:After copying these files into the U-Boot source tree, you can continue the build by:
board/avnet/zedboard/readme.txt System-On-Chip. · line 41
Quoted 3 lines
board/avnet/zedboard/readme.txt +1
-0+ makeIt would be good to add the following notice:
While the build will successfully complete without the ps7_init.* files, the uboot.bin file generated by this configuration will not function properly on the Zedboard. Therefore, it is imperative that the ps7_init.* files be copied into the U-Boot source tree any time the clean, or uboot-dirclean targets are made.
board/avnet/zedboard/readme.txt System-On-Chip. · line 46
Quoted 5 lines
board/avnet/zedboard/readme.txt +5
-0+ +Resulting system +---------------- +The SD card should be filled like the following, in a FAT32 partition at the +beggining of the device:A FAT32 partition should be created at the beginning of the SD Card and the following files should be installed:
Quoted 18 lines
board/avnet/zedboard/readme.txt +15
-1+ /boot.bin + /devicetree.dtb + /uImage + /uramdisk.image.gz + /u-boot.img + + +All needed files can be taken from output/images/ + +boot.bin, uImage and u-boot.img are direct copies of the same files +available on output/images/ + +devicetree.dtb is just zynq-zed.dtb renamed. + +uramdisk.image.gz is rootfs.cpio.uboot renamed --1.7.10.4
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootThanks,
Spenser--
Spenser Gilliland
Computer Engineer
Doctoral Candidate
PATCH v2 1/1 Rewriting instructions to generate a zedboard image to be really verbose
In reply to Javier Domingo Cansino---
Changes v1 -> v2:
- Rewrote messages as suggested by spenser
--- board/avnet/zedboard/readme.txt | 62 ++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 10 deletions(-)
board/avnet/zedboard/readme.txt +52 -10
@@ -5,26 +5,68 @@ System-On-Chip. Zedboard information including schematics, reference designs, and manuals are available from http://www.zedboard.org . -To boot the Zedboard using a buildroot generated image copy the following files -to the sdcard: - zynq-zed.dtb -> devicetree.dtb - rootfs.cpio.gz.uboot -> uramdisk.image.gz - uImage -> uImage - boot.bin -> boot.bin +The U-Boot firmware for the Xilinx Zynq All Programmable SoC depends +on some propietary code. This dependency consists of a pair of +files are available from the Xilinx SDK installation. -U-Boot SPL Support -------------- +You will need this files from Xilinx SDK installation to generate +the U-Boot firmware: + ps7_init.c + ps7_init.h + +Buildroot will create the following files and place them in the +<output>/images directory. + zynq-zed.dtb + rootfs.cpio.uboot + uImage + u-boot.img + boot.bin + + +uboot.bin -- U-Boot SPL w/ Xilinx boot.bin wrapper +--------------------------------------------------- Due to licensing issues, the files ps7_init.c/h are not able to be distributed with the U-Boot source code. These files are required to make a boot.bin file. -If you already have the Xilinx tools installed, the follwing sequence will +If you already have the Xilinx tools installed, the following sequence will unpack, patch and build the rfs, kernel, uboot, and uboot-spl. make zedboard_defconfig make uboot-patch cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \ -output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/ +output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/ + +After copying these files into the U-Boot source tree, you can +continue the build with: + make +*Notice* +While the build will successfully complete without the ps7_init.* +files, the uboot.bin file generated by this configuration will not +function properly on the Zedboard. Therefore, it is imperative that +the ps7_init.* files be copied into the U-Boot source tree any time +the clean, or uboot-dirclean targets are made. + + +Resulting system +---------------- +A FAT32 partition should be created at the beggining of the SD Card +and the following files should be installed: + /boot.bin + /devicetree.dtb + /uImage + /uramdisk.image.gz + /u-boot.img + + +All needed files can be taken from output/images/ + +boot.bin, uImage and u-boot.img are direct copies of the same files +available on output/images/ + +devicetree.dtb is just zynq-zed.dtb renamed. + +uramdisk.image.gz is rootfs.cpio.uboot renamed
Signature · 1 line
1.7.10.4
PATCH 1/1 Rewriting instructions to generate a zedboard image to make it really verbose
In reply to Javier Domingo CansinoI promise I followed all the steps, but seems like I didn't put the correct In-Reply-To: header or something like that. The result is
http://patchwork.ozlabs.org/patch/362361/
Cheers!
Javier Domingo Cansino
PATCH v2 1/1 Rewriting instructions to generate a zedboard image to be really verbose
In reply to Javier Domingo CansinoJavier,
Quoted 18 lines · Javier Domingo Cansino
---
Changes v1 -> v2:
- Rewrote messages as suggested by spenser--- board/avnet/zedboard/readme.txt | 62 ++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 10 deletions(-)board/avnet/zedboard/readme.txt +0
-3@@ -5,26 +5,68 @@ System-On-Chip. Zedboard information including schematics, reference designs, and manuals are available from http://www.zedboard.org . -To boot the Zedboard using a buildroot generated image copy the following files -to the sdcard: - zynq-zed.dtb -> devicetree.dtb
board/avnet/zedboard/readme.txt System-On-Chip. · line 12
Quoted 10 lines
board/avnet/zedboard/readme.txt +4
-5- rootfs.cpio.gz.uboot -> uramdisk.image.gz - uImage -> uImage - boot.bin -> boot.bin +The U-Boot firmware for the Xilinx Zynq All Programmable SoC depends +on some propietary code. This dependency consists of a pair of +files are available from the Xilinx SDK installation. -U-Boot SPL Support -------------- +You will need this files from Xilinx SDK installation to generate
This -> these
Quoted 65 lines
board/avnet/zedboard/readme.txt +48
-3+the U-Boot firmware: + ps7_init.c + ps7_init.h + +Buildroot will create the following files and place them in the +<output>/images directory. + zynq-zed.dtb + rootfs.cpio.uboot + uImage + u-boot.img + boot.bin + + +uboot.bin -- U-Boot SPL w/ Xilinx boot.bin wrapper +--------------------------------------------------- Due to licensing issues, the files ps7_init.c/h are not able to be distributed with the U-Boot source code. These files are required to make a boot.bin file. -If you already have the Xilinx tools installed, the follwing sequence will +If you already have the Xilinx tools installed, the following sequence will unpack, patch and build the rfs, kernel, uboot, and uboot-spl. make zedboard_defconfig make uboot-patch cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \ -output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/ +output/build/uboot-xilinx-v2014.1/board/xilinx/zynq/ + +After copying these files into the U-Boot source tree, you can +continue the build with: + make +*Notice* +While the build will successfully complete without the ps7_init.* +files, the uboot.bin file generated by this configuration will not +function properly on the Zedboard. Therefore, it is imperative that +the ps7_init.* files be copied into the U-Boot source tree any time +the clean, or uboot-dirclean targets are made. + + +Resulting system +---------------- +A FAT32 partition should be created at the beggining of the SD Card +and the following files should be installed: + /boot.bin + /devicetree.dtb + /uImage + /uramdisk.image.gz + /u-boot.img + + +All needed files can be taken from output/images/ + +boot.bin, uImage and u-boot.img are direct copies of the same files +available on output/images/ + +devicetree.dtb is just zynq-zed.dtb renamed. + +uramdisk.image.gz is rootfs.cpio.uboot renamed --1.7.10.4
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Otherwise, looks good to me. Peter if you could apply this with the small grammar fix above; it would help the documentation for users of the Zedboard.
Thanks,
Spenser
Signature · 3 lines
Spenser Gilliland Computer Engineer Doctoral Candidate
Thomas Petazzoni
AppliedPATCH v2 1/1 Rewriting instructions to generate a zedboard image to be really verbose
In reply to Javier Domingo CansinoDear Javier Domingo Cansino,
Quoted 6 lines · Javier Domingo Cansino
---
Changes v1 -> v2:
- Rewrote messages as suggested by spenser--- board/avnet/zedboard/readme.txt | 62 ++++++++++++++++++++++++++++++++------- 1 file changed, 52 insertions(+), 10 deletions(-)
Thanks, applied, after fixing the grammar issue noticed by Spenser, adding your SoB line (I assumed you SoB'ed your patch since it was the case in its v1), and adjusting the commit title.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 Rewriting instructions to generate a zedboard image to be really verbose
Nice! I indeed forgot to put the -s option.
El 22/06/2014 14:08, "Thomas Petazzoni" <[email protected]> escribi?:
Quoted 15 lines
Dear Javier Domingo Cansino,
Quoted 5 lines · Javier Domingo Cansino
---
Changes v1 -> v2:
- Rewrote messages as suggested by spenser--- board/avnet/zedboard/readme.txt | 62++++++++++++++++++++++++++++++++-------
Quoted 1 line
1 file changed, 52 insertions(+), 10 deletions(-)Thanks, applied, after fixing the grammar issue noticed by Spenser, adding your SoB line (I assumed you SoB'ed your patch since it was the case in its v1), and adjusting the commit title.
Quoted 6 lines
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140622/0268d49d/attachment.html>