IRC log of #cubox of Wed 06 Nov 2013. All times are in CET < Back to index

00:08 taz_ good night
10:37 tazou hello :)
10:41 tazou hi rabeeh , can I ask you about my u-boot install please ? I'm blocked at kernel compilation (details here http://www.solid-run.com/phpbb/viewtopic.php?f=7&t=1566&start=10#p8367) thanks a lot
11:42 jnettlet _rmk_, yes I enjoyed the movie thoroughly.
13:00 _rmk 13:00 * _rmk_ has audio via pulseaudio working... having given the driver S24_LE support (because its then easy to stuff the IEC958 bits into the buffer)
13:01 _rmk_ it seems that pulse's IEC958 conversion is buggy
13:02 jnettlet shocking...NOT!
13:02 jnettle 13:02 * jnettlet apologizes long standing PA angst still lingers
13:03 _rmk_ maybe this is why many of the howtos say about setting alsa up to encode to ac3 before squirting out via spdif
13:05 _rmk 13:05 * _rmk_ needs to talk to shesselba about the clock setup on the si5351 on cubox... can we arrange for both audio and video clocks to run off the same PLL but with different multisynth settings...
13:06 _rmk_ jnettlet: the kernel code for HDMI audio output is... a massive... 487 lines (plus a small number of hooks into imx-hdmi.c)
13:07 jnettlet very nice.
13:08 _rmk_ freescale's solution: 1755 lines.
13:10 _rmk_ that's 1437 lines in imx-hdmi-dma.c, 131 in imx-hdmi-dai.c and about a hundred each in imx-hdmi.[ch] in sound/soc/imx/
13:11 tazou _rmk_, jnettlet are how in the project cubox please ?
13:17 jnettlet tazou, I am fine but don't have much time to answer questions right now.
13:17 jnettlet is it something quick?
13:21 MikeSeth tazou: -lcrypt
14:26 tazou jnettlet, ok i understand. it's about this : http://www.solid-run.com/phpbb/viewtopic.php?f=7&t=1566&start=10#p8367
14:27 tazou si MikeSeth ok I must try : make -lcrypt ?
14:27 tazou so*
14:29 tazou MikeSeth, " make -lcrypt" go to the same error :x
14:30 MikeSeth tazou: not make, pass it to gcc as an option
14:30 MikeSeth just google the error message
14:33 tazou MikeSeth, yes I google it, but I try to write in the Makefile it "export CFLAGS=-lcrypt" but i have the same error
14:44 tazou i try to add "LIBS += -lcrypt" in the Makefile, but same result
14:46 jnettlet tazou, that would be LDFLAGS="-lcrypt"
14:51 tazou jnettlet, i put : export LDFLAGS="-lcrypt" in the Makefile but, i have the same error :( i'm trying a "make clean && make" to see if it change
15:41 tazou jnettlet, i put export LDFLAGS="-lcrypt" in the Makefile, then try "make" , but i have the same result :/
15:41 tazou do you have an idea please ? :)
15:41 jnettlet tazou, then obviously that Makefile is not bringing in the LDFLAGS
15:42 tazou ah
15:42 jnettlet you should probably pass --debug or -d to make to get debug output and see what link command it is actually running
15:42 tazou ok
17:16 jnettlet so my capacitors finally show up. I soldered them in, mounted the board, turned on the power heard the hard drive spin up. Look at the front and the lcd is busted :-(
17:17 jnettlet My guess is that after it "died" from the blown caps the owner kicked it out of frustration as there is no external damage just a spidered crack from the middle out.
17:18 jnettlet well for 100 dkk it was worth a shot.
17:23 _rmk_ ok, new feature... now have the hdmi audio driver parsing the SADs so it knows what the HDMI sink is capable of supporting.
17:24 jnettlet oh nice.
17:25 _rmk_ and I'm not calling this imx-hdmi-audio.c, but dw-hdmi-audio.c... calling the hdmi interface on this "imx" is insane given that the documentation talks in places about this being a Synopsis DesignWare IP block.
17:26 _rmk_ plus, dw is less characters to type :)
17:26 _rmk_ <-- lazy
18:01 dv_ _rmk_: can the hdmi interface handle 3D?
18:01 dv_ I know the VPU can
18:03 tazou i'll be back
18:04 tazou but i don't find why LDFLAGS is not take in count
18:04 tazou :/
18:04 tazou see you soon :)
18:04 _rmk_ dv: yes it can, I'm not able to test that though
18:05 _rmk_ let me correct that... the hardware claims it is capable of supporting 3d.
18:45 jnettle 18:45 * jnettlet is glad 3d is dying a quick death
18:46 _rmk_ hdmi audio is still working :)
18:49 jnettlet what is the testing material of choice?
18:50 jnettlet also, can it do audio only or do you need to video to accompany it.
18:53 _rmk_ the testing material has been a selection of Moby, a load of movie themes followed by some Iron Maiden, and currently Blackmore's Night Ghost of a Rose.
18:54 _rmk_ and yes, like any HDMI, you need the HDMI link running to get audio... I've told the TV to turn off the LCD so I don't know if it's tried to blank (it probably has) but because imx-drm is rather crappy, it never actually shuts video output down properly
19:02 jnettlet well some hdmi phy's have the ability to fill the video with dummy frames
19:04 _rmk_ depends whether the idea of turning video off is to tell the attached device to power down or not...
19:13 _rmk_ jnettlet: yep it just shut video down and audio stopped
19:53 jas-hacks_ rabeeh: Many thanks got the C1
20:03 taz_ hi , back :)
20:21 tenedos hi all
20:22 tenedos jas-hacks: are you there?
20:24 jas-hacks_ jas-hacks_: yes
20:25 tenedos jjas-hacks_: just started a private chat so i will ask there as i half typed it anyway
20:30 tenedos basically looking for a ubuntu or arch image for the C1
20:32 jas-hacks_ tenedos: You should be able to take my ubuntu rootfs and run against the 4.1.0 kernel.
20:33 jas-hacks_ tenedos: It should boot to console mode.
20:34 tenedos sadly i need the xwindows. seems no one is there yet for the C1
20:35 jas-hacks_ tenedos: I'll work on that, once I get uboot + kernel running.
20:35 jas-hacks_ tenedos: Is your C1 the imx6s?
20:36 tenedos jas-hacks_:i have not done that much development on linux and never tried to port an OS to new hardware but why is it so hard with the C1 when many other imx6s images are out there for other boards. I thought it would have been similar or the same or is that an ARM thing where they need everything done from scratch for each ARM board?
20:37 tenedos jas-hacks_:It is a imx6solo
20:38 _rmk_ jas-hacks: if you've been following either here or on the g+ carrier1 stuff... I have v3.12 running on the carrier-1, using imx-drm and as of today, hdmi audio, with my cubox (armada) xorg driver running unaccelerated against that.
20:38 tenedos jas-hacks_: I have a CuBox-i4pro on order as my target box but i just want to test some software can run on arm first
20:41 sver 20:41 * svere expects a german customs limbo: Leipzig - Germany Clearance delay
20:41 svere :-(
20:42 jas-hacks_ tenedos: The board is fairly new, but it is nots that difficult to get what you want. However GPU stuff might not be that poweful on the imx6solo.
20:44 jas-hacks_ _rmk_: That's good progress, I going to test the fsl kernel first to test how good/bad the GPU stuff is under X on the solo.
20:45 tenedos jas-hacks_:Yea the GPU stuff i am not super worried about just yet as my target is a more powerful box but i am attempting to write an application that uses video and an embedded web browser. The video i want to check more that the app runs not that it plays ok as i don't really expect that on this hardware but the embedded browser i am trying to use is fine on linux but not sure it will work on ARM
20:47 jas-hacks_ tenedos: From previous testing on my other mx6 boards, firefox and chromium did work well the gstreamer plugin.
20:50 tenedos jas-hacks_: Thanks for that info i was looking at something else but gstreamer was also on my radar and something i am planning to play with as well as possibility a better solution. In my case i am trying to make the embedded browser the UI and it fully controls the player. I don't think a standard browser will let me do that
20:52 tenedos can we take advantage of http://boundarydevices.com/linaro-raring-images-4-1-0-kernels-mx6/ and http://boundarydevices.com/mx6-video-acceleration-raring-debian/ at all. I know it is a different board but they are the same chip for GPU and CPU. I cna understand why you need to custom program other things on the board but don't really get why you can't use others work on hte CPU and GPU when they are the same CHIP
20:54 tenedos i stupidly thought i could just boot them uo lol. quickly found out i had no idea how to get the C-1 uboot to boot that let alone get it to boot into xwindows
20:59 _rmk_ I don't think anyone has looked at porting the video/gpu stuff forward yet.
21:00 _rmk_ as far as the gpu stuff goes, at some point soon (once I've finished the hdmi audio stuff) I'll yank the vivante gpu driver I cleaned up for the dove cubox across, and see whether it behaves with my userspace.
21:01 jas-hacks_ tenedos: The boundary stuff works, but it's not a solution for you as it stands.
21:02 tenedos _rmk_: Nice. sorry to ask but are you Russell King? If so i have been following you on G+
21:02 _rmk_ /whois works wonders :) Yes.
21:02 tenedos jas-hacks_: why is that?
21:02 Bluerise svere: I had one too, with the Carrier-One...
21:03 jas-hacks_ tenedos: it only works with the simple fsl app 'gplay' on that rootfs.
21:03 Bluerise svere: In the end I sent them link to the raspberrypi and said "it's similar to that one".
21:03 tenedos _rmk_: sorry i don't think i have been on IRC in 20 years and i am really having a heard time remembering how to do everything :)
21:03 Bluerise svere: Still like 20 Euro customs...
21:07 tenedos jas-hacks_: ok well i will have to keep waiting for now and trying to learn as much as i can. I have to go to work now but thanks for answering my questions
21:23 svere Bluerise: did you get a notice of what to do next?
21:24 Bluerise svere: I did get a mail (not email) from them, telling me to send them the "real" offer
21:24 Bluerise or, order confirmation
21:24 Bluerise the one in the letter is about 0.01$, which they somehow don't believe...
21:24 Bluerise you're getting a C1, right?
21:24 svere Bluerise: maybe i ask rabeeh for an invoice over 0 EUR
21:25 Bluerise They don't believe that.
21:25 svere Bluerise: yeah /me gets a C1
21:25 Bluerise I send them two links http://cubox-i.com/carrier-one/ and http://www.watterott.com/de/Raspberry-Pi-Model-B
21:26 Bluerise told them, it's that one, it's not a real product, but it's similar to the raspberry
21:26 svere Bluerise: but to be honest, I'd rather pay 50EUR to solidrun then pay 20EUR to those buggers
21:26 Bluerise Heh
21:26 Bluerise You'll still have to
21:26 Bluerise or, let's say, 50 * 0.19 + somethingsomething
21:27 jas-hacks_ svere: which country are u in?
21:27 svere well 19% on 50 EUR = 9.50EUR
21:27 svere jas-hacks_: germany
21:27 Bluerise I was donated a Utilite. $219 for the product, $67 shipping, 55 Euro customs
21:27 svere lol
21:27 svere what a wonderful world
21:28 jas-hacks_ svere: I got a C1 shipped to the uk, no customs :)
21:28 Bluerise customs in Germany really really sucks.
21:28 svere jas-hacks_: so i tell them to send it to you as a proxy *g*
21:28 Bluerise at least for us
21:28 svere Bluerise: true
21:28 jas-hacks_ svere: ;)
21:28 Bluerise of course, Germany itself gets the money ;)
21:29 svere and spends it very.... ahh let's not start this discussion :-)
21:30 sver 21:30 * svere will wait for his mail (on paper) and expects quite some delay :-(
21:31 Bluerise hehe
21:31 Bluerise it was like 10EUR "handling" of customs (for UPS)
21:31 Bluerise took a day or two
21:32 Bluerise another 4 years of merkel, hooray
21:33 svere :-)
22:15 jas-hacks_ jnettlet: nice uboot , it outputs to hdmi
22:21 jas-hacks_ rabeeh: why no reset / on switch?
23:18 _rmk_ damn, the carrier-1 has stopped giving me output
23:19 _rmk_ ... at 1080p
23:20 svere _rmk_: hardware?
23:20 _rmk_ don't know yet. 1080p @30Hz works
23:20 _rmk_ but not at 50Hz
23:20 _rmk_ nor 60Hz
23:21 svere is this a clock thingie again?
23:22 _rmk_ don't know yet... let me dig out the freq counter and check what the tmds clock is generating
23:22 _rmk_ I had problems which looked very similar up in edinburgh... 1080p @ >= 50Hz stopped working
23:22 _rmk_ but that was on the cubox not the carrier-1
23:27 _rmk_ 1080p @30Hz: 74.24496MHz 1080p @50Hz: 148.48993MHz (though the ovened crystal in the counter hasn't had time to properly warm up yet)
23:28 svere looks reasonable
23:29 _rmk_ yea, it's certainly within acceptable tolerance
23:35 svere time to go to bed. CU
23:44 _rmk_ and now it's stopped producing any video at any resolution, but audio works.
23:45 _rmk 23:45 * _rmk_ thinks... IPU lockup.
23:45 _rmk_ thankfully, I can now unload imx-drm and reload it
23:47 _rmk_ ... assuming I haven't broken it with my audio hacking of course :)