Post Go back to editing

Kernel panic with prebuilt image on AD9081+VCK190

Category: Software
Product Number: AD9081+VCK190
Software Version: 2021_R1 + versal-2023_01_31

Carefully following the procedure described in:

https://wiki.analog.com/resources/eval/user-guides/ad9081_fmca_ebz/quickstart/versal

I wrote 2021_R1 image to the SD card, then copied BOOT.BIN, boot.scr, system.dtb, Image files from versal-2023_01_31 to the BOOT partition of the SD card.

I tried to boot AD9081+VCK190 from this SD card, but bootup failed after "Run /sbin/init as init process", the boot log is enclosed.

What did I do wrong?screen_dump_20230321_000.txt

Parents Reply Children
  • Hi  and  ,

    The problem is related to the hardware clock, that by default has a date from future and in 64bit format, but the root file system in on 32 bit and cannot read it properly. So there is a kernel panic when it tries to start the main OS process :  

     Run /sbin/init as init process

    Two workarounds are available, both being documented on Kuiper Linux Release Notes wiki page (Known issue #3):

    1. You can get into uboot menu and type 

    mw F12A0000 1717398087
      (this value is hexa of the date from Unix Converter webpage)

    2. You can etch on an SD Card a basic Kuiper image with 64bit root file system (download link), boot it and then type next in terminal:

    ''date -s "$(wget -qSO --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z" & hwclock --systohc''

    Afterwards, the VCK190 should boot fine with any SD Card Kuiper image.

    Thanks,

    Stefan.