[arm64][Nokia-7215-A1]Add support for Nokia-7215-A1 platform#13795
[arm64][Nokia-7215-A1]Add support for Nokia-7215-A1 platform#13795lguohan merged 2 commits intosonic-net:masterfrom
Conversation
e725efd to
86b31c7
Compare
86b31c7 to
54b0fcf
Compare
|
@carl-nokia @jon-nokia @mlok-nokia Please review this PR for 7215-IXS-A1 platform |
It looks ok to me. |
|
Looks good |
looks good |
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
this one is very similiar to this pr.
I am not sure if they are almost exactly the same.
https://github.com/sonic-net/sonic-buildimage/pull/13500/files
I suggest to unified the arm64 installation file
There was a problem hiding this comment.
my comments on the other pr applied to this pr as well.
There was a problem hiding this comment.
@lguohan I see 4 comments from you on the other PR related to platform.conf
- The comment about “boot_once” does not apply to our PR. We do not have that line
- Next comment about “bootcmd” behavior also does not apply to us. We do not do that.
- Merge code blocks in line 204-217 to the block 229-240 instead of writing 2 separate blocks
- comment about swap being added to sonic.
Are you referring to comments 3 and 4 being applied to this PR.
There was a problem hiding this comment.
Hi @lguohan
We have addressed all your comments on the arm64 installation file from the other PR
As stated above I see 4 comments from you related to platform.conf file
Comment 1 and 2 does not apply to this PR as we do not have those lines of code.
Comment 3: The Code blocks have been consolidated into existing block
Comment 4: After careful analysis and testing, the arm64 on our A1 platform does not require swap so we have removed the blocks of code that created the swap partition
Can you please review
|
@xumia I have made the requested change and updated the PR. Could you please review |
LGTM, added a new small comment. |
|
Is there anything we can do to move this PR forward? , it seems to be waiting now 2 weeks ? |
|
I am checking if there are build issues |
|
https://github.com/Pavan-Nokia/sonic-buildimage/blob/d5eaf4da88fd9982f3553c9c37582b92bd7a9325/platform/marvell-arm64/sai/Makefile#L5 |
|
https://github.com/Pavan-Nokia/sonic-buildimage/blob/d5eaf4da88fd9982f3553c9c37582b92bd7a9325/platform/marvell-arm64/sai/Makefile#L9 |
Hello @liushilongbuaa, I have made the requested change. This file is the Marvell SAI debian, and it is available at the location pointed by the link. I tried a wget and it is successful. |
474fdce to
01a6841
Compare
|
I met this error, do you have any suggestions: |
|
Hi @liushilongbuaa, While trying to build arm64 target are you including the 2 sonic-linux-kernel PR's mentioned in the description. We need these 3 PR's for a successful marvell-arm64 build. Build arm64 target for Nokia-7215-A1 with updated sonic-linux-kernel submodule including PR's sonic-net/sonic-linux-kernel#311 and sonic-net/sonic-linux-kernel#312 Thanks |
|
312 is merged. I will test build pipeline after 311 merged. |
|
@lguohan do you think we can merge this PR now since all build and test are pass? |
|
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
i think it is better to put these platform specific variable assignment in one platform. block 22-30 and this block should be merged, there are other example below should be merged as well.
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
this line is same as line 333, can we merge them?
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
why creating demo partition is platform specific? can you check with marvel on IS_MASS branch? can we get this part of code cleaned up?
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
we should have kernel version to be separate variable.
platform/marvell-arm64/platform.conf
Outdated
There was a problem hiding this comment.
what is this DISK_SIZE? why 14?
1)Update Marvell SAI and syncd kernel from Buster to Bulleseye 2)Marvell SAI version upgrade to 1.11.0-1 3)Add prestera make files to build kernel, Flattened Device Tree blob and ramdisk for arm64 platforms
Device and platform changes to add support for new arm64 Nokia-7215 platform Platform: arm64-nokia_ixs7215_52xb-r0 HwSKU: Nokia-7215-A1 ASIC: marvell Port Config: 48x1G + 4x10G Platform.conf will be added in a later commit
01a6841 to
ce07fa7
Compare
|
Hi @lguohan To allow separate iterations on platform.conf I have removed this file from the PR and will create a new PR with only this file addressing your comments |
|
@Pavan-Nokia , sonic-linux-kernel still has issues. Submodule HEAD is latest: |
Add new Nokia build target and establish an arm64 build:
Platform: arm64-nokia_ixs7215_52xb-r0
HwSKU: Nokia-7215-A1
ASIC: marvell
Port Config: 48x1G + 4x10G
How I did it
- Change make files for saiserver and syncd to use Bulleseye kernel
- Change Marvell SAI version to 1.11.0-1
- Add Prestera make files to build kernel, Flattened Device Tree blob and ramdisk for arm64 platforms
- Provide device and platform related files for new platform support (arm64-nokia_ixs7215_52xb-r0).
Update platform.conf (sonic-net#15163)
Update platform.conf to have a successful marvell-arm64 target image.
Fix marvell-arm64 pipeline build (sonic-net#15228)
Why I did it
When git clone -b xxx command is used the versions-git will reset the HEAD of the git to the commit ID in the versions-git file. Which causes incorrect commit to be checked out causing build errors.
Work item tracking
Microsoft ADO (number only):
How I did it
Split ‘git clone -b’ into two steps to avoid owerwrite
Git clone
cd mrvl-prestera; git checkout ; cd ..
How to verify it
Build marvell-arm64 target using below instructions
make init
make configure PLATFORM=marvell-arm64 PLATFORM_ARCH=arm64
make target/sonic-marvell-arm64.bin SONIC_BUILD_JOBS=2
Fix get_system_mac for system without eeprom
Change-Id: Ifeb78f366d80e70043db1f9828f2f75a8a710f46
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
Why I did it
Add new Nokia build target and establish an arm64 build:
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)