ada7c6a72e
This commit adds support for pensando asic called ELBA. ELBA is used in pci based cards and in smartswitches. #### Why I did it This commit introduces pensando platform which is based on ELBA ASIC. ##### Work item tracking - Microsoft ADO **(number only)**: #### How I did it Created platform/pensando folder and created makefiles specific to pensando. This mainly creates pensando docker (which OEM's need to download before building an image) which has all the userspace to initialize and use the DPU (ELBA ASIC). Output of the build process creates two images which can be used from ONIE and goldfw. Recommendation is use to use ONIE. #### How to verify it Load the SONiC image via ONIE or goldfw and make sure the interfaces are UP. ##### Description for the changelog Add pensando platform support.
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
## DESCRIPTION:
|
|
## config for ONIE image
|
|
##
|
|
|
|
## Partition size in MB
|
|
## The default size is 32GB
|
|
: ${ONIE_IMAGE_PART_SIZE:=32768}
|
|
|
|
## Target hardware information
|
|
: ${TARGET_PLATFORM:=x86_64}
|
|
: ${TARGET_MACHINE:=generic}
|
|
|
|
ONIEIMAGE_VERSION=r0
|
|
|
|
## Filesystem root
|
|
FILESYSTEM_ROOT=./fsroot-${TARGET_MACHINE}
|
|
|
|
## Filename for squashfs file system
|
|
FILESYSTEM_SQUASHFS=fs.squashfs
|
|
|
|
## Filename for onie installer payload, will be the main part of onie installer
|
|
INSTALLER_PAYLOAD=fs.zip
|
|
|
|
## Filename for docker file system
|
|
FILESYSTEM_DOCKERFS=dockerfs.tar.gz
|
|
|
|
## docker directory on the root filesystem
|
|
DOCKERFS_DIR=docker
|
|
|
|
## docker ramfs disk space
|
|
DOCKER_RAMFS_SIZE=2500M
|
|
|
|
## Output file name for onie installer
|
|
OUTPUT_ONIE_IMAGE=target/sonic-$TARGET_MACHINE.bin
|
|
|
|
## Output file name for raw image
|
|
OUTPUT_RAW_IMAGE=target/sonic-$TARGET_MACHINE.raw
|
|
|
|
## Raw image size in MB
|
|
RAW_IMAGE_DISK_SIZE=1700
|
|
|
|
## Output file name for kvm image
|
|
OUTPUT_KVM_IMAGE=target/sonic-$TARGET_MACHINE.img
|
|
|
|
## Kvm image size in GB
|
|
KVM_IMAGE_DISK_SIZE=16
|
|
|
|
## Output file name for aboot installer
|
|
OUTPUT_ABOOT_IMAGE=target/sonic-aboot-$TARGET_MACHINE.swi
|
|
|
|
## Aboot boot image name
|
|
ABOOT_BOOT_IMAGE=.sonic-boot.swi
|
|
|
|
## Output file name for 4-asic kvm image
|
|
OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-$TARGET_MACHINE.img
|
|
|
|
### Output file name for 6-asic kvm image
|
|
OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-$TARGET_MACHINE.img
|
|
|
|
## Output file name for dsc installer
|
|
OUTPUT_DSC_IMAGE=target/sonic-$TARGET_MACHINE.tar
|