IRC Logs

09. 01 2009

2009 1
Mo Tu We Th Fr Sa So
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
[02:07:32] <sweet_away> rkdavis: I am sure you are not awake yet :) but if you would pass this on to GPSFan: I was a little too hasty, MMC errors are still happening "mmcblk0: error -84 transferring data". From what I have read this could be attributed to a GPIO issue (something on one of the GumStix lists)
[02:07:59] <sweet_away> rkdavis: if we can get this sorted, then I will be able to build a full kernel / userland based on the original OE sources.
[02:08:12] <sweet_away> rkdavis: I have a theory that it may be something to do with audio init, but this is a stab in the dark
[02:08:29] <sweet_away> drmikecrowe: I you have some influence with Zipit, it would be immensely helpful to have a full pin / GPIO mapping for the Zipit2 in order to troubleshoot these issues
[02:08:43] <sweet_away> I will be out for several hours helping my buddy put up shelves in this 100 degree heat. I must be mad :)
[02:18:46] *** Limp_Trizkit has quit IRC
[02:19:44] *** steerpik1 has joined #zipit
[02:28:52] *** steerpik1 has quit IRC
[02:28:57] *** steerpik1 has joined #zipit
[02:29:10] *** steerpike has quit IRC
[02:29:12] *** steerpik1 is now known as steerpike
[03:12:22] *** CIA-59 has quit IRC
[03:12:38] *** CIA-59 has joined #zipit
[06:36:53] *** drmikecrowe_ has joined #zipit
[06:37:50] *** drmikecrowe has quit IRC
[06:37:50] *** drmikecrowe_ is now known as drmikecrowe
[06:38:20] *** sweet_away has quit IRC
[06:39:01] *** sweet_away has joined #zipit
[07:19:39] *** g1powermac_PB has joined #zipit
[07:28:59] *** sweet_away has quit IRC
[07:29:35] *** sweet_away has joined #zipit
[07:38:28] *** g1powermac_PB has quit IRC
[07:44:24] *** sweetlilmre has joined #zipit
[07:46:35] *** sweet_away has quit IRC
[08:14:33] *** sweetlilmre has quit IRC
[08:14:52] *** sweetlilmre has joined #zipit
[08:16:06] *** sweetlilmre has joined #zipit
[08:16:26] *** sweetlilmre has quit IRC
[08:16:38] *** sweetlilmre has joined #zipit
[08:27:44] *** g1powermac_PB has joined #zipit
[08:35:01] <rkdavis> sweet: gps should be around soon (i hope) so you'll be able to tell him yourself but if you are gone i'll ask him to read the logs.
[08:43:49] *** jhaluska has joined #zipit
[08:49:04] *** ericnobl_ has joined #zipit
[08:49:04] *** ericnobl has quit IRC
[09:07:49] *** GPSFan has joined #zipit
[09:34:26] *** ericnobl_ has quit IRC
[09:37:10] <rkdavis> GPS: sweet left a msg for you :) did you read the logs before coming in?
[09:56:56] <GPSFan> since last night ?
[09:57:36] <sweetlilmre> yep
[09:57:41] <sweetlilmre> :) just back, boy was that hot
[09:57:51] <GPSFan> hey, jsut saw your message. there is some audio init in the mainstone.c code, that I haven't excised yet.
[09:58:06] <sweetlilmre> I'm going to remove that now and see what happens
[09:58:17] <sweetlilmre> /pxa_set_ac97_info(&mst_audio_ops); should do it
[09:58:33] <sweetlilmre> and the ohci stuff?
[09:58:47] <GPSFan> that too, and there are some other gpio setups that I'm not sure about.
[09:59:04] <GPSFan> sweetlilmre: http://imagebin.ca/view/wbTIVm.html yesterday's ski trip ;>))
[09:59:37] <sweetlilmre> oh wow :) I am soooo jealous
[09:59:44] <GPSFan> sweetlilmre: do you have a link to the message on the gumstick list re the error -84?
[09:59:58] <sweetlilmre> I'll look for it. it wasn't very informative tho
[10:04:01] <sweetlilmre> http://www.nabble.com/Re:-2.6.26-patches-p18910762.html
[10:04:10] <sweetlilmre> what is ficp ?
[10:06:55] <GPSFan> no clue
[10:07:28] *** Limp_Trizkit has joined #zipit
[10:07:29] <sweetlilmre> uploading image without ohci and audio init now to see what happens
[10:07:36] <rkdavis> quick goole and it seems to be something clocky
[10:08:04] <sweetlilmre> another worrying thing is the specific IRQ / GPIO init, and then no matching de-init in mainstone_mci_exit()
[10:08:28] <GPSFan> there is also reference to an fpga and a cpld in the interrupt handling.
[10:09:17] <GPSFan> bbl, got a lot of stuff to catch up on today..
[10:09:39] <sweetlilmre> see ya, I'll let you know how the testing goes
[10:09:57] <GPSFan> thanks
[10:18:25] <sweetlilmre> ficp seems to be IRDA stuff
[10:24:20] <sweetlilmre> hmm that didn't help, removing FPGA and IRDA stuff and trying again
[10:38:38] <sweetlilmre> hmm removing iotable_init() was a bad idea...
[10:46:07] *** steerpik1 has joined #zipit
[10:57:00] *** steerpike has quit IRC
[10:59:40] <sweetlilmre> well... removed IRDA, OHCI, GPIO key, audio and still the errors. Must be something else, and probably out of my comprehension. I'll keep playing for a bit and see if anything changes
[11:07:28] *** FireEgl has quit IRC
[11:37:40] <sweetlilmre> bbl out for sushi :)
[11:37:48] *** FireEgl has joined #ZipIt
[11:48:38] *** steerpik1 is now known as steerpike
[12:04:37] <rkdavis> not really here but have i ever told you how much i HATE computers?
[12:07:47] <Limp_Trizkit> lol
[12:08:52] <rkdavis> found a problem with Glib2 headers and it's driving me nuts as it /looks/ fine but b*****ed if i know why it's whining about time_t
[12:09:32] <rkdavis> i think i'll go do some laundry instead -- at least the only thing i have to think about there is sorting coloureds and whites
[12:12:45] <Limp_Trizkit> i dont even do that
[12:12:51] <Limp_Trizkit> i just dump it all in and throw some soap in after em
[12:13:01] <Limp_Trizkit> <-- lazy
[12:14:15] <rkdavis> well i do too but don't tell the wife
[12:14:28] <rkdavis> but i do add fabric softener
[12:18:26] <Limp_Trizkit> lol
[12:18:45] <rkdavis> oh i give up on loudmouth -- was worth a try but i'm wasting too much time with it and Glib2 -- Glib2 seems to work but i'll shelve it for the time being
[12:19:07] <rkdavis> i have 2 other xmpp libs that seem to work si i'll use them instead
[13:23:41] <sweetlilmre> rkdavis: which lib is glib dependent?
[13:23:59] *** g1powermac_PB has quit IRC
[13:24:02] <sweetlilmre> GPSFan: I am at a loss with the MMC issues, this is something that I think requires your tender expertise :)
[13:24:29] <sweetlilmre> rkdavis: reason I ask is that under OE I have glib-2.0 compiling fine. I was going to give your compile a go to see if I could help you out with it
[13:24:36] *** steerpik1 has joined #zipit
[13:28:02] *** steerpike has quit IRC
[13:28:08] *** steerpik1 is now known as steerpike
[13:28:10] <GPSFan> sweetlilmre: it's on my list of things to do today, can you give me a patch for mainstone.c of things you have removed?
[13:32:46] <sweetlilmre> all I did was comment the init of audio, ohci and ficp
[13:32:50] <sweetlilmre> //pxa_set_ficp_info(&mainstone_ficp_platform_data);
[13:32:50] <sweetlilmre> //pxa_set_ohci_info(&mainstone_ohci_platform_data);
[13:32:51] <sweetlilmre> //pxa_set_ac97_info(&mst_audio_ops);
[13:33:20] <GPSFan> steerpike: ok, just wanted to see where & what you did. thanks
[13:33:25] <sweetlilmre> so nothing too much
[13:33:38] <steerpike> wat?
[13:33:46] <sweetlilmre> I was also wondering about the relevance of: &mst_gpio_keys_device, as a device
[13:33:50] <steerpike> oh ;)
[13:33:57] <sweetlilmre> steerpike: heheh miss directed, GPSFan pressed s and tab too fast
[13:34:04] <steerpike> gotcha :)
[13:34:13] <GPSFan> steerpike: oops, sorry ;P
[13:34:16] <steerpike> ^_^ np
[13:34:22] <sweetlilmre> GPSFan: good luck buddy, the future of the human (Zipit2 using) race depends on you :)))
[13:34:28] <GPSFan> hahah
[13:37:11] <sweetlilmre> GPSFan: did I tell you btw that the sys PWM stuff is the coolness :) was playing with it earlier
[13:37:48] <GPSFan> sweetlilmre: glad you like it, it was no great deal to get it working. I just hope I can find the mmc problem. does you mmc card get corrupted every time you try it?
[13:39:07] <sweetlilmre> oh yes... progressively so
[13:39:33] <sweetlilmre> sometimes I manage to boot and dropbear actually gets started. other times badness, until eventually the kernel does not recognise the FS and I have to re-partition and load again
[13:39:51] <sweetlilmre> doing a 'sync' caused MANY error -84 messages if that helps at all
[13:44:19] <GPSFan> sweetlilmre: that may, I need a good way to replicate the error without having to reload the card with stuff each time. have you tried ext2?
[13:44:42] <GPSFan> what size card is it? mmc or sd?
[13:48:03] <sweetlilmre> haven't tried ext2 yet. the card is a mini-sd 2GB and IIRC a 1 GB mini-sd had the same issues
[13:49:13] <GPSFan> k
[13:52:36] <sweetlilmre> going to try ext2 now quickly
[13:53:47] <sweetlilmre> well as quickly as I can xmodem the image :)
[13:54:18] <GPSFan> ok, that would be interesting.
[13:58:59] <sweetlilmre> nope, same issues
[13:59:35] <sweetlilmre> I will check back in a bit. got to spend some time with my wife ;)
[13:59:38] *** sweetlilmre is now known as sweet_away
[14:02:40] <GPSFan> good, I was worried it might be breakage in the journling stuff for ext3.
[14:18:33] *** steerpike is now known as BrianTumor
[14:19:03] *** BrianTumor is now known as steerpike
[14:19:03] <steerpike> oops
[14:29:26] <sweet_away> FYI: my bootlog with the errors: http://zipit.pastebin.com/m25927e1c with kernel parms: boot root=/dev/mmcblk0p1 rootdelay=5 console=ttyS2,115200
[14:32:29] <sweet_away> another lightning storm, looks like a big one. gotta run to save the router, cheers :)
[14:32:33] *** g1powermac_PB has joined #zipit
[14:39:58] *** sweet_away has quit IRC
[15:19:11] *** g1powermac_PB has quit IRC
[15:44:38] <rkdavis> oh rodents sweets has gone
[15:44:42] <rkdavis> i'll catch him later
[15:44:57] <rkdavis> finally getting around to putting together a standalone devbox
[15:47:59] <rkdavis> hardly and ram and little to speak of hd but it'll do for the timebeing :)
[15:49:07] <GPSFan> rkdavis: hye, I haven't been able to duplicate sweets mmc errors. I've tried vfat and ext3 and can write megabytes of data with no issues.
[15:49:22] <rkdavis> wonder if it's the brand he's using?
[15:49:28] <rkdavis> although he's probably tried a few
[15:49:46] <rkdavis> doubt it though but never know
[15:49:51] <GPSFan> don't know I'm using a SanDisk 512M microSD in a mini-micro adapter.
[15:52:40] <rkdavis> yup sandisk is pretty good just hate their new /breathing/ led on cruzer usb ufd's
[15:52:41] <rkdavis> :)
[15:52:43] <GPSFan> I have had an issue with the card not being recognized upon insertion, had to re-insert. I'm also not booting off it.
[15:52:54] <GPSFan> Yeah I have 2 of those cruizers, the led sort of sucks.
[15:53:19] <rkdavis> it's put me off buying them i even opened one up and stuck ducttape over it and then shoved it in a rubber duck jsut so i didn't have to it
[15:53:29] <rkdavis> have to see it even
[15:53:29] *** g1powermac_PB has joined #zipit
[15:53:50] <GPSFan> well the ones I got were cheap. I also don't like the cd emulation, with builtin windoze software.
[15:54:08] <rkdavis> this glib2 thing is annoying me and driving me nuts -- it all seems fine but loudmouth is complaining that when it includes a header file that time_t isn't defined and time.h is included and all looks good -- stupid computers :)
[15:54:30] <rkdavis> yup i mucked around with u3 alot when it first cameout -- handy but then they ruined it with bloody great icons alover the place
[15:54:55] <rkdavis> did some nice stuff with it but then i started helping out with .net applications and that killed my autostart fetish
[15:59:21] <GPSFan> just tried the wireless driver, there is a missing symbol in libertas.ko and the gspi driver doesn't like the helper_name parameter. ;>(
[15:59:42] <rkdavis> :(
[15:59:59] <rkdavis> i just kicked off a debian install on the devbox :) now i can sit and contumplate my navel for a few hours
[16:02:58] <rkdavis> well i could if i still had a navel anymore just it's on a surgery floor somewhere :)
[16:09:38] <Limp_Trizkit> O.o
[16:18:51] <jhaluska> o_O
[16:18:59] <Limp_Trizkit> O.O
[16:49:31] *** sweetlilmre has joined #zipit
[16:49:42] <sweetlilmre> back for a bit, the storm has died down :)
[16:52:56] <sweetlilmre> I am using a kingston and a sandisk SD, both exhibit the issues. IIRC I even tried to boot GPSFan's rfs on the card and same issues
[16:53:11] <rkdavis> ok so probably not that then
[16:53:14] <GPSFan> sweetlilmre: good news & bad news about your mmc problem...
[16:53:30] <sweetlilmre> ?
[16:53:50] <GPSFan> bad news: I haven't been able to reproduce it. good news, I have been reading & writing to my SanDisk 512Mb card for a while and it shows no issues.
[16:53:57] <sweetlilmre> do you have a larger card available?
[16:54:05] <GPSFan> I am NOT booting it though, I insert it see the proper dmesg enteies then mount it.
[16:54:23] <GPSFan> yes I have a 1G & 2G card, but can't lose the data on either one, later I'll back them up and try them out.
[16:54:37] <sweetlilmre> thnx. I wonder if booting from the card causes the issue
[16:54:57] <GPSFan> sweetlilmre: I've been able to load both libertas modules, but haven't figured out how to load the firmware. the way zipit does it does'nt work, Looking at the code it isn't obvious.
[16:57:55] <GPSFan> now that I have removable storage I'm using it!!
[16:57:58] <sweetlilmre> so you can't specify the firmware on the command line?
[16:58:23] <GPSFan> Loading Wireless Driver
[16:58:23] <GPSFan> libertas_spi: Unknown parameter `helper_fw_name'
[16:58:23] <GPSFan> insmod: cannot insert 'libertas_spi.ko': unknown symbol in module
[16:58:42] <GPSFan> but when i just insmod the libertas_spi.ko, it loads. but doesn't put out any messages about loading formware
[16:58:44] <GPSFan> firmware
[16:58:47] <sweetlilmre> hmmm
[16:59:05] <GPSFan> tried different names for hardware_fw_name but it didn't help, and I can't find what the driver is looking for as a parameter.
[17:02:29] <GPSFan> there seems to be some code to calculate a name based on what chip type it finds, but I can't find what path is will be looking at, I tried re-naming the firmware to what I think is should expect, but no luck with it in the same dir as the .ko files.
[17:02:44] <sweetlilmre> does it not specifically look in /lib/firmware ?
[17:02:47] <GPSFan> strace"ing the insmod didn't help
[17:03:05] <GPSFan> in the zipit implementation the path to the firmware is specified in the insmod command line,.
[17:03:36] <GPSFan> insmod libertas_spi.ko helper_fw_name=./helper_gspi.bin fw_name=./gspi8686.bin
[17:04:02] <sweetlilmre> the libertas README specifically mentions /lib/firmware tho... ?
[17:04:04] <GPSFan> I'll move the firmware to /lib and see what happens
[17:04:40] <GPSFan> no change
[17:04:57] <GPSFan> the driver loads but none of the messages you would expect about Marvell firmware rev etc.
[17:07:58] <GPSFan> also no messages about not finding the firmware, which I would expect. if it wasn't where it was looking.
[17:08:03] <sweetlilmre> hmmm troubling :)
[17:08:24] <GPSFan> yep. but so have been a lot of other problems in the last few days.
[17:08:38] <sweetlilmre> when I try to boot your rfs off of a card I get: Kernel panic - not syncing: No init found. Try passing init= option to kernel.
[17:08:44] <GPSFan> I think some research in reading the libertas-dev ML might be in order for me.
[17:08:52] <sweetlilmre> but no mmc errors
[17:09:17] <GPSFan> none I have all the drivers & firmware on there, along with a few shell scripts that I edit with vi. working nicely...
[17:09:34] <sweetlilmre> ahh think I found the problem...
[17:09:39] <GPSFan> I can post you a kernel with rfs, and you could see if it works on your box.
[17:13:28] <sweetlilmre> no its cool I was being a total idiot :)
[17:13:43] <GPSFan> as in you found the issue?
[17:13:49] <GPSFan> or it still doesn't work?
[17:14:17] <sweetlilmre> I untar'd the archive directly to the card which extracted everything to /dev/sdd1/rfs ... dumb :)
[17:14:34] * GPSFan slaps sweetlilmre with a wet fish
[17:14:46] * sweetlilmre slaps himself with a hammer :)
[17:17:49] *** msh07 has joined #zipit
[17:18:30] <sweetlilmre> did I mention that traditionally I am a windoze bloke? ;) (though I dig the penguins)
[17:18:48] <GPSFan> my condolences
[17:19:19] <sweetlilmre> that is why I try to redeem myself though embedded linux hacking, one extreme to the other :)
[17:19:44] <GPSFan> I can see that the sun is approaching the yardarm, I think it's time to do evening chores and head on down to the brewery for a pint or two.. ;>))
[17:22:11] <sweetlilmre> gimme 1 minute, just want to report on booting your kernel off mmc
[17:22:19] <GPSFan> ok sure I'm still a while form heading off.
[17:22:30] <GPSFan> did you want me to post mine?
[17:22:50] <sweetlilmre> okay it boots, no mmc errors so far
[17:24:17] <sweetlilmre> still no errors. maybe its something in my initscripts?
[17:28:42] <sweetlilmre> I am using everything from the initial OE patch, so maybe there is some incompatiblity there
[17:29:19] *** msh07 has left #zipit
[17:39:58] <GPSFan> bbl
[17:40:53] *** rkdavis1 has joined #zipit
[17:42:56] *** rkdavis has quit IRC
[18:01:09] *** jhaluska has quit IRC
[18:12:55] <sweetlilmre> ok, seems my 1GB card is fine. I could have sworn I tested it... So perhaps large cards are the issue?
[18:19:32] *** Limp_Trizkit has quit IRC
[18:43:00] <sweetlilmre> bed time for now
[20:14:18] *** Limp_Trizkit has joined #zipit
[20:51:35] *** steerpik1 has joined #zipit
[21:02:10] *** steerpike has quit IRC
[21:29:57] <rkdavis1> ugh monotone.openembedded.org is no more
[21:30:54] *** g1powermac_PB has quit IRC
[22:10:47] *** rkdavis1 has quit IRC
[23:23:46] <steerpik1> yeah, they're phasing out monotone :P
[23:23:49] <steerpik1> git is what they use now
[23:24:35] *** steerpik1 is now known as steerpike