🇵🇸 𝙵𝚁𝙾𝙼 𝚃𝙷𝙴 𝚁𝙸𝚅𝙴𝚁 𝚃𝙾 𝚃𝙷𝙴 𝚂𝙴𝙰, 𝙿𝙰𝙻𝙴𝚂𝚃𝙸𝙽𝙴 𝚆𝙸𝙻𝙻 𝙱𝙴 𝙵𝚁𝙴𝙴 🇵🇸

Linux for Ingenic SoCs

Linux kernel source tree with the latest features and modifications to unleash the full potential of Ingenic processors.

Kernel Build

Linux kernel source tree with the latest features and modifications to unleash the full potential of Ingenic processors.

Purpose

Adding stuff to upstream is a lengthy and tough job. Maintaining a separate repo can make new features available to people in a timely manner.

Stuff that are broken in the upstream kernel and nobody cared

Last updated: 2023-08-03

ProblemAffected ChipsFixed Here
Device to Host DMA operations return garbage dataAll X series SoCs with a writeback L2 cache
PDMA operations corrupts RAM randomlyAll X series SoCs
Inaccurate UART baudrate calculationAll Ingenic SoCs
Suspend to RAMAll X series SoCs
Incorrect I2S MCLK PLL calculationX1000 series SoCs
RTC on 12/24MHz clocksourceX1000 series SoCs
Ability to use internal analog codecX1000 series SoCs
SPI HW CS still enabled when using cs-gpiosAll X series SoCs
dwc2_otg must use PIO mode on X1501X1501

Policy

We will always add support for longterm Linux versions, we will also do stable versions when we have time.

Upstream changes will be merged to each branch whenever needed, or every one or two weeks.

We're free to drop support for old longterm kernels if there is already support for a newer version. Same for stable kernels.

This repo is primarily for Ingenic SoCs, but it's not limited to these. We may incorporate other kinds of improvements as well.

Status Matrix

ChipJZ seriesX1000 seriesX1600 seriesX2000 series
Booting
Suspend
SMPN/AN/A
DMADMAC✅PDMA✅PDMA✅
USBUHC✅ USBD✅OTG✅
EthernetN/AMAC✅
SPI MasterSSI✅SSI✅SSI✅
SPI SlaveN/AN/AN/A
Quad SPIN/ASFC✅SFC✅
I2CI2C✅SMB✅
PWMTCU✅TCU✅TCU✅ PWM❌
ADCN/A
SD/MMCMSC✅MSC✅SDHCI✅
I2SAIC✅AIC✅
Analog CodecN/A
PDMICN/A
DisplayLCDC✅SLCD✅
CameraCIM❓CIM✅
CANN/AN/AN/A
Parallel i80 busEMC✅
CDBUSN/AN/AN/A
Heterogeneous multicoreVPU✅MCU✅
Accelerator

Notes

Need help? Have a question? Feel free to open an issue.

You're welcome to push the changes here to upstream if not already done by us, but please retain the original author information.

License information are clearly stated in each file. Please respect them.

FAQ

No support for T series?

Unlike the good old JZ and X series, the T series is in tight control of a subsidiary company of Ingenic in a distant city. And unfortunately they have a very different philosophy of treating customers. You can urge them to release the related datasheets to public by sending emails to support_hf@ingenic.com and marketing@lumissil.com.


Download Linux for Ingenic SoCs

Next Post Previous Post
No Comment
Add Comment
comment url