Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ev3dev trixie#18

Open
Project516 wants to merge 21 commits intoev3dev:ev3dev-trixieev3dev/ev3-kernel:ev3dev-trixiefrom
Project516:ev3dev-trixieProject516/ev3-kernel:ev3dev-trixieCopy head branch name to clipboard
Open

ev3dev trixie#18
Project516 wants to merge 21 commits intoev3dev:ev3dev-trixieev3dev/ev3-kernel:ev3dev-trixiefrom
Project516:ev3dev-trixieProject516/ev3-kernel:ev3dev-trixieCopy head branch name to clipboard

Conversation

@Project516
Copy link

@Project516 Project516 commented Jan 4, 2026

i rebased ev3dev-bookworm onto ev3dev-trixie and cherry-picked 372d96a

dlech and others added 20 commits January 4, 2026 21:41
This contains all of the changes to /arch/arm/ from the ev3dev v3.16
kernel branch.
This is needed to correctly display the boot logo with a white
background on a monochrome display.
The lms2012 software expects USB to be able to handle 1024 byte packets
on USB ep1. There is no existing configuration for this in the kernel,
so we have to add our own.

The maxpacket values come from the official LEGO firmware source code:
https://github.com/mindboards/ev3sources/blob/master/extra/linux-03.20.00.13/drivers/usb/musb/musb_core.c#L1065

Issue: ev3dev/lms2012-compat#49
Publicly expose functions for detecting devices and removing detected
devices.

Currently an i2c adapter only probes/detects new devices when the adapter
is added or when a new i2c driver is added. This adds a new function,
i2c_adapter_probe(), that allows detecting sensors at any time.

Furthermore, the function i2c_adapter_remove_probed() is added to remove
the devices added by i2c_adapter_probe() at any time.

The intended use of these functions is for LEGO MINDSTORMS sensors. These
are hot-plugable I2C devices. When a sensor is connected, i2c_adapter_probe()
is called to automatically configure the sensor. When the sensor is
disconnected, i2c_adapter_remove_probed() is called to remove the
automatically configured device.

Signed-off-by: David Lechner <david@lechnology.com>
ev3dev: doing this so we don't waste space in the kernel command line.
This is the same as setting fbcon=margin:7
this helps improve EV3 UART sensors overflowing the hardware FIFO
at the expense of more CPU usage
We need to poll the ADC every 100ms, so add a hrtimer tirgger
when the driver is probed.
EV3 doesn't have enough CPU power to handle more frequent polling
Signed-off-by: David Lechner <dlechner@baylibre.com>
This adds a special handler to the default remoteproc ELF firmware
loader that looks up the memory page on TI PRU firmware files.

These processors have multiple memory maps that share the same address
space, so we need to know the page in addition to the physical address
in order to translate the address to a local CPU address.

Signed-off-by: David Lechner <david@lechnology.com>
@Project516 Project516 mentioned this pull request Jan 4, 2026
@Project516
Copy link
Author

Compiled successfully with 42f03173587101809a5a0098ecb728b158b24194 in ev3dev/lego-linux-drivers#86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.