diff --git a/README.adoc b/README.adoc index a7dc3f6..5aa0b92 100644 --- a/README.adoc +++ b/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: