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/
hp__ has quit [Ping timeout: 264 seconds]
GasVesa has quit [Ping timeout: 256 seconds]
GasVesa has joined #imx6-dongle
ajayr has quit [Quit: Lost terminal]
ajayr has joined #imx6-dongle
dgp has joined #imx6-dongle
hroth has joined #imx6-dongle
<hroth> I can compile a kernel and install it (thanks!) but I'm having EDID issues: "mxc_hdmi mxc_hdmi: No modes read from edid". Is there anything you might suggest - can this be done through u-boot, or with a kernel option? I did read a workaround by hardcoding board_mx6q_hdmidongle.c but would prefer to be able to use other monitors.
Noskcaj has quit [Ping timeout: 264 seconds]
alex_kag_ has joined #imx6-dongle
hroth has quit [Ping timeout: 245 seconds]
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
Noskcaj has joined #imx6-dongle
hste has joined #imx6-dongle
hp__ has joined #imx6-dongle
newbie has joined #imx6-dongle
newbie is now known as Guest99076
hp__ has quit [Ping timeout: 264 seconds]
jas-hacks_ has joined #imx6-dongle
newbie has joined #imx6-dongle
Noskcaj has quit [Ping timeout: 252 seconds]
newbie is now known as Guest902
Guest99076 has quit [Ping timeout: 264 seconds]
hste has quit [Remote host closed the connection]
Noskcaj has joined #imx6-dongle
hste has joined #imx6-dongle
<hste> jas-hacks_: trying the rootfs now
<jas-hacks_> hste: ok
<hste> jas-hacks_: looks fine so far. still have to do the dbus fix
<jas-hacks_> hste: thats a pain
<jas-hacks_> hste: I compiled with kernel a few tweaks so hopefully performs better, also the kernel includes the latest temp patch.
manos has joined #imx6-dongle
<manos> hi ,i have gk802 there is a new img for ubuntu 12.04 ?i have one ubuntu 11.10 but i dont have sound
<hste> jas-hacks_: U could also rize CONFIG_LOG_BUF_SHIFT=16 so we gott all the boot into dmesg
<jas-hacks_> hste: will do
<Guest902> manos same here, no sound, manos probably your monitor is not been identified correctly
Guest902 is now known as hp__
<hste> jas-hacks_: extract the files into /usr ?
<manos> thanks 902
hroth has joined #imx6-dongle
<hroth> I did compile the i2c debug kernel modules and confirmed an "error -5" on the i2c reading of the EDID eprom. I did get hdmi audio to be detected. Would have tested that audio except I got foolishly brave and tried to install the new u-boot (to replace the one (blob?) used in the cnx-software/jas-hacks 11.10/12.04 posts) at git://github.com/imx6-dongle/uboot-imx6dongle and everything hung. Back to the serial port, and possibly a
<hp__> hroth: cool, so due to an error reading the EDID eprom that audio part is not initialized
<hroth> hp__: it could be, and I suspect due to many folks having an issue with EDID there's something strange there.
<hroth> (rather than a lot of bad monitor EDID EEPROMs)
<jas-hacks_> hroth: is EDID failing in the kernel or uboot?
<hste> jas-hacks_: got xbmc up :)
<jas-hacks_> hste: it will probably crash due to overheating
<hroth> jas-hacks: failing in the kernel. here's the dmesg: http://pastebin.com/xnHmkbSR
<jas-hacks_> hste: in /root/.xbmc ... there is an advancesettings.xml you need to copy that one (its sets dirty regions to reduce cpu load)
<jas-hacks_> hroth: how are you connecting to monitor ? (hdmi, vga converter, dvi)
<hroth> jas-hacks: hdmi.
<hroth> my next step (once I figure out how to install the uboot-imx6dongle) is to use my Bus Pirate and see if it has better luck on the i2c bus for reading 0x50/EDID info. I wonder if there is a missing pull-down somewhere.
<jas-hacks_> hroth: I have a compiled uboot (from uboot-imx6dongle) but with the hdmi detection disabled, if that will help you
<hroth> jas-hacks: That'd be great. Quick question- Is the reason the uboot that is posted on your blog with the 12.04 preview (the uboot that boots the kernel from a dd at 1048576) - because that uboot is more stable? Is the compiled uboot pretty stable too?
<hste> I got sound when setting video parameter. When not set I dont get sound
<hroth> hste: That's setting the video parameter through uboot/setenv?
<hste> hroth: yes
<hroth> hste: Thanks.
<hste> when not set it autodetects till mode "2048x1152-60"
<hste> which is the monitors prefered output. It is connected with hdmi
<hroth> hste: Interesting. I'm not so familiar with uboot so I kept trying to figure out why the (non-compiled) uboot wouldn't catch my bootcmd script... finally figured out there are two different uboots out there! duh.
<hste> hroth: jas_hacks_ http://stende.no-ip.info/jas/u-boot_multi_boot.imx is the one I'm using
<hste> hroth: but u need to use boot.scr on / on that one
<manos> anyone tried to put emmc in a gk802?
<hroth> hste: even when it autodetects - do you ever have a dmesg about edid not being able to be read?
<hroth> hste: Thanks! I will try that.
<jas-hacks_> hroth: The uboots are pretty stable, the only issue with the latest code base is that it tries to detect the resolution in order to display a console. Unfortunately it doesn't detect correctly , so defaults to 1024x968 with the wrong pixel density. Which means the edges of the screen cut off.
<hste> hroth: it also uses the kernel /boot/uImage
<jas-hacks_> manos: how can you put emmc on a gk802?
<hroth> jas-hacks_: Great. Is hste's u-boot_multi_boot the same compiled uboot you mentioned above? I'm willing to try all the uboots that are out there.. :)
<manos> well i will try i have a eemc toshiba with convert to sd card from my fried odroid-x2 i will put it in my gk with hetasinkers just to test and if it works i put all in a new box
<jas-hacks_> hste: uploaded viv_samples.tar.gz, these are the vivante gpu samples, it gives you a taste of how fast/good/bad the gpu should be.
<hroth> hste: Great, thanks. So no more dd'ing uImage to 1048576, it will be nice to put it into /boot/uImage.
<manos> since emmc is 200% faster if it works lose some from the converttions still mk will eat my dust
rz2k has joined #imx6-dongle
<jas-hacks_> hroth: Yes its the same multi-boot code
<hste> hroth: and u can use external sdcard or usb if u want to have the rootfs there.
<hste> hroth: just need to have the uboot on the internal sdcard
<hroth> hste: Beautiful. I was starting to worry I might lose those tiny screws if I keep opening and closing that case!
<jas-hacks_> manos: eemc will still be limited by mmc speed
<manos> maybe you are right but i will try anyway :) if it works i tell you http://com.odroid.com/sigong/_Files/2012/201211/images/G135393648531-0.jpg
<hste> hroth: I have lost the antenna wires on mine, but wifi is working better for me without the wires.....
<hroth> hste: I read old irc-logs where you said that - RF was always black magic for me.
<jas-hacks_> manos: :) waiting for the results
<hroth> manos: me too!
<rz2k> <jas-hacks_> manos: eemc will still be limited by mmc speed - iirc if you connect it right (16 or 8bit bus) and configure the slot correctly, imx6 should handle emmc v4.4
<rz2k> without speedcap
<hp__> hste but you can only set video parameter in uboot
<hp__> ah
<hp__> no matter :) hste already mentioned
<hste> hp__: I set them in boot.scr
<manos> just make a good ubuntu 12.04 for me cause i like my gk but compare to exynos is way behind
<jas-hacks_> hp__: This the WIP uboot
<hp__> i still have to dd that one to my uSD card: http://stende.no-ip.info/jas/u-boot_multi_boot.imx
<hp__> boot.scr already in place :)
<hste> hp__: if u have boot.scr on internal it will be used and not one in ext sd
<hp__> hste only working with internal only these days :)
<jas-hacks_> manos: exynos looks better apart from alot of the ubuntu/debian code base still uses Open GL not GLES
<hste> jas-hacks_: I think the new image u have made should be ready for publishing
<manos> exynos have mali400 i think that is the difference cg2000 is not that fast or they dont know the gpu that good
<jas-hacks_> hste: what resolution are you running at?
<rz2k> mali400 can do 350fps when not tied with X11 in glmark2-es2 :p
<hste> jas-hacks_: now I just use autodetect 2048x1152
<manos> i want to have ubuntu desktop experience and so far i am not athat happy with gk ,exynos 4412 in the other hand was amazing but i fried him :P
<rz2k> manos: you are in ARM world, anything from x86 world doesnt work here. use lightweight stuff, like xfce, lxde, openbox.
<hroth> hste: Installing the u-boot_multi_boot.imx is the same on the internal SD, right: "dd if=u-boot_multi_boot.imx of=/dev/mmcblk0 bs=1K seek=1"?
<hste> hroth: yes
<jas-hacks_> hste: can you test one of the vivante samples "viv_samples/vdk/tutorial7" , see what fps you are getting at the resolution
<jas-hacks_> rz2k: the problem is that a lot of stuff on xfce or lxde for ARM still uses Open GL
<hroth> jas-hacks_: Your u-boot_multi_boot.imx was compiled from the latest version on git://github.com/imx6-dongle/uboot-imx6dongle? I just wanted to delve into the documentation/source to see other setenv options, etc.
<rz2k> lets trash mesa-gl and there will be no oGL to use!
<rz2k> :p
<manos> dont take me wrong i am mint guy not ubuntu but compare ex4412+mali400 and i.mx6+cg2000 in ubuntu exynos run smooth and faster
<jas-hacks_> hroth: It was compiled from that tree but last commit was from Mar 31, 2013
<hste> jas-hacks_: ok. I'll download the sample and try
<jas-hacks_> hroth: After that I add the multi-boot changes
<rz2k> manos: yeah, freescale just uses 11.10 ubuntu with ton of patches and compiles everything to armel. exynos has linaro latest with amrhf
<rz2k> armhf*
<rz2k> i believe this matters a lot for user experience
<hste> jas-hacks_: 128 fps
<jas-hacks_> hste: I guess you couldn't check CPU load?
<jas-hacks_> hste: do CPU get really hot?
<hste> jas-hacks_: the test about 11% xorg about 7%
<hste> jas-hacks_: not extreme hot and no temp warning
<hste> jas-hacks_: but I have a heatsink mounted on the cpu
<hroth> Thanks for all your help, jas-hacks_ and hste! I'm off, good night/day.
<jas-hacks_> hste: xbmc should have made it very hot without dirty region?
hroth has quit [Quit: irc2go]
<hste> jas-hacks_: it used a lot of cpu, but no warning
<jas-hacks_> hste: what type/size heatsink are you using?
<manos> i wonder gpu dont need one too?
hinata_ has joined #imx6-dongle
hinata_ has quit [Client Quit]
<jas-hacks_> manos: cpu/gpu are on the same soc
<jas-hacks_> hste: mines not as tall and I still get warnings. Even UDOO needs one http://www.kickstarter.com/projects/435742530/udoo-android-linux-arduino-in-a-tiny-single-board/posts/465361
<jas-hacks_> hste: to fix dbus message after untar, you did chown?
<hste> jas-hacks_: yes chgrp messagesbus and then chmod +s
FergusL has joined #imx6-dongle
epl_ has joined #imx6-dongle
GasVesa_ has joined #imx6-dongle
<manos> thanks js
epl has quit [Ping timeout: 248 seconds]
GasVesa has quit [Ping timeout: 248 seconds]
projectgus has quit [Ping timeout: 248 seconds]
projectgus has joined #imx6-dongle
Noskcaj has quit [Quit: good bye]
<hste> jas-hacks_: I had to do it on the running system. changing it on a mounted sdcard on my pc didn't work
vgrade has quit [*.net *.split]
FergusL has quit [*.net *.split]
datagutt_ has quit [*.net *.split]
FergusL has joined #imx6-dongle
datagutt_ has joined #imx6-dongle
vgrade has joined #imx6-dongle
vgrade has quit [*.net *.split]
FergusL has quit [*.net *.split]
datagutt_ has quit [*.net *.split]
wumpus has quit [*.net *.split]
Juggie has quit [*.net *.split]
alex_kag_ has quit [*.net *.split]
abrasive has quit [*.net *.split]
datagutt_ has joined #imx6-dongle
FergusL has joined #imx6-dongle
vgrade has joined #imx6-dongle
alex_kag_ has joined #imx6-dongle
Juggie has joined #imx6-dongle
abrasive has joined #imx6-dongle
wumpus has joined #imx6-dongle
<projectgus> does anyone happen to have a dmesg output from gk802 running ubuntu handy?
<projectgus> i just want to check something over
<projectgus> (and am being lazy about prepping another SD card)
fossxplorer has joined #imx6-dongle
fossxplorer has quit [Changing host]
fossxplorer has joined #imx6-dongle
<hste> projectgus: http://pastebin.com/cXg7gWgE
<projectgus> hste: awesome, thank you :)
<projectgus> ah, buffer has wrapped. thanks anyhow :)
<hste> projectgus: yes. what r u looking for?
<projectgus> just looking for the order and messages for hdmi driver registration at startup
<projectgus> i've been modifying the kernel config and I'm somehow lost hdmi capability, unsure exactly what did it
<projectgus> wanted to compare
<projectgus> but on your one the dmesg buffer has wrapped over so the first bunch of lines are no longer visible
<hste> projectgus: yes the kernel was compiled with only CONFIG_LOG_BUF_SHIFT=14 so it wrapped
<projectgus> sensible setting, I'm just being lazy :)
<projectgus> found an sd card with the ubuntu install already on it so I'll pop that in mine
<manos> have a nice day/nite imx6ers
manos has quit [Quit: Leaving]
<projectgus> abrasive: good news! my dodgy kogan tv fails to read EDID correctly! http://pastebin.com/raw.php?i=yuPjjX7H
<projectgus> i don't actually have any time to help diagnose it now but will find some soon
<FergusL> anybody tried things like PureData on the imx6 ?
alex_kag_ has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Read error: Connection reset by peer]
<abrasive> projectgus: that's great!
<abrasive> FergusL: it should run prtty well
alex_kag_ has joined #imx6-dongle
<abrasive> projectgus: hit me up when you have some time to investigate
<abrasive> i haven't got many leads...
<FergusL> yes, I'd just like to have an idea of how far it could go
<abrasive> is Pd multithreaded?
<abrasive> if it is, that suggests it could be extremely powerful
<FergusL> that's another question, I was told it can by multithreaded if you basically add a puredata patch inside another patch, which is a very common technique for puredata
<abrasive> projectgus: i'm glad that we're so insane that functionality failing is considered helpful...
<abrasive> so it has to be multiple nested patches to multithread? interesting.
<abrasive> well, puredata's pretty powerful even on a crap computer
<FergusL> yes, I've seen a few videos of it on a RPi
<abrasive> if you wanted it for eg. an installation piece, then it's probably a very workable option
<FergusL> no, it's more for an embedded sampler or synthesizer
<FergusL> so that's more or less realtime, but that's achievable on "normal" computers
<abrasive> should still be fine. getting the realtime side up might be some work
<abrasive> i've definitely seen issues when the MMC is very heavily loaded
fossxplorer has quit [Ping timeout: 256 seconds]
<abrasive> that's not a big load when using pd though, even as a sampler
<abrasive> unless you're loading squillions of samples from disk
<FergusL> that won't happen for me
<abrasive> in that case, the only downside i can see is that it has no native SPDIF or analog audio out - only over HDMI
<abrasive> but if you use a USB interface that's no big deal
jas-hacks_ has quit [Remote host closed the connection]
ibrah has joined #imx6-dongle
rz2k has quit []
hste has quit [Quit: Leaving]
hste has joined #imx6-dongle
datagutt_ has quit [Remote host closed the connection]
ibrah has quit [Quit: Leaving]
datagutt_ has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
jas-hacks_ has joined #imx6-dongle
dgp has quit [Quit: Lost terminal]
datagutt_ has quit [Remote host closed the connection]
MindBeat has joined #imx6-dongle
datagutt_ has joined #imx6-dongle
datagutt_ has quit [Remote host closed the connection]
<hste> jas-hacks_: running turturial7 on 720p I get about 400fps
<jas-hacks_> hste: yep their demos seem to be dependent on resolutions, I could get about 300fps at 1280x1024
<jas-hacks_> hste: at 1650x1080 it drops to 190fps
<jas-hacks_> hste: finally decided to release it
<jas-hacks_> hste: : just looking at bluetooth, do remember which tty port is was
alex_kag_ has quit []
<hste> jas-hacks_: I think its ttymxc1
fossxplorer has joined #imx6-dongle
fossxplorer has joined #imx6-dongle
datagutt_ has joined #imx6-dongle
jas-hacks_ has quit [Remote host closed the connection]
jas-hacks has joined #imx6-dongle
ajayr has quit [Ping timeout: 264 seconds]
ajayr has joined #imx6-dongle
datagutt has quit [Quit: kthxbai]
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
Noskcaj has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
jas-hacks has quit [Quit: Leaving]
hroth has joined #imx6-dongle
<hroth> Uh oh! I've loaded the multi-boot uboot and that seems to work great! I just can't get it to automatically go to the External SD (I just wiped and loaded the new xubuntu 12.04 image). I've got the Serial Console running... but haven't used uboot like this before. What are some commands to try on the serial console?
<hroth> Ah... ext2ls mmc 1:1 / seems to be reassuring.
iamfrankenstein has quit [Quit: Nettalk6 - www.ntalk.de]
<hroth> Working fine now, tips for anyone else who forgets to put a /boot.scr in the SD root partition:
<hroth> Prepend the bootcmd.txt with "mmc dev 1" then "mmc rescan" before ext2load'ing
<hroth> I'm thinking this xubuntu-12.04 image has the cpu freq control off; I've already got heat problems. What is the kernel config module to turn that back on and slow me down?
<hroth> (or it might be that I have the aluminum case off to access the serial port.)
Noskcaj has quit [Ping timeout: 256 seconds]
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Ping timeout: 260 seconds]
Noskcaj has joined #imx6-dongle
_whitelogger has joined #imx6-dongle
fossxplorer has quit [Ping timeout: 260 seconds]
<abrasive> hroth: you at least need the heat spreader pad on
<abrasive> otherwise it will definitely throttle
<hroth> Yep, have that and a few small copper heatsinks balanced on it..
<abrasive> cpufreq actually makes little difference to the total heat coming out of the package, because the primary regulator is on board too and it's a LDO...
<abrasive> does move it away from the cores though
<abrasive> putting a real heatsink straight onto the chip with some heatsink compound might help you out. those spreader pads are pretty fragile.
<hroth> abrasive: got it; I'll have to design a larger enclosure for the wee dongle so that I can mount a real heatsink.
<abrasive> i find the case works just fine still - doesn't get hot (unless it panics)
<abrasive> you could always look in sysfs to see how cpufreq is doing
<abrasive> look for the governor selection file.
<hroth> Thanks. How do you mount a real heatsink straight onto the chip with the aluminum case not getting in the way?
<abrasive> i think you get one or the other, unless you're handy with a mill
<hroth> :)
<hroth> Got it.
<hroth> Off to re-compile the kernel with i2c debug... just trying to figure out why my i2c cannot read the EDID.
<abrasive> aha! you have it too?
<abrasive> i don't suppose you happen to have an oscilloscope. or even a multimeter?
<hroth> Yes, I have an oscilloscope - but was going to start with a Bus Pirate which talks i2c.
<hroth> There may be a lot of corruption on the bus, though, so I'll take a look on the scope.
<abrasive> it's probably a level translator issue
<abrasive> i have a sneaking suspicion that some boards are a dodgy revision
<abrasive> but that's just speculation for now.
<abrasive> the SOT23 transistors near the HDMI connector are the level shifters for i2c, they have all the probe points you should need
<hroth> Thanks, that's helpful.
<abrasive> unless it's some silliness like the HDMI DDC return ground not being connected or something ;) the DDC gnd and +5 were fine on mine, though
<hroth> Looks like I'll be checking everything from the ground and supply up...
<hroth> What revision is your board?
<abrasive> not sure. is it marked?
<hroth> Mine says: RT-M500A_V2.4
<hroth> Is dated 2013 01 03
Noskcaj has quit [Ping timeout: 256 seconds]
<abrasive> RT-M500A_V1.2 2012-09-22
<abrasive> maybe they changed i2c buses completely then
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
Noskcaj has joined #imx6-dongle
<hroth> I believe HDMI is on i2c bus 1 on V2.4, at least. That's where I see my timeouts.
<hroth> I know it's pretty different from the Freescale design but there surely isn't much on the RT-M500 between the SOC and the HDMI connector.
<abrasive> three BJTs and a few resistors.
<abrasive> i can't imagine they broke it between my rev and yours though