analogdevicesinc / gmsl

Gigabit Multimedia Serial Link (GMSL) technology from Analog Devices, Inc. (ADI)
9 stars 3 forks source link

Detailed instructions for boot image generation method for kv260 #1

Open sfuji555 opened 7 months ago

sfuji555 commented 7 months ago

I followed the recently added ADI kernel build instructions and tried to boot from the SD card, but could not boot properly due to a kernel panic. It seemed that the root file system was not mounted properly.

https://github.com/analogdevicesinc/linux/blob/gmsl/xilinx_v6.1_LTS/README-GMSL.md

I assume that there is a crucial mistake in the process of creating the SD card image, which is not described in the specific procedure.

The reference link to the ADI Wiki describes how to create an SD card image in MPSOC, but I am not sure what to do with the KV260, which has a different boot method.

https://wiki.analog.com/resources/tools-software/linux-build/generic/zynqmp

Could you please tell us all the steps we need to take to quickly begin evaluating boards?

Thank you.

btogorean commented 7 months ago

Hi, Depending on your bootloader and KV260 u-boot configuration it may select the boot device different. KV260 is hardware configured to boot from QSPI and we modified that on our boards to force it to boot from SD card. It requires soldering some very small resistors on the KV260 carrier. We followed this: Kria resistor boot selection

You can try to do the same on your side or maybe contact Xilinx to see if there is a better option.