cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
krunal704
Observer
Observer
626 Views
Registered: ‎02-12-2018

Bootlogs stuck after in between while linux os porting on custom board

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

Bootlogs:

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

0 Kudos
6 Replies
baltintop
Voyager
Voyager
604 Views
Registered: ‎06-28-2018

Hi @krunal704 

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?

0 Kudos
krunal704
Observer
Observer
574 Views
Registered: ‎02-12-2018

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
0 Kudos
watari
Teacher
Teacher
512 Views
Registered: ‎06-16-2013

Hi @krunal704 

 

Would you share the following result on linux ?

 

fdisk -l <your SD card's device name>

 

ex)

sudo fdisk -l /dev/sdb

 

Best regards,

0 Kudos
krunal704
Observer
Observer
435 Views
Registered: ‎02-12-2018

@watari 

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

 

0 Kudos
baltintop
Voyager
Voyager
425 Views
Registered: ‎06-28-2018

Hi @krunal704 

Can you try booting your system from an SD card with a higher capacity (16/32GB)?

0 Kudos
krunal704
Observer
Observer
398 Views
Registered: ‎02-12-2018

@baltintop Thanks for your reply

As you have suggested, I have tried with 16 GB and 32 GB SD card but still no luck

0 Kudos