IRC Logs

03. 08 2008

2008 8
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
[00:39:51] <crazymonkeypants> *sigh*
[00:40:15] <crazymonkeypants> 3127 xlli_PUTchar:
[00:40:15] <crazymonkeypants> 3128 2: ldr r1, [r0, #UALSR_offset]
[00:40:15] <crazymonkeypants> 3129 ands r1, r1, #TDRQ
[00:40:15] <crazymonkeypants> 3130 beq 2
[00:40:15] <crazymonkeypants> 3131 strb r2, [r0, #UATHR_offset]
[00:40:26] <crazymonkeypants> armv5l-linux-gcc -g -O2 -c xlli_LowLev_Init.s
[00:40:26] <crazymonkeypants> xlli_LowLev_Init.s: Assembler messages:
[00:40:26] <crazymonkeypants> xlli_LowLev_Init.s:3130: Error: misaligned branch destination
[00:44:15] <crazymonkeypants> And even after that's fixed, there are undefined references to the console output functions
[00:44:36] <crazymonkeypants> There has to be a special place in hell for people that supply "GPL compliance" sources that don't build
[00:50:01] <crazymonkeypants> Though, this one might be forgivable, since it seems to be gcc being too damn smart for its own good
[01:05:40] <crazymonkeypants> Great
[01:05:48] <crazymonkeypants> The autoconf goo for blob is busted
[01:12:31] <crazymonkeypants> This needs GPSFan to tell us how he got it to build
[01:35:50] <crazymonkeypants> Hmm, ok. I think I actually got it all together.
[01:36:31] <crazymonkeypants> They sure took an obtuse way around dealing with relocation
[01:36:46] <crazymonkeypants> Though I guess asking people to write PIC code for memory initialisation isn't always popule
[01:36:52] <crazymonkeypants> popular, even
[02:13:50] <crazymonkeypants> g1: another site for you to link: http://pxa-linux.sourceforge.net/
[04:39:01] *** Mathiasdm has joined #zipit
[07:36:50] *** g1powermac has joined #zipit
[08:30:43] *** g1powermac_PB has joined #zipit
[09:19:45] *** GPSFan has joined #zipit
[09:21:11] *** g1powermac_apl has joined #zipit
[11:33:54] *** g1powermac_apl has quit IRC
[11:36:48] *** g1powermac_apl has joined #zipit
[12:17:35] *** unrest has joined #zipit
[12:23:43] *** crazymonkeypants has quit IRC
[12:52:32] <g1powermac> alrighty, got an update on the usb gadget hacking I'm doing: http://zipit2system.sourceforge.net/usbgadget.html
[12:54:49] <unrest> did anyone yet successfully built the OE package xfonts-xorg?
[12:58:30] *** crazymonkeypants has joined #zipit
[13:23:12] <unrest> ping
[13:23:29] <unrest> someoneout there with a self-built working OE enviroment?
[13:23:48] <unrest> i cannot build xfonts-xorg due to some reason i can't figure out..
[13:41:25] *** Mathiasdm has quit IRC
[13:48:49] <unrest> hmm...
[13:49:02] <unrest> it complains about ld not finding "-lfl"
[14:33:41] <crazymonkeypants> Do you have flex installed?
[14:33:49] <crazymonkeypants> It includes a library called "fl"
[14:34:11] <crazymonkeypants> (I can't imagine why they thought that not calling it libflex was a good idea)
[14:34:31] *** Mathiasdm has joined #zipit
[14:57:04] <crazymonkeypants> Man, blob is awful
[15:16:04] *** Mathiasdm has quit IRC
[15:16:40] <g1powermac_apl> hey crazymonkeypants
[15:17:14] <g1powermac_apl> crazymonkeypants, got some updates on the usb gadget stuff: http://zipit2system.sourceforge.net/usbgadget.html
[15:30:58] <crazymonkeypants> Cool
[15:31:06] <crazymonkeypants> I spent a little time poking at the interface pins
[15:31:13] <crazymonkeypants> I'm not sure where the VBus detect is yet
[15:32:08] <crazymonkeypants> And I don't think the GPIO config is right either
[15:32:27] <crazymonkeypants> But, I do have a box to build kernels on now
[15:33:08] <g1powermac_apl> cool
[15:33:34] <g1powermac_apl> lemme know if you need help getting a custom kernel to run from blob
[15:33:53] <crazymonkeypants> My biggest issue is going to be downloading
[15:34:20] <crazymonkeypants> What else do I need installed on Debian to build the kernel?
[15:34:27] <crazymonkeypants> scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
[15:34:45] <g1powermac_apl> http://www.falkotimme.com/howtos/debian_kernel2.6_compile/
[15:35:32] <g1powermac_apl> obviously you don't follow how to compile the .deb kernel image
[15:35:40] <g1powermac_apl> but it tells you what packages you need
[15:35:54] <crazymonkeypants> Crazy
[15:35:56] <crazymonkeypants> Ok, thanks
[15:36:14] <g1powermac_apl> to compile the kernel for the zipit, do make menuconfig and then make zImage
[15:36:29] <crazymonkeypants> How about the initramfs?
[15:36:44] <g1powermac_apl> you upload the zImage to blob
[15:36:53] <crazymonkeypants> Ok, and it knows where the filesystem is already
[15:37:02] <g1powermac_apl> some of the instructions are on my usb gadget site
[15:37:15] <g1powermac_apl> however, to create the initramfs, I need to figure that out myself
[15:37:25] <g1powermac_apl> GPSFan had sent me a complete copy of his
[15:37:43] <g1powermac_apl> but I would like to make one that can be generated
[15:41:32] <crazymonkeypants> /home/msmith/zipit/linux-2.6.21.1/scripts/gen_initramfs_list.sh: Cannot open '../rfs'
[15:44:04] <crazymonkeypants> Did you turn off the initramfs support?
[15:44:17] <g1powermac_PB> no
[15:44:33] <g1powermac_PB> you need to at least create that directory before it'll compile
[15:44:42] <g1powermac_PB> however without an actual initramfs, it won't boot
[15:46:34] <crazymonkeypants> Right; looks like I have to hoover mine off the device
[15:48:03] <crazymonkeypants> Easier said than done
[15:51:41] *** Mathiasdm has joined #zipit
[16:31:53] <crazymonkeypants> Woot
[16:31:58] <Limp_Trizkit> dot com
[16:31:59] <crazymonkeypants> Got something that makes it happy
[16:32:06] <Limp_Trizkit> a lady friend?
[16:32:24] <crazymonkeypants> Thankyou, she's at a developer conference today
[16:33:36] <crazymonkeypants> Just happy that all this meta-work is paying off and I'm getting to the point where I'm actually building something
[16:33:52] <crazymonkeypants> Blob is very frustrating because it's such a mess
[16:33:57] <Limp_Trizkit> yeah
[16:34:06] <crazymonkeypants> To make any real progress it would have to be burnt to the ground
[16:34:52] *** Mathiasdm has quit IRC
[16:35:50] <unrest> g1powermac, installing flex fixed my problem..
[16:35:57] <unrest> would've never guesse that.. thanks! =)
[16:39:10] <GPSFan> crazymonkeypants: the point in fooling around with blob is to understand what goes on in the early setup, then to port apex to the z2. blob is way past its' "use by date"
[16:39:36] <crazymonkeypants> No kidding
[16:39:48] <crazymonkeypants> There needs to be a toxic mold warning on it
[16:40:23] <GPSFan> working on it tends to rot the brain.
[16:40:50] <crazymonkeypants> apex vs. das U-boot?
[16:41:43] <GPSFan> apex, ubloat is much too "feature-rich"
[16:42:48] <crazymonkeypants> That's bad because?
[16:44:46] <GPSFan> blob fits in less than 64k, the smallest version of uboot I'e seen takes 256k, apex can be smaller than blob in most cases, it will depend on how much of the xlli stuff can be lifted from blob.
[16:46:47] <g1powermac_PB> GPSFan: is there a way to extract the initramfs from the zipits kernel?
[16:47:39] <GPSFan> it's still early in the porting work, so things may change. to use uboot, (assuming a 256k size) one would have to re-do the partitioning scheme on the z2. not impossible, though if the results were worth it.
[16:48:05] <crazymonkeypants> I copy
[16:48:22] <crazymonkeypants> g1: you can pull the binaries from it and re-create the rest by hand
[16:48:25] <crazymonkeypants> What I just did
[16:48:37] <GPSFan> g1powermac: yeah use a version of the z2shell.sh and copy it to the sd card after bootup
[16:48:42] <g1powermac_PB> k
[16:48:49] <crazymonkeypants> there are some discrepancies in the device nodes between what the debian MAKEDEV produced and what's on the device
[16:49:04] <crazymonkeypants> but I'm hoping they're not fatal
[16:50:20] <crazymonkeypants> GPS: I'd be happier if the pxa270 had some sort of rescue bootloader built in
[16:51:13] <GPSFan> crazymonkeypants: so would we all, that's why jtag is neccessary for those wanting to risk brickage.
[16:52:18] <crazymonkeypants> I assume you're using the internal SRAM while you're playing with apex?
[16:54:23] <crazymonkeypants> (I don't understand why blob doesn't use it...)
[16:56:34] <GPSFan> crazymonkeypants: will be when I get somore rount tuits. blob does use sdram, the flash code runs, sets up gpio's sdram, etc. copies the second stage from flash to sdram and jumps to it.
[16:58:20] <g1powermac_PB> GPSFan: have you ever tried to replace the kernel in flash using blob?
[16:59:08] <GPSFan> g1powermac: no
[17:00:32] <GPSFan> iirc tomw did and bricked his z2. I believe he didn't have an /rfs set up correctly and that was befor jtag was possible.
[17:01:00] <g1powermac_PB> no, he tried replacing the kernel from the sd card
[17:01:13] <g1powermac_PB> we didn't have the serial port at that time, so no blob access
[17:03:04] <crazymonkeypants> SRAM, not SDRAM
[17:03:17] <crazymonkeypants> The '270 has 256KiB of internal SRAM
[17:03:28] <GPSFan> crazymonkeypants: sorry, I didn't realize that.
[17:03:31] * g1powermac_PB will try it if I can get a kernel booted with the zipits initramfs
[17:03:46] <crazymonkeypants> The whole thing would be much simpler if the first thing it did was copy itself to SRAM
[17:03:52] <crazymonkeypants> There wouldn't be this whole trampoline rubbish
[17:04:10] <crazymonkeypants> One thing; I'm not seeing the vector remap anywhere in the intel docs
[17:04:28] <crazymonkeypants> I'm not a big xscale guy; is this something the processor supports by default?
[17:04:56] <GPSFan> crazymonkeypants: I'll have to look at that in the pxa manual. that woulld really be a help, I wonder if the pxa270 apex port uses it.
[17:06:03] <crazymonkeypants> It appears to have no config; there's just 256k at 0x5cxxxxxx
[17:20:55] <crazymonkeypants> Or am I mis-understanding how vectors work on the arm? I assumed they all lived at a physical address
[17:21:16] <crazymonkeypants> Are they fetched from 0+vector in the supervisor virtual space?
[17:29:06] <crazymonkeypants> *sigh*
[17:29:12] <crazymonkeypants> Apex lies
[17:29:20] <crazymonkeypants> "Easy to build. It depends only on shell utilities and GCC."
[17:29:41] <crazymonkeypants> Er, no. It depdends on the entire linux kernel config infrastructure, meaning it can only be built on Linux
[17:30:56] <g1powermac_PB> hmm
[17:41:13] <crazymonkeypants> And Darwin's gcc -print-file-name does not work the way the check script expects
[17:43:19] <crazymonkeypants> But there we go
[17:43:23] <crazymonkeypants> Much less drama than blob
[18:10:32] <g1powermac_apl> so which mtdblock is the initramfs?
[18:12:36] <GPSFan> g1powermac: it's in with the kernel in mtd1
[18:12:49] <g1powermac_apl> k
[18:13:23] <g1powermac_apl> hmm, how do you mount it?
[18:13:37] <GPSFan> dev: size erasesize name
[18:13:37] <GPSFan> mtd0: 00010000 00002000 "Bootloader"
[18:13:37] <GPSFan> mtd1: 00230000 00010000 "Kernel"
[18:13:37] <GPSFan> mtd2: 005c0000 00010000 "Filesystem"
[18:13:51] <g1powermac_apl> ahh
[18:13:57] <GPSFan> you don't, it's mounted by the kernel during bootup
[18:14:01] <g1powermac_apl> doh, should've remembered that
[18:14:04] <g1powermac_apl> hmm
[18:14:10] <crazymonkeypants> Kernel: arch/arm/boot/zImage is ready
[18:14:21] <g1powermac_apl> GPSFan, so how do you access it?
[18:17:50] <g1powermac_apl> is it the actual rootfs?
[18:18:43] <crazymonkeypants> When you say "how do you access it", what do you mean?
[18:18:55] <crazymonkeypants> blob puts it in physical memory at 0xa0500000
[18:19:07] <crazymonkeypants> I've been trying to work out how it locates it inside the mtd
[18:19:42] <g1powermac_apl> I want to make a copy of the initramfs to stick it inside my new kernel
[18:19:55] <crazymonkeypants> You need to make one yourself
[18:20:28] <crazymonkeypants> Or work out where it is in mtd1
[18:20:32] <crazymonkeypants> sec, let me poke at it
[18:20:36] <g1powermac_apl> thats the idea
[18:20:50] <g1powermac_apl> I made one myself, but I want to use the one that the zipit people made
[18:21:47] <crazymonkeypants> Well, the head of partition 1 looks like the head of a regular zImage
[18:22:21] <g1powermac_apl> oops, umm, don't cat /dev/mtd1
[18:22:24] <g1powermac_apl> ;-)
[18:23:20] <crazymonkeypants> So, I think it's already inside the zImage
[18:24:17] <g1powermac_apl> it is
[18:24:29] <crazymonkeypants> It's a compressed cpio archive, as best I can tell
[18:24:57] <GPSFan> g1powermac: I forget how I did it (if I ever did) I think you can bootup using the sd card and everyting that is ther that wasn't in the sd card is what's in /rfs
[18:25:59] <crazymonkeypants> Yes; if you go to / with the SD card mounted, you get the initramfs with the card mounted on /mnt/sd0
[18:26:03] <crazymonkeypants> That's how I built mine
[18:33:44] <crazymonkeypants> Looks like the gzipped image starts 0x343c into the mtd
[18:33:55] <crazymonkeypants> Look for 1f 8b (gzip signature)
[18:38:18] <crazymonkeypants> cut that off with dd and then go looking again
[18:38:44] <crazymonkeypants> (gzip signature actually 1f 8b 08 00)
[18:39:55] <crazymonkeypants> And there we go
[18:40:18] <crazymonkeypants> # file bar
[18:40:18] <crazymonkeypants> bar: ASCII cpio archive (SVR4 with no CRC)
[18:40:56] <g1powermac_apl> how are you looking at it?
[18:41:09] <crazymonkeypants> I use 'hexdump -C | less'
[18:43:51] <g1powermac_apl> i wonder if there is some script that will extract it
[18:44:35] <crazymonkeypants> It's not hard 8)
[18:45:43] <crazymonkeypants> dd if=partition_1 of=foo.gz bs=1 skip=13372
[18:45:56] <crazymonkeypants> gunzip foo.gz
[18:46:11] <crazymonkeypants> dd if=foo of=bar.gz bs=16 skip=5174
[18:46:22] <crazymonkeypants> gunzip bar.gz
[18:46:32] <crazymonkeypants> mv bar zipit_initramfs.cpio
[18:46:49] <crazymonkeypants> That worked for me; if you have a different firmware version the magic numbers will be different
[18:46:53] <crazymonkeypants> But you can find them easily
[18:47:03] <g1powermac_apl> cool, thanks
[18:47:16] <g1powermac_apl> heh, I used cat to get it off the flash and onto the sd card
[18:47:22] <crazymonkeypants> You will know if the numbers are wrong; the gunzip phase will fail
[18:47:53] <crazymonkeypants> There's dd on there as well; a little more trustworthy
[18:52:43] <crazymonkeypants> Er
[18:52:49] <crazymonkeypants> Be careful unpacking the archive
[18:53:15] <crazymonkeypants> In particular, if you do it as root, make sure you specify --no-absolute-filenames
[18:53:23] <crazymonkeypants> Otherwise you will toast your current system
[18:58:14] <g1powermac_apl> hmm, the final gunzip whines about trailing garbage
[19:10:33] <crazymonkeypants> harmless
[19:11:21] <g1powermac_apl> whats your cpio command, btw?
[19:16:00] <g1powermac_apl> ahh, I got it
[19:16:52] <g1powermac_apl> lets see if this kernel boots with this initramfs
[19:17:22] <g1powermac_apl> interesting
[19:17:34] <g1powermac_apl> this zImage is smaller than what is on the z2
[19:24:19] <g1powermac_apl> bwahaha
[19:24:22] <g1powermac_apl> it booted
[19:24:25] <g1powermac_apl> interesting
[19:25:21] <g1powermac_apl> hmm, dmesg is missing though
[19:25:35] <crazymonkeypants> Sadly, xdownload is borked for me
[19:25:50] <crazymonkeypants> And I'm not sure I'm prepared to wait for my pokeloader to push over an image that big
[19:25:54] * g1powermac_apl wonders why dmesg is missing
[19:26:32] <crazymonkeypants> It's not there on the default initrd
[19:26:43] <crazymonkeypants> does busybox support it?
[19:26:49] <g1powermac_apl> ahh, I must have added it somehow
[19:27:28] <crazymonkeypants> [, [[, ash, cat, chmod, cp, dd, df, dos2unix, du, echo, fuser, halt, head, ifconfig, init, insmod,
[19:27:28] <crazymonkeypants> ln, ls, lsmod, md5sum, mkdir, mknod, modprobe, mount, mv, nslookup, ping, poweroff, ps, pwd, reboot,
[19:27:28] <crazymonkeypants> rm, rmdir, rmmod, route, sh, sha1sum, sleep, sync, tail, tar, test, tftp, udhcpc, umount, uname, unix2dos,
[19:27:28] <crazymonkeypants> vi
[19:27:39] <g1powermac_apl> oh, actually, I think its from GPSFan's initramfs
[19:28:55] <GPSFan> g1powermac: yeah, my busybox is chock full of goodies.
[19:30:35] <GPSFan> crazymonkeypants: my firmware must be a different version, I get a crc and length error when I try to unzip the trimmed mtd1. my 1f 8b 08 00 is at 0x343c
[19:31:13] <g1powermac_apl> GPSFan, so, this extracted initramfs from the zipit itself combined with my custom kernel does boot as if nothing changed except the kernel :-)
[19:31:32] <GPSFan> g1powermac: good deal...
[19:31:54] <crazymonkeypants> gpsfan: I believe we'd already established that the other day with my unit and its "Zcovery" binary...
[19:32:20] <crazymonkeypants> I was only suggesting it as an approach for g1 here who was having trouble finding the signatures
[19:33:10] <GPSFan> crazymonkeypants: yes we did, I found the gzip signature at 0x343c and thought that I could trim the binary from mtd1 and then gunzip it.
[19:33:22] <crazymonkeypants> er, no, wait; the first one was at 0x343c here too
[19:33:37] <crazymonkeypants> You should be able to; check the first four bytes of your trim result
[19:36:08] <g1powermac_apl> well, in any case, we now have a way to replace the kernel
[19:36:27] <g1powermac_apl> technically I should be able to replace the mtd1 with the zImage I created from the sd card
[19:36:32] <GPSFan> it is the gzip signature but gzip doesn't like it
[19:37:16] <GPSFan> very odd, but it really doesn't matter 'cause I can boot my kernel with it's own initramfs just fine.
[19:37:27] <crazymonkeypants> Weird indeed
[19:38:14] <g1powermac_apl> GPSFan, have you updated your zipit by any chance?
[19:38:24] <g1powermac_apl> my zipit is running the stock software it came with
[19:38:30] <g1powermac_apl> I haven't let it update itself
[19:38:47] <GPSFan> it's at v1.1.3 but IIRC the mtd image I have may be from before the update.
[19:38:56] <g1powermac_apl> ahh
[19:39:08] <crazymonkeypants> Oof. OE setup is nontrivial
[19:39:25] <GPSFan> hard to say, but I really don't care right now.
[19:39:56] <GPSFan> crazymonkeypants: beware OE has a very steep learning curve. I have never gotten a useable z2 userland build out of it.
[19:40:36] <GPSFan> I've given up on OE more times than I care to count.
[19:40:42] <crazymonkeypants> 8(
[19:40:46] <crazymonkeypants> Any alternative suggestions?
[19:41:07] <g1powermac_apl> crazymonkeypants, buildroot
[19:41:23] <GPSFan> I use buildroot successfully for many things, but it doesn't have the package selection that OE does
[19:41:58] <GPSFan> tomw seems to have a good understanding of OE, but he is still wrestling with his new house.
[19:42:34] <GPSFan> bbl
[19:42:37] <crazymonkeypants> Ok, thanks for the pointers as always
[19:42:51] <crazymonkeypants> I'll probably keep tinkering with Apex, since I really need a usable bootloader.
[20:20:43] <g1powermac_PB> hmm
[20:20:55] <g1powermac_PB> I just thought of something
[20:21:19] <g1powermac_PB> my zImage is almost .2mb smaller than what is on the z2
[20:21:42] <g1powermac_PB> and the only thing changed is the addition of the usb gadget stuff, yet its smaller
[20:21:52] <GPSFan> crazymonkeypants: I think that's a good direction to go, have you seen the apex prot for the toshiba e740? here is a link; http://git.mnementh.co.uk/cgi-bin/gitweb.cgi?p=apex.git;a=summary
[20:22:07] <g1powermac_PB> makes me wonder if that zipit patch isn't containing everything that is in the z2 kernel now
[20:22:08] <GPSFan> s/prot/port
[20:22:31] <GPSFan> g1powermac: it could be compiler related, better optimization.
[20:22:38] <g1powermac_PB> oh thats true
[20:22:48] <g1powermac_PB> your buildroot is using a newer compiler
[20:23:51] <g1powermac_PB> still quite a bit of space though
[20:24:59] <GPSFan> gcc 4.1.2
[20:26:12] <g1powermac_PB> though the tools on my dev machine used for compressing the image could be newer and work better
[20:26:16] <g1powermac_PB> as well
[20:26:25] <GPSFan> maybe the .configure that's in the patch isn't really the one that matches your kernel. that's what happened with blob, what I built doesn't run and doesn't match their binary.
[20:26:55] <g1powermac_PB> yea
[20:27:10] <g1powermac_PB> wonder if there's a way we could tell
[20:27:18] <g1powermac_PB> obviously the kernel does boot
[20:27:34] <g1powermac_PB> I should try to boot to the z2app with the new kernel
[20:29:26] <crazymonkeypants> I haven't looked at the e740
[20:29:37] <crazymonkeypants> I'm working off the mx31 port, as I am somewhat familar with that board
[20:37:01] *** unrest has quit IRC
[21:50:28] <g1powermac_apl> alright, the zipit app seems to start fine even under the new kernel
[21:51:05] <g1powermac_apl> have any of you played with the zipit app using the serial port?
[22:32:49] *** g1powermac has quit IRC
[22:33:05] *** g1powermac_PB has quit IRC
[22:34:49] <crazymonkeypants> I have
[22:34:57] <crazymonkeypants> There's not a whole lot to see
[22:35:10] <crazymonkeypants> It *is* watching what you type
[22:35:20] <crazymonkeypants> But all I get back are the ascii codes for what I send it
[22:35:31] <g1powermac_apl> yea
[22:36:21] <crazymonkeypants> btw, I don't know if anyone realised
[22:36:33] <crazymonkeypants> but the audio input goes to the wolfson
[22:37:28] <crazymonkeypants> I'm not sure if it's on one of the extra four pins of the headphone jack, but the expansion connector audio in is definitely routed over there
[22:37:45] <g1powermac_apl> crazymonkeypants, yes it is
[22:38:16] <crazymonkeypants> Have you found a headset that has the appropriately funky connector?
[22:38:27] <g1powermac_apl> nope
[22:38:29] <g1powermac_apl> time for bed
[22:38:33] <g1powermac_apl> gnight all
[22:38:50] *** g1powermac_apl has quit IRC
[23:03:45] <GPSFan> crazymonkeypants: yes this Wolfson has a mic input, the one they used on the z1 didn't. If you look at the fcc docs for the z2, they shows a headset with microphone. Which never shipped with the z2.
[23:04:20] <GPSFan> the z1 had a similar funky earphone connector, but in that case the extra pins didn't go anywhere that made any sense.
[23:13:41] <Foxx> the nintendo DS has a similar headset hookup
[23:14:54] <crazymonkeypants> I have the Apex port sketched out and sort of building
[23:15:32] <crazymonkeypants> GPS: how do I fetch the git reference you pasted earlier?
[23:16:40] <Foxx> didnt the older iPods have a similar 'remote hookup'?
[23:16:59] <Foxx> it had a 4 pin 'blade' connector next to the heaphone jack
[23:18:24] <crazymonkeypants> ERROR: src/arch-arm/lib/lib.a(div64.o) uses FPA instructions, whereas apex does not
[23:19:28] <crazymonkeypants> Ah, that's a consequence of building xscale but no -msoft-float
[23:19:53] *** Switchcat has left #ZipIt
[23:27:19] <crazymonkeypants> Anyone speak Kconfig? How do I add compiler flags?
[23:31:26] <GPSFan> crazymonkeypants: somehow I got it, I might have uese git, but I have a tarball of the may14 version (which is the latest IIRC) I can dcc it to you to save you some agravation, being a MAC user git it probably as cryptic as linux stuf gets.
[23:32:42] <crazymonkeypants> Thanks
[23:32:52] <GPSFan> np,
[23:32:59] <crazymonkeypants> I can probably set git up; I'm just a bit tired of recursive depdencies
[23:34:09] <GPSFan> I haven't done anything much with that code, I did put together a couple of z2 specific files based on what was there for the e740, but never built anything.
[23:34:39] <GPSFan> real life has a way of adjusting priorities. ;>)
[23:34:39] <crazymonkeypants> Right now if I can work out how to get -msoft-float into the global cflags I should have something that links
[23:34:55] <crazymonkeypants> Then I can start poking at it with objdump to see what I've got
[23:36:36] <GPSFan> I remembered hot I got the code, go to this page: http://git.mnementh.co.uk/cgi-bin/gitweb.cgi?p=apex.git;a=shortlog;h=refs/heads/e740_irda
[23:36:53] <GPSFan> then click snapshot at the end of the first line.
[23:39:26] <crazymonkeypants> Hmm, thanks
[23:39:36] <crazymonkeypants> I can probably piggyback on the e740 stuff
[23:40:53] <crazymonkeypants> Still no workaround for the float stuff
[23:41:43] <GPSFan> cul, gotta get some zzzz's
[23:41:50] *** GPSFan has quit IRC