sonic-buildimage/platform/marvell-armhf
gregshpit 5df09490dc
Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035)
* Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation

Current armhf Sonic build on amd64 host uses qemu emulation. Due to the
nature of the emulation it takes a very long time, about 22-24 hours to
complete the build. The change I did to reduce the building time by
porting Sonic armhf build on amd64 host for Marvell platform for debian
buster to use cross-compilation on arm64 host for armhf target. The
overall Sonic armhf building time using cross-compilation reduced to
about 6 hours.

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Fixed final Sonic image build with dockers inside

* Update Dockerfile.j2

Fixed qemu-user-static:x86_64-aarch64-5.0.0-2 .

* Update cross-build-arm-python-reqirements.sh

Added support for both armhf and arm64 cross-build platform using $PY_PLAT environment variable.

* Update Makefile

Added TARGET=<cross-target> for armhf/arm64 cross-compilation.

* Reviewer's @qiluo-msft requests done

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Added new radius/pam patch for arm64 support

* Update slave.mk

Added missing back tick.

* Added libgtest-dev: libgmock-dev: to the buster Dockerfile.j2. Fixed arm perl version to be generic

* Added missing armhf/arm64 entries in /etc/apt/sources.list

* fix libc-bin core dump issue from xumia:fix-libc-bin-install-issue commit

* Removed unnecessary 'apt-get update' from sonic-slave-buster/Dockerfile.j2

* Fixed saiarcot895 reviewer's requests

* Fixed README and replaced 'sed/awk' with patches

* Fixed ntp build to use openssl

* Unuse sonic-slave-buster/cross-build-arm-python-reqirements.sh script (put all prebuilt python packages cross-compilation/install inside Dockerfile.j2). Fixed src/snmpd/Makefile to use -j1 in all cases

* Clean armhf cross-compilation build fixes

* Ported cross-compilation armhf build to bullseye

* Additional change for bullseye

* Set CROSS_BUILD_ENVIRON default value n

* Removed python2 references

* Fixes after merge with the upstream

* Deleted unused sonic-slave-buster/cross-build-arm-python-reqirements.sh file

* Fixed 2 @saiarcot895 requests

* Fixed @saiarcot895 reviewer's requests

* Removed use of prebuilt python wheels

* Incorporated saiarcot895 CC/CXX and other simplification/generalization changes

Signed-off-by: marvell <marvell@cpss-build3.marvell.com>

* Fixed saiarcot895 reviewer's  additional requests

* src/libyang/patch/debian-packaging-files.patch

* Removed --no-deps option when installing wheels. Removed unnecessary lazy_object_proxy arm python3 package instalation

Co-authored-by: marvell <marvell@cpss-build3.marvell.com>
Co-authored-by: marvell <marvell@cpss-build2.marvell.com>
2022-07-21 14:15:16 -07:00
..
docker-syncd-mrvl Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
docker-syncd-mrvl-rpc Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
prestera/debian Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sai [Marvell] Update armhf driver/sai deb version (#10126) 2022-03-03 16:21:18 -08:00
sonic-platform-et6448m [Marevell] Fix armhf build failure (#9875) 2022-02-28 13:40:58 +08:00
sonic-platform-nokia [Nokia ixs7215] Platform API temperature threshold value fixes (#10372) 2022-04-07 22:44:31 +08:00
docker-saiserver-mrvl.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +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.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08: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.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08: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.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
libsaithrift-dev.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
one-image.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
one-image.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
platform-et6448m.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08: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.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
platform-nokia.mk [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
platform.conf [Marvell-armhf] Fix kernel hang due to kernel upgrade to 5.10.103 (#11298) 2022-07-07 11:04:46 -07:00
prestera.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
prestera.mk [Marvell] Update armhf driver/sai deb version (#10126) 2022-03-03 16:21:18 -08:00
rules.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
rules.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
sai.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
sai.mk [Marvell] Update armhf sai deb (#11296) 2022-06-30 13:21:30 -07:00