GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Bonstra/linux-ls1024a: Linux v6.x with WIP support for the Freescale LS1024A SoC and the TS-x31 NAS family from QNAP.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,155,668 Commits
1,155,668 Commits

Folders and files

NameName
Last commit message
Last commit date
Documentation
Documentation
 
 
LICENSES
LICENSES
 
 
arch
arch
 
 
block
block
 
 
certs
certs
 
 
crypto
crypto
 
 
drivers
drivers
 
 
fs
fs
 
 
include
include
 
 
init
init
 
 
io_uring
io_uring
 
 
ipc
ipc
 
 
kernel
kernel
 
 
lib
lib
 
 
mm
mm
 
 
net
net
 
 
rust
rust
 
 
samples
samples
 
 
scripts
scripts
 
 
security
security
 
 
sound
sound
 
 
tools
tools
 
 
usr
usr
 
 
virt
virt
 
 
.clang-format
.clang-format
 
 
.cocciconfig
.cocciconfig
 
 
.get_maintainer.ignore
.get_maintainer.ignore
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.mailmap
.mailmap
 
 
.rustfmt.toml
.rustfmt.toml
 
 
COPYING
COPYING
 
 
CREDITS
CREDITS
 
 
Kbuild
Kbuild
 
 
Kconfig
Kconfig
 
 
MAINTAINERS
MAINTAINERS
 
 
Makefile
Makefile
 
 
README
README
 
 
README.md
README.md
 
 

Repository files navigation

LS1024A SoC support in Linux 6.x

This repository contains a v6.x Linux kernel with additional drivers and support for Freescale's LS1024A SoC and the QNAP TS-x31 family of NAS machines.

My goal is to get a QNAP TS-x31 NAS running with most features on a v5.x Linux kernel. When the code is stable enough (i.e. I don't need to break older stuff when I write a new driver), I intend to submit patches for integration in Linux mainline.

Be advised that this is a work in progress and that this branch WILL be updated using force push.

Drivers specific to the LS1024A have been re-written from scratch to make use of the various frameworks which were introduced since the outdated 3.2.26 kernel Freescale is providing (common clock framework, device tree, pinctrl and PHY frameworks).

What's working:

  • Dual Cortex A9 SMP
  • UART0
  • UART1
  • Clock controller
  • Pin muxing
  • GPIOs
  • PCIe
  • USB 3.0 in host mode
  • SATA
  • I2C
  • SPI
  • Simple CPU frequency scaling
  • Watchdog timer
  • Powering off using PIC on UART0

What's NOT working yet (but I'll be working on it soon):

  • Blob-less PFE (Gigabit ethernet)
  • NAND controller + expansion bus
  • DMA controller
  • Timers
  • Crypto engine (SPACC)

What's NOT working yet and is low on the priority list:

  • Suspend to RAM
  • PMU (when I realize the system doesn't wake up :-) )
  • Other power-saving features (USB, PCIe, SATA, DVFS, Wake on LAN)
  • OTP memory (read-only)
  • TrustZone (maybe, it could be fun)

What's NOT working (and I won't try):

  • RTC (documented, but the QNAP TS-x31 lacks a 32 KHz oscillator)
  • I2S (not routed on my hardware)
  • DPI (no documentation or source code available)
  • IPSEC (no documentation or source code available)
  • DECT (not routed on my hardware)
  • TDM (not routed on my hardware)
  • PFE with firmware binary blobs (too many security concerns: firmware is very complex, ISA (eSi-RISC) is not publicly documented, PEs have access to the DDR and peripherals)

Known issues:

  • CPU1 cannot be brought back up when put offline

Changelog:

2022-12-17:

  • Rebase on v6.1

2022-07-12:

  • Rebase on v5.18

2022-02-25:

  • Rebase on v5.16

2021-07-17:

  • Rebase on v5.13
  • Fix PCIe controller supplier dependency issue

2021-03-21:

  • Added PCIe driver
  • UART0 and SPI support
  • Enabled SPI NOR flash
  • Added simple CPU frequency scaling
  • Rebased on Linux v5.11
  • Various SerDes PHY changes
  • Minor watchdog changes
  • Disabled Cortex-A9 global timer as it prevents booting when SMP is enabled
  • CPU nodes fixes in DT

About

Linux v6.x with WIP support for the Freescale LS1024A SoC and the TS-x31 NAS family from QNAP.

Topics

comcerto2000freescalelinuxls1024amainlinemindspeednasqnapts-x31

Resources

Readme
License
Activity

Stars

16 stars

Watchers

5 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.