From: Bernard L. <le...@bo...> - 2004-03-23 08:35:18
|
Hi Steven, Sorry about the ppc bug, I think it was you that reported it some time ago... Its been fixed in cvs but not in the release version. The CVS version also has an endian fix for the extraction code so you probably should grab the cvs version for now. This bug may be the cause of the folder icon. The other problems you are seeing I would guess to be related to the build tools you are using. I'm not sure where you can get a prebuild ppc-arm cross compiler but perhaps you could grab the source distribution from uclinux and build that? cheers, bern. Steven Lucy <sl...@uc...> said: > Hey everyone, > > I haven't been around these parts for a while, but I'm trying to catch up > with everything that's been done. I'm running into two independent problems: > > One is with the ipodloader. I'm running gentoo on ppc with a g1 ipod. Once > I change the "char c" to "int c" so the thing doesn't get stuck in the loop > (line 260), it appears to make make_fw alright. For the cross-compiled > stuff, however, I get the following error: > > " > arm-uclibc-gcc -Wl,-Tarm_elf_40.x -nostartfiles -o loader startup.o loader.o tools.o tux.o > /home/local/uclibc/bin/../lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld.real: > loader: Not enough room for program headers, try linking with -N > /home/local/uclibc/bin/../lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld.real: > final link failed: Bad value > collect2: ld returned 1 exit status > make: *** [loader] Error 1 > " > > If I add -N to LDFLAGS in Makefile, everything compiles nicely, but when I > follow the instructions in the README I just get a "folder!" icon when I try > to boot my ipod. I don't know if the -N is the culprit (not very familiar > with linking), or if it's something else (endian problem?). Is there a newer > (CVS?) copy I could get my hands on? Is anyone else experiencing these > problems and I just missed the message? > > The second problem comes when trying to compile the kernel. Actually, it's > before I even get to that point. After I "make oldconfig", I "make dep" but > get the following error: > > " > make[6]: Leaving directory `/home/uc/linux-2.4.20/drivers/video/aty' > make -C intel fastdep > make: *** intel: No such file or directory. Stop. > " > > I didn't used to get that message when cross compiling a kernel for the ipod, > so perhaps it's one of the new patches? > > Thanks for any help, > Steven > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > iPodlinux-devel mailing list > iPo...@li... > https://lists.sourceforge.net/lists/listinfo/ipodlinux-devel > -- |