This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src
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
..
bash Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
debootstrap Image build time improvements (#10104) 2022-04-19 09:22:16 -07:00
dhcpmon [dhcp_relay] Remove dhcp6mon (#10467) 2022-04-12 10:44:17 -07:00
dhcprelay@6f94c2eded Change dhcp6relay to be a submodule, and rename it to dhcprelay (#10711) 2022-07-12 07:38:41 -07:00
ethtool Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
flashrom Flashrom refactoring for broadcom platforms (#7693) 2021-06-22 15:29:21 -07:00
gobgp Update go version to 1.11.2 for gobgp and telemetry (#2230) 2018-11-09 21:56:39 -08:00
hiredis Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iccpd [iccpd] Fix missing semicolon. (#11197) 2022-06-22 08:57:17 -07:00
ifupdown2 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
initramfs-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iproute2 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
iptables Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
isc-dhcp Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
ixgbe Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
kdump-tools Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libnl3 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libteam Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang1 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
libyang2 Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
linkmgrd@58d8aae2db [master][sonic-linkmgrd] submodule update (#11372) 2022-07-11 17:53:32 -07:00
lldpd Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
lm-sensors Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
monit Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
mpdecimal Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
ntp Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
openssh Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
ptf@36a3e3d9ac [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
ptf-py3@405513bcad Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
ptf-py3.patch Add python3 virtual environment for docker-ptf (#10599) 2022-04-26 09:13:26 +08:00
radius Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
redis Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
redis-dump-load@7585497951 [redis-dump-load] Update submodule (#5215) 2020-08-19 11:23:42 -07:00
redis-dump-load.patch [build] Use pip to install setup.py dependency instead of python setup.py install (#8997) 2021-10-26 21:12:45 -07:00
scapy@8b63d73a17 [scapy] update scapy to 2.4.5 and patch it (#10457) 2022-04-07 14:23:35 +03:00
scapy.patch [scapy]: Patch scapy 2.4.5 for sniffing on intfs (#10644) 2022-05-18 13:01:27 -07:00
sflow Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
snmpd Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
socat Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sonic-bgpcfgd Changes to persist TSA/B state across reloads (#11257) 2022-07-12 00:22:48 -07:00
sonic-build-hooks [Build] Cleanup the version deb preference file after build (#11414) 2022-07-12 17:57:16 +08:00
sonic-config-engine [minigraph] allow LibraPeeringLink to be dualtor indication as well (#11492) 2022-07-21 08:24:39 -07:00
sonic-ctrmgrd [containerd]Fixing container commands when mode is local and state is disabled (#9986) 2022-03-02 19:08:06 -08:00
sonic-dbsyncd@df46ed418e [submodule update] sonic-db-syncd (#7225) 2021-04-03 07:36:11 -07:00
sonic-device-data Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sonic-fips Touch the donwload files to change the modified time (#10929) 2022-05-26 21:55:13 +08:00
sonic-frr Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sonic-frr-mgmt-framework Replace swsssdk with swsscommon (#11215) 2022-07-11 10:01:10 +08:00
sonic-host-services@709046bbec Update submodule for sonic-host-services (#11446) 2022-07-14 16:49:17 +08:00
sonic-host-services-data add dependancy of determine-reboot-cause sevice to process-reboot-cause service (#11213) 2022-07-08 14:40:33 -07:00
sonic-linux-kernel@b9083b1a27 Update Linux kernel from 5.10.46 to 5.10.103 (#10634) 2022-05-10 13:46:31 -07:00
sonic-mgmt-common@ec32690535 [submodule] Update submodule for sonic-mgmt-common (#10664) 2022-04-25 08:16:29 -07:00
sonic-mgmt-framework@3c3384cec8 Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
sonic-p4rt [submodule] Advance sonic-p4rt/sonic-pins pointer (#10566) 2022-05-06 15:35:20 -07:00
sonic-platform-common@912797e2ca [submodule] Advance sonic-platform-common pointer (#11401) 2022-07-11 21:36:59 +03:00
sonic-platform-daemons@0d90023b4a [sonic-platform-common][sonic-platform-daemons] submodule update; Remove python2 sonic-platform-common wheel (#10994) 2022-06-04 07:41:15 -07:00
sonic-platform-pde@f18ebc297d [PDE]: introduce the SONiC Platform Development Env (#7510) 2021-07-24 16:24:43 -07:00
sonic-py-common Porting util.py and port_util.py from py-swsssdk to sonic-py-common (#11347) 2022-07-07 09:43:48 +08:00
sonic-py-swsssdk@cc847a2e11 [Submodule] Update src/sonic-py-swsssdk (#11385) 2022-07-11 09:55:54 +08:00
sonic-restapi@55683f2abb [RESTAPI] Update submodule (#11233) 2022-06-23 22:32:48 -07:00
sonic-sairedis@48cccb45b7 [submodule]: update sonic-sairedis 2022-06-14 15:38:10 -07:00
sonic-snmpagent@1477c36836 [sonic-snmpagent] Update submodule (#10736) 2022-05-05 10:24:00 -07:00
sonic-swss@90459953c8 Update sonic-swss submodule (#11466) 2022-07-21 09:16:19 -07:00
sonic-swss-common@154cc9c05d Update sonic-swss-common submodule (#11470) 2022-07-20 13:51:38 +08:00
sonic-telemetry@e56e9b44e4 [Submodule]: Update submodule for sonic-telemetry (#10124) 2022-03-11 09:21:35 +08:00
sonic-utilities@ea11b22f59 [ssip]: Update config generator (#10991) 2022-07-20 10:05:13 +03:00
sonic-yang-mgmt [yang] Adding a tool for generating documentation based on yang model (#11291) 2022-07-05 09:36:12 -07:00
sonic-yang-models [ssip]: Update YANG doc. (#11363) 2022-07-14 09:26:00 +03:00
sonic-ztp@f7dd3c54ec [sonic-ztp] Submodule update (#9589) 2022-01-02 17:56:14 +02:00
swig Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
system-health [system-health] Fix error log system_service'state' while doing confi… (#11225) 2022-06-28 18:48:10 +03:00
systemd-sonic-generator Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
tacacs Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
thrift Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
thrift_0_14_1 [CG] Fix CG alert about underscore version. (#10705) 2022-04-29 13:40:33 +08:00
wpasupplicant Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00