Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu Container iASL [Rebase & FF] #405

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

makubacki
Copy link
Member

Ubuntu 24.04: Update iasl 20210105.0.6 to 20230628.0.1

Updates iasl to the latest built Mu version matching the version
used in Mu ext deps.


Fix Ubuntu iasl wrong machine type

A long standing issue has been that the AARCH64 binary is copied
to /usr/bin/iasl in the x86-64 container image. This copies the
x86 binary.


Before

root@724459c0de48:/src/mu_tiano_platforms# readelf -h /usr/bin/iasl  
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           AArch64
  Version:                           0x1
  Entry point address:               0x401e08
  Start of program headers:          64 (bytes into file)
  Start of section headers:          1217552 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         8
  Size of section headers:           64 (bytes)
  Number of section headers:         36
  Section header string table index: 35

After

root@e1a9c5ffb3b3:/# readelf -h /usr/bin/iasl 
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Position-Independent Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x25b90
  Start of program headers:          64 (bytes into file)
  Start of section headers:          1449448 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         13
  Size of section headers:           64 (bytes)
  Number of section headers:         32
  Section header string table index: 31

Updates iasl to the latest built Mu version matching the version
used in Mu ext deps.

Signed-off-by: Michael Kubacki <[email protected]>
A long standing issue has been that the AARCH64 binary is copied
to /usr/bin/iasl in the x86-64 container image. This copies the
x86 binary.

Signed-off-by: Michael Kubacki <[email protected]>
@makubacki makubacki added the type:bug Something isn't working label Feb 5, 2025
@makubacki makubacki merged commit 352ed44 into microsoft:main Feb 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants