cnxsoft changed the topic of #imx6-dongle to: i.MX6 HDMI Dongle Software Development. You can also join us at https://groups.google.com/forum/?fromgroups#!forum/imx6-dongle - IRC Logs - http://irclog.whitequark.org/imx6-dongle/
rz2k has joined #imx6-dongle
cnxsoft has joined #imx6-dongle
allanmac has quit [Ping timeout: 256 seconds]
jorgegeorge has joined #imx6-dongle
<jorgegeorge> hste: with you latest uImage I cannot hear the sound on the HDMI TV
<jorgegeorge> "pacmd list" return the proper info about imx-hdmi-soc
<jorgegeorge> Using "parec -d alsa_output.platform-soc-audio.4.analog-stereo.monitor > REC.wav" I get a file that I can play (on my mac)
<jorgegeorge> also doing "aplay FILE.wav" dows not give any error, dmesg is clean but I do not hear anything from TV
<hste> jorgegeorge: did the kernel-2013-03-16-0700 give u sound?
<jorgegeorge> hste: from what I remember I never had sound
<jorgegeorge> I just started to do all the test with sound with your latest image: aplay/parec/...
<jorgegeorge> but I never heard anything out of the box
<jorgegeorge> at least with Linux, with Adroid I got sound
<rz2k> then we have hdmi-i2s muxing problem
<rz2k> you will always have the sound device in the system, problem is, hdmi transciever sends it to nowhere (wrong iomux selected for i2s path).
* rz2k stuck with wandboard having proper 5v rs232c com-port
<rz2k> dont have any rs232 around for ages, I must be new to these 'industrial' boards.
<rz2k> I remember some guy around here was saying that he cant get vivante up on it, I'm going to see whats up there.
<hste> jorgegeorge: it could be pulseaudio or sth. I dont have hdmi to test sound.
<rz2k> i have hdmi-vga with sound, but I doubt that sound will work there on normal devices :)
<jorgegeorge> I'm about to set up an env where to compile and hack my kernel (uImage and modules), if you give me some hints I can play a bit around
jas-hacks has joined #imx6-dongle
<jas-hacks> jorgegeorge: HDMI sound should be working with the latest kernel.
<rz2k> also we need to remove the switching crap under the main iomux
<rz2k> since we dont have any i2c devices
<jas-hacks> rz2k: looking like richtechie have used the same iomux config as for their tablet
<rz2k> not surprised, the boards are same looking and looks like they have same BoM
<rz2k> just different sizes + connectors routed out
<rz2k> too bad chip3c is ignoring us
<rz2k> he was on #arm-netbook couple of years ago
<rz2k> selling the first chinese arm netbooks :p
<jas-hacks> yeah, I thought they would have been keen to get the help.
Noskcaj has quit [Read error: Connection reset by peer]
<jas-hacks> rz2k: Any ideas on this ?
<jas-hacks> compiz (core) - Warn: eglCreateImageKHR failed
<jas-hacks> compiz (wall) - Error: Couldn't create cairo context for switcher
<rz2k> never use composition with embedded devices?
<rz2k> compiz wraps EGL context in
<rz2k> making DRI2 go mad
<rz2k> its same on Mali-400 by the way
<rz2k> you cant run compiz on it
<rz2k> use kwin_gles
eebrah has joined #imx6-dongle
<jas-hacks> how to remove compiz
<rz2k> dont try to run ubuntu-arm
<rz2k> we have linaro with unity2d
<rz2k> there are two chances for getting gles accel for gui
<rz2k> gnome-shell and kwin_gles
<hste> rz2k: so u dont got an old pc with rs232 laying around?
<rz2k> I'm tooooo lazy to move it from the basement :p
<hste> :)
<rz2k> will do it eventually, since I need to bring this board up with latest kernel
<jas-hacks> rz2k: linaro unity still depends on compiz
<rz2k> hmm
<rz2k> I didnt try latest linaro
<rz2k> ubuntu-desktop one
<rz2k> I tried alip one and it did work fine
<rz2k> openbox desktop
<rz2k> also I was using alip on A1x devices
<rz2k> linaro may have done a big mistake trying to make everybody use compiz and unity (the 3d one)
<hste> you could try debootstrap a minimal oneiric and try install some of the desktop variants like kde-plasma-desktop
<rz2k> did we had some success with hardfp libs?
<hste> no. I think abrasive tried but didn't have any luck on get it working
<rz2k> thats sad
<jas-hacks> rz2k: Freescale haven't released X11 libs for hardfp
<jas-hacks> Its going to take a couple months before they release.
<jas-hacks> They are only fb (android) and direct fb, apparently they were easier because of the static api. X11 depends on the X version.
<hste> hopefully etnaviv will work one day
<hste> we still have some hdmi problems. some monitors only give vga solution with the latest patch
allanmac has joined #imx6-dongle
<abrasive> any details on that yet?
<hste> abrasive: details on what?
<abrasive> hste> we still have some hdmi problems. some monitors only give vga solution with the latest patch
<abrasive> i can see how that could be an issue if the monitor doesn't report any edid detailed timings. but i need some more info to fix it :)
<rz2k> provide fake edid if monitor didnt respond
<hste> abrasive: two users with same problem. Using kernel with patch gives vga size output. Changing kernel to the one with .mode_str = "1280x720M@60", gives that output
<abrasive> fake edid is no good if it's an HDMI monitor with only CEA Modes
<abrasive> in that case need to find the preferred mode through a different method
<hste> abrasive: jorgegeorge have that problem
<jorgegeorge> I see you're discussing resolution; I retried this morning the latest kernel on a Samsung Plasma on the HDMI/DVI and HDMIonly port
<jorgegeorge> 640x480 same as the Philips TV
<abrasive> on both ports?
<jorgegeorge> yes
<abrasive> are you in a position to build kernels?
<abrasive> actually, scratch that.
<jorgegeorge> yes, in the next days
<abrasive> is there anything if you find /sys -name edid ?
<jorgegeorge> now with the old kerl or the 640x480Kern ?
<abrasive> either.
<jorgegeorge> Now with the old KRN working 1280x720
<jorgegeorge> 5497 0 -r--r--r-- 1 root root 4096 Jan 1 03:27 /sys/devices/platform/mxc_hdmi/edid
<jorgegeorge> # find /sys -name edid -ls
<jorgegeorge> doig a cat is all 0x00
<jorgegeorge> for the 640 KRN I have to prepare a new SD for tomorrow
<hste> jorgegeorge: do you plug it directly into the monitor or via a cable?
<jorgegeorge> I tried both ways, I also was afraid of the cable extension, always same result
<abrasive> zeroes is not good.
<abrasive> (can anyone with working monitor detection confirm that it is nonzero?)
<hste> yes I got values in mine
<abrasive> the old kernel gives you 1280x720 because it's hardcoded to :)
<abrasive> you can add "video=mxcfb0,1920x1080M" or whatever to your commandline if you like
<abrasive> which hardware do you have exactly? GK802? HI802?
<jorgegeorge> zealz gk802
<wumpus> hste: yes, I also hope etnaviv will work one day :p
<abrasive> which uboot are you using, jorgegeorge?
<hste> wumpus: :)
<jorgegeorge> the one generated by the standard buildgk802.sh
<hste> abrasive: the same I'm using
<jorgegeorge> frmo my logs: + git clone https://github.com/imx6-dongle/uboot-imx6dongle.git
<abrasive> does it autodetect screen size on android at all?
<abrasive> did*
<hste> I'll try to borrow a hdmi monitor to check if I get edid from it. Then I can also check sound
<wumpus> afaik it doesn't abrasive, it always came up in 720p
<wumpus> and you could set it to 1080p in the config
<abrasive> i see.
<abrasive> maybe there's something hairy about the i2c host
Hakeo has joined #imx6-dongle
<jorgegeorge> Using Android orignal: boots at 720p; from menu/audetect 720P; from menu can be forced to 1080p and works
<abrasive> hdmi audio also won't work properly in the absence of i2c
<abrasive> are you having that too? you are, aren't you
iamfrankenstein has quit [Quit: Nettalk6 - www.ntalk.de]
iamfrankenstein has joined #imx6-dongle
<jorgegeorge> Yes I have no audio on any of the two TVs Philips and Samsung
<hste> jorgegeorge: I have no sound on my image. I'll try to fin out why. Got a hdmi monitor but it gives me edid
hste has quit [Remote host closed the connection]
hste has joined #imx6-dongle
<Hakeo> hi guys a question, i just use the buildgk802.sh...with this script i don't need to do nothing more?
<Hakeo> it's a all included script?
<hste> hakeo: you have to edit some variables like what the device the sdcard is mounted on your pc
<Hakeo> ok, besides that? Once completed the entire process can put the card directly into the dongle?
<hste> hakeo: if u like building from scratch its a good choose but if u just want a image its easier to go with some of the prebuildt ones
<hste> Hakeo: yes it should be ready to put into the internal sdcard
<Hakeo> ok now i try and let you know ;) thx
<jas-hacks> We do have some opengl acceleration:
<jas-hacks> =======================================================
<jas-hacks> glmark2 2011.12
<jas-hacks> =======================================================
<jas-hacks> OpenGL Information
<jas-hacks> GL_VENDOR: Vivante Corporation
<jas-hacks> GL_RENDERER: GC2000 Graphics Engine
<jas-hacks> GL_VERSION: 2.1 2.0.1
<jas-hacks> =======================================================
<hste> jas-hacks: yes I could play tuxracer with 10 fps
<rz2k> install openarena or something like that :p
<jas-hacks> It looks like it is using EGL/GLES as the results are the same as for glmark-es2.
<jas-hacks> hste: are you running xfce or unity?
<hste> I run unity now
<Hakeo> hste: when a dialog box linux kernel configuration appear what i do?
<Hakeo> can i jump it?
<hste> Hakeo: yes
<Hakeo> hste: i translate for you the console message
<Hakeo> recived EOF 3 times - output current..
<Hakeo> umount: /dev/sdb1: not find
<Hakeo> mke2fs 1.41.11 (14-Mar-2010)
<Hakeo> impossible do stat di /dev/sdb1 --- File or directory not exist
<Hakeo> The device apparently does not exist, has been specified correctly?
<Hakeo> mkdir: impossible to create the directory "/media/ROOTFS": the file exist
<Hakeo> umount: /dev/sdb1: not find
<Hakeo> mount: the device speciale /dev/sdb1 not exist
<Hakeo> i don't know why after the process the sd card disappear...
<Hakeo> it's a 16gb card class 4 formatted with unique partition in ext4
<hste> Hakeo: It should format the card. Are U sure the device is /dev/sdb?
<hste> Hakeo: Do u get sth with: fdisk /dev/sdb
<Hakeo> yes (dev/sdb or dev/sdb1)gparted say after the process "unallocated space"
<Hakeo> it's strange
<hste> Hakeo: Do u get sth with: fdisk /dev/sdb
<Hakeo> with fdisk /dev/sdb i get this message: The device contains neither a valid DOS partition table, nor Sun disklabel, SGI or OSF
<hste> Hakeo: try create a partition.
<hste> dd if=/dev/zero of=/dev/sdb bs=512 count=2047
<hste> (echo n;echo;echo;echo "31248";echo;echo w) |fdisk /dev/sdb
<Hakeo> but before running the script. sh I had an ext4 partition with gparted
<hste> yes it will destroy that and try to create a new one
cnxsoft has quit [Remote host closed the connection]
<Hakeo> so you advice to me that before lunch the script run your command "dd if=/dev/zero of=/dev/sdb bs=512 count=2047" ?
<hste> Hakeo: now the script should do that but just to see what happens
<hste> -w
<Hakeo> The device contains neither a valid DOS partition table, nor Sun disklabel, SGI or OSF
<Hakeo> the same
<hste> and the (echo n;echo;echo;echo "31248";echo;echo w) |fdisk /dev/sdb ?
<Hakeo> The device contains neither a valid DOS partition table, nor Sun disklabel, SGI or OSF
<Hakeo> Building a new DOS disklabel with disk identifier 0x74d9738b.
<Hakeo> After That, of course, the previous content will not be recoverable.
<Hakeo> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w (rite)
<Hakeo> Changes Will Remain in memory only, until you decide to write them.
<Hakeo> WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
<Hakeo>           switch off the mode (command 'c') and change display units to
<Hakeo>           sectors (command 'u').
<hste> try format it again with gparted
<Hakeo> ok i did too many times...but always the same i re-try
<Hakeo> ok i formatted in one primary partition in ext4
<Hakeo> path -> /dev/sdb1
<Hakeo> without flag
<Hakeo> now i see the card as mounted
<Hakeo> now i can do?
<Hakeo> anyway the fdisk /dev/sdb1 give me always the same message
<Hakeo> :(
<hste> Hakeo: You could try again
<hste> Hakeo: Take a reboot first if sth is holding the device
rz2k has quit []
<Hakeo> ok thx hste, but the partition should be formatted in w95 fat32 (0x00) or in ext4 ?
<hste> hakeo: it doesnt matter. it should reformat it
<Hakeo> ok ;)
Hakeo has quit [Ping timeout: 255 seconds]
<hste> abrasive: Shouldn't this be unset CONFIG_SND_SOC_MXC_SPDIF=y
<jas-hacks> hste: CONFIG_SND_SOC_MXC_SPDIF=y doesn't make much difference
<hste> jas-hacks: sound is working for u? isn't it?
<jas-hacks> Was all working with my patch and I never applied abrasive edid patch.
<jas-hacks> hste: Just been working through the black screen issues on unity.
<jas-hacks> Looks like compiz isn't happy, I used metacity the initial rootfs.
<jas-hacks> So removed compiz which means you loose unity 3D. Now trying to upgrade....
iamfrankenstein has quit [Ping timeout: 256 seconds]
<hste> I think the sound problem is related to my rootfs and not the kernel
jas-hacks has quit [Remote host closed the connection]
jas-hacks has joined #imx6-dongle
Hakeo has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Read error: Connection reset by peer]
jas-hacks has left #imx6-dongle [#imx6-dongle]
hste has quit [Remote host closed the connection]
iamfrankenstein has joined #imx6-dongle
host_ has joined #imx6-dongle
Hakeo has quit [Quit: Sto andando via]
eebrah has quit [Ping timeout: 256 seconds]
host_ is now known as hste
ajayr has quit [Read error: Connection reset by peer]
ajayr has joined #imx6-dongle
iamfrankenstein has quit [Ping timeout: 252 seconds]
jorgegeorge has quit [Remote host closed the connection]
jorgegeorge has joined #imx6-dongle
hste has quit [Remote host closed the connection]
hste has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
<jorgegeorge> I'm now able to recompile and use persdonalized kernel
<hste> :)
<jorgegeorge> With the latest one where I get 640x480 i confirm I get /sys/devices/platform/mxc_hdmi/edid full of 0x00
<jorgegeorge> # find /sys -name edid -ls
<jorgegeorge> # cat /sys/devices/platform/mxc_hdmi/edid
<jorgegeorge> 5441 0 -r--r--r-- 1 root root 4096 Jan 1 00:01 /sys/devices/platform/mxc_hdmi/edid
<jorgegeorge> 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
<jorgegeorge> 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
<jorgegeorge> 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ….
<hste> jorgegeorge: so for another resolution u'll have to hardcode it
<jorgegeorge> I'm testing now wit "git checkout a1242f79bb9dbcb2dfbd748ddc4be4a6b7f69f7c" if I get the sound
<jorgegeorge> hste: hardcode in "board-mx6q_hdmidongle.c" or is it enough to edit /boot/boot.cmd ?
<hste> It should work with /boot/bootcmd u have to compile it in https://github.com/imx6-dongle/wiki/wiki/Using-U-boot
<hste> but u could also hardcode in "board-mx6q_hdmidongle.c"
<jorgegeorge> inside /boot/bootcmd I already have "setenv bootargs video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24" and goes to 640, so I have to edit "board-mx6q_hdmidongle.c"
Noskcaj has joined #imx6-dongle
datagutt has quit [Quit: kthxbai]
<hste> jorgegeorge: I have also problem with that in bootcmd, but havn't checked so much. Guess thats a challenge for abrasive
<hste> jorgegeorge: try rename the bootcmd to ubootcmd
Noskcaj has quit [Ping timeout: 252 seconds]
<abrasive> i didn't test the cmdline vid parms enough then. sorry. will fix
<hste> abrasive: not sleeping?
<hste> abrasive: ubootcmd looks like working, looks like setenv fbcon "fbcon=28M"; make dmesg give the first lines in the boot
jorgegeorge has quit [Remote host closed the connection]
<abrasive> i'm up already ;)
<abrasive> does fbcon get the right res if you specify on cmdline?
<abrasive> it should override auto
<hste> no doesn't look like it use the screensize value
<hste> [ 0.000000] Kernel command line: console=ttymxc3,115200 rootwait root=/dev/mmcblk0p1 rootfstype=ext4
<hste> and inn ubootcmd : mmc 0 ${loadaddr} /boot/uImage
<hste> setenv bootargs ${bootargs} console=ttymxc3,115200 root=/dev/mmcblk0p1
<hste> setenv bootargs ${bootargs} video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
<hste> setenv bootargs ${bootargs} rootfstype=ext4 rootwait fixrtc
<hste> setenv fbcon "fbcon=28M";
jorgegeorge has joined #imx6-dongle
iamfrankenstein2 has joined #imx6-dongle
iamfrankenstein has quit [Ping timeout: 246 seconds]
bsdfox_ has joined #imx6-dongle
bsdfox_ has joined #imx6-dongle
GasVesa_ has joined #imx6-dongle
GasVesa has quit [*.net *.split]
drachensun has quit [*.net *.split]
abrasive_ has joined #imx6-dongle
epl_ has joined #imx6-dongle
abrasive has quit [Ping timeout: 248 seconds]
epl has quit [Ping timeout: 248 seconds]
bsdfox has quit [*.net *.split]
lifted has quit [*.net *.split]
drachensun has joined #imx6-dongle
hste_ has quit [Ping timeout: 245 seconds]
<jorgegeorge> just changing "board-mx6q_hdmidongle.c" I arrived at 1920x1080 and works fine
jorgegeorge has quit [Remote host closed the connection]
lifted has joined #imx6-dongle
<abrasive_> the code path that is supposed to fill that out from the video= argument must be broken then. i'll fix it tonight
abrasive_ is now known as abrasive
<abrasive> sorry about that.
lifted_ has joined #imx6-dongle
lifted has quit [*.net *.split]
epl_ has quit [Ping timeout: 264 seconds]
epl has joined #imx6-dongle