Jump to content

vinod

Members
  • Posts

    5
  • Joined

  • Last visited

vinod's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. problem : QSPI: Trying to boot script at 3000000 -> ## Executing script at 03000000 -> Wrong image format for "source" command -> QSPI: SCRIPT FAILED: continuing... Good evening i am working on Zybo_Z7_10 board, presently i am booting the QSPI boot on the board. Actually my QSPI flash memory size is 16MB, so i am included fsbl, u-boot in BOOT.BIN so my project procedure is 1. created .xsa file without including bitstream(fpga) using vivado 2022.2 on petalinux 2022.2 version 2. using .xsa file created a preoject in petalinux and build that project and generated the images 3. using these images created BOOT.BIN and not included bitstream file 4. after generating BOOT.BIN, i flash BOOT.BIN and fsbl in to the board using vivado 2022.2 5. once program is successfully done, i change the board jumper from jtag to qspi boot mode and powered on and opened minicom on the linux terminal and its bootingsuccessfully 6. but here problem is occured , that is SF: Detected s25fl128s with page size 256 Bytes, erase size 64 KiB, total 16 MiB device 0 offset 0x9c0000, size 0x40000 SF: 262144 bytes @ 0x9c0000 Read: OK QSPI: Trying to boot script at 3000000 ## Executing script at 03000000 Wrong image format for "source" command QSPI: SCRIPT FAILED: continuing.. 7. from the above text : its showing : QSPI: Trying to boot script at 3000000 ## Executing script at 03000000 Wrong image format for "source" command QSPI: SCRIPT FAILED: continuing... 8. actually i have done the partitions with suitable values only in -> Subsystem AUTO Hardware Settings → Flash Settings -> Primary Flash (ps7_qspi_0) ---> [ ] Advanced Flash Auto Configuration *** partition 0 *** (qspi-boot) name (0x790000) size *** partition 1 *** (qspi-kernel) name (0xF80000) size *** partition 2 *** (qspi-bootenv) name (0xFA0000) size *** partition 3 *** () name 9. In : u-boot Configuration → u-boot script configuration → QSPI/OSPI image offset (0xA00000) QSPI/OSPI Kernel offset (0x36680) QSPI/OSPI Kernel size (0x1000000) QSPI/OSPI Ramdisk offset (0x880000) QSPI/OSPI Ramdisk size (0xA80000) QSPI/OSPI fit image offset (0x7E6680) QSPI/OSPI fit image size 10. I did the following settings in primary flash and QSPI image offsets . 11. But my problem is not booting the kernel, and its showing : ## Executing script at 03000000 Wrong image format for "source" command QSPI: SCRIPT FAILED: continuing... 12. what can i do and where can i do changes not getting 13. as my knowledge : there is problrm in -> a. image offsets , b. boot script at 3000000, c. bootenv address settings 14. what shoul i do, if any past projects please sendme . expecting answer as soon as possible thank you
  2. I am trying to generate the BOOT.BIN image for QSPI flash in to zybo z7 10 board , by using the following command and i have the following images 1. image.ub - 7.7MB, 2. u-boot.elf - 7MB, 3. zynq_fsbl.elf - 452kb, 4.boot.scr - 2.8kb, 5. system.dtb - 18.8kb. $ petalinux-package --boot --format BIN --fsbl /home/vinod/workspace/zybo1/images/linux/zynq_fsbl.elf --u-boot --kernel While i am running the above command, ia ma getting the INFO: Getting system flash information... INFO: File in BOOT BIN: "/home/vinod/workspace/zybo1/images/linux/zynq_fsbl.elf" INFO: File in BOOT BIN: "/home/vinod/workspace/zybo1/images/linux/u-boot.elf" INFO: File in BOOT BIN: "/home/vinod/workspace/zybo1/images/linux/system.dtb" INFO: File in BOOT BIN: "/home/vinod/workspace/zybo1/images/linux/boot.scr" INFO: File in BOOT BIN: "/home/vinod/workspace/zybo1/images/linux/image.ub" INFO: Generating zynq binary package BOOT.BIN... ****** Xilinx Bootgen v2022.1 **** Build date : Mar 30 2022-09:29:13 ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved. [ERROR] : Section image.ub.0 offset of 0x7E0000 overlaps with prior section end address of 9C0B00 ERROR: Fail to create BOOT image * My QSPI/OSPI image offsets are as followed (0xA00000) QSPI/OSPI Kernel offset (0x600000) QSPI/OSPI Kernel size (0x1000000) QSPI/OSPI Ramdisk offset (0xF80000) QSPI/OSPI Ramdisk size (0xA80000) QSPI/OSPI fit image offset (0x1500000) QSPI/OSPI fit image size * What will be the offset settings please help me *
  3. Good morning sir, thank you for your response and quick answer to my question, but i need some more help from you, actually i know how to boot from SD card and JTAG, i don't exactly to boot from qspi only, i am working on it, but due to less size of qspi flash memory o the board and more sizes of image.ub and BOOT.BIN files, so that i cant able to boot with qspi. So if its possible please help to do the following things 1. Can you please give me the complete procedure to boot with qspi and how to reduce the kernel , root file system files sizes while building those, actually i have read what ever you put the links but i can't able to do those modifications in the hardware settings of root file system and kernel images. if possible which i have to disable in both the images for reducing their sizes. 2. I have read the document which you have in the previous question's answer but i cant able to reduce , so can you please help me to reducing steps and which settings i need to change in the given screenshots. 3. For zybo-z7-10 board, is it possible to boot with only qspi ? If yes please give exact procedure and settings to built the boot images in the petalinux 2019.1, ubuntu 20.04.4, vivado 2022.2 platforms. 4. Is there any possibility to boot with both QSPI and SD at a time? if It's yes, please provide me proper procedure/documents/links to do shortly. ** I have enabled QSPI,SD0, UART and Ethernet0 in vivado design and remaining are not selected. i am trying to generate qspi boot images only Hope you got my problem and expecting soon and suitable answer from you. Than you
  4. Good morning sir, thank you for your response and quick answer to my question, but i need some more help from you, actually i know how to boot from SD card and JTAG, i don't exactly to boot from qspi only, i am working on it, but due to less size of qspi flash memory o the board and more sizes of image.ub and BOOT.BIN files, so that i cant able to boot with qspi. So if its possible please help to do the following things 1. Can you please give me the complete procedure to boot with qspi and how to reduce the kernel , root file system files sizes while building those, actually i have read what ever you put the links but i can't able to do those modifications in the hardware settings of root file system and kernel images. if possible which i have to disable in both the images for reducing their sizes. 2. I have read the document which you have in the previous question's answer but i cant able to reduce , so can you please help me to reducing steps and which settings i need to change in the given screenshots. 3. For zybo-z7-10 board, is it possible to boot with only qspi ? If yes please give exact procedure and settings to built the boot images in the petalinux 2019.1, ubuntu 20.04.4, vivado 2022.2 platforms. 4. Is there any possibility to boot with both QSPI and SD at a time? if It's yes, please provide me proper procedure/documents/links to do shortly. Hope you got my problem and expecting soon and suitable answer from you. Than you Some screenshots in spoiler below
  5. Good afternoon, i am working on zybo-z7-10 board (working on QSPI flash) , actually i am using Zybo-Z7-10-Petalinux-2022-1.bsp project, after successfully building my project it generated all images @ $/home/vinod/workspace/os/images/linux/, in that directory i have generated BOOT.BIN image . Not to do the QSPI flash in the board , i need to copy BOOT.BIN (2.1 MB) and image.ub (78.6 MB) at least, but my on board qspi size is 16MB only, so to do qspi flash it's not possible, so what i have to do ? please help me if anyone done on this. * Actually i tried without including bitsream (system.bit) file through Vivado, even though i am getting image.ub(16.8 MB) and BOOT.BIN (1.1 MB). so what can i do for this * there is one ideas inside me : 1. booting BOOT.BIN using qspi and image.ub using SD card --> is it possible? if yes please give me step by step procedure * present i am using : 1. ubuntu 20.04.4, 2. petalinux 2019.1, 3. Zybo-Z7-10-Petalinux-2022-1.bsp project, 4. Vivado 2022.2 * I need to complete this one within a week , if anyone please respond thank you BOOT.BIN
×
×
  • Create New...