Bug 1215647 - [aarch64][LenovoX13s] Need to install DTB on ESP since NO ACPI support for Linux on X13s
Summary: [aarch64][LenovoX13s] Need to install DTB on ESP since NO ACPI support for Li...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: aarch64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Chester Lin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-25 03:32 UTC by Chester Lin
Modified: 2023-11-10 06:49 UTC (History)
8 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chester Lin 2023-09-25 03:32:34 UTC
Plan to submit a new package arm64laptop-firmware-dt in hardware:boot and then openSUSE:Factory, which installs sc8280xp-lenovo-thinkpad-x13s.dtb on ESP since the Lenovo X13s' ACPI doesn't support Linux and its UEFI FW has to preload the DTB file from ESP and then apply some runtime DT overlays before booting to grub2 and then Linux. Without preloading the DTB, the system wouldn't boot since the UEFI FW does not contain a default DTB.
Comment 1 Chester Lin 2023-09-25 03:35:25 UTC
(In reply to Chester Lin from comment #0)
> Plan to submit a new package arm64laptop-firmware-dt in hardware:boot and
> then openSUSE:Factory, which installs sc8280xp-lenovo-thinkpad-x13s.dtb on
> ESP since the Lenovo X13s' ACPI doesn't support Linux and its UEFI FW has to
> preload the DTB file from ESP and then apply some runtime DT overlays before
> booting to grub2 and then Linux. Without preloading the DTB, the system
> wouldn't boot since the UEFI FW does not contain a default DTB.

The SR has been created on OBS:
https://build.opensuse.org/request/show/1113342
Comment 2 Ivan Ivanov 2023-09-25 07:59:32 UTC
Do you plan to add device tree files for other laptops or this is
only for Lenovo X13s? If this just for one laptop arm64laptop sounds
to generic to me.
Comment 3 Chester Lin 2023-09-25 08:30:11 UTC
(In reply to Ivan Ivanov from comment #2)
> Do you plan to add device tree files for other laptops or this is
> only for Lenovo X13s? If this just for one laptop arm64laptop sounds
> to generic to me.

I expect that this package will cover X13s and all other laptops that need this kind of DTB installation at present or in the future. [e.g. The next gen of X13s]
Comment 4 Chester Lin 2023-09-27 05:06:23 UTC
Refresh the SR to v2 as below:

https://build.opensuse.org/request/show/1113776
Comment 5 Chester Lin 2023-10-13 07:11:39 UTC
(In reply to Chester Lin from comment #4)
> Refresh the SR to v2 as below:
> 
> https://build.opensuse.org/request/show/1113776

Ping.

Could any maintainer of hardware:boot review this SR? Thanks.
Comment 6 Chester Lin 2023-10-20 08:29:08 UTC
Refreshed to V4. [Revoked v3 due to code alignment issues]

See:
https://build.opensuse.org/request/show/1119174
Comment 7 OBSbugzilla Bot 2023-10-27 06:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1215647) was mentioned in
https://build.opensuse.org/request/show/1120666 Factory / arm64laptop-firmware-dt
Comment 8 Chester Lin 2023-10-31 05:18:26 UTC
(In reply to OBSbugzilla Bot from comment #7)
> This is an autogenerated message for OBS integration:
> This bug (1215647) was mentioned in
> https://build.opensuse.org/request/show/1120666 Factory /
> arm64laptop-firmware-dt

The arm64laptop-firmware-dt package has been accepted by the factory. The next step is to have this package in installation-images.

Hi Steffen,

I have created a PR here, could you please help to review it? Thanks.

https://github.com/openSUSE/installation-images/pull/667
Comment 9 Steffen Winterfeldt 2023-10-31 14:46:47 UTC
PR has been merged.
Comment 10 Chester Lin 2023-11-10 06:49:26 UTC
Issue closed. Thanks.