Wandboard new kernel

This forum is for supported devices using an ARMv7 Freescale SoC.

Wandboard new kernel

Postby pepedog » Thu Mar 27, 2014 3:02 pm

Please test, I don't have a device
$this->bbcode_second_pass_code('', 'pacman -Sy linux-imx6-wandboard-dt')
Of course either copy the files that are required in /boot to the right place, or mount required place as /boot before installing
It won't overwite your old kernel, either remove it or rename uImage, uImage I am told is first choice then zImage. If it fails to boot then rename uImage back again
This is kernel 3.10.17 patched to BSP 3.10.17_1.0.0_beta
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby raumzeit » Thu Mar 27, 2014 5:55 pm

Thank you very much for this package.
I just installed it and it boots :)
HOWEVER, my keyboard is not working! Neither in terminal nor in X...
Mouse works fine, though.
$this->bbcode_second_pass_code('', '
[root@neptune ~]# lsusb
Bus 001 Device 005: ID 0c45:5303 Microdia
Bus 001 Device 006: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
')
I have a USB hub connected to my Wandboard that again connects my Mouse, Keyboard etc.
dmesg does not show any recognized keyboard:
$this->bbcode_second_pass_code('', '
[root@neptune ~]# dmesg | grep -i key
[ 1.628873] NFS: Registering the id_resolver key type
[ 1.628912] Key type id_resolver registered
[ 1.628917] Key type id_legacy registered
[ 3.158413] IR MCE Keyboard/mouse protocol handler initialized
[ 4.364885] platform caam_sm: caam_sm_test: 8-byte key test match OK
[ 4.370074] platform caam_sm: caam_sm_test: 16-byte key test match OK
[ 4.375333] platform caam_sm: caam_sm_test: 32-byte key test match OK
[ 4.582655] Key type dns_resolver registered
')
...but shows tons of evbug: Events like this:

$this->bbcode_second_pass_code('', '
[ 81.844375] evbug: Event. Dev: input0, Type: 4, Code: 4, Value: 589825
[ 81.844393] evbug: Event. Dev: input0, Type: 1, Code: 272, Value: 0
[ 81.844404] evbug: Event. Dev: input0, Type: 0, Code: 0, Value: 0
[ 81.876373] evbug: Event. Dev: input0, Type: 2, Code: 1, Value: -1
[ 81.876388] evbug: Event. Dev: input0, Type: 0, Code: 0, Value: 0
...
[ 1035.573381] evbug: Event. Dev: input1, Type: 0, Code: 0, Value: 0
[ 1035.581368] evbug: Event. Dev: input1, Type: 2, Code: 0, Value: -1
[ 1035.581383] evbug: Event. Dev: input1, Type: 0, Code: 0, Value: 0
[ 1035.589367] evbug: Event. Dev: input1, Type: 2, Code: 1, Value: 1
[ 1035.589382] evbug: Event. Dev: input1, Type: 0, Code: 0, Value: 0
')
When I plug out/in the keyboard I get the following debug message:
$this->bbcode_second_pass_code('', '
usb 1-1.3: USB disconnect, device number 6
usb 1-1.3: new low-speed USB device number 7 using ci_hdrc
')
Is it possible that activated OTG prohibits correct init of my keyboard?

Best

RaumZeit
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: Wandboard new kernel

Postby pepedog » Thu Mar 27, 2014 6:09 pm

Good, because this gives me something to work on
Will look at it soon
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby raumzeit » Thu Mar 27, 2014 6:27 pm

It seems that the config you used has almost all HID device features disabled...

Meanwhile I will adapt the config and compile to see if anything changes...
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: Wandboard new kernel

Postby pepedog » Thu Mar 27, 2014 7:01 pm

Thanks for lightening load, if you don't want to do pull request, send the config
If this works,xbmc may run n clean install
$this->bbcode_second_pass_code('', 'pacman -S xbmc-imx-git libfslvpuwrap libcec-imx6 gpu-viv-bin-mx6q-fb firmware-imx imx-vpu')
Note,add X after xbmc
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby raumzeit » Fri Mar 28, 2014 6:47 am

This is strange...
I now enabled all HID device support I found missing in the diff between the config in linux-wandboard and linux-imx6-wandboard-dt: ...and my keyboard works fine now.

But logging in to X shows several artefacts that make parts of XFCE4 unreadable: The terminal window as well as xfce4-panel is scrambled
http://www.tbi.univie.ac.at/~ronny/screenshot_linux-imx6-wandboard-dt.png
Other windows appear just fine...

Any idea what this might be?
Does this kernel only work correctly with vivante gpu driver? I'll try this and report back

edit
xbmc also refuses to start. It just segfaults. I tried starting it with systemctl prior to loading any X, as well as directly calling
$this->bbcode_second_pass_code('', '/usr/bin/xbmc-standalone') as root

$this->bbcode_second_pass_code('', '
############## XBMC CRASH LOG ###############

################ SYSTEM INFO ################
Date: Fri Mar 28 08:11:54 CET 2014
XBMC Options:
Arch: armv7l
Kernel: Linux 3.10.17-1-ARCH #1 SMP Thu Mar 27 20:56:08 CET 2014
Release: Arch Linux ARM
############## END SYSTEM INFO ##############

############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############

################# LOG FILE ##################

08:11:53 T:1955893248 NOTICE: special://profile/ is mapped to: special://masterprofile/
08:11:53 T:1955893248 NOTICE: -----------------------------------------------------------------------
08:11:53 T:1955893248 NOTICE: Starting XBMC (13.0-BETA1 Git:20140323-0c2cbde). Platform: ARM Linux 32-bit
08:11:53 T:1955893248 NOTICE: Using Release XBMC x32 build, compiled Mar 24 2014 by GCC 4.8.2 for ARM Linux 32-bit 3.13.2
08:11:53 T:1955893248 NOTICE: Running on Linux 32-bit (Arch Linux ARM, 3.10.17-1-ARCH armv7l)
08:11:53 T:1955893248 NOTICE: Host CPU: ARMv7 Processor rev 10 (v7l), 4 cores available
08:11:53 T:1955893248 NOTICE: ARM Features: Neon enabled
08:11:53 T:1955893248 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
08:11:53 T:1955893248 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
08:11:53 T:1955893248 NOTICE: special://masterprofile/ is mapped to: /root/.xbmc/userdata
08:11:53 T:1955893248 NOTICE: special://home/ is mapped to: /root/.xbmc
08:11:53 T:1955893248 NOTICE: special://temp/ is mapped to: /root/.xbmc/temp
08:11:53 T:1955893248 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
08:11:53 T:1955893248 NOTICE: Local hostname: neptune
08:11:53 T:1955893248 NOTICE: Log File is located: /root/.xbmc/temp/xbmc.log
08:11:53 T:1955893248 NOTICE: -----------------------------------------------------------------------
08:11:53 T:1955893248 NOTICE: load settings...
08:11:53 T:1955893248 NOTICE: Found 1 Lists of Devices
08:11:53 T:1955893248 NOTICE: Enumerated ALSA devices:
08:11:53 T:1955893248 NOTICE: Device 1
08:11:53 T:1955893248 NOTICE: m_deviceName : sysdefault:CARD=imx6wandboardsg
08:11:53 T:1955893248 NOTICE: m_displayName : imx6-wandboard-sgtl5000
08:11:53 T:1955893248 NOTICE: m_displayNameExtra: Analog
08:11:53 T:1955893248 NOTICE: m_deviceType : AE_DEVTYPE_PCM
08:11:53 T:1955893248 NOTICE: m_channels : FL,FR
08:11:53 T:1955893248 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,96000
08:11:53 T:1955893248 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
08:11:53 T:1955893248 NOTICE: Device 2
08:11:53 T:1955893248 NOTICE: m_deviceName : sysdefault:CARD=imxspdif
08:11:53 T:1955893248 NOTICE: m_displayName : imx-spdif
08:11:53 T:1955893248 NOTICE: m_displayNameExtra: S/PDIF
08:11:53 T:1955893248 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
08:11:53 T:1955893248 NOTICE: m_channels : FL,FR
08:11:53 T:1955893248 NOTICE: m_sampleRates : 32000,44100,48000
08:11:53 T:1955893248 NOTICE: m_dataFormats : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE
08:11:53 T:1955893248 NOTICE: Device 3
08:11:53 T:1955893248 NOTICE: m_deviceName : sysdefault:CARD=imxhdmisoc
08:11:53 T:1955893248 NOTICE: m_displayName : imx-hdmi-soc
08:11:53 T:1955893248 NOTICE: m_displayNameExtra: HDMI
08:11:53 T:1955893248 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
08:11:53 T:1955893248 NOTICE: m_channels : FL,FR
08:11:53 T:1955893248 NOTICE: m_sampleRates : 32000,44100,48000
08:11:53 T:1955893248 NOTICE: m_dataFormats : AE_FMT_LPCM,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_EAC3,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_AAC,AE_FMT_S16NE,AE_FMT_S16LE
08:11:53 T:1955893248 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
08:11:53 T:1955893248 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
08:11:53 T:1955893248 NOTICE: Default DVD Player: dvdplayer
08:11:53 T:1955893248 NOTICE: Default Video Player: dvdplayer
08:11:53 T:1955893248 NOTICE: Default Audio Player: paplayer
08:11:53 T:1955893248 NOTICE: Disabled debug logging due to GUI setting. Level 0.
08:11:53 T:1955893248 NOTICE: Log level changed to 0
08:11:53 T:1955893248 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
08:11:53 T:1955893248 NOTICE: Loaded playercorefactory configuration
08:11:53 T:1955893248 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
08:11:53 T:1955893248 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
08:11:53 T:1955893248 NOTICE: LoadFromXML - unable to load:/root/.xbmc/userdata/wakeonlan.xml
07:11:53 T:1818989616 NOTICE: Thread ActiveAE start, auto delete: false
07:11:53 T:1808790576 NOTICE: Thread AESink start, auto delete: false
07:11:53 T:1955893248 NOTICE: Running database version Addons16
07:11:53 T:1955893248 NOTICE: ADDONS: Using repository repository.xbmc.org
07:11:53 T:1798304816 NOTICE: Thread PeripBusCEC start, auto delete: false
07:11:53 T:1788867632 NOTICE: Thread PeripBusUSBUdev start, auto delete: false
07:11:54 T:1955893248 ERROR: InitWindowSystem: Could not initialize
07:11:54 T:1955893248 FATAL: CApplication::Create: Unable to init windowing system


############### END LOG FILE ################

############ END XBMC CRASH LOG #############
')

$this->bbcode_second_pass_code('', '
[root@neptune ~]# systemctl status xbmc -l
xbmc.service - Starts an instance of XBMC
Loaded: loaded (/usr/lib/systemd/system/xbmc.service; disabled)
Active: failed (Result: start-limit) since Fri 2014-03-28 08:11:16 CET; 12min ago
Process: 627 ExecStart=/usr/bin/runxbmc (code=exited, status=1/FAILURE)
Main PID: 627 (code=exited, status=1/FAILURE)

Mar 28 08:17:12 neptune runxbmc[601]: /usr/bin/runxbmc: line 11: 602 Segmentation fault (core dumped) /usr/lib/xbmc/xbmc.bin $@
Mar 28 08:17:12 neptune runxbmc[601]: /usr/bin/runxbmc: line 29: /sys/class/graphics/fbcon/cursor_blink: Permission denied
Mar 28 08:17:12 neptune runxbmc[616]: /usr/bin/runxbmc: line 8: /sys/class/graphics/fbcon/cursor_blink: Permission denied
Mar 28 08:17:12 neptune runxbmc[616]: ERROR: Unable to create GUI. Exiting
Mar 28 08:17:12 neptune runxbmc[616]: /usr/bin/runxbmc: line 11: 617 Segmentation fault (core dumped) /usr/lib/xbmc/xbmc.bin $@
Mar 28 08:17:12 neptune runxbmc[616]: /usr/bin/runxbmc: line 29: /sys/class/graphics/fbcon/cursor_blink: Permission denied
Mar 28 08:17:12 neptune runxbmc[627]: /usr/bin/runxbmc: line 8: /sys/class/graphics/fbcon/cursor_blink: Permission denied
Mar 28 08:17:12 neptune runxbmc[627]: ERROR: Unable to create GUI. Exiting
Mar 28 08:17:12 neptune runxbmc[627]: /usr/bin/runxbmc: line 11: 628 Segmentation fault (core dumped) /usr/lib/xbmc/xbmc.bin $@
Mar 28 08:17:12 neptune runxbmc[627]: /usr/bin/runxbmc: line 29: /sys/class/graphics/fbcon/cursor_blink: Permission denied

')
Did I do something wrong here?
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: Wandboard new kernel

Postby raumzeit » Fri Mar 28, 2014 5:03 pm

Update:
The Xorg problems I had before are realted to regular xorg video drivers, as I thought. After I installed the vivante x11 drivers and the appropriate xf86 driver, everything is fine and I run Xorg with vivante GPU support now:
$this->bbcode_second_pass_code('', '
$ cat /var/log/Xorg.0.log
[ 1222.259]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 1222.259] X Protocol Version 11, Revision 0
[ 1222.259] Build Operating System: Linux 3.4.75-1-ARCH armv7l
[ 1222.259] Current Operating System: Linux neptune 3.10.17-1-ARCH #1 SMP Fri Mar 28 12:53:58 CET 2014 armv7l
[ 1222.259] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rw rootwait video=
[ 1222.259] Build Date: 13 January 2014 04:54:47PM
[ 1222.259]
[ 1222.259] Current version of pixman: 0.32.4
[ 1222.260] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1222.260] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1222.260] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 28 19:14:59 2014
[ 1222.261] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1222.262] (==) ServerLayout "Default Layout"
[ 1222.262] (**) |-->Screen "Default Screen" (0)
[ 1222.262] (**) | |-->Monitor "Configured Monitor"
[ 1222.262] (**) | |-->Device "i.MX Accelerated Framebuffer Device"
[ 1222.262] (**) Option "BlankTime" "0"
[ 1222.263] (**) Option "StandbyTime" "0"
[ 1222.263] (**) Option "SuspendTime" "0"
[ 1222.263] (**) Option "OffTime" "0"
[ 1222.263] (==) Automatically adding devices
[ 1222.263] (==) Automatically enabling devices
[ 1222.263] (==) Automatically adding GPU devices
[ 1222.263] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 1222.263] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1222.263] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1222.263] (II) Loader magic: 0x1c2e78
[ 1222.263] (II) Module ABI versions:
[ 1222.263] X.Org ANSI C Emulation: 0.4
[ 1222.263] X.Org Video Driver: 15.0
[ 1222.264] X.Org XInput driver : 20.0
[ 1222.264] X.Org Server Extension : 8.0
[ 1222.264] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1222.265] Initializing built-in extension Generic Event Extension
[ 1222.265] Initializing built-in extension SHAPE
[ 1222.265] Initializing built-in extension MIT-SHM
[ 1222.265] Initializing built-in extension XInputExtension
[ 1222.265] Initializing built-in extension XTEST
[ 1222.265] Initializing built-in extension BIG-REQUESTS
[ 1222.265] Initializing built-in extension SYNC
[ 1222.265] Initializing built-in extension XKEYBOARD
[ 1222.265] Initializing built-in extension XC-MISC
[ 1222.265] Initializing built-in extension SECURITY
[ 1222.265] Initializing built-in extension XINERAMA
[ 1222.265] Initializing built-in extension XFIXES
[ 1222.266] Initializing built-in extension RENDER
[ 1222.266] Initializing built-in extension RANDR
[ 1222.266] Initializing built-in extension COMPOSITE
[ 1222.266] Initializing built-in extension DAMAGE
[ 1222.266] Initializing built-in extension MIT-SCREEN-SAVER
[ 1222.266] Initializing built-in extension DOUBLE-BUFFER
[ 1222.266] Initializing built-in extension RECORD
[ 1222.266] Initializing built-in extension DPMS
[ 1222.266] Initializing built-in extension Present
[ 1222.266] Initializing built-in extension DRI3
[ 1222.266] Initializing built-in extension X-Resource
[ 1222.266] Initializing built-in extension XVideo
[ 1222.266] Initializing built-in extension XVideo-MotionCompensation
[ 1222.266] Initializing built-in extension XFree86-VidModeExtension
[ 1222.267] Initializing built-in extension XFree86-DGA
[ 1222.267] Initializing built-in extension XFree86-DRI
[ 1222.267] Initializing built-in extension DRI2
[ 1222.267] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 1222.267] (II) LoadModule: "dbe"
[ 1222.267] (II) Module "dbe" already built-in
[ 1222.267] (II) LoadModule: "extmod"
[ 1222.267] (II) Module "extmod" already built-in
[ 1222.267] (II) LoadModule: "glx"
[ 1222.268] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1222.279] (II) Module glx: vendor="X.Org Foundation"
[ 1222.279] compiled for 1.15.0, module version = 1.0.0
[ 1222.279] ABI class: X.Org Server Extension, version 8.0
[ 1222.279] (==) AIGLX enabled
[ 1222.279] Loading extension GLX
[ 1222.279] (II) LoadModule: "dri"
[ 1222.280] (II) Module "dri" already built-in
[ 1222.280] (II) LoadModule: "vivante"
[ 1222.280] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[ 1222.280] (II) Module vivante: vendor="X.Org Foundation"
[ 1222.281] compiled for 1.15.0, module version = 1.0.0
[ 1222.281] Module class: X.Org Video Driver
[ 1222.281] ABI class: X.Org Video Driver, version 15.0
[ 1222.281] Loading extension vivext
[ 1222.281] (II) VIVANTE: driver for vivante fb: VivanteGC500, VivanteGC2100,
VivanteGCCORE
[ 1222.281] (++) using VT number 1

[ 1222.381] (WW) Falling back to old probe method for vivante
[ 1222.381] (II) Loading sub module "fbdevhw"
[ 1222.381] (II) LoadModule: "fbdevhw"
[ 1222.382] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1222.382] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1222.383] compiled for 1.15.0, module version = 0.0.2
[ 1222.383] ABI class: X.Org Video Driver, version 15.0
[ 1222.383] (II) VIVANTE(0): using default device
[ 1222.387] (II) VIVANTE(0): Creating default Display subsection in Screen section
"Default Screen" for depth/fbbpp 24/32
[ 1222.387] (**) VIVANTE(0): Depth 24, (--) framebuffer bpp 32
[ 1222.387] (==) VIVANTE(0): RGB weight 888
[ 1222.387] (==) VIVANTE(0): Default visual is TrueColor
[ 1222.387] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1222.387] (**) VIVANTE(0): Option "fbdev" "/dev/fb0"
[ 1222.387] (II) VIVANTE(0): checking modes against framebuffer device...
[ 1222.388] (II) VIVANTE(0): checking modes against monitor...
[ 1222.388] (II) VIVANTE(0): Use built in mode (bpp 32)
[ 1222.388] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)
[ 1222.388] (==) VIVANTE(0): DPI set to (96, 96)
[ 1222.388] (II) Loading sub module "fb"
[ 1222.388] (II) LoadModule: "fb"
[ 1222.388] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 1222.389] (II) Module fb: vendor="X.Org Foundation"
[ 1222.389] compiled for 1.15.0, module version = 1.0.0
[ 1222.389] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1222.390] (II) Loading sub module "exa"
[ 1222.390] (II) LoadModule: "exa"
[ 1222.390] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 1222.390] (II) Module exa: vendor="X.Org Foundation"
[ 1222.390] compiled for 1.15.0, module version = 2.6.0
[ 1222.390] ABI class: X.Org Video Driver, version 15.0
[ 1222.393] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:
[ 1222.394] (II) VIVANTE(0): Modeline "U:1920x1080p-50"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (56.2 kHz P)
[ 1222.394] (II) VIVANTE(0): Modeline "U:1280x720p-120"x0.0 148.50 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (90.0 kHz P)
[ 1222.394] (II) VIVANTE(0): Modeline "U:1280x720p-100"x0.0 148.50 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (75.0 kHz P)
[ 1222.395] (II) VIVANTE(0): Modeline "U:1920x1080p-30"x0.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (33.8 kHz P)
[ 1222.395] (II) VIVANTE(0): Modeline "U:1920x1080p-25"x0.0 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (28.1 kHz P)
[ 1222.395] (II) VIVANTE(0): Modeline "U:1920x1080p-24"x0.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync -csync (27.0 kHz P)
[ 1222.395] (II) VIVANTE(0): Modeline "U:1920x1080p-50"x0.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (56.2 kHz P)
[ 1222.395] (II) VIVANTE(0): Modeline "U:1440x576p-50"x0.0 54.00 1440 1464 1592 1728 576 581 586 625 -hsync -vsync -csync (31.3 kHz P)
[ 1222.396] (II) VIVANTE(0): Modeline "U:1440x576p-50"x0.0 54.00 1440 1464 1592 1728 576 581 586 625 -hsync -vsync -csync (31.3 kHz P)
[ 1222.396] (II) VIVANTE(0): Modeline "U:1440x288p-50"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync -csync (15.6 kHz P)
[ 1222.396] (II) VIVANTE(0): Modeline "U:1440x288p-50"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync -csync (15.6 kHz P)
[ 1222.396] (II) VIVANTE(0): Modeline "U:1280x720p-50"x0.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (37.5 kHz P)
[ 1222.397] (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 P)
[ 1222.397] (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 P)
[ 1222.397] (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 P)
[ 1222.397] (II) VIVANTE(0): Modeline "U:1440x480p-60"x0.0 54.05 1440 1472 1596 1716 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.398] (II) VIVANTE(0): Modeline "U:1440x480p-60"x0.0 54.05 1440 1472 1596 1716 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.398] (II) VIVANTE(0): Modeline "U:1440x240p-60"x0.0 26.95 1440 1478 1602 1716 240 244 247 262 -hsync -vsync -csync (15.7 kHz P)
[ 1222.398] (II) VIVANTE(0): Modeline "U:1440x240p-60"x0.0 26.95 1440 1478 1602 1716 240 244 247 262 -hsync -vsync -csync (15.7 kHz P)
[ 1222.398] (II) VIVANTE(0): Modeline "U:1280x720p-60"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (45.0 kHz P)
[ 1222.399] (II) VIVANTE(0): Modeline "U:720x480p-60"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.399] (II) VIVANTE(0): Modeline "U:720x480p-60"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.399] (II) VIVANTE(0): Modeline "U:640x480p-60"x0.0 25.17 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.399] (II) VIVANTE(0): Modeline "V:1280x1024p-60"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync -csync (64.0 kHz P)
[ 1222.399] (II) VIVANTE(0): Modeline "V:1024x768p-60"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync -csync (48.4 kHz P)
[ 1222.400] (II) VIVANTE(0): Modeline "V:640x480p-60"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.444] (II) VIVANTE(0): Output DISP3 BG using monitor section Configured Monitor
[ 1222.444] (II) VIVANTE(0): Printing probed modes for output DISP3 BG
[ 1222.445] (II) VIVANTE(0): Modeline "U:1920x1080p-50"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (56.2 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1920x1080p-60"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1920x1080p-30"x30.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (33.8 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1920x1080p-25"x25.0 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync -csync (28.1 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1920x1080p-24"x24.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync -csync (27.0 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "V:1280x1024p-60"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync -csync (64.0 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1280x720p-120"x120.0 148.50 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (90.0 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1280x720p-100"x100.0 148.50 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (75.0 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1280x720p-50"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync -csync (37.5 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1280x720p-60"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync -csync (45.0 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1440x576p-50"x50.0 54.00 1440 1464 1592 1728 576 581 586 625 -hsync -vsync -csync (31.3 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "V:1024x768p-60"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync -csync (48.4 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1440x480p-60"x60.0 54.05 1440 1472 1596 1716 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.445] (II) VIVANTE(0): Modeline "U:1440x288p-50"x50.1 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync -csync (15.6 kHz P)
[ 1222.446] (II) VIVANTE(0): Modeline "U:720x576p-50"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync -csync (31.2 kHz P)
[ 1222.446] (II) VIVANTE(0): Modeline "U:720x480p-60"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.446] (II) VIVANTE(0): Modeline "U:1440x240p-60"x59.9 26.95 1440 1478 1602 1716 240 244 247 262 -hsync -vsync -csync (15.7 kHz P)
[ 1222.446] (II) VIVANTE(0): Modeline "V:640x480p-60"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.446] (II) VIVANTE(0): Modeline "U:640x480p-60"x59.9 25.17 640 656 752 800 480 490 492 525 -hsync -vsync -csync (31.5 kHz P)
[ 1222.446] (II) VIVANTE(0): Output DISP3 BG connected
[ 1222.446] (II) VIVANTE(0): Using exact sizes for initial modes
[ 1222.446] (II) VIVANTE(0): Output DISP3 BG using initial mode U:1920x1080p-50
[ 1222.518] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1920 x 1080, display width 0
[ 1222.518] (II) VIVANTE(0): FBDevPreInit: adjust display width 1920
[ 1222.518] (**) VIVANTE(0): PreInit done
[ 1222.518] (--) Depth 24 pixmap format is 32 bpp
[ 1222.523] (II) VIVANTE(0): Init mode for fb device
[ 1222.598] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16320kB)
[ 1222.599] (II) VIVANTE(0): FB Start = 0x6d44d000 FB Base = 0x6d44d000 FB Offset = (nil)
[ 1222.599] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 16711680 bytes; offset of shadow buffer 8355840
[ 1222.738] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16320kB)
[ 1222.750] (II) VIVANTE(0): test Initializing EXA
[ 1222.751] (II) VIVANTE(0): (driver build from: 1ee24409af116b40f8329481863931477e91284f-dirty)
[ 1222.751] (II) EXA(0): Driver allocated offscreen pixmaps
[ 1222.751] (II) EXA(0): Driver registered support for the following operations:
[ 1222.751] (II) Solid
[ 1222.751] (II) Copy
[ 1222.751] (II) Composite (RENDER acceleration)
[ 1222.751] (II) UploadToScreen
[ 1222.753] (==) VIVANTE(0): Backing store enabled
[ 1222.754] (==) VIVANTE(0): DPMS enabled
[ 1222.754] (II) VIVANTE(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 1222.754] drmOpenDevice: node name is /dev/dri/card0
[ 1222.755] drmOpenDevice: open result is 10, (OK)
[ 1222.755] drmOpenDevice: node name is /dev/dri/card0
[ 1222.755] drmOpenDevice: open result is 10, (OK)
[ 1222.755] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00
[ 1222.755] drmOpenDevice: node name is /dev/dri/card0
[ 1222.755] drmOpenDevice: open result is 10, (OK)
[ 1222.755] drmOpenByBusid: drmOpenMinor returns 10
[ 1222.755] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00
[ 1222.755] (II) [drm] DRM interface version 1.4
[ 1222.755] (II) [drm] DRM open master succeeded.
[ 1222.755] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.
[ 1222.755] (II) VIVANTE(0): [drm] framebuffer handle = 0x76a00000
[ 1222.756] (II) VIVANTE(0): [drm] added 1 reserved context for kernel
[ 1222.756] (II) VIVANTE(0): X context handle = 0x1
[ 1222.756] (II) VIVANTE(0): [drm] installed DRM signal handler
[ 1222.756] (II) VIVANTE(0): [DRI] installation complete
[ 1222.756] (--) RandR disabled
[ 1222.795] (II) AIGLX: Screen 0 is not DRI2 capable
[ 1222.795] (EE) AIGLX: reverting to software rendering
[ 1222.885] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (/usr/lib/xorg/modules/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[ 1222.885] (EE) GLX: could not load software renderer
[ 1222.885] (II) GLX: no usable GL providers found for screen 0
[ 1222.886] (II) VIVANTE(0): Setting screen physical size to 508 x 285
[ 1223.596] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 1223.598] (II) config/udev: Adding input device Device USB Device (/dev/input/event0)
[ 1223.598] (**) Device USB Device: Applying InputClass "evdev pointer catchall"
[ 1223.598] (II) LoadModule: "evdev"
[ 1223.598] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 1223.599] (II) Module evdev: vendor="X.Org Foundation"
[ 1223.599] compiled for 1.15.0, module version = 2.8.2
[ 1223.599] Module class: X.Org XInput Driver
[ 1223.599] ABI class: X.Org XInput driver, version 20.0
[ 1223.599] (II) Using input driver 'evdev' for 'Device USB Device'
[ 1223.599] (**) Device USB Device: always reports core events
[ 1223.600] (**) evdev: Device USB Device: Device: "/dev/input/event0"
[ 1223.600] (--) evdev: Device USB Device: Vendor 0xc45 Product 0x5303
[ 1223.600] (--) evdev: Device USB Device: Found 9 mouse buttons
[ 1223.600] (--) evdev: Device USB Device: Found scroll wheel(s)
[ 1223.600] (--) evdev: Device USB Device: Found relative axes
[ 1223.600] (--) evdev: Device USB Device: Found x and y relative axes
[ 1223.600] (II) evdev: Device USB Device: Configuring as mouse
[ 1223.600] (II) evdev: Device USB Device: Adding scrollwheel support
[ 1223.600] (**) evdev: Device USB Device: YAxisMapping: buttons 4 and 5
[ 1223.600] (**) evdev: Device USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 1223.600] (**) Option "config_info" "udev:/sys/devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.1/input/input0/event0"
[ 1223.600] (II) XINPUT: Adding extended input device "Device USB Device" (type: MOUSE, id 6)
[ 1223.601] (II) evdev: Device USB Device: initialized for relative axes.
[ 1223.601] (**) Device USB Device: (accel) keeping acceleration scheme 1
[ 1223.601] (**) Device USB Device: (accel) acceleration profile 0
[ 1223.601] (**) Device USB Device: (accel) acceleration factor: 2.000
[ 1223.602] (**) Device USB Device: (accel) acceleration threshold: 4
[ 1223.603] (II) config/udev: Adding input device Device USB Device (/dev/input/mouse0)
[ 1223.603] (II) No input driver specified, ignoring this device.
[ 1223.603] (II) This device may have been added with another device file.
[ 1223.604] (II) config/udev: Adding input device HID 046a:0023 (/dev/input/event1)
[ 1223.604] (**) HID 046a:0023: Applying InputClass "evdev keyboard catchall"
[ 1223.604] (II) Using input driver 'evdev' for 'HID 046a:0023'
[ 1223.604] (**) HID 046a:0023: always reports core events
[ 1223.604] (**) evdev: HID 046a:0023: Device: "/dev/input/event1"
[ 1223.604] (--) evdev: HID 046a:0023: Vendor 0x46a Product 0x23
[ 1223.604] (--) evdev: HID 046a:0023: Found keys
[ 1223.604] (II) evdev: HID 046a:0023: Configuring as keyboard
[ 1223.604] (**) Option "config_info" "udev:/sys/devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.0/input/input1/event1"
[ 1223.605] (II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD, id 7)
[ 1223.605] (**) Option "xkb_rules" "evdev"
[ 1223.605] (**) Option "xkb_model" "pc104"
[ 1223.605] (**) Option "xkb_layout" "us"
[ 1223.697] (II) config/udev: Adding input device HID 046a:0023 (/dev/input/event2)
[ 1223.698] (**) HID 046a:0023: Applying InputClass "evdev keyboard catchall"
[ 1223.698] (II) Using input driver 'evdev' for 'HID 046a:0023'
[ 1223.698] (**) HID 046a:0023: always reports core events
[ 1223.698] (**) evdev: HID 046a:0023: Device: "/dev/input/event2"
[ 1223.698] (--) evdev: HID 046a:0023: Vendor 0x46a Product 0x23
[ 1223.698] (--) evdev: HID 046a:0023: Found 1 mouse buttons
[ 1223.698] (--) evdev: HID 046a:0023: Found scroll wheel(s)
[ 1223.698] (--) evdev: HID 046a:0023: Found relative axes
[ 1223.698] (II) evdev: HID 046a:0023: Forcing relative x/y axes to exist.
[ 1223.698] (--) evdev: HID 046a:0023: Found absolute axes
[ 1223.698] (II) evdev: HID 046a:0023: Forcing absolute x/y axes to exist.
[ 1223.698] (--) evdev: HID 046a:0023: Found keys
[ 1223.698] (II) evdev: HID 046a:0023: Configuring as mouse
[ 1223.698] (II) evdev: HID 046a:0023: Configuring as keyboard
[ 1223.699] (II) evdev: HID 046a:0023: Adding scrollwheel support
[ 1223.699] (**) evdev: HID 046a:0023: YAxisMapping: buttons 4 and 5
[ 1223.699] (**) evdev: HID 046a:0023: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 1223.699] (**) Option "config_info" "udev:/sys/devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.1/input/input2/event2"
[ 1223.699] (II) XINPUT: Adding extended input device "HID 046a:0023" (type: KEYBOARD, id 8)
[ 1223.699] (**) Option "xkb_rules" "evdev"
[ 1223.699] (**) Option "xkb_model" "pc104"
[ 1223.699] (**) Option "xkb_layout" "us"
[ 1223.700] (II) evdev: HID 046a:0023: initialized for relative axes.
[ 1223.700] (WW) evdev: HID 046a:0023: ignoring absolute axes.
[ 1223.700] (**) HID 046a:0023: (accel) keeping acceleration scheme 1
[ 1223.700] (**) HID 046a:0023: (accel) acceleration profile 0
[ 1223.701] (**) HID 046a:0023: (accel) acceleration factor: 2.000
[ 1223.701] (**) HID 046a:0023: (accel) acceleration threshold: 4
')

I'll prepare a separate PKGBUILD branch for the changes I applied to the kernel config and will also release a PKGBUILD of xf86-video driver for vivante GPU as soon as I've verified that everything is working at least stable :)
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: Wandboard new kernel

Postby pepedog » Fri Mar 28, 2014 6:58 pm

Nice.
I can on cuboxi use the fb bins with xf86-video-fbdev
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Wandboard new kernel

Postby raumzeit » Fri Mar 28, 2014 11:31 pm

I just issued a pull request for the kernel config changes I applied.

Btw.: I also use the fbdev driver for now. There is some problem with latest X11 and the exa driver (the one compatible to gpu-viv-bin-mx6q-x11 3.10.17) that somehow breaks Mesa's swrast_dri.so (see Xorg.log of my previous posting). Although Xorg starts I think this causes the video driver to sometimes 'forget' updating parts of the screen. At least websites displayed with chromium occasionally get totally mixed up upon scrolling and can only be resurrected by resizing chromiums window. Very strange :?

Nevertheless, I have the xf86-video-vivante driver in my master branch at github

https://github.com/RaumZeit/PKGBUILDs/tree/master/alarm/xf86-video-vivante

if anyone is interested.
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT

Re: Wandboard new kernel

Postby pepedog » Sat Mar 29, 2014 12:13 am

I have been eyeing the source that linuc-imx6-cubox-dt is based on, I think I can patch to get it working on wandboard too, it has long term support and is newer
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Freescale

Who is online

Users browsing this forum: No registered users and 6 guests