Git Product home page Git Product logo

arm-enterprise-acs's People

Contributors

bhaskarabudiredla avatar ccx-stingray avatar edhay avatar gowthamsiddarthd avatar lokeshbv avatar mahesh-bireddy avatar prasanth-pulla avatar rajatgoyal47 avatar ramymdsc avatar sakar-arora avatar sujana-m avatar swapnamanohar24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arm-enterprise-acs's Issues

fix m4 build with newer host glibc

Trying to build enterprise-acs on current Debian Buster fails with:

| make[3]: Entering directory '/work/git/ARM/arm-enterprise-acs/luv/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
| gcc   -I. -I../../m4-1.4.18/lib   -isystem/work/git/ARM/arm-enterprise-acs/luv/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/work/git/ARM/arm-enterprise-acs/luv/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o freadahead.o ../../m4-1.4.18/lib/freadahead.c
| gcc   -I. -I../../m4-1.4.18/lib   -isystem/work/git/ARM/arm-enterprise-acs/luv/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/work/git/ARM/arm-enterprise-acs/luv/build/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o fseeko.o ../../m4-1.4.18/lib/fseeko.c
| ../../m4-1.4.18/lib/fseeko.c: In function ‘rpl_fseeko’:
| ../../m4-1.4.18/lib/fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
|    #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
|     ^~~~~
| ../../m4-1.4.18/lib/freadahead.c: In function ‘freadahead’:
| ../../m4-1.4.18/lib/freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
|   #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
|    ^~~~~
| make[3]: *** [Makefile:1915: fseeko.o] Error 1

A patch exists upstream in:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/m4?h=thud&id=95ca077ab871ceff46c2052f324f879a1d624ff4

ERROR: Nothing RPROVIDES 'sbsa-acs-drv'

I see an error when building ACS from master branch. Please help to check. Failed to compile luv-live-image bellow logs:

arm-enterprise-acs/luv/build$ bitbake luv-live-image
Loading cache: 100% |###########################################################################################################################| Time: 0:00:00
Loaded 2098 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################| Time: 0:00:01
Parsing of 1476 .bb files complete (1472 cached, 4 parsed). 2103 targets, 125 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'sbsa-acs-drv' (but /home/arm-enterprise-acs/luv/meta-luv/recipes-core/images/core-image-efi-initramfs.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'sbsa-acs-drv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['sbsa-acs-drv']
ERROR: Required build target 'luv-live-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['luv-live-image', 'core-image-efi-initramfs', 'sbsa-acs-drv']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
arm-enterprise-acs/luv/build$

Also same error when I do command arm-enterprise-acs$ luvos/scripts/build.sh

Build Configuration:

BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "qemuarm64"
DISTRO = "luv"
DISTRO_VERSION = "2.3"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp
meta-luv
meta-oe = "heads/v2.3:a108c20590116f6504cc6271267226b4dc454f8a"

--Regards,

Can not build "luv-live-image" due to missing ".//pcie/test_p004.c"

Hi ,

I tried to build the img from master branch, but faced issue:

ERROR: sbsa-acs-test-1.0-r0 do_compile: oe_runmake failed
ERROR: sbsa-acs-test-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/temp/log.do_compile.32027)
ERROR: Logfile of failure stored in: /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/temp/log.do_compile.32027
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 32 KERNEL_SRC=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source KERNEL_PATH=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source KERNEL_VERSION=4.18.0-luv CC=aarch64-oe-linux-gcc   -fuse-ld=bfd -fdebug-prefix-map=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0=/usr/src/debug/sbsa-acs-test/1.0-r0 -fdebug-prefix-map=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/recipe-sysroot-native=  -fdebug-prefix-map=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source=/usr/src/kernel LD=aarch64-oe-linux-ld.bfd   AR=aarch64-oe-linux-ar  O=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
| echo "Kernel source is set to /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source"
| Kernel source is set to /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source
| make -C /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source M=/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0 modules
| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[1]: Entering directory '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source'
| make[2]: Entering directory '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-build-artifacts'
| make[3]: *** No rule to make target '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/.//pcie/test_p004.o', needed by '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/sbsa_acs_test.o'.  Stop.
| /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source/Makefile:1500: recipe for target '_module_/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0' failed
| make[2]: *** [_module_/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0] Error 2
| make[2]: Leaving directory '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-build-artifacts'
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| make[1]: Leaving directory '/home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work-shared/qemuarm64/kernel-source'
| Makefile:46: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/nluu/acs_tmp/arm-enterprise-acs/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-test/1.0-r0/temp/log.do_compile.32027)

I checked sbsa-acs repo and see "test_pool/pcie/test_p004.c" was deleted (commit a93bdf1ce1ee0ea508f4eadd9067ce8ac7a8e45f )

Thanks,

Publish new release?

Almost year passed since last binary release. Building of sbsa-acs requires some edk2 patching etc so people avoid doing it.

Do a release.

SetWakeupTime_Func problematic time format

Hi, I am facing an issue with SetWakeupTime_Func, which afaik seems to be present like forever (I played with early versions of ACS in 2018).

  1. The test output looks following:
  Remaining test cases: 74
  Runtime services test: SetWakeupTime_Func
  Iterations: 1/1
ASSERT [RealTimeClock] /home/mw/git/edk2-workspace/edk2/EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.c(94): JulianDate >= 2440588
  1. The assert is hit in generic EfiTimeToEpoch code:
EFI_STATUS
EFIAPI
LibSetWakeupTime (
  IN BOOLEAN      Enabled,
  OUT EFI_TIME    *Time
  )
{
  UINTN       WakeupSeconds;

  // Convert time to raw seconds
  WakeupSeconds = EfiTimeToEpoch (Time);
  if (WakeupSeconds > MAX_UINT32) {
    return EFI_INVALID_PARAMETER;
  }
  1. All other platforms in Tianocore edk2/edk2-platforms return EFI_UNSUPPORTED in LibSetWakeupTime/LibGetWakeupTime so nothing to compare to.

  2. From assert we can see the time passed is lower than 1.1.1970 -> does it mean the test passes a relative time? If yes, is that correct (UEFI spec 2.8, chapter 8.3 does not clarify it)? In such case the HW that uses counters with Unix Epoch format won't be able to use EfiTime Epoch helpers from generic edk2 code, but do the arithmetic on its own (FYI, when implementing I tested wakeup callbacks from Linux and afair it worked fine...).

Thanks,
Marcin

Testing stops at "ResetSystem Shutdown Test"

I am testing QEMU SBSA reference platform. We have reboot working now so Arm Enterprise ACS test suite is our next step.

But looks like there is no way to pass "ResetSystem Shutdown Test":

UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
      FS0: Alias(s):HD0a65535a1:;BLK1:
          VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000010600000000000)/Sata(0x
0,0xFFFF,0x0)/HD(1,GPT,DCC994A8-3772-4BF4-9936-D237B349809B,0x800,0x40000)
      FS1: Alias(s):HD0a65535a2:;BLK2:
          VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000010600000000000)/Sata(0x
0,0xFFFF,0x0)/HD(2,GPT,DF6F6C02-B43E-4809-8DB0-36633A94248A,0x40800,0x47000)
     BLK3: Alias(s):
          VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00)
     BLK0: Alias(s):
          VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000010600000000000)/Sata(0x
0,0xFFFF,0x0)
Press ESC in 4 seconds to skip startup.nsh or any other key to continue.
Shell> echo -off
SCT tests continue...
Press any key to stop the EFI SCT running
Load support files ... seconds 
Load proxy files ...
Load test files ...
Continue test preparing...
  Remained test cases: 68
  Runtime services test: ResetSystem Shutdown Test
  Iterations: 1/1
System will shut down (or cold reset) after 1 second...17:12 (s) hrw@puchatek:sbsa-qemu$ ```

After each machine restart it goes with same test over and over again.

Any suggestions?

Build fails with message "ERROR: Nothing PROVIDES 'sbbr'" when building ACS from master branch

Hi,
I'm trying build asc img from master branch. Please help check following:

  • Commands are used to setup and build the package:
    ./acs_sync.sh
    ./luvos/scripts/build.sh

  • Build Output

Building LuvOS Image with SBBR and SBSA for AARCH64 ...

Default kernel command line parameters: 'systemd.log_target=null plymouth.ignore-serial-consoles debug ip=dhcp log_buf_len=1M efi=debug acpi=on crashkernel=256M earlycon uefi_debug'
Append parameters (press Enter for default):
Building all modules
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:05
Parsing of 814 .bb files complete (0 cached, 814 parsed). 1282 targets, 44 skipped, 0 masked, 0 errors.
ERROR: Nothing PROVIDES 'sbbr'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'sbsa'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'sdei'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 1282 entries from dependency cache.
ERROR: Nothing PROVIDES 'luv-live-image'

Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Build failed..

I checked the bblayers.conf in ./luv/build/conf:

~/arm-enterprise-acs/luv/build$ cat conf/bblayers.conf
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/nluu/arm-enterprise-acs/luv/meta \
  /home/nluu/arm-enterprise-acs/luv/meta-poky \
  /home/nluu/arm-enterprise-acs/luv/meta-yocto-bsp \
  "

So, it seems missing meta-luv,meta-oe, right?

Regards,
Nhan

Some warnings when building ACS from master branch

I see the following warnings when building ACS from master branch. Please help to check.

Warning 1:

Default kernel command line parameters: 'systemd.log_target=null plymouth.ignore-serial-consoles debug ip=dhcp log_buf_len=1M efi=debug acpi=on crashkernel=256M earlycon uefi_debug'
Append parameters (press Enter for default):
Building all modules
WARNING: /home/npham/temp/build-acs/arm-enterprise-acs/luv/meta-luv/recipes-core/sdei-acs-val/sdei-acs-val_0.1.bb: Getting checksum for sdei-acs-val SRC_URI entry : file not found except in DL_DIR:00:17
WARNING: /home/npham/temp/build-acs/arm-enterprise-acs/luv/meta-luv/recipes-kernel/linux/linux-luv_4.18.bb: Unable to get checksum for linux-luv SRC_URI entry 0001-Enterprise-acs-linux-v4.18.patch: file could not be found
Parsing recipes: 100% |####################################################################################################################################################################| Time: 0:00:35
Parsing of 1476 .bb files complete (0 cached, 1476 parsed). 2103 targets, 125 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Warning 2:

WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL https://fossies.org/linux/misc/popt-1.16.tar.gz, attempting MIRRORS if available

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-oe-linux"
MACHINE = "qemuarm64"
DISTRO = "luv"
DISTRO_VERSION = "2.3"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""

MPAM - Broken embedded link

Version: v20.08_REL2.5
Affected File: arm-enterprise-acs/mpam/README.md

Description: under Release details, the Scenario Document embedded link is broken.
Solution: amend link to point to Arm_MPAM_ACS_Scenario_Document.pdf instead of Mpam_ACS_Scenario_document.pdf.

SBSA/SBBA linux tests has different test cases with LuvOS

During performing tests I noticed that there is a difference between Linux test launch from sbsa/sbbr grub option and LuvOS.
I use: luv-live-image-gpt_v20.08_REL2.5.img

For examaple:
grub.cfg: luv -> luv_tests=${LUV_TESTS},
where luv.cfg:"set LUV_TESTS='efivarfs-test,fwts,kernel-efi-warnings,pstore-tests,'"

but in startup.nsh -> luv_tests=fwts

No simple way to fetch images

~ $ cd arm-enterprise-acs-20.03_REL2.4/prebuilt_images/v20.03_REL2.4/
v20.03_REL2.4 $ ls -l
razem 8
-rw-rw-r--. 1 hrw hrw 134 03-27 06:44 luv-live-image-gpt.img
-rw-rw-r--. 1 hrw hrw 134 03-27 06:44 PXEBOOT.tar.gz

Readme says "use git lfs pull"...

v20.03_REL2.4 $ git lfs pull
Not in a git repository.

So I cloned git repo. Started "git lfs pull" and got nothing.

I prefer to fetch prebuilt image rather than spending time on getting it build on some ancient ubuntu version. But looks like someone decided to not make it possible.

There are some issues about booting LuvOS .

Booting under the UEFI shell ,it goes into grub and print "error:no such device((hd0)/efi/boot)/EFI/BOOT/grub.cfg".Then set root =(hd0,gpt1,gpt2) and config the grub configuration file manually ,it can continue to boot ,but it is halted before going into linux shell.

Log:

FS3:\efi\boot> ls
Directory of: FS3:\efi\boot
12/14/2017 20:18

2,048 .
12/14/2017 20:18 2,048 ..
12/14/2017 20:18 25,997 blue-luv.jpg
12/14/2017 20:18 2,048 sbsa
12/14/2017 20:18 495 startup.nsh
12/14/2017 20:18 409 grub.cfg
12/14/2017 20:18 2,048 sbbr
12/14/2017 20:18 827,456 Shell.efi
12/14/2017 20:18 929,280 bootaa64.efi
5 File(s) 1,783,637 bytes
4 Dir(s)
FS3:\efi\boot> bootaa64.efi
Welcome to GRUB!

error: no such device: ((hd0)/efi/boot)/EFI/BOOT/grub.cfg.
GNU GRUB version 2.02~beta3

Minimal BASH-like line editing is supported. For the first word, TAB

lists possible command completions. Anywhere else TAB lists possible

device or file completions.

grub> ls

(hd0) (hd0,gpt1,gpt2) (hd0,gpt1,gpt1) (hd0,gpt1) (hd1) (hd1,msdos4)

(hd1,msdos3) (hd1,msdos2) (hd1,msdos1) (hd2) (hd2,gpt3) (hd2,gpt2) (hd2,gpt1)

(hd3) (hd3,gpt5) (hd3,gpt4) (hd3,gpt3) (hd3,gpt2) (hd3,gpt1) (hd4)

grub> ls(hd0)

error: can't find command `ls(hd0)'.

grub> ls (hd0,gpt1,gpt1)/

sbsa_results/
grub> ls (hd2,gpt1)/

tables/ dsdt efi/ DSDT.dsl results.log d05-capsule-origin.Cap

d05-capsule-chver.Cap CapsuleApp.efi acpica-tools-20171110-1.fc28.aarch64.rpm

dmidecode-3.0-2.aarch64.rpm d03-capsule-chver.Cap d03-capsule-origin.Cap initrd

sbsa_acs.ko sbsa filesystem-le_zlw.cpio.gz initrd-linaro

grub> ls (hd0,gpt1,gpt2)/

efi/ luv.cfg vmlinuz initrd

grub> set root=(hd0,gpt1,gpt2)
grub> linux /vmlinuz systemd.log_target=null plymouth.ignore-serial-consoles de
bug crashkernel=512M,high log_buf_len=1M efi=debug acpi=on crashkernel=256M early
con uefi_debug console=ttyAMA0 luv_netconsole=${LUV_NETCONSOLE} luv_storage=${L
UV_STORAGE_URL}
grub> initrd /initrd
grub> boot
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
........
......
.......
.......
.......
[ 264.332601] pci_generic_config_write32: 133 callbacks suppressed
[ 264.344706] pci_bus 000d:30: 2-byte config write to 000d:30:00.0 offset 0x44 may corrupt adjacent RW1C bits
[ 264.344706] pci_bus 000d:30: 2-byte config write to 000d:30:00.0 offset 0x44 may corrupt adjacent RW1C bits
[ 264.381311] pci_bus 000d:30: 2-byte config write to 000d:30:00.0 offset 0x78 may corrupt adjacent
[ 264.518927] pci_bus 000a:10: 2-byte config write to 000a:10:00.0 offset 0x44 may corrupt adjacent RW1C bits
[ 264.518927] pci_bus 000a:10: 2-byte config write to 000a:10:00.0 offset 0x44 may corrupt adjacent RW1C bits
[ 264.557305] pci_bus 000a:10: 2-byte config write to 000a:10:00.0 offset 0x78 may corrupt adjacent RW1C bits
[ 264.557305] pci_bus 000a:10: 2-byte config write to 000a:10:00.0 offset 0x78 may corrupt adjacent RW1C bits
[ 264.653665] reboot: System halted
[ 264.653665] reboot: System halted

fix bison build with new libc

Same cause as the m4 issue, build fails with:

| ../bison-3.0.4/lib/fseterr.c: In function 'fseterr':
| ../bison-3.0.4/lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
|   #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
|    ^~~~~

A seemingly functional fix can be found at https://github.com/rdslw/openwrt/blob/e5d47f32131849a69a9267de51a30d6be1f0d0ac/tools/bison/patches/110-glibc-change-work-around.patch

Linux does not boot properly on SBSA reference platform

I am testing SBSA reference platform in QEMU. Enterprise ACS works quite nice on it - SCT tests passed, SBSA tests run fine and then kernel starts and fails:

EFI stub: Booting Linux Kernel...
EFI stub: Generating empty DTB
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd070]
[    0.000000] Linux version 4.18.0-luv (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Thu Aug 27 16:30:37 UTC 2020
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi:   System Table: 0x000001003f9b0018
[    0.000000] efi:   MemMap Address: 0x000001002c87e018
[    0.000000] efi:   MemMap Size: 0x00000cf0
[    0.000000] efi:   MemMap Desc. Size: 0x00000030
[    0.000000] efi:   MemMap Desc. Version: 0x00000001
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi:  ACPI 2.0=0x1003c100000  MEMATTR=0x1003e904a98 
[    0.000000] efi: Processing EFI memory map:
[    0.000000] efi:   0x000010000000-0x0000104bffff [Memory Mapped I/O  |RUN|  |  |  |  |  |  |   |  |  |  |UC]
[    0.000000] efi:   0x000060010000-0x000060010fff [Memory Mapped I/O  |RUN|  |  |  |  |  |  |   |  |  |  |UC]
[    0.000000] efi:   0x010000000000-0x01000007ffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x010000080000-0x01000173ffff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x010001740000-0x010022f6ffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x010022f70000-0x010029beffff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x010029bf0000-0x010029bf8fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x010029bf9000-0x01002b2b8fff [Loader Code        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002b2b9000-0x01002c807fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002c808000-0x01002c808fff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002c809000-0x01002c87dfff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002c87e000-0x01002c87efff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002c87f000-0x01002ca1afff [Loader Code        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01002ca1b000-0x01003bdaafff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003bdab000-0x01003be8ffff [Loader Code        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003be90000-0x01003bf0ffff [Runtime Code       |RUN|  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003bf10000-0x01003bfaffff [Runtime Data       |RUN|  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003bfb0000-0x01003bffffff [Runtime Code       |RUN|  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003c000000-0x01003c01ffff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003c020000-0x01003c10ffff [ACPI Reclaim Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003c110000-0x01003c9fffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003ca00000-0x01003cbfffff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc00000-0x01003cc7dfff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc7e000-0x01003cc7ffff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc80000-0x01003cc80fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc81000-0x01003cc84fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc85000-0x01003cc85fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc86000-0x01003cc87fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc88000-0x01003cc8afff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc8b000-0x01003cc8bfff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc8c000-0x01003cc8cfff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc8d000-0x01003cc8dfff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cc8e000-0x01003cce3fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cce4000-0x01003cce4fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cce5000-0x01003ccf0fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003ccf1000-0x01003ccf1fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003ccf2000-0x01003cd20fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd21000-0x01003cd2cfff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd2d000-0x01003cd2ffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd30000-0x01003cd34fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd35000-0x01003cd38fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd39000-0x01003cd45fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd46000-0x01003cd46fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd47000-0x01003cd47fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd48000-0x01003cd48fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd49000-0x01003cd4afff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd4b000-0x01003cd4dfff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd4e000-0x01003cd4efff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd4f000-0x01003cd4ffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd50000-0x01003cd54fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd55000-0x01003cd55fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd56000-0x01003cd6bfff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd6c000-0x01003cd70fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd71000-0x01003cd72fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd73000-0x01003cd73fff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003cd74000-0x01003f003fff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f004000-0x01003f30ffff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f310000-0x01003f31ffff [Loader Data        |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f320000-0x01003f32efff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f32f000-0x01003f5dffff [Boot Code          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f5e0000-0x01003f76ffff [Runtime Code       |RUN|  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f770000-0x01003f9bffff [Runtime Data       |RUN|  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f9c0000-0x01003f9dcfff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003f9dd000-0x01003f9fffff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003fa00000-0x01003fa36fff [Boot Code          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003fa37000-0x01003ffedfff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003ffee000-0x01003fff9fff [Boot Code          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003fffa000-0x01003fffafff [Conventional Memory|   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] efi:   0x01003fffb000-0x01003fffffff [Boot Data          |   |  |  |  |  |  |  |   |WB|WT|WC|  ]
[    0.000000] crashkernel reserved: 0x0000010012e00000 - 0x0000010022e00000 (256 MB)
[    0.000000] cma: Failed to reserve 512 MiB
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x000001003C100000 000024 (v02 LINARO)
[    0.000000] ACPI: XSDT 0x000001003C0F0000 00006C (v01 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: FACP 0x000001003C0D0000 000114 (v06 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: DSDT 0x000001003C090000 000C40 (v01 LINARO SBSAQEMU 20200810 INTL 20190509)
[    0.000000] ACPI: DBG2 0x000001003C0E0000 00005C (v00 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: GTDT 0x000001003C0C0000 000060 (v02 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: MCFG 0x000001003C0B0000 00004C (v01 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: SPCR 0x000001003C0A0000 000050 (v02 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: APIC 0x000001003C070000 000194 (v04 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: SSDT 0x000001003C050000 0000A2 (v02 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: PPTT 0x000001003C030000 0000F0 (v02 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: BGRT 0x000001003C020000 000038 (v01 LINARO SBSAQEMU 20200810 LNRO 00000001)
[    0.000000] ACPI: SPCR: console: pl011,mmio32,0x60000000,115200
[    0.000000] earlycon: pl11 at MMIO32 0x0000000060000000 (options '115200')
[    0.000000] bootconsole [pl11] enabled
[    0.000000] ACPI: NUMA: Failed to initialise from firmware
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000001003fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x1003fffe540-0x1003fffffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000010000000000-0x000001003fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000010000000000-0x000001003be8ffff]
[    0.000000]   node   0: [mem 0x000001003be90000-0x000001003bffffff]
[    0.000000]   node   0: [mem 0x000001003c000000-0x000001003f5dffff]
[    0.000000]   node   0: [mem 0x000001003f5e0000-0x000001003f9bffff]
[    0.000000]   node   0: [mem 0x000001003f9c0000-0x000001003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000010000000000-0x000001003fffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   DMA32 zone: 16 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 16384 pages, LIFO batch:1
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] random: get_random_bytes called from start_kernel+0xb0/0x498 with crng_init=0
[    0.000000] percpu: Embedded 3 pages/cpu @(____ptrval____) s122392 r8192 d66024 u196608
[    0.000000] pcpu-alloc: s122392 r8192 d66024 u196608 alloc=3*65536
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] CPU features: enabling workaround for ARM erratum 834220
[    0.000000] CPU features: enabling workaround for EL2 vector hardening
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 16368
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: Image initrd=\initrd systemd.log_target=null plymouth.ignore-serial-consoles debug crashkernel=512M,high log_buf_len=1M efi=debug acpi=on crashkernel=256M earlycon uefi_debug  luv_netconsole=none luv_storage=none luv_tests=fwts
[    0.000000] log_buf_len: 1048576 bytes
[    0.000000] early log buf free: 118704(90%)
[    0.000000] Memory: 640256K/1048576K available (12156K kernel code, 2170K rwdata, 5504K rodata, 1920K init, 996K bss, 408320K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 43979 entries in 11 pages
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000040080000
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[    0.000175] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
[    0.006568] Console: colour dummy device 80x25
[    0.007645] ACPI: Core revision 20180531
[    0.010151] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
[    0.010335] pid_max: default: 32768 minimum: 301
[    0.010924] Security Framework initialized
[    0.013925] Dentry cache hash table entries: 131072 (order: 4, 1048576 bytes)
[    0.018177] Inode-cache hash table entries: 65536 (order: 3, 524288 bytes)
[    0.018568] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.018769] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.073019] ASID allocator initialised with 32768 entries
[    0.084201] Hierarchical SRCU implementation.
[    0.098587] Remapping and enabling EFI services.
[    0.103580] efi: memattr: Processing EFI Memory Attributes table:
[    0.103772] efi: memattr:  0x01003be90000-0x01003be9ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.104094] efi: memattr:  0x01003bea0000-0x01003beaffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.104221] efi: memattr:  0x01003beb0000-0x01003bedffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.104437] efi: memattr:  0x01003bee0000-0x01003beeffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.104561] efi: memattr:  0x01003bef0000-0x01003bf0ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.104690] efi: memattr:  0x01003bf10000-0x01003bfaffff [Runtime Data       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.104841] efi: memattr:  0x01003bfb0000-0x01003bfbffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.104989] efi: memattr:  0x01003bfc0000-0x01003bfcffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.105135] efi: memattr:  0x01003bfd0000-0x01003bffffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.105283] efi: memattr:  0x01003f5e0000-0x01003f5effff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.105439] efi: memattr:  0x01003f5f0000-0x01003f5fffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.105585] efi: memattr:  0x01003f600000-0x01003f62ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.105728] efi: memattr:  0x01003f630000-0x01003f63ffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.105875] efi: memattr:  0x01003f640000-0x01003f67ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.106024] efi: memattr:  0x01003f680000-0x01003f6effff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.106173] efi: memattr:  0x01003f6f0000-0x01003f72ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.106322] efi: memattr:  0x01003f730000-0x01003f73ffff [Runtime Code       |RUN|  |  |  |  |  |RO|   |  |  |  |  ]
[    0.106477] efi: memattr:  0x01003f740000-0x01003f76ffff [Runtime Code       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.106625] efi: memattr:  0x01003f770000-0x01003f9bffff [Runtime Data       |RUN|  |  |XP|  |  |  |   |  |  |  |  ]
[    0.120773] smp: Bringing up secondary CPUs ...
[    0.162445] Detected PIPT I-cache on CPU1
[    0.162847] GICv3: CPU1: found redistributor 1 region 0:0x00000000400a0000
[    0.163000] CPU1: Booted secondary processor 0x0000000001 [0x411fd070]
[    0.206627] Detected PIPT I-cache on CPU2
[    0.207505] GICv3: CPU2: found redistributor 2 region 0:0x00000000400c0000
[    0.208198] CPU2: Booted secondary processor 0x0000000002 [0x411fd070]
[    0.246864] Detected PIPT I-cache on CPU3
[    0.246934] GICv3: CPU3: found redistributor 3 region 0:0x00000000400e0000
[    0.247024] CPU3: Booted secondary processor 0x0000000003 [0x411fd070]
[    0.247467] smp: Brought up 1 node, 4 CPUs
[    0.248199] SMP: Total of 4 processors activated.
[    0.248300] CPU features: detected: GIC system register CPU interface
[    0.248433] CPU features: detected: 32-bit EL0 Support
[    0.286931] CPU: All CPU(s) started at EL2
[    0.287280] alternatives: patching kernel code
[    0.307512] devtmpfs: initialized
[    0.314808] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.315135] futex hash table entries: 1024 (order: 0, 65536 bytes)
[    0.316567] pinctrl core: initialized pinctrl subsystem
[    0.328624] DMI not present or invalid.
[    0.332662] NET: Registered protocol family 16
[    0.335150] audit: initializing netlink subsys (disabled)
[    0.336662] audit: type=2000 audit(0.324:1): state=initialized audit_enabled=0 res=1
[    0.346833] cpuidle: using governor menu
[    0.347704] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.347869] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.349720] DMA: preallocated 256 KiB pool for atomic allocations
[    0.350644] ACPI: bus type PCI registered
[    0.350831] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.352165] Serial: AMBA PL011 UART driver
[    0.389959] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.390066] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.394691] cryptd: max_cpu_qlen set to 1000
[    0.397926] ACPI: Added _OSI(Module Device)
[    0.398012] ACPI: Added _OSI(Processor Device)
[    0.398056] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.398128] ACPI: Added _OSI(Processor Aggregator Device)
[    0.398256] ACPI: Added _OSI(Linux-Dell-Video)
[    0.408912] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.414865] ACPI: Interpreter enabled
[    0.414944] ACPI: Using GIC for interrupt routing
[    0.415346] ACPI: MCFG table detected, 2 entries
[    0.432958] ARMH0011:00: ttyAMA0 at MMIO 0x60000000 (irq = 5, base_baud = 0) is a SBSA
[    0.433612] console [ttyAMA0] enabled
[    0.433612] console [ttyAMA0] enabled
[    0.433871] bootconsole [pl11] disabled
[    0.433871] bootconsole [pl11] disabled
[    0.440177] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.440838] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig Segments MSI]
[    0.445136] acpi PNP0A08:00: PCIe port services disabled; not requesting _OSC control
[    0.446787] acpi PNP0A08:00: ECAM area [mem 0xf0000000-0xffffffff] reserved by PNP0C02:00
[    0.447221] acpi PNP0A08:00: ECAM at [mem 0xf0000000-0xffffffff] for [bus 00-ff]
[    0.448294] Remapped I/O 0x000000007fff0000 to [io  0x0000-0xffff window]
[    0.450519] PCI host bridge to bus 0000:00
[    0.450707] pci_bus 0000:00: root bus resource [mem 0x80000000-0xefffffff window]
[    0.450849] pci_bus 0000:00: root bus resource [mem 0x100000000-0xffffffffff window]
[    0.450959] pci_bus 0000:00: root bus resource [io  0x0000-0xffff window]
[    0.451153] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.452623] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[    0.455500] pci 0000:00:01.0: [8086:10d3] type 00 class 0x020000
[    0.456848] pci 0000:00:01.0: reg 0x10: [mem 0x81060000-0x8107ffff]
[    0.457627] pci 0000:00:01.0: reg 0x14: [mem 0x81040000-0x8105ffff]
[    0.458366] pci 0000:00:01.0: reg 0x18: [io  0x0000-0x001f]
[    0.459084] pci 0000:00:01.0: reg 0x1c: [mem 0x81080000-0x81083fff]
[    0.461271] pci 0000:00:01.0: reg 0x30: [mem 0xfffc0000-0xffffffff pref]
[    0.462030] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    0.462535] pci 0000:00:02.0: reg 0x10: [mem 0x80000000-0x80ffffff pref]
[    0.463550] pci 0000:00:02.0: reg 0x18: [mem 0x81084000-0x81084fff]
[    0.465755] pci 0000:00:02.0: reg 0x30: [mem 0xffff0000-0xffffffff pref]
[    0.466281] pci 0000:00:03.0: [1b36:000d] type 00 class 0x0c0330
[    0.466427] pci 0000:00:03.0: reg 0x10: [mem 0x100000000-0x100003fff 64bit]
[    0.467748] pci 0000:00:02.0: BAR 0: assigned [mem 0x80000000-0x80ffffff pref]
[    0.467961] pci 0000:00:01.0: BAR 6: assigned [mem 0x81000000-0x8103ffff pref]
[    0.468063] pci 0000:00:01.0: BAR 0: assigned [mem 0x81040000-0x8105ffff]
[    0.469407] pci 0000:00:01.0: BAR 1: assigned [mem 0x81060000-0x8107ffff]
[    0.469756] pci 0000:00:02.0: BAR 6: assigned [mem 0x81080000-0x8108ffff pref]
[    0.469833] pci 0000:00:01.0: BAR 3: assigned [mem 0x81090000-0x81093fff]
[    0.470200] pci 0000:00:03.0: BAR 0: assigned [mem 0x100000000-0x100003fff 64bit]
[    0.470325] pci 0000:00:02.0: BAR 2: assigned [mem 0x81094000-0x81094fff]
[    0.470630] pci 0000:00:01.0: BAR 2: assigned [io  0x1000-0x101f]
[    0.471631] ACPI: PCI Interrupt Link [GSI0] (IRQs *35)
[    0.471865] ACPI: PCI Interrupt Link [GSI1] (IRQs *36)
[    0.472008] ACPI: PCI Interrupt Link [GSI2] (IRQs *37)
[    0.472149] ACPI: PCI Interrupt Link [GSI3] (IRQs *38)
[    0.475810] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.475947] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.476056] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.476124] vgaarb: loaded
[    0.476972] SCSI subsystem initialized
[    0.478016] libata version 3.00 loaded.
[    0.478493] ACPI: bus type USB registered
[    0.478883] usbcore: registered new interface driver usbfs
[    0.479163] usbcore: registered new interface driver hub
[    0.479363] usbcore: registered new device driver usb
[    0.480110] pps_core: LinuxPPS API ver. 1 registered
[    0.480162] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.480305] PTP clock support registered
[    0.480679] EDAC MC: Ver: 3.0.0
[    0.482032] Registered efivars operations
[    0.490141] Advanced Linux Sound Architecture Driver Initialized.
[    0.500362] clocksource: Switched to clocksource arch_sys_counter
[    0.605811] VFS: Disk quotas dquot_6.6.0
[    0.607082] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.610721] pnp: PnP ACPI init
[    0.612600] system 00:00: [mem 0xf0000000-0xffffffff window] could not be reserved
[    0.612923] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.613062] pnp: PnP ACPI: found 1 devices
[    0.637149] NET: Registered protocol family 2
[    0.643427] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
[    0.643644] TCP established hash table entries: 8192 (order: 0, 65536 bytes)
[    0.643899] TCP bind hash table entries: 8192 (order: 1, 131072 bytes)
[    0.644125] TCP: Hash tables configured (established 8192 bind 8192)
[    0.645157] UDP hash table entries: 2048 (order: 0, 65536 bytes)
[    0.645441] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
[    0.646545] NET: Registered protocol family 1
[    0.649868] RPC: Registered named UNIX socket transport module.
[    0.649982] RPC: Registered udp transport module.
[    0.650055] RPC: Registered tcp transport module.
[    0.650124] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.650902] pci 0000:00:03.0: enabling device (0000 -> 0002)
[    0.651640] PCI: CLS 0 bytes, default 64
[    0.654122] Unpacking initramfs...
[    1.793625] Initramfs unpacking failed: write error
[    1.838653] Freeing initrd memory: 111040K
[    1.841973] hw perfevents: enabled with armv8_pmuv3_0 PMU driver, 5 counters available
[    1.842427] kvm [1]: 8-bit VMID
[    1.844448] kvm [1]: vgic-v2@2c020000
[    1.845285] kvm [1]: GIC system register CPU interface enabled
[    1.846173] kvm [1]: vgic interrupt IRQ1
[    1.847640] kvm [1]: Hyp mode initialized successfully
[    1.861190] Initialise system trusted keyrings
[    1.862657] workingset: timestamp_bits=44 max_order=14 bucket_order=0
[    1.876166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.878131] NFS: Registering the id_resolver key type
[    1.878324] Key type id_resolver registered
[    1.878410] Key type id_legacy registered
[    1.878563] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.879173] 9p: Installing v9fs 9p2000 file system support
[    1.879430] pstore: using deflate compression
[    1.888861] Key type asymmetric registered
[    1.888961] Asymmetric key parser 'x509' registered
[    1.889296] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.889524] io scheduler noop registered
[    1.889613] io scheduler deadline registered
[    1.889939] io scheduler cfq registered (default)
[    1.890033] io scheduler mq-deadline registered
[    1.890104] io scheduler kyber registered
[    1.901324] EINJ: EINJ table not found.
[    1.901472] ERST DBG: ERST support is disabled.
[    1.913902] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.917523] SuperH (H)SCI(F) driver initialized
[    1.917897] msm_serial: driver initialized
[    1.943185] loop: module loaded
[    1.948954] ahci LNRO001E:00: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl platform mode
[    1.949130] ahci LNRO001E:00: flags: 64bit ncq only 
[    1.954956] scsi host0: ahci
[    1.956958] scsi host1: ahci
[    1.957635] scsi host2: ahci
[    1.958280] scsi host3: ahci
[    1.958945] scsi host4: ahci
[    1.959586] scsi host5: ahci
[    1.960011] ata1: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x100 irq 6
[    1.960142] ata2: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x180 irq 6
[    1.960479] ata3: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x200 irq 6
[    1.960556] ata4: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x280 irq 6
[    1.960614] ata5: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x300 irq 6
[    1.960678] ata6: SATA max UDMA/133 mmio [mem 0x60100000-0x60100fff] port 0x380 irq 6
[    1.963864] libphy: Fixed MDIO Bus: probed
[    1.964919] tun: Universal TUN/TAP device driver, 1.6
[    1.965906] thunder_xcv, ver 1.0
[    1.966058] thunder_bgx, ver 1.0
[    1.966181] nicpf, ver 1.0
[    1.966504] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.966577] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.969839] PCI Interrupt Link [GSI1] enabled at IRQ 36
[    1.971539] e1000e 0000:00:01.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    1.972024] e1000e 0000:00:01.0 0000:00:01.0 (uninitialized): Failed to initialize MSI-X interrupts.  Falling back to MSI interrupts.
[    1.972458] e1000e 0000:00:01.0 0000:00:01.0 (uninitialized): Failed to initialize MSI interrupts.  Falling back to legacy interrupts.
[    2.029584] e1000e 0000:00:01.0 0000:00:01.0 (uninitialized): registered PHC clock
[    2.093477] e1000e 0000:00:01.0 eth0: (PCI Express:2.5GT/s:Width x1) 52:54:00:12:34:56
[    2.093780] e1000e 0000:00:01.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.093953] e1000e 0000:00:01.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000
[    2.094524] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    2.094629] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.094960] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    2.095085] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    2.096899] sky2: driver version 1.30
[    2.098517] VFIO - User Level meta-driver version: 0.3
[    2.104139] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.104410] ehci-pci: EHCI PCI platform driver
[    2.104641] ehci-platform: EHCI generic platform driver
[    2.104975] ehci-platform LNRO0D20:00: Error: DMA mask configuration failed
[    2.107049] ehci-platform: probe of LNRO0D20:00 failed with error -5
[    2.107199] ehci-orion: EHCI orion driver
[    2.107375] ehci-exynos: EHCI EXYNOS driver
[    2.107551] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.107750] ohci-pci: OHCI PCI platform driver
[    2.108035] ohci-platform: OHCI generic platform driver
[    2.108308] ohci-exynos: OHCI EXYNOS driver
[    2.110011] PCI Interrupt Link [GSI3] enabled at IRQ 38
[    2.111010] xhci_hcd 0000:00:03.0: xHCI Host Controller
[    2.111376] xhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 1
[    2.114417] xhci_hcd 0000:00:03.0: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000000010
[    2.122077] hub 1-0:1.0: USB hub found
[    2.122648] hub 1-0:1.0: 4 ports detected
[    2.126125] xhci_hcd 0000:00:03.0: xHCI Host Controller
[    2.126195] xhci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
[    2.126336] xhci_hcd 0000:00:03.0: Host supports USB 3.0  SuperSpeed
[    2.127146] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.128896] hub 2-0:1.0: USB hub found
[    2.129241] hub 2-0:1.0: 4 ports detected
[    2.131548] usbcore: registered new interface driver usb-storage
[    2.136860] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[    2.137812] i2c /dev entries driver
[    2.141921] sdhci: Secure Digital Host Controller Interface driver
[    2.142028] sdhci: Copyright(c) Pierre Ossman
[    2.142407] Synopsys Designware Multimedia Card Interface Driver
[    2.143178] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.144968] ledtrig-cpu: registered to indicate activity on CPUs
[    2.145477] EFI Variables Facility v0.08 2004-May-17
[    2.155372] pstore: Registered efi as persistent store backend
[    2.157075] usbcore: registered new interface driver usbhid
[    2.157164] usbhid: USB HID core driver
[    2.161223] gre: GRE over IPv4 demultiplexor driver
[    2.161578] NET: Registered protocol family 17
[    2.162451] 9pnet: Installing 9P2000 support
[    2.162706] Key type dns_resolver registered
[    2.164678] registered taskstats version 1
[    2.164769] Loading compiled-in X.509 certificates
[    2.166102] Unable to create integrity sysfs dir: -19
[    2.167907] rtc-efi rtc-efi: setting system clock to 2020-09-15 18:34:36 UTC (1600194876)
[    2.173060] ALSA device list:
[    2.173127]   No soundcards found.
[    2.276672] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.278685] ata3: SATA link down (SStatus 0 SControl 300)
[    2.280429] ata1.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100
[    2.280533] ata1.00: 557056 sectors, multi 16: LBA48 NCQ (depth 32)
[    2.280713] ata1.00: applying bridge limits
[    2.281501] ata5: SATA link down (SStatus 0 SControl 300)
[    2.281612] ata4: SATA link down (SStatus 0 SControl 300)
[    2.281741] ata2: SATA link down (SStatus 0 SControl 300)
[    2.282225] ata1.00: configured for UDMA/100
[    2.283315] ata6: SATA link down (SStatus 0 SControl 300)
[    2.299757] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    2.304085] sd 0:0:0:0: [sda] 557056 512-byte logical blocks: (285 MB/272 MiB)
[    2.304849] sd 0:0:0:0: [sda] Write Protect is off
[    2.305051] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.306011] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.315253]  sda: sda1 sda2
[    2.324123] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.325589] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    2.325665] Please append a correct "root=" boot option; here are the available partitions:
[    2.325919] 0800          278528 sda 
[    2.325944]  driver: sd
[    2.326039]   0801          131072 sda1 dcc994a8-3772-4bf4-9936-d237b349809b
[    2.326050] 
[    2.326140]   0802          145408 sda2 df6f6c02-b43e-4809-8db0-36633a94248a
[    2.326144] 
[    2.326339] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.326597] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.18.0-luv #1
[    2.326768] Call trace:
[    2.326884]  dump_backtrace+0x0/0x190
[    2.326967]  show_stack+0x24/0x30
[    2.327010]  dump_stack+0x90/0xb4
[    2.327050]  panic+0x128/0x2a4
[    2.327090]  mount_block_root+0x1ac/0x290
[    2.327140]  mount_root+0x148/0x17c
[    2.327182]  prepare_namespace+0x140/0x188
[    2.327221]  kernel_init_freeable+0x34c/0x370
[    2.327274]  kernel_init+0x18/0x118
[    2.327325]  ret_from_fork+0x10/0x1c
[    2.327557] SMP: stopping secondary CPUs
[    2.327733] Kernel Offset: disabled
[    2.327865] CPU features: 0x2180608a
[    2.327929] Memory Limit: none
[    6.946212] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
[   12.825221] WARNING: CPU: 1 PID: 10 at /usr/src/kernel/kernel/irq_work.c:68 irq_work_queue_on+0xb8/0xd0
[   12.826239] Modules linked in:
[   12.827032] CPU: 1 PID: 10 Comm: rcu_preempt Not tainted 4.18.0-luv #1
[   12.827969] pstate: 60000085 (nZCv daIf -PAN -UAO)
[   12.828716] pc : irq_work_queue_on+0xb8/0xd0
[   12.829324] lr : rcu_implicit_dynticks_qs+0x228/0x2c8
[   12.829927] sp : ffff000009a8fd30
[   12.830413] x29: ffff000009a8fd30 x28: ffff000009416e80 
[   12.831275] x27: 0000000000000000 x26: 0000000000000000 
[   12.832081] x25: ffff0000081584b8 x24: ffff0000093f3710 
[   12.832896] x23: 0000000000000001 x22: ffff0000093f47b8 
[   12.833705] x21: 0000000000000a42 x20: ffff000009416e80 
[   12.834510] x19: 0000000000000000 x18: ffffffffffffffff 
[   12.835337] x17: 0000000000000ece x16: 0000000000000000 
[   12.836151] x15: ffff0000093f36c8 x14: 0000000000000400 
[   12.836955] x13: 0000000000000000 x12: 0000000000000000 
[   12.837766] x11: 0000000000000001 x10: 00000000000009b0 
[   12.838590] x9 : ffff000009a8fc90 x8 : 0000800036b20000 
[   12.839414] x7 : 0000000000000019 x6 : 0000000000000001 
[   12.840272] x5 : ffff0000093f1000 x4 : ffff80003fecd828 
[   12.841086] x3 : ffff0000093f4738 x2 : 0000000000000000 
[   12.841887] x1 : 0000000000000000 x0 : 0000000000000002 
[   12.842689] Call trace:
[   12.843212]  irq_work_queue_on+0xb8/0xd0
[   12.843799]  rcu_implicit_dynticks_qs+0x228/0x2c8
[   12.844432]  force_qs_rnp+0x14c/0x1e0
[   12.844989]  rcu_gp_kthread+0x568/0x848
[   12.845556]  kthread+0x134/0x138
[   12.846078]  ret_from_fork+0x10/0x1c
[   12.846619] ---[ end trace bf10aef89df59c60 ]---

Build fails with message "ERROR: Function failed: build_hddimg"

Hi,

I am trying to build luv-live-image from branch "test-integration". As per instructions, an x86_64 machine runnning Ubuntu-18.04 is used. Please check following:

../arm-enterprise-acs$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

../arm-enterprise-acs$ uname -a
Linux prashant-PC 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Following commands are used to build the package:
../arm-enterprise-acs$ ./acs_sync.sh
../arm-enterprise-acs$ ./luvos/scripts/build.sh

The build process fails with following message ( complete log message is attached as ACS-3.0-build-failure.LOG )::

| DEBUG: Executing shell function build_hddimg
| NOTE: Trying to install /home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/build/tmp/deploy/images/qemuarm64/Image as /home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/build/tmp/work/aarch64-oe-linux/luv-live-image/1.0-r0/hddimg/Image
| Including UEFI-SCT
| cp: cannot stat '/home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/build/tmp/deploy/images/qemuarm64/sbsa': No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_bootimg finished
| ERROR: Function failed: build_hddimg (log file is located at /home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/build/tmp/work/aarch64-oe-linux/luv-live-image/1.0-r0/temp/log.do_bootimg.7624)
ERROR: Task (/home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/meta-luv/recipes-core/images/luv-live-image.bb:do_bootimg) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3418 tasks of which 2306 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/meta-luv/recipes-core/images/luv-live-image.bb:do_bootimg
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Build failed...

On checking log.do_bootimg.7624 ( attached as log.do_bootimg.7624.LOG), the error reported is as following:
ERROR: Function failed: build_hddimg

Also, it seems that the script fails to create sbsa folder in build folder:
cp: cannot stat '/home/prashant/workspace/ACS_07Oct/arm-enterprise-acs/luv/build/tmp/deploy/images/qemuarm64/sbsa': No such file or directory

If it is created manually, the build fails with more errors.

Regards,
Prashant Sangal

Build fails while compiling sbsa-acs-pal

Function definition for pal_iovirt_get_rc_smmu_base has 3 arguments in sbsa-acs-pal, but sbsa-acs-val expects 4 arguments.

| make -C /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-source M=/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work
/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0 modules
| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[1]: Entering directory '/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-source'
| make[2]: Entering directory '/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-build-artifacts'
|   CC [M]  /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_misc.o
|   CC [M]  /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_pe.o
|   CC [M]  /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_pcie.o
|   CC [M]  /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_pcie_enumeration.o
|   CC [M]  /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_smmu.o
|   CC [M]  /home/vineetha/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_iovirt.o
| /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_iovirt.c:427:1: error: conflicting types
 for 'pal_iovirt_get_rc_smmu_base'
|  pal_iovirt_get_rc_smmu_base(IOVIRT_INFO_TABLE *iovirt, uint32_t rc_seg_num)
|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/include/pal_linux.h:28:0,
|                  from /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_iovirt.c:27:
| /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/val/include/pal_interface.h:374:10: note: previous
 declaration of 'pal_iovirt_get_rc_smmu_base' was here
|  uint64_t pal_iovirt_get_rc_smmu_base(IOVIRT_INFO_TABLE *iovirt, uint32_t rc_seg_num, uint32_t rid);
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-source/scripts/Makefile.build:318: /home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0/./src/pal_iovirt.o] Error 1
| make[2]: *** [/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-source/Makefile:1500: _module_/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work/qemuarm64-oe-linux/sbsa-acs-pal/1.0-r0] Error 2
| make[2]: Leaving directory '/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-build-artifacts'
| make[1]: *** [Makefile:146: sub-make] Error 2
| make[1]: Leaving directory '/home/vineeth/WS/ACS/acs-5.4/luv/build/tmp/work-shared/qemuarm64/kernel-source'
| make: *** [Makefile:41: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.

test_p030.c has issues with CPU-Addr -> PCIe Addr translation while accessing BAR

PCIe test-430 (implemented in test_p030.c) isn't taking the _TRA offset in ACPI into account to convert CPU_PA into PCIe_Bus_Address for MMIO/BAR access. Some implementations may have a translation unit to convert from CPU_PA to PCIe_Bus_Address and reading the BAR address from the config space directly and treating that as CPU_PA would fail test 430 on such implementations.

sbsa_acs: Unknown symbol ArmExecuteMemoryBarrier

Running a version of the Enterprise ACS built from today's (2022-01-12) sources results in an unknown symbol error from sbsa_acs:

Running fwts ...
[    13.370000] [-] Arm
[   19.615898] sbsa_acs: Unknown symbol ArmExecuteMemoryBarrier (err 0)
insmod: ERROR: could not insert module /lib/modules/4.18.0-luv/extra/sbsa_acs.ko: Unknown symbol in module

sbsa_acs driver causes infinite loop in pcie/test_p005.c

The execution of sbsa fails because the code in the sbsa-acs driver file test_p005.c causes the following error in our testing and apparently enters an infinite loop in the driver, likely due to a unexpected configuration of SATA controllers.

      *** Starting PCIe tests ***   
[   71.368011] WARNING: CPU: 0 PID: 2477 at /usr/src/kernel/mm/page_alloc.c:4065 __alloc_pages_nodemask+0x2d0/0xe38 
[   71.369638] Modules linked in: sbsa_acs crc32_ce crct10dif_ce sm3_ce sm3_generic sha3_ce sha3_generic sha512_ce sha512_arm64 ipv6 
[   71.370616] CPU: 0 PID: 2477 Comm: sbsa Not tainted 4.18.0-luv #1 
[   71.370842] Hardware name: XXX 
[   71.371342] pstate: XXX
[   71.371521] pc : __alloc_pages_nodemask+0x2d0/0xe38 
[   71.371693] lr : __alloc_pages_nodemask+0x104/0xe38 
[   71.371858] sp : ffff00001026f850 
[   71.371987] x29: ffff00001026f850 x28: 0000000000000000  
[   71.372231] x27: ffff000001691bb0 x26: 00000000006040c0  
[   71.372411] x25: ffff000001691000 x24: 000000000000000e  
[   71.372592] x23: 0000000020800000 x22: 0000000000000000  
[   71.372762] x21: 0000000000000000 x20: 0000000000000001  
[   71.372946] x19: 0000000000000000 x18: ffffffffffffffff  
[   71.373142] x17: 0000ffff99a2e098 x16: ffff0000082f7a48  
[   71.373323] x15: ffff0000093f36c8 x14: 0000000080400009  
[   71.373503] x13: ffff000001682a34 x12: ffff003031303030  
[   71.373683] x11: ffff00000914d000 x10: 7365726464612067  
[   71.373884] x9 : 0000000000000000 x8 : 0000000000000000  
[   71.374060] x7 : 0000000000000000 x6 : 0000000000000000  
[   71.374241] x5 : 0000000000008aae x4 : 0000000000000001  
[   71.374422] x3 : 0000000000000000 x2 : 7a95d4ab2e107c00  
[   71.374605] x1 : 0000000000400000 x0 : ffff0000006040c0  
[   71.374867] Call trace: 
[   71.375041]  __alloc_pages_nodemask+0x2d0/0xe38 
[   71.375212]  alloc_pages_current+0x88/0xf0 
[   71.375369]  kmalloc_order_trace+0x38/0x140 
[   71.375524]  __kmalloc+0x2fc/0x330 
[   71.376085]  pal_print+0x6c/0x140 [sbsa_acs] 
[   71.376251]  val_print+0x40/0x50 [sbsa_acs] 
[   71.376410]  payload+0x1ac/0x358 [sbsa_acs] 
[   71.376567]  val_run_test_payload+0x3c/0xa0 [sbsa_acs] 
[   71.376750]  p005_entry+0x54/0x90 [sbsa_acs] 
[   71.376913]  val_pcie_execute_tests+0x84/0x278 [sbsa_acs] 
[   71.377107]  val_glue_execute_command+0x17c/0x2d8 [sbsa_acs] 
[   71.377316]  sbsa_proc_write+0x80/0xf0 [sbsa_acs] 
[   71.377473]  proc_reg_write+0x7c/0xc0 
[   71.377599]  __vfs_write+0x60/0x178 
[   71.377719]  vfs_write+0xac/0x1b8 
[   71.377839]  ksys_write+0x6c/0xd8 
[   71.377990]  sys_write+0x34/0x48 
[   71.378107]  __sys_trace_return+0x0/0x4 
[   71.378324] ---[ end trace 02b7f80878c00683 ]---

FWTS: Fix DBG2 SBBR test to allow 16550

FWTS is restricting SBBR DBG2 serial ports to only Arm Generic UART / PL011:

https://git.launchpad.net/fwts/tree/src/acpi/dbg2/dbg2.c#n55

BSA 1.0 (and BSA 6.1, which depends on BSA 1.0) are now allowing Both Arm Generic UART/PL011, as well as 16550 as valid standard UARTs. And BBR 1.0 (SBBR) does refer to BSA 1.0.

FWTS should be fixed to not limit the "SBBR" test to only the Arm Generic UART, and allow 16550 as well.

Note that this is not an issue in the FWTS SPCR test, as there is no restriction on the serial port type with the SBBR flag: https://git.launchpad.net/fwts/tree/src/acpi/spcr/spcr.c#n98

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.