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 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
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
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
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
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

Other Trending Topics Top

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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews