IRC log of #cubox of Tue 04 Sep 2012. All times are in CEST < Back to index

00:01 rabeeh shesselba_: ping
00:02 shesselba rabeeh: pong
00:04 rabeeh any luck with the jtag stuff?
00:04 rabeeh were u able to attach a debugger? do you have all the 12pin 6x2 50mil header?
00:05 shesselba didn't try it
00:06 shesselba i ll get a matching header first, and I guess is some more "magic" required to actually access anything useful through jtag
00:06 shesselba i.e. non-standard protocol for peek/poke
00:06 rabeeh should be straightforward; but you need a jtag that supports Dove
00:06 shesselba yep
00:07 rabeeh i got now a new debugger that willing to try
00:07 shesselba that's what I meant with "magic" ;)
00:07 rabeeh i have a 2GB DDR system now and trying to bring it up
00:07 shesselba nice! larger rams available at market?
00:07 rabeeh not yet.
00:08 rabeeh i'm bringing it up right now. it consumes slightly more Idd current and want to benchmark it
00:08 rabeeh Kossay wants to get it to the market.
00:08 shesselba no, I mean you bought some larger chips that are available on dram market.
00:08 rabeeh yes.
00:08 rabeeh 4Gb
00:09 shesselba have fun! =)
00:09 rabeeh already
00:09 rabeeh :)
00:09 rabeeh i think 2GB is essential for native builds
00:10 shesselba ok, jtag is not on my priority list. actually, I will try xmodem bootrom first. maybe, if I ever want to really use jtag I get back to you
00:11 rabeeh i think this way is faster.
00:11 rabeeh just look at the changes at start.s, and apply same patches from old u-boot to the .git and you should get first signs of life in few builds
00:12 rabeeh once you get that, and hopefully Ethernet (from KW tree) then 'bubt' is your friend
00:12 rabeeh bubt is burn u-boot from tftp
00:13 shesselba I already have ported some stuff and it *should* work already but I ran out of time.. right now pinctrl driver and mainline integration are top on my list
00:13 shesselba most drivers can be reused from KW
00:14 shesselba IIRC, SATA is different
00:18 rabeeh SATA is the same
00:19 rabeeh SATA has two drivers; mvsata and a satamv :)
00:19 rabeeh mvsata is a driver that was written to S
00:19 rabeeh mvsata is a driver that was written to PCI-SATA controller way before libata was there.
00:20 shesselba yeah, but on kw sata has 16b registers
00:20 rabeeh and satamv is the libata driver that uses the Marvell ebu SATA controller
00:20 rabeeh ?
00:20 rabeeh 16bit registers?
00:20 shesselba according to kernel's mv_sata.c IIRC
00:21 rabeeh hmm... i will look for that.
00:21 rabeeh but in any case, it's exactly the same hardware unit.
00:21 rabeeh (i was one of the architects of the SATA unit in the Marvell Israel team)
00:23 rabeeh oh; talking about eSata
00:23 shesselba yeah, I guessed that already ;) I had a quick look at both DS and they look the same ;)
00:23 rabeeh i need to push a patch that enhances the eye on CuBox eSata
00:23 shesselba ok
00:24 shesselba and about SATA: It was sdhci that is different, not SATA
00:24 rabeeh yes. sdhci is different
00:25 shesselba mvsdio vs sdhci-dove
00:25 shesselba but writing a driver for u-boot should be easy
00:26 shesselba and for DT: I have a dove kernel running under ARCH_MVEBU with all drivers except xor
00:28 rabeeh wow
00:28 rabeeh that fast.
00:29 rabeeh how do you fake the DT stuff?
00:29 rabeeh or did u patch the old u-boot with DT support?
00:29 shesselba you can append the DT blob after the zImage
00:29 rabeeh s/zImage/uImage?
00:30 shesselba nope, zImage
00:30 shesselba cat arch/arm/boot/zImage.orig arch/arm/boot/dove-cubox.dtb > arch/arm/boot/zImage
00:30 shesselba and rebuild the uImage
00:32 rabeeh ok
00:33 shesselba but u-boot with DT on dove is also on my list as you know ;)
01:40 rabeeh shesselba: i suggest you post your u-boot git tree on github and let people poke around.
11:25 yaayaa hi. I run archlinux on cubox and reboot does not work. I need to unplug / replug the cubox to reboot. My system is on the sdcard. I guess it is related to uboot. Any hint ?
11:44 Thirsty_Away yaayaa: I think it is the kernel.
11:44 Thirsty_Away I use the standard U-Boot version from Solid-Run.
11:45 Thirsty_Away No problem with my Debian HardFP with my own CuBox-v3.5.3-Patched kernel
12:36 yaayaa Thirsty_Away: thanks. I'll investigate then.
23:00 avjui hi
23:03 rabeeh hi
23:34 avjui hi rabeeh
23:34 avjui do you know a status of openelec?
23:38 rabeeh avjui: openelec work started by sraue few months ago, that uses xbmc frodo.
23:39 rabeeh there were lots of issues with alsa audio discontuitiy issues that made playback stutter.
23:39 rabeeh it wasn't clear if it's alsa kernel driver issue, or the xbmc audio engines issues (or maybe alsa specific)
23:40 rabeeh there are very initial images, but they are not good enough to be published.
23:41 avjui ok
23:41 rabeeh audio discontinuity is a/v sync issues that causes xbmc to reset the playback pipe quite often, causing severe stuttering
23:41 avjui is there any work in progress?
23:42 rabeeh nop. it stopped by then and tomlohave ported geexbox that provides pretty good solution today.
23:42 avjui yes geexbox run very nicly
23:42 rabeeh the thing is that it's still not clear to me if it's CuBox related, or AE specific
23:43 avjui have you become a answer from marvel (armhf driver)
23:43 avjui ok
23:43 rabeeh yes. the vmeta driver published on the wiki should be the latest one (with hardfp).
23:44 rabeeh it's already hardfp but unfortunately not working.
23:44 rabeeh i asked for the whole marvell-ipp package in hardfp format; still didn't get that.
23:46 avjui By the way I have the problem that the cubox will hang always on "Uncompressing Linux... done, booting the kernel." must I reflash the uboot?
23:47 rabeeh this problem is unrelated to u-boot
23:47 avjui this is still I used the geexbox with cec but after reinstall a older version I have the same iusse
23:47 rabeeh i'v seen lots of posts and they claim it's related to toolchain being used.
23:48 avjui before I donĀ“t have any problem I will test some other versions too
23:48 rabeeh please try the original version
23:49 avjui ok mom
23:51 avjui it seems ok so I see the red light stop blinking
23:52 avjui and say "Starting kernel ... "
23:56 rabeeh if it's working it might be toolchain issue then
23:56 avjui I will test some older Version and post my results thanks rabeeh
23:58 avjui Have you tested the CEC function ?