IRC log of #cubox of Sat 05 Apr 2014. All times are in CEST < Back to index

00:08 mal- mk01 around?
00:40 Tenkawa Greetings all
00:40 Tenkawa anything new in the cubox world?
00:44 cbxbiker61__ my cubox-i's are in the US, i should have them in a few days
00:45 cbxbiker61__ 1 day to go from Israel to US
00:46 Tenkawa cbxbiker61__: yay!!
00:46 Tenkawa I still cant believe I walked into a microcenter and saw one on the shelf
00:49 Tenkawa cbxbiker61__: mind you I'm not complaining
00:50 cbxbiker61__ the reviews on newegg continue to be very positive
00:50 Tenkawa you got the u4 right?
00:50 cbxbiker61__ yep
00:51 Tenkawa I think I'll have to add a u4 to use with my u2
00:51 Tenkawa then I should be done with the boxes I need
00:51 Tenkawa in theory
00:51 Tenkawa hehhehh
00:51 cbxbiker61__ i usually buy top-end stuff, since it future-proofs
00:51 Tenkawa I was going to get a u4 if I ordered but I couldnt pass up the one being in the local shop
00:52 cbxbiker61__ i'm still using a sheevaplug, and since i do the xilka distro, there's really no need to drop support....until i get tired of building armv5
00:52 Tenkawa heheheh
00:53 Tenkawa I almost bought one of those a long time back
00:53 Tenkawa that or the guruplug I think
00:53 Tenkawa cant remember which
00:54 Tenkawa seems like satellit is having connection "fun" tonight
00:55 cbxbiker61__ the cubox-i's are going to speed up my build process tremendously, since i do native builds
00:55 cbxbiker61__ they'll build faster than my "old" i686
00:56 cbxbiker61__ actually i do distcc builds for most everything so some of the 16 jobs gets done on x86_64
00:56 Tenkawa ah
00:57 Tenkawa yeah I distcc almost everything I build now on the arm platform
00:57 Tenkawa although those are the 6 slowest arm boxes I have
00:57 cbxbiker61__ even with distcc, the preprocessing is done on the arm box, so 4 cores will be a big thing
00:58 Tenkawa yep
01:05 Tenkawa time to run..
01:05 Tenkawa cheers all
08:13 _dab_ Do we have a Google Chrome that runs on ARM (i.e. i4pro)
08:13 _dab_ ?
08:27 jnettlet _dab_, you can build chromium to run on ARM, but the only official Google Chrome for ARM is on Chromebooks
09:07 ralix morning
09:16 jnettlet ralix, is that actually you every morning or a bot?
09:17 ralix its my :)
09:17 jnettlet okay just checking
09:17 mk01 heh
09:17 ralix ;-)
09:17 mk01 Lost 6usd to my wife
09:18 ralix mk01, why?
09:18 jnettlet what are you doing betting with USD?
09:18 mk01 I was guessing bot
09:18 jnettlet I think we are mostly in Europe here
09:19 mk01 jnettletexactly. so how many ways are there you can 'use' some old USD ? :)
09:31 ralix Where are you jnettlet ?
09:34 ralix ah from Denmark, nice...
09:52 ralix I just got a problem with my old Cubox. You will not start or will not progress at one point ... http://pastebin.com/As3iVTsY
09:53 ralix Could use a look at it and give me a hint?
09:59 jnettlet ralix, I am actually from the US but live in Denmark now. My wife is Danish
10:01 jnettlet ralix, did just start happening with a new kernel?
10:05 ralix my last sdcard was demaged,. With this old card start with the same error. At the moment i use a new card with the same error. I use http://www.solid-run.com/mw/index.php?title=Arch_Linux_ARM for installation. Sorry for my english ;)
10:06 ralix I use this file ArchLinuxARM-cubox-latest.tar.gz
10:12 ralix From time to time i hate my cubox. Soory@rabeeh ;)
10:13 Coolg33k I have a heating problem with my old cubox too
10:14 ralix my first is simply broken ... The second one have stayed until now. :)
10:15 jnettlet Coolg33k, how so? The Armada chips run pretty cool
10:16 ralix So I never had heat problems... with the old cubox
10:16 Coolg33k jnettlet: I think so too, but, when it's a cold boot, it take forever to boot properly (using geexbox), after 10 or 15 min, it boot OK
10:16 Coolg33k and when trying to play a file, after like 20min of playing, reboot
10:17 Coolg33k and the heat sink is really hot
10:18 jnettlet Coolg33k, I would report that to the geexbox guys. They should be able to investigate it. I am swamped with other stuff, but will probably getting back to Armada stuff next week.
10:19 jnettlet I am hoping to merge my Armada workinto the 3.10.30 lts kernel so Cubox and Cubox-i can run off the same kernel
10:19 Coolg33k jnettlet: it is only recently
10:19 Coolg33k before that, it runs well for days / week
10:19 Coolg33k so I don't think it's geexbox related
10:19 jnettlet oh you haven't updated anything?
10:19 Coolg33k nope
10:19 jnettlet strange.
10:19 Coolg33k yup
10:20 Coolg33k I think there is somethink misconnected
10:20 Coolg33k and, when heating up, it reconnect
10:20 Coolg33k thermal expansion problem :/
13:00 Tenkawa greetings all
13:02 deniska hello
13:03 Tenkawa brb..
13:04 Tenkawa ok thats better
13:11 Tenkawa oops
13:33 coin3d hi
16:14 Tenkawa time to find me a esata enclosure to move the ssd i have running my cubox-i from usb to sata
16:14 rabeeh Tenkawa: simple enclosure or with port multiplier?
16:14 Tenkawa rabeeh: probably simple with dc power
16:14 Tenkawa i still need some current on the usb ports
16:15 Tenkawa for another device i want to try
16:15 Tenkawa i'm using a 3.14 kernel too though... been working great so far
16:19 davorin ah rabeeh is here (o;
16:20 davorin which port support 2160p, hdmi or lvds on i.mx6?
16:20 rabeeh what is the resolution of 2160p?
16:20 rabeeh i.e what is the X x Y?
16:20 Tenkaw 16:20 * Tenkawa enjoys the bliss of headless server
16:20 davorin as it says, double 1080p
16:21 davorin 3840x2160
16:21 rabeeh lvds supports up to 160MHz pixel clock rate (afaik)
16:21 Tenkawa no worry about the vid
16:21 Tenkawa rabeeh: hey do you know what hz clock tick would be the most efficient to use in the kernel on the cubox-i u
16:21 Tenkawa tra2?
16:22 rabeeh Tenkawa: for xbmc, mk01 on xbian modifies that to 300
16:22 rabeeh but the default 100 should be good too
16:22 Tenkawa i'm curre tly running it on 200
16:22 rabeeh for headless i doubt anyone cares about that
16:22 Tenkawa true
16:22 rabeeh why?
16:22 rabeeh is there a specific reason?
16:23 Tenkawa rabeeh: just experimenting
16:23 Tenkawa nah
16:23 Tenkawa got it running deadline too
16:23 rabeeh mk01 on xbian claimed that it becomes smoother on switching the xbmc threads faster; the main target on that is rendering less than 30mSec
16:23 Tenkawa going to run some sqlite tests on it soon
16:24 Tenkawa rabeeh: one of my later goals is x264 transcoding
16:24 rabeeh Tenkawa: oh
16:24 Tenkawa really slow without gpu support
16:24 rabeeh dv_ does that on the single processor with the new gst
16:24 Tenkawa but i really dont want to go back to 3.10
16:25 rabeeh well.. vpu and gpu are really supported on 3.10
16:25 Tenkawa yeah i know
16:25 Tenkawa i can wait
16:25 Tenkawa heheh
16:25 rabeeh he was able to do live transcoding of ~30Mbps h.264 advanced profile to base
16:25 Tenkawa nice
16:25 rabeeh it's impossible doing that with the a processor !!!
16:26 Tenkawa yeah
16:26 rabeeh well.. impossible is a big word; but tough
16:26 Tenkawa i "might" entertain going back to 3.10
16:26 Tenkawa definitely want go get the esata going first
16:26 Tenkawa (hopefu
16:26 Tenkawa ly today or tomoorow)
16:26 Tenkawa uggh my typing
16:27 cbxbiker61 i'd also have to wonder about how well the quality holds up on a hardware conversion rather than sophisticated software like x264
16:27 rabeeh davorin: you need to check the pixel clock and if the imx6 supports that at all !
16:27 Tenkawa cbxbiker61: hmm.... good point
16:27 rabeeh lvds is a no go i think; hdmi might be
16:27 Tenkawa cbxbiker61: i wpu
16:27 Tenkawa err
16:27 davorin i guess some specs are wrong i found...
16:27 rabeeh maybe on 25hz refresh
16:27 Tenkawa would be using h.264
16:27 davorin on freescale it just says: 2 x 4XGA (2048x1536) or 2 x [1080p + WXGA (1280x720)]
16:28 davorin and video core is 1080p only anyway...
16:29 rabeeh davorin: do you have a 4k tv?
16:29 davorin nope...my old pioneer plasma krp-500 reference tv
16:29 davorin but ordering a 4k monitor soon..
16:29 davorin around us$ 600
16:29 rabeeh once you have it; i suggest to cat the modes file under /sys and see what it detects first of all
16:30 rabeeh 600$ 4K monitor? where? :)
16:30 davorin dell
16:30 davorin well..dell sells it for us$ 699 officialy
16:30 davorin and i get reseller price
16:31 davorin http://accessories.us.dell.com/sna/productdetail.aspx?c=us&l=en&s=dhs&cs=19&sku=210-ACHO&baynote_bnrank=0&baynote_irrank=1&~ck=dellSearch
16:31 rabeeh i'll buy one :)
16:31 davori 16:31 * davorin too
16:31 davorin and plug it to the nvidia board once it arrives...
16:32 davorin "Tegra 4 sports video encode and decode pipelines to render 2160p at 24 FPS while Tegra K1 pushes that to 2160p at 30."
16:33 davorin btw: hb2 arrived yesterday morning ;-)
16:34 rabeeh good good :)
16:34 rabeeh like?
16:34 davorin and it is rainy weather atm...so perfect timing
16:34 davorin showed it to a customer yesterday who picked up some stuff...rpi user...
16:34 davorin he was really impressed
16:34 davorin especially internal usb...
16:34 cbxbiker61 yes that $600 4k monitor sounds good
16:34 davorin which would then support lte usb modems
16:35 davorin so far made no sense doing an add-on 3g/4g board for the pri and hook it up to a slow serial port ;-)
16:35 davorin have some customers using currently the rpi for measerument and would like to have 3g/4g on-board for sending data
16:35 cbxbiker61 i'll have to test hardware encoding when i get my cubox-i's, ultimate quality is not always important
16:36 davori 16:36 * davorin uses adobe media encoder so far...
16:36 davorin but then again...i just play back bluray rips...
16:36 davorin no need to recode...
16:36 cbxbiker61 my f9590 soaks up about 200 watts a full tilt
16:37 file the hardware encoding is... okay
16:37 dv_ the VPU supports h264 encoding, but apparently only the baseline profile
16:37 file yeah
16:38 cbxbiker61 so encoding most of my content at a few watts would be appealing
16:38 dv_ On the other hand, with baseline the produced content is easier and faster to seek in
16:39 dv_ I have some test videos with the high profile and extensive frame reordering
16:39 dv_ Seeking takes a long time..
16:42 cbxbiker61 dv_ i set my keyint to occur once per second, seeks on high profile seem to be immediate for me
16:43 dv_ That video has frame reordering latencies of 16 frames
16:47 davorin rabeeh: the hb2 works out of the box with geexbox image?
16:52 jnettlet davorin, the device-tree may need some tweaks
16:53 jnettlet I will be getting mine next week and will get everything updated
16:53 Tenkawa any of you running / on btrfs yet?
16:53 Tenkawa or f2fs
16:59 Tenkawa oh... will the cubox-i ultra boot from usb or esata by itself at all or will i always need to use a microsd?
17:00 jnettlet Tenkawa, the bootloader is loaded from the SD card.
17:01 jnettlet I have run with a rootfs on f2fs.
17:01 jnettlet although f2fs has a major drawback as a filesystem if you are interested in fast booting. It is really really slow to mount.
17:01 Tenkawa jnettlet: yeah i was worried there was no firmware/onboard ability to boot from the others
17:01 davorin nope..doesn't work..just some strange characters in u-boot
17:01 Tenkawa jnettlet: as long as its fast after boot then that doesnt bother mr
17:02 Tenkawa davorin: bummer
17:03 jnettlet davorin, which microsom do you have plugged into it?
17:03 davorin usom-i4p
17:03 cbxbiker61 jnettlet, f2fs slow to boot, hmmmm i havent' noticed that
17:04 davorin https://shop.klingler.net/hb2_uboot.jpg
17:04 jnettlet davorin, try with single or dual core
17:04 jnettlet oh so it did boot.
17:04 davorin power rails are fine....
17:04 davorin 5.02 and 3.278 on gpio pins
17:05 jnettlet cbxbiker61, it is orders of magnitude slower to mount than ext4.
17:05 davorin hmm..have to find the other usom modules on my messy desk (o;
17:05 cbxbiker61 could be...i see 2.87 seconds on a cubox f2fs/usb mount
17:05 davorin and try with the hb2-base
17:06 cbxbiker61 although total boot time is only 10secs with systemd
17:07 jnettlet davorin, get the new u-boot patchset rabeeh just merged from me. It looks like you are seeing some BSS corruption, which I think I fixed.
17:07 jnettlet cbxbiker61, 10secs is so slooowwwww
17:08 jnettlet I am working on sub-3
17:08 jnettlet 5 to gui
17:08 davorin is the console on by default on gpio14/15?
17:09 jnettlet yes
17:09 cbxbiker61 it never hurts to improve boot time, but my 10 second time is on a router that reboots only when kernel version is updated
17:09 jnettlet cbxbiker61, yes but the faster the reboot time the more reboots you get and still keep a 99.999 uptime :-)
17:10 jnettlet as long as nothing breaks
17:10 cbxbiker61 hehe, but what about the fsck's on ext?
17:13 rabeeh booting xbmc in 5 seconds is a dream comes true :)
17:14 cbxbiker61 Startup finished in 2.432s (firmware) + 2.243s (loader) + 1.264s (kernel) + 2.192s (userspace) = 8.132s
17:14 cbxbiker61 that's my zotac ssd/f2fs
17:14 rabeeh oh; f2fs !
17:14 rabeeh i wonder what f2fs will do for the boot time
17:14 cbxbiker61 if you have a system crash all of that ext? gain is out the window due to fsck
17:14 davorin jnettlet: your patches are in the solidrun git?
17:17 cbxbiker61 i'm mostly big on f2fs because it was "designed" to respect flash devices
17:19 cbxbiker61 i've got btrfs installed on a hybrid sshd, so far so good
17:19 rabeeh finally i can reproduce the mysteriious 4GB micro SD issue
17:20 rabeeh jnettlet: http://pastebin.com/jNbwffRs
17:20 rabeeh this is the problem that MikeSeth has reported a month ago
17:22 rabeeh imx6 is capable of loading the SPL code from the micro SD; but then the partition table is never detected with this micro SD
17:23 rabeeh the micro SD is a Transcend 4GByte; but seems i have two versions that says "Transcend 4GByte"
17:23 rabeeh one the works and other that doesn't; and it only doesn't work on i1 / i2
17:34 davorin no console output
17:34 sraue rabeeh, ^^^ also the problem i have?
17:35 rabeeh sraue: might turn out to be the same issue
17:35 rabeeh in your case uImage gets corrupted
17:35 rabeeh in the other case it's even trivial; partition table is not loaded
17:35 rabee 17:35 * rabeeh is debugging
17:36 sraue ok, let me know if you have a patch to try
17:43 davorin pulled the uboot git...
17:43 davorin still same garbage on uboot screen
17:43 davorin this time with hb2-base and usom-i2
17:45 davorin ah wait...now boots into geex
17:49 davorin # cat /sys/devices/virtual/thermal/thermal_zone0/temp
17:49 davorin 60280
17:49 davorin definitively needs a heatsink (o;
17:49 davorin okay...hb2-base and usom-i1 seems to work...
17:50 davorin seems it was confused by the usb-console adapter
17:50 davorin rabeeh: are you any further with cooling on hb2/3?
17:50 rabeeh 60c is ok
17:51 rabeeh 90c starts to throttle; i2 and beyond needs heatsink
17:51 davorin as we say..if you can hold it with a finger for 1 second, then it is cold
17:51 rabeeh remember this is the juntction temperature; and in the case of i1/i2 it's away from the surface of the chip
17:52 davorin i'll build a case and cover it in oil
17:52 rabeeh mineral oil?
17:52 davorin dunno exactly what oil they use for cooling power transfoerms...
17:52 rabeeh davorin: the simplest heat sink for i2 is good enough
17:53 rabeeh the adhesive one
17:53 davorin the small gpio header missing on base...can it just be soldered to have access to the pins?
17:53 rabeeh oh; now please don't touch that :)
17:53 davorin i might get a new one in my shop with matches the surface of the bga
17:53 davorin no???
17:53 rabeeh no no
17:53 rabeeh the 8 pin header was repurposed :)
17:54 rabeeh it's not like the C1; it's used in the hb-pro as two extra usb host ports :)
17:54 davorin so also not usable on the hb2-plus?
17:54 rabeeh the reset function now is on board
17:54 davorin ah only hb-pro has functions on that pins
17:55 davorin i just thought it would be nice to use the pins...
17:55 davorin even if it is only to make an add-on board more secure
17:55 davorin instead of holding it just on one side as the piface..
17:55 davorin so 3g/4g modem only on the hb-pro then
17:57 davorin hmm..still doesn't boot on hb-pro and usom-i4
17:57 davorin see shortly booting zimage..and then gone...hdmi output off
17:58 jnettlet davorin, oh that is because we don't generate dtb files for those combo's yet.
17:59 jnettlet the device-tree name is autogenerated, you can copy imx6dl-hummingboard.dtb to imx6q-hummingboard.dtb and it should boot but with just a single core enabled.
18:00 davorin u-boot seems to work now with git pull...
18:00 davorin thow no console on i4p and garbled on i1
18:00 davorin B-a_d: MX6-H+++i+gB-a_d
18:00 davorin DRAM: 512 Mi????????'?--?e++i_-++e++
18:01 davorin and developing in 2.0/2.4 kernels was so easy (o;
18:02 davorin curious how fast it would boot with rootfs on msata ssd
18:03 rabeeh ok; i think i'v got into the root of this
18:03 rabeeh after enabling CONFIG_MMC_TRACE in u-boot; the command set block size seems to fail
18:04 rabeeh http://pastebin.com/rz4kS1ms
18:04 rabeeh last command; any one familiar with SD protocol?
18:05 davorin wasn't it back then you needed to have a license to use sd cards?
18:05 davorin is the dtb the same for i2 and i2u?
18:10 davorin hdmi stays on, but nothing else when copying over dtb
18:12 davorin also doesn't loads bootloader correctly when just plugging in the power...
18:13 davorin most of the times a manual reset must be done
18:53 davorin hmm...what do i pass to have the kernel messages on console?
18:58 davorin ah okay...usom-i4 doesn't even start the kernel..
19:13 davorin jnettlet; what you mean with "device-tree name is autogenerated"
20:03 rabeeh sraue: https://github.com/SolidRun/u-boot-imx6/commit/dfb384fd31a103078b1e35dc83e53267367d4cf2
20:03 rabeeh this should fix MikeSeth issue too
20:04 rabeeh but somehow the uart console became slower; needs further investigation