Building ONL with a specific kernel version

62 views
Skip to first unread message

Chiranjeevi Uddanti

unread,
Mar 18, 2024, 1:04:45 PM3/18/24
to opennetworklinux
Hi All,
I have been trying to build ONL with linux kernel 4.14.109, but when I trying to build it, it it defaulting to 4.14.151

Board details:
Accton 7716-32x || AMD64

I have also tried to change the kernel version in the packages/platforms/accton/x86-64/as7716-32x/platform-config/r0/src/lib/x86-64-accton-as7716-32x-r0.yml file:

Before:
    kernel:
      <<: *kernel-4-14

After:
    kernel:
      <<: *kernel-4-14-109

This got failed.

Please let me know on how to build for that specific kernel version.

Thanks & Regards,
Chiranjeevi
 

Steve Noble

unread,
Mar 18, 2024, 1:07:35 PM3/18/24
to Chiranjeevi Uddanti, opennetworklinux
You need to modify the kernel version in this file :

https://github.com/opencomputeproject/OpenNetworkLinux/blob/master/packages/base/any/kernels/4.14-lts/kconfig.mk

K_MAJOR_VERSION := 4
K_PATCH_LEVEL := 14
K_SUB_LEVEL := 151

'Chiranjeevi Uddanti' via opennetworklinux wrote on 3/18/24 10:04 AM:
--
You received this message because you are subscribed to the Google Groups "opennetworklinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opennetworklin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opennetworklinux/f4c92418-fa19-431c-829e-312107c5f397n%40googlegroups.com.

--
Thank you,
Steven

Chiranjeevi Uddanti

unread,
Mar 18, 2024, 2:51:27 PM3/18/24
to opennetworklinux
It worked. Thank you so much, Steven.


Regards,
Chiranjeevi

Reply all
Reply to author
Forward
0 new messages