mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: give concreate graphic mode arm commands
Document that it does not work without -K.
This commit is contained in:
33
README.adoc
33
README.adoc
@@ -292,6 +292,39 @@ cat /dev/urandom > /dev/fb0
|
||||
|
||||
https://stackoverflow.com/questions/50364863/how-to-get-graphical-gui-output-and-user-touch-keyboard-mouse-input-in-a-ful/50364864#50364864
|
||||
|
||||
More concretely:
|
||||
|
||||
....
|
||||
git checkout gem5-arm
|
||||
./build -aa -lg -K linux/arch/arm/configs/gem5_defconfig
|
||||
....
|
||||
|
||||
and then on another shell:
|
||||
|
||||
....
|
||||
vinagre localhost:5900
|
||||
....
|
||||
|
||||
TODO: without the `-K` it fails even though we have added to link:kernel_config_fragment/default[] on the branch:
|
||||
|
||||
....
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_HDLCD=y
|
||||
CONFIG_DRM_VIRT_ENCODER=y
|
||||
....
|
||||
|
||||
so what other options are missing from `gem5_defconfig`? The failing dmesg is:
|
||||
|
||||
....
|
||||
[ 0.121078] [drm] found ARM HDLCD version r0p0
|
||||
[ 0.121117] hdlcd 2b000000.hdlcd: bound virt-encoder (ops drm_vencoder_ops)
|
||||
[ 0.121122] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
|
||||
[ 0.121126] [drm] No driver support for vblank timestamp query.
|
||||
[ 0.121156] hdlcd 2b000000.hdlcd: Failed to set initial hw configuration.
|
||||
[ 0.121190] hdlcd 2b000000.hdlcd: master bind failed: -12
|
||||
[ 0.121197] hdlcd: probe of 2b000000.hdlcd failed with error -12
|
||||
....
|
||||
|
||||
=== Automatic startup commands
|
||||
|
||||
When debugging a module, it becomes tedious to wait for build and re-type:
|
||||
|
||||
Reference in New Issue
Block a user