IRC log of #cubox of Mon 07 Oct 2013. All times are in CEST < Back to index

11:23 jnettlet something is amiss and I just can't find it. The default env size bug was actually a bug only with debug on. If you have a total debug statement of greater than 256 characters it causes a data abort if you are right on the barrier, or a hardware hang if you are greater than that.
11:24 jnettlet enabling video is a completely different story. hardware is hanging just setting up the mmu. Something with the DDR config can not be right.
11:54 _rmk_ jnettlet: this is why I'd like to get the LVDS output configured, so we can see how it behaves under the kernel
11:58 _rmk_ I see Jean-Francois is putting his oar in on my drm patches trying to ensure they get rejected :(
13:01 jnettlet _rmk_, I have fixed the early hang. Now I am getting a hang enabling the IPS clocks
13:02 jnettlet hmmm somebody built an lvds to hdmi output for the RPi. Wonder if that would be helpful
13:03 jnettlet On the better side of news, I received my proper transparent green RPi case. It has been safely stored away until the C1 comes out of the development case :-)
13:07 Bluerise I think my customs let it go through now, so I hope to receive it this week. :)
13:09 jnettlet Bluerise, congrats
13:10 _rmk_ and JF just showed that he doesn't really know the hardware
13:10 _rmk_ jnettlet: what was the cause of the hang? bad sdram timings?
13:12 jnettlet _rmk_, yeah. I had pulled in a default option for the sabresd that our board doesn't like. I have to look at it a little further.
13:13 jnettlet All the other boards use it, so not sure what is making us different.
13:19 _rmk_ jnettlet: it all hinges on whether I can work out how to convert the FSL BSP's LVDS bridge configuration to a form which DT wants
13:20 _rmk_ the settings passed in platform data are completely different to the DT properties
13:56 jnettlet ah this hang is my fault. Wrong clock config.
14:06 jnettlet alright we are hdmi-ified in u-boot
14:06 jnettlet rabeeh, we need a solid-run splash screen
14:13 Bluerise jnettlet: Are those patches going to be linked/uploaded somewhere? i.e. u-boot
14:13 jnettlet Bluerise, haha no I will keep them all to myself :-P
14:13 jnettlet of course I will push my tree out to github
14:14 jnettlet just making sure everything is working in a safe way to minimize distractions
14:14 Bluerise Hehe.
14:18 jnettle 14:18 * jnettlet loves my PIP monitor for development
19:46 jnettlet anyone know what GPIO usb-reset is hooked up to on the c1?
19:46 jnettlet other than that I think I have SDHC / ETHERNET / HDMI / USB all working under u-boot.
19:47 _rmk_ usb reset?
19:47 jnettlet to reset the usb hub.
19:48 _rmk_ I see nothing mentioned in the iomuxc settings
19:50 jnettle 19:50 * jnettlet will look further in a bit.
19:52 _rmk_ aren't the two USB ports on independent controllers?
19:53 _rmk_ so the root hub is built-in to the host
21:34 shesselba ajayr: did you send me the patch request for cubox spi flash ?
21:40 _rmk_ interesting, my kernel is eating 3% CPU all the time
21:40 _rmk_ 54: 6361017 GIC 54 mmc0
21:40 _rmk_ that can't be good
21:44 jnettlet _rmk_, we ran into that with the XO-4. It is the polling the GPIO for card presence
21:45 jnettlet 3% is almost exactly the amount I found.
21:45 jnettlet We did a couple of things to fix it but I will have to dig back through the commit log to give you specifics
21:46 _rmk_ well, as there's nothing connected to it on these boards, it might as well be disabled
21:47 jnettlet I think you can set a property that specifies the card as fixed media that will stop it.
21:48 jnettlet We got in a long discussion about it, because my argument was any card that was a boot device should be flagged as non-removable, but the MMC crew claims it is about the physical device not the software implementation.
21:48 _rmk_ well, as there's no device actually fitted
21:49 _rmk_ there's a whole pile of stuff in Rabeeh's patches which claim to be for wireless/bluetooth, some of it is sd, and some of it is serial ports
21:50 _rmk_ I think then the hardware is actually available is the time to sort that out properly
21:50 jnettlet yeah I am not even touching any of that in u-boot
21:50 _rmk_ btw, ordered my rpi case today, and its blue.
21:50 jnettlet just cleaned up my kernel and getting ready to publish it.
21:50 _rmk_ transparent blue
21:51 _rmk_ kernel or uboot? :)
21:51 jnettlet _rmk_, yeah I saw your G+ post. They do take some modification.
21:51 jnettlet uboot
21:51 jnettlet kernel will hopefully be Wed, but I spent a bit more time on uboot today than intended.
21:51 _rmk_ the usb is definitely misplaced?
21:52 jnettlet according to these cases, and I had one other confirmation from Ben
21:53 _rmk_ much better. 99% idle :)
21:53 jnettlet yeah that drove me insane for about 3 days while I was doing performance profiling. Much worse on the XO-4 as there were 3 mmc devices.
21:55 _rmk_ do we know yet how the ok led is wired?
21:55 Bluerise are there any schematics?
21:56 _rmk_ I don't think Rabeeh has released any - I did ask for an extract for the ether interface
21:57 _rmk_ btw, any of you coming to Edinburgh later this month (sorry if I've already asked that)
21:57 jnettlet What is in Edinburgh?
22:02 _rmk_ roughly... kernel summit, elce and arm linux stuff
22:04 jnettlet oh sounds exciting. I hadn't planned on it but will take a look at the schedule.
22:08 jnettlet well USB is attempting to work but not perfect. regardless I think I am done with U-boot for a while. Really I just wanted network booting to work :-)
22:09 dv_ nice
22:09 dv_ perhaps your modified 2013 uboot can be used by meta-fsl-arm
22:10 jnettlet dv_, I don't see why not. I even added a very hacky SolidRun splash logo :-)
22:10 dv_ :)
22:10 dv_ otavio: ping
22:12 jnettlet _rmk_, can you test a new u-boot image before I push things?
22:12 otavio dv_: :)
22:12 _rmk_ sure
22:13 dv_ otavio: does this sound useful to you?
22:13 jnettlet https://dl.dropboxusercontent.com/u/736509/u-boot.imx
22:14 otavio :-)
22:14 shesselba _rmk_: I'll be in Edinburgh the whole week, got invited to a panel discussion at LinuxCon.. don't ask me how that happened.
22:14 otavio I envy you guys :-( I won't be there
22:17 _rmk_ huh. what shell doesn't have "logout"... busybox!
22:17 _rmk_ jnettlet: well, it rebooted
22:17 dv 22:17 * dv_ always uses "exit"
22:18 jnettlet _rmk_, well that is good enough for me. push it!
22:18 _rmk_ didn't get anything on the hdmi tho
22:18 jnettlet no?
22:18 _rmk_ hang on, helps if the tv is on the right hdmi :)
22:18 jnettlet I am not parsing EDID's just doing 1024x768 for now
22:19 dv_ is 1024x768 one of the required HDMI modes?
22:19 dv_ otavio: well, neither will I :/
22:19 jnettlet nope, but it seems to be what everyone else is using so I am just following the pack
22:19 _rmk_ I think that should be fine
22:20 _rmk_ since xrandr reports this for the tv:
22:20 _rmk_ 1024x768 60.0
22:20 jnettlet for now yes. It doesn't give you a real console anyways. Just a splash screen. I have to see if that is all it the CONSOLE_MUX code can do.
22:20 jnettlet again not tremendously worried about it yet.
22:21 _rmk_ ok, just thought I'd mention that lack of hdmi :)
22:21 jnettlet now make hardware work correctly, later make hardware do what you want
22:21 jnettlet _rmk_, is it still not working for you?
22:21 dv_ oh btw. so your carrier one didnt die?
22:21 _rmk_ I see nothing
22:22 _rmk_ let me try a different hdmi port
22:22 jnettlet dv_, it did. I just removed the fuse and blue wired the connection for now.
22:22 jnettlet just blew a fuse.
22:23 _rmk_ definitely no output
22:26 jnettlet well isn't that a pisser
22:27 jnettlet just straight hdmi? no dvi connectors?
22:27 _rmk_ yep
22:27 jnettlet does the monitor report signal? Or just nothing?
22:28 _rmk_ basically shows no signal
22:30 jnettlet hmmm that is strange. The build on the console reports today?
22:31 _rmk_ weird. tv says no signal, monitor shows solid-run thing at the very top of the screen
22:31 jnettlet yep that is correct
22:31 jnettlet I am just showing the console mode which is logo on the left and u-boot version on the top.
22:32 _rmk_ says its a 52Hz mode
22:35 jnettlet _rmk_, yep so does mine. Supposed to be 60Hz. Well I guess that is on the todo list.
22:35 jnettlet again not something I am going to worry about too much yet.
22:42 dbsx me
22:42 _rmk_ you :)
22:43 jnettlet https://github.com/linux4kix/u-boot Have fun kids. Don't hurt yourselves.
22:44 jnettle 22:44 * jnettlet hopes he didn't forget something.
22:44 Bluerise \o/
22:45 jnettlet patches welcome.
22:46 jnettle 22:46 * jnettlet going down to finish this glass of wine and an episode of Orange is the New Black
22:48 _rmk_ conv=sync or conv=fsync ?
23:04 jnettlet _rmk_, woops fsync
23:05 jnettlet fixed
23:21 _rmk_ ta
23:34 aquarat I'm trying to get the CuBox installer to boot...
23:35 aquarat and so far I've tried two USb flash drives, both of which are USB3
23:35 aquarat the output from uboot looks like it's running through all the attached devices
23:35 aquarat and eventually lands up trying to boot from tftp
23:36 aquarat it's probably a very old version of uboot
23:36 aquarat anyone have any tips ?
23:36 aquarat 5.4.4 NQ SR1
23:40 dbsx sandisk cruzer blades work. It is very choosy about USB flash
23:40 dbsx make sure yiu have a boot.scr on the USB drive
23:43 aquarat is a /boot folder?
23:43 aquarat I've found an old USB2 transcend 1GB flash drive
23:43 aquarat about to try...
23:43 aquarat well about to load files lol
23:46 aquarat still fails
23:47 aquarat card did not respond to voltage select
23:47 aquarat nevermind, that was the mmc
23:50 aquarat I've tried 3 different flash drives now