Skip to content
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

Usb serial console #59

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

nytowl
Copy link

@nytowl nytowl commented Aug 29, 2021

This adds USB console support for the Purism L5. Other kernels that have gadget_f_acm support should also work.

I've applied it on top of

#53

craftyguy and others added 5 commits July 7, 2021 20:56
The old kernel has an issue with MMC failing to come up sometimes, it's
resolved in later kernels. 5.12.2pureos3 is the latest kernel release
from Purism.
Initialize the USB gadget first then initialize the serial console.
Point the setup functions to the correct serial port.

Signed-off-by: Angus Ainslie <angus@akkea.ca>
Create /var/log and start syslogd and klogd

Signed-off-by: Angus Ainslie <angus@akkea.ca>
Add the debugfs to control dev_dbg output

Signed-off-by: Angus Ainslie <angus@akkea.ca>
Need to have mdev listen for new devices like the gadget_f_acm serial port.

Signed-off-by: Angus Ainslie <angus@akkea.ca>
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.

None yet

2 participants