OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

fix build when onl is git submodule

Open ishidawataru opened this issue 7 years ago • 6 comments

Signed-off-by: Wataru Ishida [email protected]

ishidawataru avatar Apr 23 '18 20:04 ishidawataru

@ishidawataru This patch looks like you use the ONL builder to build ONL as a submodule but arent using the onlbuilder environment to build the superproject (otherwise you would have started the onlbuilder from the superproject). I'm okay with this change if it helps you but would you mind sharing your particular setup?

jnealtowns avatar Apr 25 '18 22:04 jnealtowns

@jnealtowns right. I want to add ONL to forked https://github.com/Azure/sonic-buildimage as a git submodule.

ishidawataru avatar Apr 26 '18 00:04 ishidawataru

@jnealtowns right. I want to add ONL to forked https://github.com/Azure/sonic-buildimage as a git submodule.

Hi @ishidawataru, do you success build ONL+SONiC, im interested how to combile ONL and SONiC but i don't know how to start, my switch is Celestica redstone XP D2060 which is in HCL on ONL, but not on SONiC. Could you share how to build ONL with SONiC ?

Thanks

bahirul avatar Jul 29 '20 10:07 bahirul

@bahirul What EthernetASIC does the switch use? You need to check if the SAI library which the SONiC community uploaded can be used for the EthernetASIC first. If not, you need to go to Celestica to get one.

ishidawataru avatar Jul 29 '20 15:07 ishidawataru

@ishidawataru my switch use BCM56854 / Broadcom (Trident2) as i see is supported on SONiC but my switch not in list yet. But still i don't know how to build sonic + onl because im not able find clear tutorial how to combine them.

Thanks

bahirul avatar Jul 29 '20 15:07 bahirul

@bahirul ok, nice. Do you have a Broadcom SDK setting file for the platform like this? If not, you need to ask Celestica to get one.

im not able find clear tutorial how to combine them.

It's not that straightforward. I'm running k8s on the switch and deploying https://github.com/microsonic/usonic on it.

ishidawataru avatar Jul 29 '20 16:07 ishidawataru