Following on from the previous jessie rootfs, this is an updated version with the 3.10.17_beta BSP libraries deployed. It should work on most i.mx6 devices providing you have a valid uboot and kernel. Furthermore you can also use it as a test bed for Wayland/Weston development as per my last post.
One of the primary changes in the beta BSP is the inclusion of xrandr support within the X driver. Unfortunately the driver is partially functioning, for example I couldn't get it change resolution without restarting the X server. Another change is the Vivante driver are updated to 4.6.9p13 (see).
As with the previous rootfs:
1. Download and extract the tar file onto your boot media
2. Deploy a compatible uboot on your boot media
3. Deploy 3.10.17 beta kernel (or a kernel with the 4.6.9p13 patches merged) on your boot media
4. If required enable serial console support in /etc/inittab (see)
5. Setup networking as required.
By default the system boots to console mode, refer to the previous post on how to verify the rootfs is functioning correctly.
I've included some scripts to allow switching between the fb, x11 and wayland vivante libraries, these are located in /root and self explanatory.
/root/switch_to_wl.sh
/root/switch_to_fb.sh
/root/switch_to_x11.sh
If you choose to use x11 by default XFCE (lightdm) is disabled. To launch it:
service lightdm start
If you have no screen output (assuming HDMI) then (because of the xrandr feature) you will to have to manually configure the screen resolution in xorg.conf. To do this un-comment the screen SubSection and change to the correct resolution.
SubSection "Display"
Modes "U:1280x720p-60"
EndSubSection
If can't find the correct resolution then check the last output from /var/log/xorg.0.log. The current the resolution chosen by the X driver will be shown by the following statements:
[ 38.607] (II) VIVANTE(0): Using user preference for initial modes
[ 38.608] (II) VIVANTE(0): Output DISP3 BG using initial mode U:1280x720p-60
[ 38.768] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1280 x 720, display
The log file may also list all the possible modes available, it does this by reading EDID (assuming HDMI) which seems to be a hit or miss affair depending on your TV/monitor. For example may see something similar to this:
[ 35.223] (II) VIVANTE(0): Modeline "U:720x576p-50"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync -csync (31.2 kHz
e)
[ 35.224] (II) VIVANTE(0): Modeline "U:1920x1080p-60"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync
(67.5 kHz e)
Replace the Modes value with correct one from xorg.0.log and restart lightdm. For example:
Modes "U:1920x1080p-60"
One of the primary changes in the beta BSP is the inclusion of xrandr support within the X driver. Unfortunately the driver is partially functioning, for example I couldn't get it change resolution without restarting the X server. Another change is the Vivante driver are updated to 4.6.9p13 (see).
As with the previous rootfs:
1. Download and extract the tar file onto your boot media
2. Deploy a compatible uboot on your boot media
3. Deploy 3.10.17 beta kernel (or a kernel with the 4.6.9p13 patches merged) on your boot media
4. If required enable serial console support in /etc/inittab (see)
5. Setup networking as required.
By default the system boots to console mode, refer to the previous post on how to verify the rootfs is functioning correctly.
I've included some scripts to allow switching between the fb, x11 and wayland vivante libraries, these are located in /root and self explanatory.
/root/switch_to_wl.sh
/root/switch_to_fb.sh
/root/switch_to_x11.sh
If you choose to use x11 by default XFCE (lightdm) is disabled. To launch it:
service lightdm start
If you have no screen output (assuming HDMI) then (because of the xrandr feature) you will to have to manually configure the screen resolution in xorg.conf. To do this un-comment the screen SubSection and change to the correct resolution.
SubSection "Display"
Modes "U:1280x720p-60"
EndSubSection
If can't find the correct resolution then check the last output from /var/log/xorg.0.log. The current the resolution chosen by the X driver will be shown by the following statements:
[ 38.607] (II) VIVANTE(0): Using user preference for initial modes
[ 38.608] (II) VIVANTE(0): Output DISP3 BG using initial mode U:1280x720p-60
[ 38.768] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1280 x 720, display
The log file may also list all the possible modes available, it does this by reading EDID (assuming HDMI) which seems to be a hit or miss affair depending on your TV/monitor. For example may see something similar to this:
[ 35.223] (II) VIVANTE(0): Modeline "U:720x576p-50"x0.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync -csync (31.2 kHz
e)
[ 35.224] (II) VIVANTE(0): Modeline "U:1920x1080p-60"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync
(67.5 kHz e)
Replace the Modes value with correct one from xorg.0.log and restart lightdm. For example:
Modes "U:1920x1080p-60"