Page 1 of 1

How to add new hardware support for CentOS

Posted: 2019/06/12 10:58:00
by xinliang
Hello folks,
We have a new arm64 board. Our device driver is all on upstream linux mainline.
We know that RHEL is the upstream project of CentOS.
We also notice that CentOS contains mvpp2 driver patches which RHEL does not contain.
My question is how to make CentOS support our new board bypass RHEL like mvpp2.

-Xinliang

Re: How to add new hardware support for CentOS

Posted: 2019/06/12 12:55:37
by TrevorH
The aarch64 architecture does not use the standard CentOS 3.10 kernel, it's using kernel-4.14.119-200.el7.aarch64.rpm. I do not believe this kernel comes from upstream in RHEL.

Re: How to add new hardware support for CentOS

Posted: 2019/06/12 13:30:45
by dunch
Hi Xinlian, you may have better luck asking over at dpdk.org. It's a bit of a niche product and the only advice I can give is to try building it from source. I believe a .spec file is included if you need an rpm.

Re: How to add new hardware support for CentOS

Posted: 2019/06/12 14:50:50
by TrevorH
aarch64 is a supported CentOS arch.

Re: How to add new hardware support for CentOS

Posted: 2019/06/13 07:39:17
by xinliang
TrevorH wrote:
2019/06/12 12:55:37
The aarch64 architecture does not use the standard CentOS 3.10 kernel, it's using kernel-4.14.119-200.el7.aarch64.rpm. I do not believe this kernel comes from upstream in RHEL.
Hi TrevorH,
You mean CentOS has its own kernel for aarch64? Where is the git repo and how to contribute patches to this kernel? I can find the kernel you mentioned at here:
https://mirrors.aliyun.com/centos-altar ... /Packages/

But that kernel is not the one CentOS iso contains, the kernel CentOS iso contained is this one:
https://mirrors.aliyun.com/centos-altar ... arch64.rpm

Re: How to add new hardware support for CentOS

Posted: 2019/06/13 07:55:19
by xinliang
dunch wrote:
2019/06/12 13:30:45
Hi Xinlian, you may have better luck asking over at dpdk.org. It's a bit of a niche product and the only advice I can give is to try building it from source. I believe a .spec file is included if you need an rpm.
But, I want the official CentOS iso can support our new arm64 board.

Re: How to add new hardware support for CentOS

Posted: 2019/06/13 08:13:52
by Mike_Rochefort
I can’t definitively say, as I really don’t know/use the CentOS internal build structure/system, but the following links might be worth looking at.

https://git.centos.org/rpms/kernel-aarc ... c7-aarch64

https://git.centos.org/rpms/kernel/tree ... rch-kernel

http://vault.centos.org/altarch/7/kerne ... SPackages/

Cheers,
Mike

Re: How to add new hardware support for CentOS

Posted: 2019/06/18 02:51:12
by xinliang
Mike_Rochefort wrote:
2019/06/13 08:13:52
I can’t definitively say, as I really don’t know/use the CentOS internal build structure/system, but the following links might be worth looking at.

https://git.centos.org/rpms/kernel-aarc ... c7-aarch64

https://git.centos.org/rpms/kernel/tree ... rch-kernel

http://vault.centos.org/altarch/7/kerne ... SPackages/

Cheers,
Mike
Thanks Mike, regarding to c7-sig-altarch-kernel, it seems SIG altarch provides a kernel package, which using linux stable kernel.