IRC log of #cubox of Mon 13 Jan 2014. All times are in CET < Back to index

00:28 cardiel im running geexbox on cubox i4pro, but im not able to play 720p movies without stuttering, when playing from usb harddrive.. is there any other xbmc dist available that is able to play 720 and 1080p without stuttering?
01:18 MikeSeth usb as in usb not esata?
01:41 mhoney_work is there a debian release for the i4pro yet?
01:46 cardiel MikeSeth: i used the usb port no esata
01:47 cardiel im trying to flash the snapshot release of geexbox instead.. should i just unpack and dd http://download.geexbox.org/snapshots/geexbox-xbmc-imx6-cuboxi/latest/binaries.cuboxi/geexbox-devel-20140108-r16704.cuboxi.img-cubox-i4pro.xz ?
01:50 jmontleo rabeeh, new u-boot tells me 'spl: wrong boot mode" any idea?
01:50 cardiel worked now.. was corrupted file, so i downloaded agian
01:51 cardiel no didnt work
01:53 jmontleo nevermind. /me needs to learn to read better
01:58 jmontleo rabeeh, sweet, new u-boot does indeed fix the second usb port
01:58 jmontleo jnettlet, ^
02:35 cardiel i tried both latest geexbox snapshot and yocto xbmc.. still stuttering when playing 5gb 720p file
02:36 cardiel someone know how i can solve this?
02:36 cardiel android+xbmc?
07:43 tomlohave-away cardiel: use make-sdcard from another linux or win32diskimager on linux
07:44 tomlohave-away binaries are here : http://download.geexbox.org/snapshots/geexbox-xbmc-imx6-cuboxi/
07:44 tomlohave-away win32diskimager on windows
08:22 cardiel tomlohave-away: i just dd the image.. i read wrong
08:23 cardiel tomlohave-away: so the image worked after i used dd to write it
08:24 Juggie whats the status of MediaCodec in the android 4.3 image?
12:35 MarcusVinter Good morning.
12:35 obinou just got my i4 today \o/ !
12:38 MarcusVinter :O nice!
12:38 MarcusVinter congrats?
12:38 MarcusVinter Yeah congrats :D
12:41 MarcusVinter What you going to use it for?
12:54 obinou For now, testing a little bit (I already own several imx6-based devices)
12:55 obinou my goal is to create a xbmc-based fully-functionnal "DVB-T+recorder+time shifting" box , xbmc-based
12:55 obinou this is a demand from one of my ISP contact
12:56 obinou problem is the form-factor : Their goal is to have a all-in-one box (so with a DVB-T stick + SATA disk already withhin the box) but I could not find one
12:57 obinou on the other hand, one of the major problem I will have is the DRM on the streams
12:57 MarcusVinter try cubieboard
12:59 MarcusVinter I shouldnt be saying that here
12:59 obinou no I want i.mx6
12:59 MarcusVinter Oh i see.
12:59 obinou but why Allwinner is better in that respect ?
12:59 MarcusVinter Allwinner A20 inside it. Its not bad...
13:00 obinou (i honnestly don't know any DRM-compliant chip but the sigma-design , anti-gpl crap
13:00 MarcusVinter Dual core and mali400 GPU
13:01 Spr0cket obinou: is it only DVB-T or also DVB-T2?
13:02 obinou My main concern is the openness of the ARM part. In this regard, I think freescale is quite good while the other seems to sell as mush chips as possible without too much concern for the software, and then forget the whole thing as soon as the next chip is released. At least imx6 is there to last
13:02 obinou DVB-T2 as well
13:02 Spr0cket which tuner are you using?
13:05 obinou mhhh i don't remeber right now, I don't have it at hand. I'll fetch it this afternoon
13:05 obinou why does it matter ? This tunner works under linux / desktop
13:06 MarcusVinter Spr0cket sounds like your device got exploited...
13:06 MarcusVinter Wrong channel..
13:09 MarcusVinter I don't know of any current kik exploit in the wild but sounds like an overflow exploirt
13:09 MarcusVinter exploit*
13:09 MarcusVinter Probably a private one.
13:13 MarcusVinter Nevertheless Id format your device and change passwords :/
13:13 Spr0cket that's what I was thinking :(
13:17 Spr0cket I have logcat and strace output from the event and can't see anything obvious, but I'm no expert
13:18 MarcusVinter Can I take a look?
13:18 MarcusVinter I'm know expert but I know a few.
13:19 Spr0cket sure let me put the files somewhere you can grab them
13:19 MarcusVinter Thanks
13:23 MarcusVinter Don't suppose you have the URL she sent too?
13:24 MikeSeth Spr0cket: you got an arm box pwned?
13:25 jnettlet Can someone with some time, a serial connection and a working i4pro interrupt the boot process in u-boot and type clocks and paste the output.
13:26 MarcusVinter I could do for I2U if that helps?
13:26 jnettlet MarcusVinter, that is a good start. thanks
13:26 MarcusVinter np :D
13:27 MarcusVinter After all you have done for me its the least I could do.
13:28 MarcusVinter http://pastebin.com/ezfhD6hP
13:29 MarcusVinter There you are.
13:30 jnettlet thanks
13:30 MarcusVinter np
13:30 MarcusVinter Also While booting I get sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
13:30 MarcusVinter arm_max_freq=1GHz
13:30 MarcusVinter Dont know if that means a thing to you...
13:33 jnettlet that all looks good. Thanks
13:39 MarcusVinter No probs :)
14:09 MikeSeth jnettlet: no access to serial on -i1 w/o soldering right?
14:09 jnettlet MikeSeth, I believe so yes. Only u-boot access is via hdmi
14:10 _rmk_ jnettlet: I hope that means that the HDMI video mode timings are fixed
14:10 MikeSeth er, uboot over hdmi? I didn't realize that
14:11 jnettle 14:11 * jnettlet whistles and looks the other way
14:11 _rmk_ because if not, it means that uboot will not be accessible over hdmi with at least some TVs
14:11 jnettlet I keep typing pr_info in my u-boot debug code, slowing things down
14:12 jnettlet _rmk_, lots needs to be done to finish that up. I am working on u-boot clock code right now
14:13 jnettlet although really a developer who wants serial port access should buy an HB1 instead of a Cubox-i1
14:14 MikeSeth jnettlet: I need to carve out some time to finish (begin) packing vivante stuff into .debs, then I'll turn my i1 into a firewall and get a bunch of i4s and a devboard
14:15 jnettlet a firewall with 1 ethernet port?
14:15 jnettlet are you running wifi in hostap mode?
14:16 MikeSeth jnettlet: you can split it into vlans, and hostap would also work
14:17 MikeSeth though I could probably get an $5 ethernet usb dongle just as well and do it right
14:17 jnettle 14:17 * jnettlet is too paranoid to rely on software based vlans for my firewall.
14:17 jnettlet that would be the route I would go down
14:18 jnettlet this is quite the snow storm we are getting today
14:19 obinou MarcusVinter: jnettlet : Where is the serial port ?
14:20 rabeeh MikeSeth: u-boot on hdmi works as fixed resolution 1024x768@75hz
14:20 rabeeh you can hook a keyboard to the lower USB port (the one between the esata and upper usb)
14:22 MikeSeth rabeeh: btw, is it true that esata & microusb is simply not connected anywhere on -i1?
14:28 MarcusVinter obinou, its the micro usb under teh esata, its got built in serial hardware so its basically plug and play serial.
14:28 Spr0cket MarcusVinter: https://db.tt/6ijs2l9S https://db.tt/nvqxyTJ1 sorry, I don't have a url for the image
14:28 obinou MarcusVinter: oh thanks
14:28 obinou perfect
14:29 Spr0cket MikeSeth: it's an android phone
14:29 obinou I'll be able to show jnettlet the serial port boot for i4 then
14:29 Spr0cket not sure if it's pwned
14:29 obinou (first boot ! :-) )
14:29 MikeSeth Spr0cket: ouch
14:30 jnettlet obinou, thanks
14:30 obinou jnettlet: let me cleanup my desk , I get back on you
14:30 MarcusVinter Thanks spr0cket ill take a look/have experts look and get back to you. shame you dont have the URL to analyse though. I imagine it would be the most enlightening.
14:34 Spr0cket yeah it is a pity - and kik doesn't d/l the image to disk before it renders it - I searched the filesystem for the reference ID it assigned to the pic but nothing
14:42 Spr0cket thanks for taking a look
14:53 obinou jnettlet: please wait a bit, I forgot to get a sdcard image
14:53 obinou jnettlet: so I have nothing neither on screen nor on serial port
14:54 jnettlet obinou, yeah you need u-boot to init those
14:54 jnettlet it is no hurray, just for my reference
15:04 MarcusVinter No problem Spr0cket, I would still unfortunately recommend formatting your device though :(
15:08 Spr0cket yeah ultimately I will have to do that - I'm just trying to think if there's anything else I can do to see what is happening when the image opens to get more info
15:08 Spr0cket maybe look at network traffic and open files
15:11 MarcusVinter If possible that would be a great idea, if you monitor network traffic then we can see the bitmap url possibly. Its strange how it crashes now you open it though, almost like its messed up your config files. It might be worth checking them to see if anything leaked into there.
15:39 pepedog 'elo
15:39 pepedog the new SPL uboot, will all devices get the same mac address?
15:51 jnettlet pepedog, no
15:51 pepedog or is it because cat /proc/cpuinfo gives Serial : 0000000000000000 on my c1
15:52 jnettlet pepedog, oh for a C1 you need to set the mac address in your boot.scr or uEnv.txt
15:52 pepedog nice work btw
15:55 pepedog does uEnv.txt work for single partition ext4? I can't seem to pick it up, but boot.scr works
16:03 jnettlet uEnv.txt should work fine. it needs to be on the root of the first partition
16:04 Juggie anyone aware of the status of MediaCodec in the android 4.3 image?
16:04 Juggie (mediacodec api)
16:16 MikeSeth oh yeah, speaking of uEnv.txt, it's a native feature of uboot, not a hack, right?
16:18 pepedog The wiki has an obvious step missing to build uboot, cd u-boot-imx6
16:22 pepedog setenv ethaddr "d0:63:00:00:00:01" didn't work in my boot.scr
16:47 obinou jnettlet: http://pastebin.com/m4RzLvg9
16:47 obinou (look identical to Marcus's for me)
16:52 obinou You guys know where the default resolution of the framebuffer or X-windows is set on the debian image ? My (old) screen show "cannot display this resolution) after linux boot
16:52 obinou (it show uboot ok , the 1024x768 is the max this monitor can do)
17:21 captainigloo obinou: you have your cubox \o/, next time you come in toulouse, take it, i would like to see the beast
17:25 jnettle 17:25 * jnettlet googles toulouse
17:28 captainigloo jnettlet: a beatifull city in the south of france
17:28 captainigloo :)
17:28 jnettlet I found the city in France.
17:28 obinou captainigloo: sure I will
17:28 jnettle 17:28 * jnettlet wonders why never gets invited to France.
17:29 captainigloo obinou: i'm using the cubox 1 as my main mediacenter since 2 month
17:30 captainigloo results are pretty good, but sometime i get few problem when reading SD videos
17:30 captainigloo i'm wondering if cubox-i is better for that :)
17:31 obinou I hope in succeding reading HD video in 1080p with the cubox-4i , yes
17:31 obinou I lack a suitable screen to test, thought
17:34 obinou (ok , it works - the HDMI to VGA adaptor I was using did not transfered the i2c DDC channel
17:34 jnettlet they usually don't.
17:46 jnettlet anyone with a cubox-1i able to get me the clock output from u-boot?
17:48 jnettlet or someone with a c1/hb1 that resets properly
17:49 MarcusVinter I dont have my C1 working so I cant lol. not sure if it resets properly either
17:49 jnettlet MarcusVinter, you have a c1 though? What doesn't work about it?
17:51 MarcusVinter No u-boot
17:51 MarcusVinter lol
17:52 jnettlet do you have an extra sdhc card?
17:53 MarcusVinter Yeah, its currently got a 32GB card in it
17:53 MarcusVinter I have so many sd cards its not even funny lol
18:00 iio7 Is it possible to have cubox boot from a USB harddrive ?
18:02 rabeeh iio7: cubox-i or legacy cubox?
18:02 rabeeh you can do that in both; but first you need to boot from the micro SD (in cubox-i case)
18:02 iio7 cubox pro
18:05 iio7 I used a USB stick with the cubox installer to boot from the upper USB, so it should be possible to use the upper USB to boot from a harddrive even without a sd card, right?
18:10 MarcusVinter jnettlet if you give me a u-boot ill run clocks for you?
18:11 jnettlet MarcusVinter, thanks I may take you up on that, but have a bit more digging to do.
18:11 MarcusVinter sure no problem. The offers there whenever you want it anyway.
18:12 MarcusVinter I'm going to get that dmesg for bluetooth in a min too if you wouldnt mind taking a look at it?
18:12 MarcusVinter not right now, but at some point...
18:13 MarcusVinter Its just some of our clients have wireless peripherals and we need to know if they are going to work to be sure we want to adopt cubox as our main hardware.
18:14 MarcusVinter If I can get everything working, we will be wanting 100+.
18:14 MarcusVinter Probably thousands.
18:26 iio7 I would like to upgrade the nand flash. On the wiki it says that it can be done from a running Linux. Is that the "Flash memory" part from the wiki here? http://www.solid-run.com/mw/index.php?title=Linux#Flash_memory
18:29 iio7 It also says that " The CuBox Installer can download and update for you.", but there is no such option once the cubox installer is up?
18:32 iio7 Where is "uboot.bin" located?
18:38 iio7 ok, found the install-u-boot script and upgraded. So support for ext4 should work. I have an external usb harddrive connected on the upper usb with ext4 and /boot, but it is NOT booting!
18:44 iio7 what a freaking helpful channel
18:50 jnettlet yes everyone should drop everything and help you iio7. Why don't you ask nicely and then wait for someone who has time and an answer to get back to you?
18:56 rabeeh iio7: please ask nicely and the nice people on #cubox might have some time to help you out.
19:03 iio7 yes, I can see that
19:08 rabeeh iio7: so you have the latest u-boot now flashed into your SPI flash
19:08 iio7 yes, its flashed nicely
19:10 rabeeh now for your original question about booting from usb; it's doable
19:11 rabeeh you mainly need 'usb start' the init the usb devices; and then 'fatload usb ...' or 'ext2load usb ...' depending on the partition type you have on your USB drive
19:13 iio7 okay.. what you're saying is also located here: http://www.solid-run.com/mw/index.php/Boot_from_USB_device
19:13 iio7 But I don't understand.. where the "ext2load" or "fatload" part goes? Into what file?
19:14 iio7 Oh, I make a boot.txt with the above, then use mkimage which will create boot.scr?
19:17 iio7 Will ext2load work with an ext4 drive?
19:17 iio7 And also.. is it possible to change the bootargs so it will boot using HDMI?
19:21 rabeeh ext2load will work on ext4
19:22 rabeeh with boot.scr you can completely control whatever kernel command line parameters you need
19:22 iio7 using this http://www.solid-run.com/mw/index.php/Boot_from_USB_device, the mkimage command goesn't work.
19:23 iio7 I get a "Usage: mkimage -l image" etc
19:43 _rmk_ there's nothing worse than a "xxx doesn't work" statement with no information :)
20:05 iio7 Maybe this is a stupid question, but can I not install debian to the sd card, then attach a bootable usb harddrive, mount it and copy everything from the sd card to the usb harddrive. Reboot, remove the sd card and boot from the usd harddrive?
20:17 iio7 Can't get it to boot from the usb harddrive no matter what I do.
20:19 iio7 Also.. if I disconnect the device from power and simply want to boot from the SD card after a shutdown, the device wont boot.
20:20 iio7 So install -> reboot -> works. But after install -> boot -> shutdown (with power off) device wont boot.
20:20 iio7 I think I'm gonna return this and stick with my raspberry.
20:26 _505 iio7, can you make a serial connection? that way you don't need a boot.scr (yet), but you can type all the commands
20:26 _505 easier for debugging
20:30 _505 oh, iio7 already logged off?
20:42 _rmk_ 505: yep
20:49 iio7 rabeh, can I use the debian-jessie image you have made, dd onto a USB harddrive, expand the partition and then boot from that?
22:31 _dab_ Is the cubox-i uboot ethernet support supposed to work? e.g. ping, nfs, dhcp