06-22-2018 09:44 AM
Hello,
I struggle in this problem and I don't know how can I figure it out.
I installed Petalinux successfully,
then I create my project using the bsp file from Github .using this command
petalinux-create -t project -s <path to .bsp file>
my project was built successfully in my directory
I copy the 2 files boot.bin and image.ub in my sd card
but nothing display in the terminal
Im sure that my hardware configuration is good
my board is zybo -zynq 7010.
Please any help
06-22-2018 11:57 AM
did you also copy the device tree file? the .dtb file?
06-22-2018 12:08 PM
Thank you for your help
yeaah I did
there is an attachement of my sd card.
I just I wanna be sure if I download the bsp from github ,
it contains a ZYBO-Z7010 project .I dont need to create a new project right?
I just copy the files of the project
06-22-2018 12:15 PM
normally an SD card has 2 partitions.. a FAT32 (W95) formatted partition named "boot" with type 0xB of about 100 to 200 Mbytes as the first partition, and an EXT4 formatted partition named "rootfs" as the second (usually multiple GBytes).
your boot files and linux image go in the first partition, and your linux file system goes in the 2nd partition. Is this how you have it set up?
06-22-2018 01:19 PM
I cant thank you enough for your help
but this is my first time I work on sd Card
how can I resolve this problem ?
I dont know if I put all files in two differents partition,I just copy all files and put it in sd card
06-24-2018 11:08 PM
06-25-2018 04:40 PM
DId you actually run a bare-metal "hello world" test to make sure you have the serial port setup correctly on your PC?
Every Petalinux BSP I've come across by default uses a ramdisk for the rootfs, and a FIT image to package up the kernel + initramfs + device tree. So unless you changed the rootfs to something other than initramfs, you should be able to boot with boot.bin and image.ub (the FIT image) in the FAT partition. That said, I'm not familiar with the Zybo BSP, so you'll need to take a look in the configuration GUI and see how it's setup.
Another thing you should try first is to load the pre-built images packaged in the BSP. Once you see those working, then you know your hardware is good, and the serial port is operational.
Regards,
Terry
07-02-2018 06:17 PM
To be honest I didnt underestand what are you explain.
I'm sorry can you explain more please because.
I didnt found a solution and I didnt unterstand what happen exactly but when I short the two pin QSPI I see linux booting in the terminal as shown in attachement.
but When I SHORT the pin labeled SD nothing happened.
i FOLLOW it also this link https://www.youtube.com/watch?v=FMCfn0zwhaQ to copy the files on sd card but nothing happened.
in this link there is a file Env .txt did have any relation ?
07-03-2018 02:16 AM
Details of how to create the two partitions on the SD Card can be found here:
http://www.wiki.xilinx.com/Prepare%20Boot%20Medium
I'm new to PetaLinux myself but from the examples I've been working with formatting the SD Card as described in the link seems to be a requirement. This link really needs to be included in the example design documentation.
In the instructions it allocates 200MB for the boot partition:
Last sector, +sectors or +size{K,M,G} (2048-15759359, default 15759359): +200M
One of the pre-built examples required more space in the boot partition. So if you have a large enough SD Card (8G or more) then I would make the boot partition 1GB. So in the example above where they have entered '+200M' as the size enter '+1G' instead. Use the default value for the root partition and it will be sized to use the remaining space on the SD Card.
07-14-2019 11:54 PM
Hi don't worry I will help you. first please follow the following link.
11-29-2019 12:04 PM
hi
i have this problem too
what is interesting is that i tried install petalinux on zturn board before
(using BOOT.bin & image.ub) and it worked!!
but now in zybo i can't fix the problem!