[PR #97] [CLOSED] CAN FD and CTU CAN FD emultin for QEMU #177

Open
opened 2026-01-31 21:30:07 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/97
Author: @ppisa
Created: 9/16/2020
Status: Closed

Base: masterHead: ctu-canfd


📝 Commits (7)

  • 41383d4 net/can: Initial host SocketCan support for CAN FD.
  • 48d9ebf hw/net/can: sja1000 ignore CAN FD frames
  • 0a2efc6 net/can: Add can_dlc2len and can_len2dlc for CAN FD.
  • 97ae620 hw/net/can/ctucafd: Add CTU CAN FD core register definitions.
  • 23e3ca4 hw/net/can: CTU CAN FD IP open hardware core emulation.
  • 6d1b8db hw/net/can: Documentation for CTU CAN FD IP open hardware core emulation.
  • dd332de hw/net/can: Correct Kconfig dependencies after switch to meson build.

📊 Changes

13 files changed (+2506 additions, -24 deletions)

View changed files

📝 MAINTAINERS (+9 -0)
📝 docs/can.txt (+102 -11)
📝 hw/net/Kconfig (+13 -3)
📝 hw/net/can/can_sja1000.c (+25 -6)
hw/net/can/ctu_can_fd_frame.h (+189 -0)
hw/net/can/ctu_can_fd_regs.h (+971 -0)
hw/net/can/ctucan_core.c (+696 -0)
hw/net/can/ctucan_core.h (+127 -0)
hw/net/can/ctucan_pci.c (+281 -0)
📝 hw/net/can/meson.build (+2 -0)
📝 include/net/can_emu.h (+11 -1)
📝 net/can/can_core.c (+36 -0)
📝 net/can/can_socketcan.c (+44 -3)

📄 Description

This is extension of QEMU CAN support implemented by 2013 Jin Yang during his RTEMS GSoC under my mentoring.
The CAN FD support and CTU CAN FD IP core emulation has been designed by Jan Charvat during his bachelor theses.
The concept and project is maintained by me.

CTU CAN FD IP core VHDL design by Ondrej Ille.

More about our projects there

http://canbus.pages.fel.cvut.cz/


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/97 **Author:** [@ppisa](https://github.com/ppisa) **Created:** 9/16/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `ctu-canfd` --- ### 📝 Commits (7) - [`41383d4`](https://github.com/qemu/qemu/commit/41383d4eb3f35586c696a8e29c4dff4031a81338) net/can: Initial host SocketCan support for CAN FD. - [`48d9ebf`](https://github.com/qemu/qemu/commit/48d9ebf6b64e7652851c12fe4566e06b44803372) hw/net/can: sja1000 ignore CAN FD frames - [`0a2efc6`](https://github.com/qemu/qemu/commit/0a2efc6ef9c458505952ed230e49ae25cad7f324) net/can: Add can_dlc2len and can_len2dlc for CAN FD. - [`97ae620`](https://github.com/qemu/qemu/commit/97ae620f724bf1d76f127aaf628f7aec3af0a11c) hw/net/can/ctucafd: Add CTU CAN FD core register definitions. - [`23e3ca4`](https://github.com/qemu/qemu/commit/23e3ca4dcb2cc9900991016910a6cab7686c0e31) hw/net/can: CTU CAN FD IP open hardware core emulation. - [`6d1b8db`](https://github.com/qemu/qemu/commit/6d1b8db69efc4e5cfad702d2150e1960e8f63572) hw/net/can: Documentation for CTU CAN FD IP open hardware core emulation. - [`dd332de`](https://github.com/qemu/qemu/commit/dd332de687bfe52bbec37f5de1d861fb8e620d74) hw/net/can: Correct Kconfig dependencies after switch to meson build. ### 📊 Changes **13 files changed** (+2506 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `MAINTAINERS` (+9 -0) 📝 `docs/can.txt` (+102 -11) 📝 `hw/net/Kconfig` (+13 -3) 📝 `hw/net/can/can_sja1000.c` (+25 -6) ➕ `hw/net/can/ctu_can_fd_frame.h` (+189 -0) ➕ `hw/net/can/ctu_can_fd_regs.h` (+971 -0) ➕ `hw/net/can/ctucan_core.c` (+696 -0) ➕ `hw/net/can/ctucan_core.h` (+127 -0) ➕ `hw/net/can/ctucan_pci.c` (+281 -0) 📝 `hw/net/can/meson.build` (+2 -0) 📝 `include/net/can_emu.h` (+11 -1) 📝 `net/can/can_core.c` (+36 -0) 📝 `net/can/can_socketcan.c` (+44 -3) </details> ### 📄 Description This is extension of QEMU CAN support implemented by 2013 Jin Yang during his RTEMS GSoC under my mentoring. The CAN FD support and CTU CAN FD IP core emulation has been designed by Jan Charvat during his bachelor theses. The concept and project is maintained by me. CTU CAN FD IP core VHDL design by Ondrej Ille. More about our projects there http://canbus.pages.fel.cvut.cz/ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:30:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#177