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/
drachensun has quit [Read error: No route to host]
drachensun has joined #imx6-dongle
cnxsoft has joined #imx6-dongle
cnxsoft has quit [Quit: cnxsoft]
ajayr has quit [Ping timeout: 252 seconds]
ajayr_ has joined #imx6-dongle
ajayr_ has quit [Ping timeout: 260 seconds]
31NAAD2ML has joined #imx6-dongle
antony1 has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Changing host]
Noskcaj has joined #imx6-dongle
Noskcaj10 has joined #imx6-dongle
Noskcaj10 has quit [Client Quit]
Noskcaj has quit [Read error: Connection reset by peer]
hste_ has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Ping timeout: 245 seconds]
cnxsoft has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
Noskcaj has quit [Quit: good bye]
jas-hacks_ has joined #imx6-dongle
31NAAD2ML has quit [Ping timeout: 252 seconds]
ajayr_ has joined #imx6-dongle
jas-hacks_ has quit [Remote host closed the connection]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
cnxsoft has quit [Quit: cnxsoft]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
antony1 has quit [Ping timeout: 276 seconds]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Ping timeout: 245 seconds]
cnxsoft has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
jas-hacks_ has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
test615 has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
test615 has quit [Client Quit]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
ajayr_ has quit [Ping timeout: 245 seconds]
antony has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
ajayr_ has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
rz2k has joined #imx6-dongle
<otavio> jas-hacks_: Hi
<otavio> yes I am in Brazil
<otavio> you said you had performance difference ...
<otavio> which test?
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<jas-hacks_> otavio: by comparing glmark2-es2 results
<otavio> but same bsp release?
<jas-hacks_> otavio: yes both on ubuntu 12.04
<otavio> I am curious about it
<otavio> as we need to find out the gab
<otavio> jas-hacks_: no, I mean BSP version
<otavio> both 1.1.0?
<jas-hacks_> otavio: yes 1.1.0
<jas-hacks_> otavio: I took the ltib 1.1.0 gz and native compiled on the gk802. The binaries are a lot smaller
<otavio> jas-hacks_: Would be possible for you to do a detailed bug report in bugzilla.yoctoproject.org?
<otavio> jas-hacks_: ah
<otavio> jas-hacks_: so it is not ltib build
<otavio> jas-hacks_: but native build
<jas-hacks_> jas-hacks_: yep
<otavio> jas-hacks_: which binaries, for example?
<otavio> I'd be curious about build log of one
<jas-hacks_> otavio: libdri.so and vivante_drv.so
<otavio> jas-hacks_: are you using updated Xorg? 1.12 IIRC?
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
<jas-hacks_> otavio: I noticed your make file includes neon option
<otavio> jas-hacks_: yes
<otavio> jas-hacks_: it was suppose to result in faster cdoe
<jas-hacks_> otavio: yes, but from reading the linario gcc benmarks, it seems armv5 runs quicker
<jas-hacks_> otavio: I didn't need to plug in the xorg 1.12 changes, so there is a difference between the 2 builds
<jas-hacks_> otavio: I will test again when I get a chance
<otavio> jas-hacks_: that explains a lot
<otavio> we build for armv7
<jas-hacks_> otavio: I noticed yocto is available for TI AM335x
<otavio> jas-hacks_: yes
<otavio> jas-hacks_: as well
<otavio> we did a custom bsp for one customer with it
iamfrankenstein has joined #imx6-dongle
iamfrankenstein has quit [Excess Flood]
fossxplorer has joined #imx6-dongle
datagutt has joined #imx6-dongle
nicksydney has joined #imx6-dongle
jas-hacks_ has left #imx6-dongle [#imx6-dongle]
ajayr_ has quit [Ping timeout: 252 seconds]
ajayr_ has joined #imx6-dongle
ajayr_ has quit [Ping timeout: 264 seconds]
ajayr has joined #imx6-dongle
ajayr has quit [Ping timeout: 246 seconds]
ajayr_ has joined #imx6-dongle
cnxsoft has quit [Remote host closed the connection]
ajayr_ has quit [Ping timeout: 246 seconds]
ajayr has joined #imx6-dongle
jas-hacks_ has joined #imx6-dongle
<hste> jas-hacks_: tried extreme tuxracer and it was very slow
<jas-hacks_> hste: I think it's not using open gl/egl
<hste> jas-hacks_: I guess so. on oneiric I had 10fps, on 1204 I got 0.1
<jas-hacks_> can you ldd
<hste> jas-hacks_: http://pastebin.com/BsJv6cHH
<jas-hacks_> I found the problem 'but not the fix' with neverball, its default resolution is now 1280x720, if current screen resolution is 1280x720 then it freezes. If you have a higher screen resolution screen then it works because it is no longer in full screen mode.
<hste> jas-hacks_: fbmem?
<jas-hacks_> hste: not sure where it is.
<hste> jas-hacks_: I had issues when I didn't reserve enough mem
<jas-hacks_> hste: To clean things up and save memory , I stopped the bluetooth services in startup.
<hste> I sth get this [74049.585857] [drm:drm_lock_free] *ERROR* 3 freed heavyweight lock held by 1
ajayr has quit [Ping timeout: 276 seconds]
<hste> I guess I need to add some swap. firefox often hang. got oomkill on it
<jas-hacks_> tuxracer is probably slow because it uses libGLU.so.1 => /usr/lib/arm-linux-gnueabi/libGLU.so.1 (0x2ab92000)
<jas-hacks_> is there one in /usr/lib?
<hste> nope
<jas-hacks_> ldd for libGLU
<hste> jas-hacks_: http://pastebin.com/a7Ypn0EJ
hste_ has quit [Ping timeout: 245 seconds]
ajayr_ has joined #imx6-dongle
antony has quit [Ping timeout: 276 seconds]
<hste> jas-hacks_: how is it going with new uboot?
<jas-hacks_> hste: just testing that boots it from mmc and usb. Want to test it?
<jas-hacks_> hste: do u think there is any use to load /boot.scr from fat partition?
<hste> jas-hacks_: You still need to have uboot in internal?
<hste> jas-hacks_: why bother with fat
<jas-hacks_> hste: Yes one uboot on internal. After that it searches for /boot.scr on mmc and usb. Once found loads it and executes the script.
<hste> jas-hacks_: so it store some prevalues on dongle?
<jas-hacks_> hste: no sure what u mean
<jas-hacks_> not sure what u mean
<hste> jas-hacks_: program the loader og uboot
<hste> jas-hacks_: program the loader of uboot
<jas-hacks_> that is done in /boot.src
<jas-hacks_> boot.scr
<hste> jas-hacks_: so u need to have a card with uboot in internal?
<jas-hacks_> yes
<jas-hacks_> but after that it can boot load kernel from int/ext sd or usb
<hste> are u gonna push it into git?
<jas-hacks_> need you to test it first :)
<hste> jas-hacks_: I think it already do that wiyj bootcmd but not the boot.scr and u have to program using the recovery button. So the boot.scr sounds nice so peopke doesnæt need to do it from serial :)
<hste> ok where is it?
<jas-hacks_> ... need to wait a bit longer
<jas-hacks_> for usb you need a powered hub
<hste> yes my hub works ok can use extra power if I just find the cable :)
<hste> the usbkeyboard works ok from uboot
<hste> when I started usb from uboot last time it was ok
<jas-hacks_> I only start usb in uboot if no boot.scr found on mmc
<hste> its actually nice to start it from recovery when you have fb. Make it possible to drop serial
<hste> as long as your monitor supports it.....
<hste> jas-hacks_: will ext always be mmcblk1 for rootfs?
ajayr_ has quit [Ping timeout: 264 seconds]
<jas-hacks_> rootfs will configure in /boot.scr , so can be anywhere you want
ajayr_ has joined #imx6-dongle
<hste> jas-hacks_: yes but when u set root=/dev/mmcblk1p1 will it be ext or will it sth be /dev/mmcblk0p1
<jas-hacks_> yes root="/dev/mmcblk0p1" or "/dev/sda" for usb
<jas-hacks_> root can ext or int sd
<jas-hacks_> depends which device has /boot.scr on it
<hste> ok
<hste> does it support labels if u got more usbdisk on the hub?
<jas-hacks_> no, its tries the first 2 storage devices
datagutt has quit [Quit: kthxbai]
NiceGoy has joined #imx6-dongle
<hste> jas-hacks_: what speed do u get from WLAN. Without antenna I get pretty stable 3MB/s 1 meter away from router
<jas-hacks_> < 1MB/S mine is 0.5 meters away
<hste> so mine without antenna is better...
<jas-hacks_> how fast is usb-ether
<hste> wlan1 4 available bit-rates :
<hste> 1 Mb/s
<hste> 5.5 Mb/s
<hste> 11 Mb/s
<hste> 2 Mb/s
<hste> Current Bit Rate:150 Mb/s
<NiceGoy> anyone know a vivante xorg driver repo that actually builds?
<NiceGoy> or am i going to have to patch this shit by hand
<jas-hacks_> hste: I need to get one ;)
<jas-hacks_> NiceGoy: I can help you, but in an hour or so.
<NiceGoy> k, thanx bro
antony has joined #imx6-dongle
<hste> jas-hacks_: speed on usbeth is only 768k/s
<hste> jas-hacks_: get a lot of this [85283.827622] usb usb1: clear tt buffer port 1, a5 ep1 t00318d58
<hste> [85284.049631] usb usb1: clear tt buffer port 1, a5 ep1 t80318d50
<hste> jas-hacks_: did a test again and speed was up to 5M/s on wlan, so it much better than the dongle
<hste> jas-hacks_: 5MB/s so thats ok on 150Mb/s link
<hste> jas-hacks_: I think CONFIG_USB_DEBUG=y should be unset when using a usbdisk or dongle
<jas-hacks_> hste: have u still got time to test?
<jas-hacks_> or tomorrow
<hste> jas-hacks_: yes some time :)
<jas-hacks_> u-boot_multi_boot.imx on your server
<hste> ok
<jas-hacks_> and sample boot.scr to boot from int sd card as normal
<hste> so boot.scr is not compiled?
<jas-hacks_> want me to compile it
<hste> no I can do it myself :)
<jas-hacks_> you want to change resolution
<jas-hacks_> mkimage -A arm -O linux -T script -n "boot" -d boot.cmd boot.scr
<hste> no then I can see that res also work :)
<jas-hacks_> boot_usb.scr sample usb booting
<jas-hacks_> might need serial
<hste> and looking for uImage in /boot?
<jas-hacks_> yes and boot.scr in /
<jas-hacks_> rename my .scr to .cmd for mkimage
<hste> putting the image on et with bootscr worked :)
<hste> ext
fossxplorer has quit [Remote host closed the connection]
<hste> but video variable still doesn't get used
<jas-hacks_> i'll check script
ajayr_ has quit [Ping timeout: 264 seconds]
<jas-hacks_> When kernel is booting what is shown for "Kernel command line: "
<hste> I'm starting up my pc with usbserial now
<hste> its saying no /boot.scr found on mmc devices
<hste> it booted on image from int sdcard thats why solution wasn't read
<jas-hacks_> for ext sd, is boot.scr on ext sd card ?
<hste> yes
<hste> the same on usb
<jas-hacks_> in /
<hste> yes
<hste> I'll check again
<hste> yes it was in /
<jas-hacks_> can you pastebin uboot output and boot.cmd file
<jas-hacks_> nicegoy: which distro are you trying to build vivante drivers for
ajayr_ has joined #imx6-dongle
<jas-hacks_> hste: what partition type is ext sd. ext4?
<hste> yes
<hste> usb also ext4
iamfrankenstein has joined #imx6-dongle
<NiceGoy> jas-hacks_: gentoo, hardfloat
<jas-hacks_> it read the one from usb, what is in the boot.scr file for usb
<NiceGoy> this thing is damn impressive tough
<NiceGoy> first little ARM dongle that's actually usable as a desktop machine
<jas-hacks_> nicegoy: there is no hardfloat as of today for gpu/vpu
<hste> 'V\E7\BA\CEQe\CE\00\00V\00\00\00\00\00\00\00\00\8A\A0\E56boot\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00N\00\00\00\00setenv root '/dev/mmcblk1p1 rootwait'
<hste> setenv rootfstype 'ext4'
<hste> setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
<hste> setenv extra ''
<hste> setenv kernel 'uImage'
<hste> setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 0; ext2load mmc 0:1 0x10800000 /boot/uImage; bootm'
<NiceGoy> jas-hacks_ : softfloat will presumably work tough.
<hste> having a sdcard in ext with kernel
<jas-hacks_> hste: root '/dev/mmcblk1p1 rootwait' is wrong, should be /dev/sdx
<jas-hacks_> hste: it is booting from internal sd card
<NiceGoy> ^
<jas-hacks_> hste: there was another file boot_usb.scr
<NiceGoy> problem is finding sources that will actually compile tough
<jas-hacks_> nicegoy: softfloat will work
<NiceGoy> jas-hacks_: know a repo w/ a patched/fixed source?
<jas-hacks_> nicegoy: which xserver version is your gentoo going to use
<NiceGoy> X.Org X Server 1.11.4
<jas-hacks_> nicegoy: you should be able to compile on the gk802
<NiceGoy> i know. i'm on that thing atm.
<hste> same error with 'V�U�~Qe�/QRQ�abootIsetenv root '/dev/sda1 rootwait'
<hste> setenv rootfstype 'ext4'
<hste> setenv kernel 'uImage'
<hste> setenv video 'mxcfb0:dev=hdmi,1280x720M@60,if=RGB24'
<hste> setenv extra ''
<hste> setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; mmc dev 0; ext2load mmc 0:1 0x10800000 /boot/uImage; bootm'
<jas-hacks_> nicegoy: do you know the packages to compile
<jas-hacks_> hste: on usb drive, you have just one partition?
<hste> yes. but should the et2load point to mmc?
rz2k has quit []
<NiceGoy> i dont think there's a vivante driver package yet
<NiceGoy> maybe in an overlay or w/e
<jas-hacks_> hste: usb is like this:
<jas-hacks_> setenv console 'ttymxc3,115200'
<jas-hacks_> setenv root '/dev/sda1 rootwait'
<jas-hacks_> setenv rootfstype 'ext4'
<jas-hacks_> setenv kernel 'uImage'
<jas-hacks_> setenv extra ''
<jas-hacks_> setenv video 'mxcfb0:dev=hdmi,1280x960M@60,if=RGB24'
<jas-hacks_> setenv boot_normal 'setenv bootargs console=${console} root=${root} rootfstype=${rootfstype} video=${video} ${extra}; usb dev 0; ext
<jas-hacks_> 2load usb 0:1 0x10800000 /boot/uImage; bootm'
<hste> I guess thats the problem :)
<NiceGoy> hste: just read the uboot scripting manual
<NiceGoy> it's highly recommended if you're going to dick with embedded stuff
<NiceGoy> another protip: you can use thermal epoxy to epoxy some slabs of aluminum (or heatsinks) to the back and front of the dongle's guts
<jas-hacks_> nicegoy: The vivante source packages are in ltib, yocto, bsp. There are gz source files, its getting a bit late here. I'll dig them out for you tomorrow.
<NiceGoy> thanks for the hint, just found an explanation.
<NiceGoy> i'll get it running from here
<hste> jas-hacks_: it boots but I guess the kernel I had on it had not set getting bootargs from uboot :) it mounted mmcblk0p1 as rootfs :)
<hste> but looks like it work. I'll build some new kernel/rootfs to try
Noskcaj has joined #imx6-dongle
Noskcaj has joined #imx6-dongle
<jas-hacks_> hste: kernel config needs CMDLINE_FROM_BOOTLOADER [=y]
<hste> jas-hacks_ I know. some earlier builds I had on usbstick
<jas-hacks_> hste: I'll test ext sd to see if that works
<hste> changing in boot.scr to mmc dev 1?
<jas-hacks_> hste: ah that is what was wrong with your boot.scr for ext sd
<hste> NiceGoy: abrasive was trying same with arch so you could try ask him. He is down under so maybe has woken up :)
<NiceGoy> yeah i live in eurabia too, so i'll be going afk soon too
<NiceGoy> anyways thanks for the info, now i know where to look, i'll see if i can get this up tomorrow
<jas-hacks_> hste: It's not a bad solution, I can have a distro on ext sd and usb and just rename the boot.scr to get it the boot the one I want.
<jas-hacks_> NiceGoy: hope it works
<NiceGoy> or.. you could write a /init that looks for distros :)
<NiceGoy> so you dont have to dick with uboot every time
<hste> jas-hacks_: changing mmc 1:1 also?
<jas-hacks_> hste: for ext sd?
<hste> yes
<jas-hacks_> yes
<jas-hacks_> and 'mmc dev 1'
<hste> I guess I 'll have a uboot on int with a part for swap
<jas-hacks_> can do, are u using hdd?
<hste> not now but befor I had a 1T wd disk on the usbhub
<jas-hacks_> cool, was it faster?
<hste> maybe a software raid :)
<hste> jas-hacks_: I felt the usb as slow
<jas-hacks_> I was thinking an ipod 1.8" 20GB drive with 'IDE to usb'
<hste> I'm not sure about usbspeed on this dongle. Have to turn off debug at least
<hste> but a striped software raid of 2 fast sdcard should also work :)
<jas-hacks_> my usb stick only works with a powered usb hub.
<hste> mine works fine without
<jas-hacks_> hste: but you haven't booted your rootfs from it yet
<jas-hacks_> enough for today
<hste> yes bedtime
jas-hacks_ has left #imx6-dongle [#imx6-dongle]
ajayr_ has quit [Ping timeout: 245 seconds]
ajayr_ has joined #imx6-dongle
ajayr_ has quit [Ping timeout: 255 seconds]
ajayr has joined #imx6-dongle