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 (md5 e1024db60c74df661e884a28eff104f6) 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 you 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"
Hi, do you have any handy info for building 3.10 kernel for GK802?
ReplyDeleteYou can start with this DTS patch http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226587.html and try to build a kernel image from that.
DeleteHas someone tested this build with Wandboard Quad and got the vpu acceleration working with gstreamer?
ReplyDelete# gplay
GStreamer encountered a general stream error.
# gst-launch videotestsrc ! mfw_v4lsink
works displaying test screen but..
# gst-launch filesrc location=test.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_v4lsink
same error as gplay :(
Hi,
Deletecan you check the md5 sum of the download, it should be e1024db60c74df661e884a28eff104f6.
the md5sum was correct.. but I can tell you that I'm having the same errors with latest Yocto build (master, 1.5+snapshot-20140407)..maybe this is Wandboard Quad specific to kernel/driver/lib-version 3.10.17?
Deletefor GPU on this jessie build: all demos went well, except glmark2
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteJust wondering about step 3:
ReplyDelete3. Deploy 3.10.17 beta kernel (or a kernel with the 4.6.9p13 patches merged) on your boot media
Fair enough, but where can I find this kernel? I've had a good look around
stende.no-ip.info/jas and stende.no-ip.info/files, which is where I found the 4.1.0 kernel when I last installed jessie on my GK802. Can't see it there, and can't find a link anywhere on your page either.
Hi,
DeleteUnfortunately I no longer have a GK802 and haven't followed if there has been any development on a later kernel. If want to try and create your own kernel then this dts file would be a starting point http://git.linaro.org/people/shawn.guo/linux-2.6.git/blob/refs/heads/for-next:/arch/arm/boot/dts/imx6q-gk802.dts.
I have got the gk802 to boot with 3.10.17_1.0.0. Using https://github.com/ajayramaswamy/u-boot-gk802 or Esmils prebuilt one http://esmil.dk/u-boot.imx and using Esmils kernel git clone -b imx_3.10.17_1.0.0_ga https://github.com/imx6-dongle/linux-imx.git and using uEnv.txt with:bootz $loadaddr - $fdt_addr
Deletelinux=boot/zImage
devicetree=boot/imx6q-gk802.dtb
options=console=ttymxc3,115200n8 root=/dev/mmcblk0p1 ro rootwait
I have replaced the gpulibs with the 1.0.0 in this rootfs http://stende.no-ip.info/imx6/rootfs/3.10.17_1.0.0/jessie_3.10.17_1.0.0.tar.xz