From 2cbb47c84c876aff2ff548c204486dfd11cba3c7 Mon Sep 17 00:00:00 2001 From: "joachim.schmidt" <joachim.schmidt@hesge.ch> Date: Tue, 16 Feb 2021 08:34:58 +0100 Subject: [PATCH] Modification of the README.md file --- README.md | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 57b8d52..5c67a7c 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ In my case **\<path-to-hw\>** corresponds to /home/jo/Documents/Projets/Hepia/sc ### Build the PetaLinux project ``` +$ petalinux-build -x mrproper -f $ petalinux-build ``` @@ -197,15 +198,15 @@ If you use several JTAG probes. ``` $ program_flash -jtagtarget -JTAG chain configuration --------------------------------------------------- -1 Digilent 210299AFC175 - 2 jsn-JTAG-HS3-210299AFC175-4ba00477-0 (name arm_dap idcode 4ba00477) - 3 jsn-JTAG-HS3-210299AFC175-0373b093-0 (name xc7z015 idcode 0373b093) -4 Xilinx 00001a3719fe01 - 5 jsn-DLC10-00001a3719fe01-4ba00477-0 (name arm_dap idcode 4ba00477) - 6 jsn-DLC10-00001a3719fe01-0373b093-0 (name xc7z015 idcode 0373b093) - +> JTAG chain configuration +> -------------------------------------------------- +> 1 Digilent 210299AFC175 +> 2 jsn-JTAG-HS3-210299AFC175-4ba00477-0 (name arm_dap idcode 4ba00477) +> 3 jsn-JTAG-HS3-210299AFC175-0373b093-0 (name xc7z015 idcode 0373b093) +> 4 Xilinx 00001a3719fe01 +> 5 jsn-DLC10-00001a3719fe01-4ba00477-0 (name arm_dap idcode 4ba00477) +> 6 jsn-DLC10-00001a3719fe01-0373b093-0 (name xc7z015 idcode 0373b093) + $ program_flash -f images/linux/BOOT.BIN -offset 0 -flash_type qspi-x4-single -fsbl images/linux/zynq_fsbl.elf -target_id 2 -url TCP:127.0.0.1:3121 $ program_flash -f images/linux/BOOT.BIN -offset 0 -flash_type qspi-x4-single -fsbl images/linux/zynq_fsbl.elf -target_id 5 -url TCP:127.0.0.1:3121 @@ -216,14 +217,14 @@ The **image.ub** file corresponds to the image of the Linux kernel, the device t The image content can be viewed using the **dumpimage** command. ``` -/tools/u-boot-tools/dumpimage -l image.ub +$ /tools/u-boot-tools/dumpimage -l image.ub ``` In my case, I copied the tools produced by U-Boot into the **/tools/u-boot-tools/** folder. ## HOWTO -### Howto create a patch for U-Boot ? +### Howto create a patch for U-Boot Retrieve the desired version of the U-Boot GIT deposit. @@ -262,3 +263,7 @@ $ git apply u-boot-scalp-sja1105.patch ``` And that's it. + +### Howto create a new BSP + +TODO -- GitLab