IRC #olimex 2014-04-03

[02:29:13] <Skaag> is there some issue with Olimex A20 not able to do 3D acceleration above a certain resolution?
[03:29:19] <WarheadsSE> Skaag: what are you using with the 3d accel?
[05:37:04] <Skaag> WarheadsSE: I tried the debian image from olimex with the acceleration enabled
[05:37:33] <Skaag> WarheadsSE: except I don't see acceleration working... glxgears gives me 40fps for a pretty smallish window, not even full screen
[05:37:44] <Skaag> and glxgears -info shows it's using software rendering
[05:45:09] <Skaag> ok I just discovered glxgears is opengl, and not opengl-es, which is what mali accelerates
[08:00:55] <Tsvetan> Skaag the acceleration is for the video player only!
[09:52:12] <nabblet> hi, as i understood i can use uart0 on my olimex a20 to get access to serial interface
[09:53:48] <nabblet> i connected the usb-serial-cable accordingly
[09:54:03] <nabblet> set minicom to 115200 8n1
[09:54:19] <nabblet> and told it to listen to /dev/ttyUSB0
[09:54:44] <nabblet> (that's where i see activity when connecting/disconnecting the board)
[09:55:47] <nabblet> but i get nothing on minicom?
[09:55:53] <nabblet> what am i doing wrong?
[09:57:53] <nabblet> do i have to mod the fex file or somthing?
[09:58:10] <nabblet> i use olimex's debian
[10:00:19] <Tsvetan> make sure you connect Tx to Rx and Rx to Tx on the cable and board
[10:00:29] <Tsvetan> and GND of course
[10:00:43] <Tsvetan> UART0 is under the olimex silkscreen on A20 board
[10:00:51] <Tsvetan> https://www.olimex.com/wiki/A20-OLinuXino-MICRO
[10:02:37] <nabblet> Tsvetan: yes i made sure the cable are correct. green goes to board-tx, red goes to board-rx and blue is gnd
[10:04:23] <Tsvetan> connect USB cable red and green and type in the terminal
[10:04:33] <Tsvetan> if you see echo your cable and terminal are setup correctly
[10:06:28] <nabblet> Tsvetan: when i type i see nothing changed
[10:06:47] <Tsvetan> so your terminal program is not configured correctly
[10:06:54] <nabblet> Tsvetan: shoudl i use hardware or software flow control?
[10:06:56] <Tsvetan> remove hardware flow control if set
[10:07:10] <nabblet> Tsvetan: seems like there is a misconfiguration, yes
[10:07:35] <Tsvetan> I should write a lot in the wiki :))
[10:07:54] <Tsvetan> just wonder when I will have time for this
[10:08:58] <nabblet> what about stop bits?
[10:09:13] <Tsvetan> 1
[10:09:26] <Tsvetan> 8n1
[10:09:34] <Tsvetan> no parity check
[10:09:39] <nabblet> yes, that is what i have set
[10:09:59] <nabblet> A - Serial Device : /dev/ttyUSB0 |
[10:10:02] <nabblet> Port| B - Lockfile Location : /var/lock |
[10:10:05] <nabblet> | C - Callin Program : |
[10:10:08] <nabblet> Pres| D - Callout Program : |
[10:10:11] <nabblet> | E - Bps/Par/Bits : 115200 8N1 |
[10:10:14] <nabblet> | F - Hardware Flow Control : No |
[10:10:17] <nabblet> | G - Software Flow Control : No
[10:10:20] <nabblet> Tsvetan: that is my setup of minicom
[10:10:36] <Tsvetan> save and try again
[10:10:41] <Tsvetan> typing
[10:11:23] <nabblet> ah!
[10:11:25] <nabblet> i see echo
[10:11:35] <Tsvetan> now connect to A20 ;)
[10:11:42] <nabblet> i saved it as dfl (default) and restarted minicom
[10:11:59] <nabblet> yes!
[10:12:03] <nabblet> now it comes
[10:12:38] <nabblet> Tsvetan: you saved my day again! Thank you :)
[10:12:50] <nabblet> ACTION adds this info to his own notes
[10:13:17] <Tsvetan> nibblet blog about it so I can add to wiki :)
[10:13:32] <nabblet> i am writing up a full step by step instruction for the things i do
[10:13:36] <nabblet> Tsvetan: sure will do
[10:13:39] <Tsvetan> great
[10:14:03] <nabblet> Tsvetan: by the way it is a good thing irc logs from here are searched by google. already solved another problem for me
[10:14:29] <Tsvetan> many people do not search though ;)
[10:15:51] <nabblet> hm, now looking that it i think minicom somehow did not use the changes (unless restarted)
[10:16:43] <nabblet> just a question. is it in anyway harmfull to just plug out the power when the a20 is running? i guess not.
[10:16:52] <Tsvetan> yes it is
[10:17:20] <nabblet> hm, usually i use poweroff from the root-shell
[10:17:22] <Tsvetan> sd-cards and nand flash do not like power cut during read/write operation
[10:17:32] <Tsvetan> reboot -b is the right command
[10:17:47] <Tsvetan> there is blog post about it
[10:18:01] <nabblet> dang - didn't search :P
[10:18:06] <Tsvetan> hehehe
[10:18:06] <nabblet> i'll find it :)
[10:25:09] <nabblet> hm, powering with power cable works, but not with the usb-otg. i tried powering it from 2 different machines usb ports
[10:25:14] <nabblet> it boots though
[10:25:23] <nabblet> but then stops with the following lines
[10:25:31] <Tsvetan> you should not power from the USB
[10:25:52] <Tsvetan> as it needs more than 0.5A some times
[10:25:54] <nabblet> oh, ok. the manual says it is a way power it so i wanted to test it
[10:26:14] <nabblet> i have nothing else attached to it
[10:26:19] <Tsvetan> if you enable ethernet ddr etc it may peak above 0.5A
[10:26:21] <nabblet> apart from usb power and usb serial
[10:26:45] <nabblet> ok
[10:27:02] <nabblet> [sw-ehci1]: open clock
[10:27:02] <nabblet> [ 1.697497] [sw-ehci1]: open clock
[10:27:02] <nabblet> [sw-ehci1]: Set USB Power ON
[10:27:02] <nabblet> [ 1.723521] [sw-ehci1]: Set USB Power ON
[10:27:02] <nabblet> <6>sw-ehci s
[10:27:08] <nabblet> this are the last lines
[10:27:11] <nabblet> for failed usb power
[10:27:21] <nabblet> i sill not try it again. thank you for the hint
[10:28:15] <Tsvetan> powering by USB is possible, but vary from USB host to USB host also it's very important to have good low resistance USB cable if you want to power it from USB
[10:28:49] <nabblet> Tsvetan: well i use the one i bought from you ;)
[10:28:58] <Tsvetan> NAND flash programming we do with only USB power but with good cable and with USB-ISO between the computer and A20 which makes sure we have 0.5A capable USB host
[10:29:48] <Tsvetan> some USB hosts have down to 4.2V output under load which also could be problem
[10:29:59] <nabblet> yes, that is my suspicion too
[10:30:14] <nabblet> also since both computers i tried are low-power devices
[10:30:40] <nabblet> laptop and NUC like system
[10:31:25] <Tsvetan> we just did measurements and A20 powered by USB needs about 330mA to run
[10:34:55] <nabblet> Tsvetan: that's what the manual says too
[10:34:58] <nabblet> page 9
[10:35:09] <nabblet> usage is between 100 and 320 mA
[15:10:23] <deva> I need help with new brand new A10S-OlinuXine-MICRO board.
[15:10:46] <deva> I have downloaded the debain image and copied it to a micro SD card.
[15:11:33] <deva> When powering up the board, the red LED lights up, then the green LED lights up for some seconds and then the green LED turns off.
[15:11:41] <deva> The HDMI stays silent
[15:12:56] <deva> I tried connecting with USB-OTG. MNy linux laptop successfully recognized the usb/serial interface but my terminal emulator (minocom) stays silent (although connected)
[15:13:48] <deva> I read a lot about this LiveSuit tool, but it keeps rejecting my image as "Invalid"... I'm pretty much at a loss here??
[15:21:47] <HeHoPMaJIeH> deva: you can try to burn sd card with dd
[15:22:09] <deva> HeHoPMaJIeH, That is exactly what I did...
[15:22:39] <HeHoPMaJIeH> did you try with another power supply ?
[15:23:46] <deva> I tried both with usb power and external power supply
[15:24:41] <deva> HeHoPMaJIeH, My screen cryptically announces "
[15:24:47] <deva> OUT OF RANGE"
[15:25:19] <deva> But I tried connecting to another screen which didn't detect any signal at all
[15:26:58] <HeHoPMaJIeH> do you have USB to TTL serial converter ?
[15:27:24] <deva> You mean like an FTDI cable?
[15:27:29] <HeHoPMaJIeH> yes
[15:27:37] <deva> I think I can dig one up somewhere yes
[15:28:12] <HeHoPMaJIeH> you can connect it to UART debug port of board
[15:28:25] <HeHoPMaJIeH> and then you can see what actually happens :)
[15:28:39] <deva> shouldn't the USB-OTG act as a UART?
[15:29:19] <HeHoPMaJIeH> deva: no it does not
[15:29:42] <HeHoPMaJIeH> uart is marked on board as uart0 near to line in connector
[15:34:17] <deva> HeHoPMaJIeH, I got it runnig on the UART0 now
[15:34:58] <HeHoPMaJIeH> do you see something on terminal
[15:35:47] <deva> It seems that the kernel loads without errors
[15:39:43] <HeHoPMaJIeH> so board boots, i think the problem is in screen resolution
[15:39:49] <deva> Now I can log in through the UART0 as well...
[15:39:58] <deva> Yes, it could look like it
[15:40:07] <deva> Does it run X?
[15:40:24] <HeHoPMaJIeH> yes i think , i do not remember :)
[15:40:29] <HeHoPMaJIeH> ps fax :)
[15:41:38] <HeHoPMaJIeH> look in root directory for script called change_display or something similar
[15:41:54] <HeHoPMaJIeH> i mean /root
[15:42:41] <deva> got it
[15:42:52] <deva> HeHoPMaJIeH, Thank you very much for your help
[15:43:03] <HeHoPMaJIeH> :)
[15:43:21] <HeHoPMaJIeH> here is a link to Olimex's wiki
[15:43:23] <HeHoPMaJIeH> https://www.olimex.com/wiki/A10s-OLinuXino-MICRO
[15:44:27] <deva> I have waded though the wiki fouir a couple of hours without finding my answers, so I was very greatful once I found a freenode channel name ;)
[15:45:55] <HeHoPMaJIeH> wiki can not cover all questions or problems :)
[15:46:16] <HeHoPMaJIeH> but we trying to make it better :)
[15:46:28] <deva> .... and I have graphics
[15:46:33] <HeHoPMaJIeH> great :)
[15:46:56] <deva> The problem was the 480i resolution... my monitor only supports progressive resolutions it seems... not interlaced
[15:48:04] <deva> I think I will go celebrate with a cup of coffee. I'd buy you one as well if it wasn't for the fact that it would probably be cold by the time it reaches you... :-)
[15:48:55] <HeHoPMaJIeH> :) hah i will wait for it :-)
[16:46:17] <wigyori> morning
[16:46:33] <Tsvetan> afternoon
[16:58:10] <pjz> howdy
[16:58:25] <pjz> is there a US distributor for olimex boards?
[17:00:56] <Tsvetan> mouser, digikey, sparkfun, microcontroller pros
[17:07:45] <pjz> ACTION finds it at digikey but not sparkfun
[17:09:25] <Tsvetan> sparkfun sell the older stuff programmers etc, they gave up to compete mouser and digikey with the linux boards
[17:19:07] <pjz> ah
[18:58:04] <T_UNIX> hi, is there a config generator for resolutions? I’d like to use 800x600 on LVDS
[20:12:23] <angs> is there any power issue on imx233nano
[20:12:34] <angs> is there any power issue on imx233nano's USB interface?
[20:22:17] <angs> or does anyone know any issue with ci_hdrc?
[23:03:34] <joostverdoorn> hey there! I've bought an A20 recently and I'm trying to get HDMI and VGA to work simultaneously, so far without success. Is it even possible to use HDMI and VGA at the same time on the A20?