Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more OS and CPU architectures. #3061

Closed
wjtNo2 opened this issue Jun 9, 2022 · 9 comments
Closed

Support more OS and CPU architectures. #3061

wjtNo2 opened this issue Jun 9, 2022 · 9 comments
Assignees
Labels
Enhancement Improvement or enhancement. help wanted Extra attention is needed TransByAI Translated by AI/GPT.
Milestone

Comments

@wjtNo2
Copy link

wjtNo2 commented Jun 9, 2022

Currently, domestic hardware and operating systems are being vigorously promoted in China. Does SRS have plans to support them?

@xiaozhihong
Copy link
Collaborator

xiaozhihong commented Jun 9, 2022

SRS Loongson Bilibili Video

SRS supports various platforms, which is not related to domestic systems, but to the platforms used by domestic systems. Currently, most of them are mainly ARM.

I don't know if this counts as the support you mentioned?

@winlinvip
Copy link
Member

winlinvip commented Jun 10, 2022

The so-called domestic system is not a single system, but multiple CPU architectures and multiple operating systems. There is no operating system called a domestic system.

Previously, we adapted the domestic Loongson CPU #2689. For other CPUs and systems, specific adaptations are needed because they are different from each other.

Please specify the system and CPU architecture if it is not supported.

@winlinvip winlinvip self-assigned this Jun 10, 2022
@winlinvip winlinvip added the Won't fix We won't fix it. label Jun 10, 2022
@winlinvip winlinvip changed the title 现在国内都在大力推广国产化硬件、操作系统,SRS是有有支持的计划? 信创:适配国产化硬件,国产操作系统,支持的列表 Aug 10, 2022
@winlinvip winlinvip reopened this Aug 10, 2022
@winlinvip winlinvip added Enhancement Improvement or enhancement. help wanted Extra attention is needed and removed Won't fix We won't fix it. labels Aug 10, 2022
@winlinvip winlinvip added this to the 5.0 milestone Aug 10, 2022
@winlinvip
Copy link
Member

winlinvip commented Aug 10, 2022

Support MIPS 64bits for loongson 3A4000/3B3000. v5.0.38

Adapted to Loongson MIPS64 chip, version: v5.0.38

uname -a
Linux loongson-pc 4.19.0-13-loongson-3 #1 SMP Tue Aug 17 01:57:07 UTC 2021 mips64 GNU/Linux

g++ -dM -E - </dev/null |grep -i mips
#define _MIPS_ISA _MIPS_ISA_MIPS64
#define _MIPS_TUNE "mips64r2"
#define __mips_abicalls 1
#define _MIPS_TUNE_MIPS64R2 1
#define __MIPSEL__ 1
#define __mips_fpr 64
#define __mips__ 1
#define MIPSEL 1
#define mips 1
#define _MIPSEL 1
#define _MIPS_ARCH "mips64r2"
#define _MIPS_SPFPSET 32
#define _MIPS_ARCH_MIPS64R2 1
#define __mips_isa_rev 2
#define __mips64 1
#define _MIPS_SZPTR 64
#define _mips 1
#define _MIPS_SZINT 32
#define __MIPSEL 1
#define __GCC_HAVE_BUILTIN_MIPS_CACHE 1
#define _MIPS_SIM _ABI64
#define _MIPS_FPSET 32
#define __mips_hard_float 1
#define __mips 64
#define _MIPS_SZLONG 64

@winlinvip
Copy link
Member

winlinvip commented Aug 10, 2022

Adapted to the server operating system of the Chinese Academy of Sciences, version: v5.0.39

7f7406e

uname -a
Linux localhost.localdomain 4.19.113-16.nfs4.x86_64 #1 SMP Mon Dec 20 19:16:02 CST 2021 x86_64 x86_64 x86_64 GNU/Linux

g++ -dM -E - </dev/null |grep -i x86
#define __x86_64 1
#define __x86_64__ 1

@winlinvip
Copy link
Member

winlinvip commented Aug 11, 2022

Adapted to Kylin V10 operating system.

uname -a
Linux tjweb1 4.19.90-25.16.v2101.ky10.aarch64 #1 SMP Tue Jun 7 11:41:28 CST 2022 aarch64 aarch64 aarch64 GNU/Linux

g++ -dM -E - < /dev/null|grep aarch64
#define __aarch64__ 1

@winlinvip
Copy link
Member

winlinvip commented Aug 12, 2022

Cross-compilation, running on HiSilicon ARM chip. v5.0.40

https://ossrs.net/lts/zh-cn/docs/v5/doc/arm#ubuntu-cross-build-srs-armv7hisiv500

a842c6c32

@winlinvip winlinvip changed the title 信创:适配国产化硬件,国产操作系统,支持的列表 Support more OS and CPU architectures. 信创:适配国产化硬件,国产操作系统,支持的列表 Jan 2, 2023
@winlinvip winlinvip modified the milestones: 5.0, 6.0 Jan 2, 2023
@winlinvip
Copy link
Member

winlinvip commented Jan 6, 2023

Update, SRS can run on Huawei Euler system:

  • Program management: yum
  • CPU architecture: x86_64

@wddnzjwd
Copy link

wddnzjwd commented Mar 3, 2023

Does the OpenEuler system support ARM architecture?

@zcyc
Copy link

zcyc commented Apr 26, 2023

Rockchip
For example: RK3588

@winlinvip winlinvip changed the title Support more OS and CPU architectures. 信创:适配国产化硬件,国产操作系统,支持的列表 Support more OS and CPU architectures. Jul 18, 2023
@ossrs ossrs locked and limited conversation to collaborators Jul 18, 2023
@winlinvip winlinvip converted this issue into discussion #3662 Jul 18, 2023
@winlinvip winlinvip added EnglishNative This issue is conveyed exclusively in English. TransByAI Translated by AI/GPT. and removed EnglishNative This issue is conveyed exclusively in English. labels Jul 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Enhancement Improvement or enhancement. help wanted Extra attention is needed TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

5 participants