readme: console fun, arm /dev/fb0 works

This commit is contained in:
Ciro Santilli
2018-04-02 20:34:29 +01:00
parent ccc3a32581
commit 12083ec1fa
2 changed files with 32 additions and 0 deletions

View File

@@ -280,6 +280,27 @@ This makes things a bit more reproducible, since the microsecond in which you pr
+
But on the other hand maybe you are interested in observing the interrupts generated by key presses.
==== Console fun
You can also try those on the Ctrl + Alt + F3 of your Ubuntu host, but it is much more fun inside a VM!
Stop blinking:
echo 0 > /sys/class/graphics/fbcon/cursor_blink
Rotate the console 90 degrees!
echo 1 > /sys/class/graphics/fbcon/rotate
Requires `CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y`.
Documented under: `fb/`.
TODO: font and keymap. Mentioned at: https://cmcenroe.me/2017/05/05/linux-console.html and I think can be done with Busybox `loadkmap` and `loadfont`, we just have to understand their formats, related:
* https://unix.stackexchange.com/questions/177024/remap-keyboard-on-the-linux-console
* https://superuser.com/questions/194202/remapping-keys-system-wide-in-linux-not-just-in-x
=== Automatic startup commands
When debugging a module, it becomes tedious to wait for build and re-type:
@@ -1318,6 +1339,14 @@ A friend told me this but I haven't tried it yet:
* `xf86-video-modesetting` is likely the missing ingredient, but it does not seem possible to activate it from Buildroot currently without patching things.
* `xf86-video-fbdev` should work as well, but we need to make sure fbdev is enabled, and maybe add some line to the `Xorg.conf`
Also if I do:
....
cat /dev/urandom > /dev/fb0
....
the screen fills up with random colors, so I think it can truly work.
=== X11 MIPS
Haven't tried it, doubt it will work out of the box! :-)