lawik

lawik

Nerves Core Team

Off and on I’ve been trying to get the Clockwork Pi uConsole with a Raspberry Pi CM4 in it to work with Nerves.

Today before packing up for Code BEAM I actually got it going!

The hacked-at system is available here.

The part that eluded me from their original code was that some of the drivers were not compatible with Linux beyond the 5.1 or whatever they made it for. Connor helped me find a good patchset someone made for Raspberry Pi’s Linux kernel. I’m not finding the link right now.

I set it up. Then I had some challenges effectively moving the .dtbo files from the build directory to the right place.

Finally wrapped that up and it works.

I’ve done a number of iterations while travelling but haven’t managed to rotate the text mode display.

I also haven’t gotten the wifi working. If I don’t mount it in config.txt and run dtoverlay devterm-wifi it will tell me error -30 and that it failed to write /config which seems very odd.

I almost got USB connection working but the USB-C ports are weird on Pi-derived devices sometimes and this seems weird. I think I might get it if I find my OTG USB-A-to-A cable.

Showing Posts 1 to 10

lawik

lawik OP

Nerves Core Team

I tried rotating this sucker for my entire train ride up until the night train heading to Code BEAM.

Frank found the incantation in the last few hours if the conference (I think it took him several minutes and ChatGPT did not give the necessary answer).

lawik

lawik OP

Nerves Core Team

Time to try and put a kiosk firmware on it and do some LiveView :slight_smile:

lawik

lawik OP

Nerves Core Team

Kiosk!

lawik

lawik OP

Nerves Core Team

And now it is a .. LivePad?

The Liveputer? Livebook Pi?

lawik

lawik OP

Nerves Core Team

Okay, trackball is not mis-installed. It is consistently 90 degrees off and cannot be mounted. So I have a config off or needed somewhere :smiley:

lawik

lawik OP

Nerves Core Team

Fixed rollerball. Was a weston.ini config that differed from the ReTerminal DM which I am hacking off of.

Was lovely to use until it .. turned off. Speculating but I think the default overclock of the ReTerminal is no good on battery/no cooling. So removing that.

lawik

lawik OP

Nerves Core Team

Works, is stable. Need to fix wifi and hopefully USB tethering?

Took a break to improve the appearance and clarify what this device is for.

lawik

lawik OP

Nerves Core Team

And now I have WiFi. Need to redo a bit of this on top of the rpi4 and rpi4 kiosk systems to slim things down and figure out what actually matters.

This patch has a lot of kernel config. Much of it irrelevant.

lawik

lawik OP

Nerves Core Team

@ericr3r asked for the rotation of the text-mode display and I hadn’t even pushed the commit. So I did. Here it is:
https://github.com/lawik/nerves_system_uconsole/commit/808dd5e7d00abc4e3d4f3172c4541a0727df08c6

The entire diff is this on the linux defconfig:

+ CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y

This allows fbcon to control the framebuffer orientation and all that. I didn’t have to change any rotation which I guess.. great? Otherwise I could have put that in the cmdline.txt.

lawik

lawik OP

Nerves Core Team

This leaves me wondering. Is there a way to inject some UI into Livebook in a graveful way. Would be cool to have battery status and connection indicator :smiley:

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New
_mfierro
Hello, I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews