Bug 15802

Summary: [QA 5.2_M3.rc1] Image not booting on Arrowlake target (ARL) genericx86-64 only
Product: [QA/Testing] Runtime Testing Reporter: Jing Hui <jing.hui.tham>
Component: oeqa/runtimeAssignee: Yogesh Tyagi <yogesh.tyagi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: anuj.mittal, bruce.ashfield, chee.yang.lee, jing.hui.tham, randy.macleod, richard.purdie, ross.burton
Version: 5.2   
Target Milestone: 5.2 M4   
Hardware: All   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Image not able to boot up. none

Description Jing Hui 2025-03-18 07:17:32 UTC

    
Comment 1 Jing Hui 2025-03-18 08:10:08 UTC
Created attachment 5108 [details]
Image not able to boot up.
Comment 2 Jing Hui 2025-03-18 10:50:03 UTC
image tested on Arrowlake platform: genericx86-64 core-image-sato-sdk
Comment 3 Ross Burton 2025-03-18 11:17:28 UTC
To save people having to download the attachment, it shows the system hanging at "Booting 'boot'".
Comment 4 Ross Burton 2025-03-18 11:23:27 UTC
Can you try booting with "debug earlycon" added to the kernel arguments please.
Comment 5 Yogesh Tyagi 2025-03-19 11:14:42 UTC
linux-yocto 6.12.13 is booting with two additional configs:

CONFIG_DRM_ACCEL=y
CONFIG_DRM_ACCEL_IVPU=m
Comment 6 Ross Burton 2025-03-20 12:44:25 UTC
Yogesh: will you be sending a patch?
Comment 7 Yogesh Tyagi 2025-03-20 20:43:08 UTC
Yes, I will be sending a patch.
Comment 8 Yogesh Tyagi 2025-03-23 21:28:25 UTC
Arrowlake is booting with latest meta (kernel 6.12.19).
Comment 10 Jing Hui 2025-04-08 07:06:30 UTC
same issue occurred on Arrowlake platform. Reopening this ticket.

Image tested on Arrowlake platform: genericx86-64 core-image-sato-sdk

Observed same behavior during boot:
System hanging at "Booting 'boot'".
Comment 11 Jing Hui 2025-04-08 07:07:11 UTC
[QA 5.2.rc1]
same issue occurred on Arrowlake platform. Reopening this ticket.

Image tested on Arrowlake platform: genericx86-64 core-image-sato-sdk

Observed same behavior during boot:
System hanging at "Booting 'boot'".
Comment 12 Yogesh Tyagi 2025-04-10 05:24:41 UTC
I previously reported that linux-yocto 6.12.19 booted on Arrow Lake, but this was inaccurate. The issue was specific to the genericx86-64 image failing to boot on Arrow Lake, whereas the intel-corei7-64 image worked without issues.

After further investigation, I found that enabling CONFIG_DMAR_TABLE (which is automatically enabled when CONFIG_INTEL_IOMMU is set) in the kernel configuration resolves the boot failure for the genericx86-64 image on Arrow Lake. 

But since CONFIG_INTEL_IOMMU has been a part of only Intel machine's configurations,  I want to do further debugging to find out where exactly the boot process is stuck. 

I tried following kernel command line options

earlycon=EARLY
early_ioremap_debug=EARLY
earlyprintk=EARLY
earlyprintk=bios

but none of them help to generate any boot logs.
Comment 13 Randy MacLeod 2025-04-10 14:46:59 UTC
Yogsesh is working on this so -> Accepted state.
Comment 14 Yogesh Tyagi 2025-04-17 16:02:18 UTC
patch is sent to mailing list

https://lists.yoctoproject.org/g/linux-yocto/message/15029
Comment 16 Jing Hui 2025-04-30 08:26:44 UTC
Tested and fixed in yocto-5.2.rc2. Image is booting up on Arrowlake.