Jump to content

aashish

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by aashish

  1. Please some body help me. Thanks
  2. I want to boot petalinux with linaro on my Zybo Z7-10 board, First I tested with the tutorial : https://github.com/Digilent/Petalinux-Zybo-Z7-10 . I got the hdmi output but with wrong colors and graphics rendering. I found a post with the same issue, then I changed the block design, I did the following steps, Made a block diagram in vivado 2017.4 as given in 1.png Inside the hdmi block is in 2.png Both images attached herewith. I got this HDMI project from here (https://wiki.york.ac.uk/display/RTS/Zybo+Z7+HDMI+Output with https://github.com/RTSYork/zybo-z7-hdmi) I generated the bitstream and exported the hardware (with include bitstream selected) to get the .hdf file, I tested this design I am getting the HDMI output ok on my HDMI TV Now I goto petalinux 2017.4 and did initial settings, source /opt/pkg/petalinux/settings.sh echo $PETALINUX petalinux-util --webtalk off Created new project, and add my hardware to it, petalinux-create --type project --template zynq --name zyboz7 cd zyboz7/ petalinux-config --get-hw-description=/home/aashish/peta/LINUX/linux/linux.sdk the changes I made are, Linux Components Selection --->u-boot (ext-local-src) ---> ( ) u-boot-plnx ( ) remote (X) ext-local-src External u-boot local source settings --->(/home/aashish/peta/zyboz7/components/u-boot-digilent) EXternal u-boot local source path DTG Settings --->Kernel Bootargs --->(console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait) Auto generated bootargs (NO EDIT!) Image Packaging Configuration ---> ( ) INITRAMFS ( ) INITRD ( ) JFFS2 ( ) NFS (X) SD card ( ) other Now I build the project successfully, petalinux-build Generated the boot files, petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/design_1_wrapper.bit --u-boot Now I Format an 16GB SD card with two partitions: The first 600 MB and be FAT32 formatted. The second partition has remaining space and formatted as ext4. Copied images/linux/BOOT.BIN and images/linux/image.ub to the first partition of SD card. and linaro to the second partition of SD card, lsblk cd /media/aashish ls cd Downloads/ ls sudo tar -xzvf linaro-precise-ubuntu-desktop-20120923-436.tar.gz -C /media/aashish/1f3b4346-f0a4-444f-9e1b-86d3c6ca226e mkdir -p /tmp/linaro sudo cp linaro-precise-ubuntu-desktop-20120923-436.tar.gz /tmp/linaro/fs.tar.gz cd /tmp/linaro sudo tar zxf fs.tar.gz cd binary/boot/filesystem.dir mkdir -p /tmp/sd_ext4 sudo mount /dev/sdb2 /tmp/sd_ext4 cd /tmp/linaro/binary/boot/filesystem.dir sudo rsync –a ./ /tmp/sd_ext4 sudo rsync -a ./ /tmp/sd_ext4 sudo umount /tmp/sd_ext4 But after spending whole night at the end I got no output on my HDMI tv. I also noticed that my system-user.dtsi is empty after building my petalinux Please help me to solve this problem.
×
×
  • Create New...