/srv/irclogs.ubuntu.com/2009/07/31/#ubuntu-arm.txt

=== cbrake is now known as cbrake_away
zhangxingwho can help me about the binutils 2.15 compiling problem03:32
zhangxingmake[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] 错误 109:07
zhangxingmake[2]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu'09:07
zhangxingmake[1]: *** [csu/subdir_lib] 错误 209:07
zhangxingmake[1]:正在离开目录 `/home/zhangxing/armlinux/build-tools/glibc-2.3.2'09:07
zhangxingmake: *** [all] 错误 2 what's the problem ???09:07
amitkzhangxing: all the error messages are in Chinese, so it is a bit hard to say...09:10
zhangxingyeah,09:10
ograprefix your testbuild with LANG=C09:10
zhangxingI want to build the arm-linux09:11
zhangxingand 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 happens09:12
zhangxingwho can tell me what the problem is ??09:15
amitkzhangxing: as ogra said, add LANG=C before your make command and then post the results in English09:19
zhangxingok I'll have a try09:19
zhangxingmake[2]: *** [/home/zhangxing/armlinux/build-tools/build-glibc/csu/sysdep.o] Error 109:20
zhangxingmake[2]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2/csu'09:20
zhangxingmake[1]: *** [csu/subdir_lib] Error 209:20
zhangxingmake[1]: Leaving directory `/home/zhangxing/armlinux/build-tools/glibc-2.3.2'09:20
zhangxingmake: *** [all] Error 209:20
zhangxingnow it's the English version09:21
ograthat doesnt have the actual error message09:21
loolzhangxing: That's not the first error09:21
ograthe error must be above somewhere09:21
zhangxingasm-generic/errno.h: No such file or directory09:23
zhangxingis this error ??09:24
ograyou are missing the linux headers09:24
ogralinux-libc-dev or the linux-headers package for your kernel have it09:24
zhangxingyeah I had copyed the linux header files "linux" and "asm-arm "of include files to my arm-linux09:26
amitkit is better if you install the header package. Your copies files are probably in the wrong location.09:29
amitk*copied09:29
zhangxingyeah it's the first time I build the env of ARMLINUX as the book told..09:32
ographew, ok, i have the latest cvs of ecosconfig working09:46
ograthat should help with the redboot building09:47
ograand it will actually be pristine upstream, not "some tarball we recieved"09:48
ograhmm, i dont get why ecos and redboot are separate in michaels packaging09:50
ograthey should happily build alongside09:50
ograin the same tree just adding the FSL patches09:50
zhangxing:::/tmp/cc0maz0E.s:71: Error: junk at end of line, first unrecognized character is `,'09:59
zhangxinghow to find the error source and the tmp file ??09:59
zhangxing:/home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(madvise.os)(.text+0x0):/home/zhangxing::/armlinux/build-tools/glibc-2.3.6/misc/<stdin>:2: multiple definition of `posix_madvise'12:07
zhangxing/home/zhangxing/armlinux/build-tools/build-glibc/libc_pic.a(posix_madvise.os)(.text+0x0):../sysdeps/generic/posix_madvise.c:30: first defined here12:07
zhangxing/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
zhangxingcollect2: ld returned 1 exit status12:07
zhangxingWho can help me about the glibc compiling12:08
loologra: redboot-install: I thought you would import this in bzr somewhere first?13:44
ogralool, i will13:45
loologra: I would have preferred to review the script first13:45
ogradoes it matter when ?13:45
ograits the script from antimony with gpl header and usage function added13:45
loolYou added some getopt parsing as well13:46
ograright, can all still be changed13:46
ogranothing is set in stone :)13:46
loolYeah, everything in the world can be changed13:46
* ogra sighs13:46
ograroot@babbage2:/root/ecos/ecos-20090731cvs# grep ^diff ../../redboot/redboot_200918/src/patch-redboot-200918-base|wc -l13:46
ogra1078113:46
ograroot@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 -l13:47
ogra13613:47
ograthats pure insanity13:47
=== cbrake_away is now known as cbrake
ogralool, did we add ttymxc0 to securetty.linux already ?15:34
* ogra cant remember, but would definately be good to add it if we didnt15:34
NCommanderogra, we did15:48
NCommanderogra, unless it got dropped15:48
ogragood15:48
loologra: Yes15:48
ograi remember we discussed it, but didnt if we actually made the change15:48
loolIt's in upstream shadow already15:49
ogracool15:49
looland ttyS2-5 as well15:49
loologra: Do you remember what you enabled to get USB support on the mini USB on the beagle?16:07
loolI have a mini A / standard A adapter16:07
ograenabled ? nothing16:07
ograi'm using binary kernels on mine16:07
ograhttp://www.rcn-ee.com/deb/kernel/beagle/karmic/ the configs should be in the subdirs16:08
ogralool, i only use my USB port as host17:36
loologra: But you do use the mini USB one, right?17:46
ograright, i have a revB ... no other port available17:46
loologra: I'm also looking at using this port as a host, but somehow this isn't working17:46
loolThe EHCI port works though17:46
loologra: So I have a mini A adapter, what else is needed to get it working?  Special /sys command?17:47
ograweird, did you try one of the binary kernel packages from above ?17:47
loolI built a kernel with the patch + config from above17:47
ogranot that i know of, i just used one of the binary packages and it worked out of the box for rootfs on usb17:47
loolI see this in dmesg:17:47
lool.416198] musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 9217:47
ograthat looks right to me17:47
ograit should at least be in a proper OTG mode now17:48
loologra: How do you power the board?17:48
ograwith a separate power plug17:48
loolAn USB one?17:48
ograand i have a powered USB hb attached17:48
ograno, a real 5v powerplug17:48
loolOk; that might be the issue17:49
loolI have a bunch of 5v adapter, but they don't fit   :-/17:50
loolAnd my universal one only does 4.5 and 6V tss17:51
ogrameh17:51
ograi bought one for the slug that luckily does 5V and is switchable to all kinds of power17:52
loolBah unfortunately, the OE patches are required to get EHCI working18:40
loolAnd I suspect their U-Boot patches are what I miss for mini USB18:40
ograyeah, the oe patches also add a lot to the framebuffer you need afaik18:44
loolIt seems there's a lot of work going on in display implementation; I don't really need any display right now18:44
loolI mostly care about USB18:44
ograhrm, weird, all mx51 patches are upstream but the configtool doesnt know about babbage18:46
* ogra is irritated18:46
loolOk at least I identified the minimal patch which fixes USB EHCI support for me18:59
loolNo luck with the OE musb OTG patch; I guess I need an OE uboot patch19:10
ogrameh19:12
ograits to bad that they kepp it all separated19:12
* ogra just noticed he made a total mess editing in the wrong dir :/19:13
ograhmm, i wonder how evil it is to build redboot with -fno-stack-protector ...21:12
ograweird, i wonder why the frescale default for bulding redboot is -mcpu=arm921:19
=== cbrake is now known as cbrake_away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!