Bug 1153301

Summary: DTB builds need dtc >= 1.5.x in Leap 15.2 and SLE15 SP2 kernels for ARM
Product: [openSUSE] openSUSE Distribution Reporter: Guillaume GARDET <guillaume.gardet>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: afaerber, aherzig, dmueller, fcrozat, guillaume.gardet, josef.moellers, lnussel, mbrugger, mkubecek
Version: Leap 15.2   
Target Milestone: ---   
Hardware: aarch64   
OS: Linux   
URL: https://jira.suse.com/browse/PM-1411
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1151463    

Description Guillaume GARDET 2019-10-08 09:25:31 UTC
DTB builds are disabled in Leap 15.2 kernels for ARM which breaks lots of ARM systems: all except Raspberry Pi and UEFI systems.

A patch has already been sent to re-enable it, but was not applied: https://lists.opensuse.org/opensuse-kernel/2019-09/msg00027.html
Comment 1 Guillaume GARDET 2019-10-08 10:49:08 UTC
DTC package should be updated to 1.5.x (currently at 1.4.4 in Leap 15.2).
And DTC comes from SLE, so the update must be handled on SLE side.
Comment 2 Dirk Mueller 2019-10-08 12:07:16 UTC
yep, confirmed, 1.4.x is not enough.


[  107s] + dtc -R 4 -p 0x1000 -@ -I dts -O dtb -i ./allwinner -o /home/abuild/rpmbuild/BUILD/dtb-aarch64-5.3.2/pp/allwinner/sun50i-a64-amarula-relic.dtb /home/abuild/rpmbuild/BUILD/dtb-aarch64-5.3.2/pp/allwinner/sun50i-a64-amarula-relic.dts
[  107s] Error: /home/abuild/rpmbuild/BUILD/dtb-aarch64-5.3.2/pp/allwinner/sun50i-a64-amarula-relic.dts:478.4-5 syntax error
[  107s] FATAL ERROR: Unable to parse input tree
[  107s] error: Bad exit status from /var/tmp/rpm-tmp.ugg9in (%build)
Comment 4 Dirk Mueller 2019-10-08 12:46:14 UTC
Submitted as update to SLE15SP2 after talking to Josef
Comment 5 Swamp Workflow Management 2019-10-08 12:50:07 UTC
This is an autogenerated message for OBS integration:
This bug (1153301) was mentioned in
https://build.opensuse.org/request/show/736086 Factory / dtc
Comment 9 Michal Kubeček 2019-10-14 12:02:38 UTC
Please let me know once upgraded dtc reaches openSUSE:Leap:15.2 so that I can
enable DTB builds in openSUSE-15.2 kernel branch.
Comment 10 Guillaume GARDET 2019-10-17 11:53:23 UTC
(In reply to Michal Kubeček from comment #9)
> Please let me know once upgraded dtc reaches openSUSE:Leap:15.2 so that I can
> enable DTB builds in openSUSE-15.2 kernel branch.

DTC update landed in Leap 15.2 today. 

@Michal, you can now enable DTB builds in openSUSE-15.2 kernel branch.
Comment 11 Michal Kubeček 2019-10-18 06:44:55 UTC
Reenabled DTB builds in openSUSE-15.2 branch. I probably missed the daily OBS
snapshot (by 1 minute) so that it's not going to get into Kernel:openSUSE-15.2
OBS project until tomorrow. I'm going to submit a new kernel with DTB enabled
into openSUSE:Leap:15.2 once SR#737241 is accepted.
Comment 12 Guillaume GARDET 2019-10-24 10:29:28 UTC
(In reply to Michal Kubeček from comment #11)
> Reenabled DTB builds in openSUSE-15.2 branch. I probably missed the daily OBS
> snapshot (by 1 minute) so that it's not going to get into
> Kernel:openSUSE-15.2
> OBS project until tomorrow. I'm going to submit a new kernel with DTB enabled
> into openSUSE:Leap:15.2 once SR#737241 is accepted.

SR has been accepted, could you submit the new SR, please?
Comment 13 Michal Kubeček 2019-10-24 20:25:16 UTC
(In reply to Guillaume GARDET from comment #12)
> (In reply to Michal Kubeček from comment #11)
> > Reenabled DTB builds in openSUSE-15.2 branch. I probably missed the daily OBS
> > snapshot (by 1 minute) so that it's not going to get into
> > Kernel:openSUSE-15.2
> > OBS project until tomorrow. I'm going to submit a new kernel with DTB enabled
> > into openSUSE:Leap:15.2 once SR#737241 is accepted.
> 
> SR has been accepted, could you submit the new SR, please?

Submitted SR#742724 with DTB builds enabled.
Comment 14 Guillaume GARDET 2019-10-28 12:49:48 UTC
DTBs are now built in Leap:15.2:ARM.