IRC Logs

24. 02 2008

2008 2
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    
[00:24:50] *** GPSFan has quit IRC
[02:39:10] *** Rossimo has quit IRC
[02:44:17] *** Rossimo has joined #zipit
[03:09:47] *** Rossimo has quit IRC
[03:28:30] *** Magon has joined #zipit
[03:49:04] *** Rossimo has joined #zipit
[05:29:27] *** Crofton has joined #zipit
[05:42:42] *** Crofton has quit IRC
[05:59:22] *** Crofton has joined #zipit
[06:42:46] *** Crofton has quit IRC
[07:05:02] *** drmikecrowe has quit IRC
[07:08:27] *** drmikecrowe has joined #zipit
[07:22:27] *** Crofton has joined #zipit
[07:53:24] *** Crofton has quit IRC
[08:18:42] *** Crofton has joined #zipit
[08:54:39] *** Crofton has quit IRC
[09:18:31] *** Crofton has joined #zipit
[09:19:13] *** GPSFan has joined #zipit
[09:23:05] *** Crofton has quit IRC
[09:23:19] *** Crofton has joined #zipit
[09:54:32] *** Crofton has quit IRC
[09:54:48] *** Crofton has joined #zipit
[10:12:06] *** Crofton has quit IRC
[10:21:21] *** Crofton has joined #zipit
[10:23:03] *** Crofton has quit IRC
[10:23:38] *** Crofton has joined #zipit
[10:39:11] *** Crofton has quit IRC
[10:48:47] *** drmikecrowe has quit IRC
[10:53:14] *** Crofton has joined #zipit
[11:07:44] *** drmikecrowe has joined #zipit
[11:18:49] <Rossimo> whats the best way to rebuild and reinstall packages?
[11:18:59] <Rossimo> i did a "bitbake -c rebuild xserver-kdrive"
[11:19:06] <Rossimo> and then remove the package from Z2
[11:19:20] <Rossimo> but now when i try to install the new package, it gives me: Package xserver-kdrive md5sum mismatch. Either the ipkg or the package index are corrupt. Try 'ipkg update'.
[11:22:30] *** Crofton has quit IRC
[11:22:38] *** Crofton has joined #zipit
[11:24:41] <Magon> Rossimo: bitbake -c rebuild package; bitbake -c rebuild image
[11:29:29] <Rossimo> does that mean i have to reinstall the entire image again?
[11:34:05] *** Crofton has quit IRC
[11:44:51] <Magon> Rossimo: it will just rebuild rootfs not the actual packages
[11:53:32] <Rossimo> Magon: so after running that (and i guessed you meant "base-image" instead of "image") do i only need to reinstall the xserver-kdrive package, or do i need to reinstall other packages as well?
[12:08:41] <Magon> Rossimo: you want new xserver-kdrive right?
[12:08:52] <Magon> so you need to run bitbake -c rebuild xserver-kdrive - this will rebuild xserver
[12:09:10] <Magon> than you need to run bibake -c rebuild base-image - this will update the xserver to your rootfs
[12:09:19] <Magon> and pack it to tar
[12:09:47] <Rossimo> and then i need to reflash the card with your perl script, correct?
[12:09:56] <Magon> yes
[12:22:01] *** drmikecrowe has quit IRC
[13:43:58] *** drmikecrowe has joined #zipit
[15:44:04] *** Rossimo has quit IRC
[15:49:33] *** Fire_Egl has joined #ZipIt
[15:53:07] *** FireEgl has quit IRC
[16:52:05] *** mi_dave has joined #zipit
[18:18:41] *** Magon has quit IRC
[18:37:15] *** Rossimo has joined #zipit
[21:09:00] *** Rossimo has quit IRC
[21:19:52] *** Rossimo has joined #zipit
[21:22:59] *** drmikecrowe has quit IRC
[21:33:40] *** mi_dave has quit IRC
[22:22:34] <Rossimo> finally figured out how to set up a local repository for all the packages i'm building
[22:22:37] <Rossimo> makes things a lot easier
[22:34:33] <Rossimo> and FCE Ultra starts with: SDL_VIDEODRIVER=directfb arm-angstrom-linux-fceu -xscale 2 ./Super\ Mario\ Bros.nes
[22:34:48] <Rossimo> though, i can't seem to get it to run with Xfbdev to get the rotation right
[23:12:14] *** T0mW has joined #zipit
[23:12:24] <T0mW> GPSFan: I've got gpe up and running (Angstrom)
[23:12:37] <T0mW> GPSFan: no mouse action or keyboard as yet
[23:24:05] <GPSFan> T0mW: hey, that's good, what does it do? you got X, and what other apps?
[23:24:13] <T0mW> just X right now
[23:24:30] <T0mW> I finally figured out that I had to start with an existing machine config similar to the Zipit, then modify it: collie
[23:24:30] <GPSFan> how big is the image, or how much ram is left when it runs?
[23:24:33] <T0mW> 55Meg
[23:24:46] <GPSFan> 55meg left out of 32?
[23:24:50] <T0mW> I have no keyboard, or wifi yet, this is the first shot. took about 2 hours to build on AMD64 X2 6400 w/8Gig RAM
[23:27:59] <T0mW> GPSFan: sorry, no mem statistics as yet. That was the rootfs size.
[23:28:06] <GPSFan> guess my puny little P4-2.3G will take a week.
[23:28:18] <T0mW> GPSFan: at least it boots and gives me the user registration screen
[23:28:26] <T0mW> GPSFan: maybe only 5..9 hours, heh
[23:28:36] <T0mW> GPSFan: but, you only have to do that one time.
[23:28:51] <T0mW> GPSFan: as you go along, you just add/subtract what you want to go into the final image.
[23:28:52] <GPSFan> k, I've got a buildroot based rootfs running with wifi, nfs, ssh. the keyboard driver still sort of sucks, but I've been doing everything via ssh.
[23:28:57] <T0mW> yeah
[23:29:23] <T0mW> I'm going to try to get the wifi up so I can ssh into it. Also, get the kernel modules working, need them for wifi and console keyboard. Next step is to disable X from starting so I can get a console prompt
[23:29:37] <T0mW> GPSFan: this is just the first go.
[23:29:47] <T0mW> GPSFan: I just had to leave it alone for a while, then it became clear what to do.
[23:29:49] <T0mW> :-/
[23:31:50] <T0mW> GPSFan: well, I have that other project to Stage 1 and a meeting in the morning with the client. So, I have all night to mess with the Z2. yay!
[23:31:54] <GPSFan> have you done anything with the lcd power timeout? I can see kernel messages when it goes on & off, and there is code that zipit put in the kernel, but I haven't done anything with it yet.
[23:31:55] <T0mW> :)
[23:32:22] <T0mW> GPSFan: naw, after bricking one of the Z2s a couple of weeks ago, I just left the project alone. I'm just starting up again.
[23:32:27] <GPSFan> I also want to figure out whether the battery charges while running off the sd card ie. without the main zipit app running.
[23:33:08] <T0mW> GPSFan: I built a new machine just for doing OE builds, so, I now have two monster machines to turn to this problem^H^H^H^H^H^H^H task
[23:33:14] <GPSFan> heheh
[23:33:24] <T0mW> certainly takes a lot of juice to do OE
[23:33:28] <GPSFan> indeed.
[23:33:45] <GPSFan> T0mW: you play much with gdb?
[23:34:01] <T0mW> GPSFan: well, I am going on a retreat weekend in Florida this weekend. I will be leaving Wednesday morning, hopefully I will have a Z2 to take along.
[23:34:13] <T0mW> GPSFan: yes, I use it with insight for ARM7TMDI work.
[23:34:19] <GPSFan> ;>) to impress the non-geeks?
[23:34:27] <T0mW> naw, just a toy to play with. heh
[23:34:34] <GPSFan> I'm having a problem where I can set and run to breakpoints, but can't single step.
[23:34:39] *** CIA-45 has quit IRC
[23:34:40] <T0mW> what target?
[23:34:54] <GPSFan> I'm running gdbserver on the z2, and gdb on the desktop via the network.
[23:38:22] <T0mW> remote gdb, correct?
[23:38:25] <GPSFan> yes
[23:38:29] <T0mW> no, sorry, I have yet to do that one.
[23:38:36] <T0mW> I've only been doing it via JTAG
[23:38:38] <T0mW> local
[23:38:58] <GPSFan> when I step it goes off into lala land, but I can set breakpoints and go to them, and continue to temp breakpoints. I can look at variables, etc.
[23:39:02] <T0mW> what happens when you single-step?
[23:39:05] <T0mW> nod
[23:39:21] <T0mW> what compiler -g option do you use?
[23:39:25] <GPSFan> just -g
[23:39:29] <GPSFan> no -Ox
[23:39:45] <T0mW> try -gstabs
[23:39:45] <GPSFan> I wonder if -fomit-frame-pointer would help?
[23:39:52] <T0mW> and, don't strip of course
[23:41:54] <GPSFan> of course, I can see vars, and list stuff jsut like I should. what does -gstabs do?
[23:42:01] <T0mW> I had to use the stabs (or stabs+) with the ARM7TDMI cores. IIRC, I had a similar problem
[23:42:06] <T0mW> changes the symbols format
[23:42:15] <T0mW> changes the symbolic debug info format
[23:42:28] <GPSFan> thanks I'll give it a try.
[23:42:32] <T0mW> any probs I'd had with gdb has come down to that
[23:42:49] <T0mW> GPSFan: are you doing gdb from a console?
[23:42:53] <T0mW> GPSFan: are you doing gdb from a console on the remote host?
[23:43:00] <GPSFan> I'm having a problem with the program that doesn't show up when running under gdb. ie it works, but stand alone it doesn't.
[23:43:01] <T0mW> or, are you using kgdb or some other gui front end?
[23:43:20] <T0mW> you might consider building Insight and trying that
[23:43:43] <GPSFan> gdbserver on the z2, built by buildroot, in an xterm via ssh, gdb on the pc desktop connected with target remote 192.168.0.201:1113
[23:43:44] <T0mW> Insight encapuslates the gdb operations into a source level gui debug interface.
[23:43:49] <T0mW> nod
[23:43:56] <T0mW> sorry, I cannot help more
[23:44:05] <GPSFan> I'll try the -gstabs
[23:44:20] <T0mW> I would like know the solution though, I expect to be in your same position with debugging remote apps on an ARM Linux target soon.
[23:44:31] <GPSFan> I'm sure it's a structure or alignment problem that is making the program wierd, but haven't been able to find it.
[23:44:49] <T0mW> trouble is, that there is damned little data about remote gdb. It seems that everyone who uses it expects everyone else to know how it is done. So, no documentation.
[23:48:07] <T0mW> GPSFan: what about this:
[23:48:15] <T0mW> build a gdb to run on the target
[23:48:16] <GPSFan> nod, I've found that there is a lot of black magic & hand waving involved. I almost got a chicken yesterday.
[23:48:24] <T0mW> then ssh into the target and run that native gdb?
[23:48:35] <T0mW> debug natively
[23:48:44] <GPSFan> I have gdb for the target, it doesn't run at all, jsut quits with an error (useless) message.
[23:48:48] <T0mW> I know that is not the "right way", forget I mentioned that.
[23:48:51] <T0mW> ok
[23:48:53] <T0mW> this is with buildroot?
[23:49:07] <T0mW> buildroot == uClibc, OE == glibc
[23:49:10] <T0mW> won't fly
[23:49:19] <GPSFan> remember, I did this for the z1 when scott & I were trying to figure out how to re-flash the z1 without using the serial hack.
[23:49:32] <GPSFan> yes all buildroot uClibc
[23:49:51] <T0mW> I don't like buildroot's reliance upon uClibc, it seems too constraining
[23:51:45] <GPSFan> I use crosstool when I want glibc
[23:51:48] <T0mW> OE takes time to build stuff, but at least you don't have to patch the heck out of apps to work with uClibc
[23:52:24] <GPSFan> I don't like glibc, too much bloat, but sometimes it's the only way to get some apps to work.
[23:52:24] <T0mW> either way you spend time: OE takes time to build stuff, buildroot takes time to fight with it
[23:53:03] <T0mW> yeah, glibc is not that small, but, you do have uClibc option in OE. I just cannot figure out HTF to get that built. heh. I would like the best of both. build the system out with OE, then use buildroot for my apps
[23:53:11] <T0mW> s/my apps/the apps I write/
[23:53:22] *** CIA-45 has joined #zipit
[23:53:31] <T0mW> anyway, I'm going back to see if I can get the kernel modules built against Angstrom.
[23:53:44] <GPSFan> yeah, I use the buildroot toolchain all the time, without the app being in buildroot.
[23:53:54] <T0mW> --nostdlibs, blah
[23:53:56] <GPSFan> I gotta run, cul. have a nice time in sunny Fla.
[23:54:00] <T0mW> GPSFan: yes!
[23:54:02] <T0mW> GPSFan: hey
[23:54:07] <T0mW> GPSFan: how deep is the snow by you?
[23:54:16] <T0mW> GPSFan: Watertown NY has about 9 feet
[23:54:27] <GPSFan> right now it's raining, but we had ~2' on the grount last week.
[23:54:34] <T0mW> about ~4" here, cul
[23:54:41] <GPSFan> base at snowmass is ~88" with over 300" of fall so far this year.
[23:58:20] *** GPSFan has quit IRC