=== cbrake is now known as cbrake_away [03:32] who can help me about the binutils 2.15 compiling problem [09:07] make[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] 错误 1 [09:07] make[2]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu' [09:07] make[1]: *** [csu/subdir_lib] 错误 2 [09:07] make[1]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2' [09:07] make: *** [all] 错误 2 what's the problem ??? [09:10] zhangxing: all the error messages are in Chinese, so it is a bit hard to say... [09:10] yeah, [09:10] prefix your testbuild with LANG=C [09:11] I want to build the arm-linux [09:12] and when I configure the glibc-2.3.2 and the glibc-linuxthreads-2.3.2 there's no problem but when I make it, the error happens [09:15] who can tell me what the problem is ?? [09:19] zhangxing: as ogra said, add LANG=C before your make command and then post the results in English [09:19] ok I'll have a try [09:20] make[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] Error 1 [09:20] make[2]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu' [09:20] make[1]: *** [csu/subdir_lib] Error 2 [09:20] make[1]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2' [09:20] make: *** [all] Error 2 [09:21] now it's the English version [09:21] that doesnt have the actual error message [09:21] zhangxing: That's not the first error [09:21] the error must be above somewhere [09:23] asm-generic/errno.h: No such file or directory [09:24] is this error ?? [09:24] you are missing the linux headers [09:24] linux-libc-dev or the linux-headers package for your kernel have it [09:26] yeah I had copyed the linux header files "linux" and "asm-arm "of include files to my arm-linux [09:29] it is better if you install the header package. Your copies files are probably in the wrong location. [09:29] *copied [09:32] yeah it's the first time I build the env of ARMLINUX as the book told.. [09:46] phew, ok, i have the latest cvs of ecosconfig working [09:47] that should help with the redboot building [09:48] and it will actually be pristine upstream, not "some tarball we recieved" [09:50] hmm, i dont get why ecos and redboot are separate in michaels packaging [09:50] they should happily build alongside [09:50] in the same tree just adding the FSL patches [09:59] :::/tmp/cc0maz0E.s:71: Error: junk at end of line, first unrecognized character is `,' [09:59] how to find the error source and the tmp file ?? [12:07] :/home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(madvise.os)(.text+0x0):/home/zhangxing::/armlinux/build-tools/glibc-2.3.6/misc/:2: multiple definition of `posix_madvise' [12:07] /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os)(.text+0x0):../sysdeps/generic/posix_madvise.c:30: first defined here [12:07] /home/zhangxing/armlinux/tools/lib/gcc-lib/arm-linux/3.3.6/../../../../arm-linux/bin/ld: Warning: size of symbol `posix_madvise' changed from 8 in /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os) to 16 in /home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os) [12:07] collect2: ld returned 1 exit status [12:08] Who can help me about the glibc compiling [13:44] ogra: redboot-install: I thought you would import this in bzr somewhere first? [13:45] lool, i will [13:45] ogra: I would have preferred to review the script first [13:45] does it matter when ? [13:45] its the script from antimony with gpl header and usage function added [13:46] You added some getopt parsing as well [13:46] right, can all still be changed [13:46] nothing is set in stone :) [13:46] Yeah, everything in the world can be changed [13:46] * ogra sighs [13:46] root@babbage2:/root/ecos/ecos-20090731cvs# grep ^diff ../../redboot/redboot_200918/src/patch-redboot-200918-base|wc -l [13:46] 10781 [13:47] root@babbage2:/root/ecos/ecos-20090731cvs# grep ^diff ../../redboot/redboot_200918/src/patch-redboot-200918-base|grep -v CVS|grep -v .cvsignore|grep -v .git|wc -l [13:47] 136 [13:47] thats pure insanity === cbrake_away is now known as cbrake [15:34] lool, did we add ttymxc0 to securetty.linux already ? [15:34] * ogra cant remember, but would definately be good to add it if we didnt [15:48] ogra, we did [15:48] ogra, unless it got dropped [15:48] good [15:48] ogra: Yes [15:48] i remember we discussed it, but didnt if we actually made the change [15:49] It's in upstream shadow already [15:49] cool [15:49] and ttyS2-5 as well [16:07] ogra: Do you remember what you enabled to get USB support on the mini USB on the beagle? [16:07] I have a mini A / standard A adapter [16:07] enabled ? nothing [16:07] i'm using binary kernels on mine [16:08] http://www.rcn-ee.com/deb/kernel/beagle/karmic/ the configs should be in the subdirs [17:36] lool, i only use my USB port as host [17:46] ogra: But you do use the mini USB one, right? [17:46] right, i have a revB ... no other port available [17:46] ogra: I'm also looking at using this port as a host, but somehow this isn't working [17:46] The EHCI port works though [17:47] ogra: So I have a mini A adapter, what else is needed to get it working? Special /sys command? [17:47] weird, did you try one of the binary kernel packages from above ? [17:47] I built a kernel with the patch + config from above [17:47] not that i know of, i just used one of the binary packages and it worked out of the box for rootfs on usb [17:47] I see this in dmesg: [17:47] .416198] musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92 [17:47] that looks right to me [17:48] it should at least be in a proper OTG mode now [17:48] ogra: How do you power the board? [17:48] with a separate power plug [17:48] An USB one? [17:48] and i have a powered USB hb attached [17:48] no, a real 5v powerplug [17:49] Ok; that might be the issue [17:50] I have a bunch of 5v adapter, but they don't fit :-/ [17:51] And my universal one only does 4.5 and 6V tss [17:51] meh [17:52] i bought one for the slug that luckily does 5V and is switchable to all kinds of power [18:40] Bah unfortunately, the OE patches are required to get EHCI working [18:40] And I suspect their U-Boot patches are what I miss for mini USB [18:44] yeah, the oe patches also add a lot to the framebuffer you need afaik [18:44] It seems there's a lot of work going on in display implementation; I don't really need any display right now [18:44] I mostly care about USB [18:46] hrm, weird, all mx51 patches are upstream but the configtool doesnt know about babbage [18:46] * ogra is irritated [18:59] Ok at least I identified the minimal patch which fixes USB EHCI support for me [19:10] No luck with the OE musb OTG patch; I guess I need an OE uboot patch [19:12] meh [19:12] its to bad that they kepp it all separated [19:13] * ogra just noticed he made a total mess editing in the wrong dir :/ [21:12] hmm, i wonder how evil it is to build redboot with -fno-stack-protector ... [21:19] weird, i wonder why the frescale default for bulding redboot is -mcpu=arm9 === cbrake is now known as cbrake_away