sonic-buildimage/platform/marvell-armhf
dflynn-Nokia df12ac5abd
[build]: marvell-armhf bullseye fixes (#9243)
This commit fixes/avoids the following errors encountered during the
marvell-armhf build for bullseye

- Fix Marvell prestera DMA driver build failure due to kallsyms_lookup_name()
  no longer being exported by the updated bullseye kernel. This is a temporary
  fix that will be replaced by a future version of the DMA driver.

- Update qemu-user-static version to align with the new glibc version included
  in bullseye

- Skip systemd-sonic-generator unit tests to avoid test failures. Root cause is
  still TBD

#### Why I did it
Fix the following build errors observed when building marvell-armhf for bullseye
1. Marvell Prestera DMA driver uses kernel API no longer exported
ERROR: modpost: "kallsyms_lookup_name" [/sonic/platform/marvell-armhf/prestera/mrvl-prestera/cpssEnabler/linuxNoKernelModule/drivers//mvDmaDrv.ko] undefined!

2. Old qemu-user-static version does not support semop() leading to following build failure
semop(1): encountered an error: Function not implemented

3. systemd-sonic-generator unit test failure
ssg-test.cc:217: Failure
Expected equality of these values:
  find_string_in_file(str_t, target, num_asics)
    Which is: false
  expected_result
    Which is: true
Error validating Before=single_inst.service in test.service
[  FAILED  ] SsgMainTest.ssg_main_40_npu (20 ms)
[----------] 4 tests from SsgMainTest (36 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 3 test suites ran. (54 ms total)
[  PASSED  ] 7 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] SsgMainTest.ssg_main_single_npu
[  FAILED  ] SsgMainTest.ssg_main_10_npu
[  FAILED  ] SsgMainTest.ssg_main_40_npu

 3 FAILED TESTS
2021-11-13 10:48:58 -08:00
..
docker-syncd-mrvl [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
docker-syncd-mrvl-rpc [syncd-rpc] Install Libboost Atomic 1.71, Libqtcore And Libqtnetwork (#6689) 2021-02-10 02:26:31 -08:00
prestera/debian [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
sai [Platform] Update Marvell-switching github URL (#3293) 2019-08-06 10:19:14 -07:00
sonic-platform-et6448m [marvell][platform] Checking file presence before access (#6208) 2020-12-15 08:43:12 -08:00
sonic-platform-nokia [Nokia ixs7215] Platform API fixes (#9025) 2021-10-27 09:57:56 +08:00
docker-saiserver-mrvl.mk Remove --net=host from run options for containers 2021-08-12 23:18:01 -07:00
docker-syncd-mrvl-rpc.mk [dockers] change RPC, DBG dockers version: put RPG, DBG sign in build metadata part of the version (#8920) 2021-11-01 19:02:57 +02:00
docker-syncd-mrvl.mk [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
libsaithrift-dev.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
one-image.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
platform-et6448m.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-nokia.mk [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
platform.conf [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
prestera.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
rules.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
sai.mk [Marvell] Updated Marvell armhf sai deb version to 1.8.1 (#7892) 2021-06-16 08:53:30 -07:00