01-30-2020 10:21 PM
I have my custom board using SoC xc7z045. I want to build linux kernel for this custom board.
I have created block design using Zynq IP and updated values as per my custom board. After that i have generated .hdf and .bit (bitstream) file for the project and build the linux kernel using petalinux tool
I am getting bootlogs on UART but it stuck after line DRAM: ECC disabled 1 GiB
U-boot 2018.01 <Jul 12 2019 - 13:27:58 +0000> Xilinx Zynq ZC702
Board: Xilinx Zynq Silicon: v3.1 DRAM: ECC disabled 1GiB
I am not getting any logs after this. I am not sure what is cause of this
01-31-2020 12:20 AM
Are you booting via JTAG or SD card?
If you're using SD card which files did you copy to the FAT32 partition?
Is this the full boot log, if not can you share the rest?
Did you change MACHINE_NAME in petalinux-config -> DTG Settings? What did you type there?
Did you make any changes to system-user.dtsi or kernel bootargs?
01-31-2020 05:40 AM
Thanks for your reply
I am using SD Card method, and i copied all the contents of ./images/linux/ directory to BOOT (fat32) partition.
I am not getting boot logs after this and I haven't changes MACHINE NAME and not even in system-user.dtsi or kernel boot args
default kernel bootargs is mentioned below:
console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait
02-02-2020 02:10 PM
02-18-2020 03:42 AM - edited 02-18-2020 03:42 AM
Here is the output of fdisk -l /dev/sdb
Disk /dev/sdb: 7.4 GiB, 7892631552 bytes, 15415296 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc43ccbf8 Device Boot Start End Sectors Size Id Type /dev/sdb1 8192 1056767 1048576 512M b W95 FAT32 /dev/sdb2 1056768 15415295 14358528 6.9G 83 Linux
I have also tried to boot with jtag using petalinux but still does not work
petalinux-boot --jtag --u-boot --fpga
02-18-2020 04:10 AM
02-18-2020 09:27 PM - edited 02-18-2020 09:28 PM