How to add new hardware support for CentOS

General support questions
Post Reply
xinliang
Posts: 4
Joined: 2019/06/12 10:40:29

How to add new hardware support for CentOS

Post by xinliang » 2019/06/12 10:58:00

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

User avatar
TrevorH
Forum Moderator
Posts: 25808
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to add new hardware support for CentOS

Post by TrevorH » 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.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

dunch
Posts: 56
Joined: 2018/11/07 13:48:53
Location: Yorkshire

Re: How to add new hardware support for CentOS

Post by dunch » 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.

User avatar
TrevorH
Forum Moderator
Posts: 25808
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to add new hardware support for CentOS

Post by TrevorH » 2019/06/12 14:50:50

aarch64 is a supported CentOS arch.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

xinliang
Posts: 4
Joined: 2019/06/12 10:40:29

Re: How to add new hardware support for CentOS

Post by xinliang » 2019/06/13 07:39:17

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

xinliang
Posts: 4
Joined: 2019/06/12 10:40:29

Re: How to add new hardware support for CentOS

Post by xinliang » 2019/06/13 07:55:19

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.

Mike_Rochefort
Posts: 132
Joined: 2016/03/16 02:34:19

Re: How to add new hardware support for CentOS

Post by Mike_Rochefort » 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

xinliang
Posts: 4
Joined: 2019/06/12 10:40:29

Re: How to add new hardware support for CentOS

Post by xinliang » 2019/06/18 02:51:12

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.

Post Reply