**** BEGIN LOGGING AT Tue Feb 07 02:59:58 2012 Feb 07 04:28:14 hi there :) i bump into a problem building linux kernel for arm xilinx,can anyone help me? Feb 07 05:17:34 hi there guy, i needs some help please.sorry but i am new in this area Feb 07 05:17:57 ur help would be greatly appreciated ,thank you Feb 07 05:19:02 Im building a linux kernel Feb 07 05:19:26 this the error i have,please show my mistake Feb 07 05:19:38 nidsub-VirtualBox:/opt/codesourcery/linux-2.6-xlnx$ sudo make ARCH=arm Feb 07 05:19:38 scripts/kconfig/conf --silentoldconfig Kconfig Feb 07 05:19:38 CHK include/linux/version.h Feb 07 05:19:38 UPD include/linux/version.h Feb 07 05:19:38 CHK include/generated/utsrelease.h Feb 07 05:19:39 UPD include/generated/utsrelease.h Feb 07 05:19:41 Generating include/generated/mach-types.h Feb 07 05:19:45 CC kernel/bounds.s Feb 07 05:19:47 cc1: error: unrecognized command line option ‘-mlittle-endian’ Feb 07 05:19:49 cc1: error: unrecognized command line option ‘-mno-thumb-interwork’ Feb 07 05:19:51 kernel/bounds.c:1:0: error: unknown ABI (aapcs-linux) for -mabi= switch Feb 07 05:19:53 kernel/bounds.c:1:0: error: bad value (armv5t) for -march= switch Feb 07 05:19:55 make[1]: *** [kernel/bounds.s] Error 1 Feb 07 05:19:57 make: *** [prepare0] Error 2 Feb 07 05:23:52 here the detail on the step i took ..from this webpage Feb 07 05:24:07 http://wiki.xilinx.com/zynq-linux Feb 07 05:24:10 nidsub: you need to learn about a pastebin Feb 07 05:24:14 !pastebin | nidsub Feb 07 05:24:15 nidsub: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. Feb 07 05:25:00 ohh, im really sorry Feb 07 05:25:39 :( sorry guys Feb 07 05:32:05 http://paste.ubuntu.com/832267/ Feb 07 15:44:27 XavB: thanks for your help the other day, my board has been running flawlessly since installing the arm-extras :-) Feb 07 15:44:52 XavB: yeah !!! Feb 07 15:45:17 Person987: so you are running the 3.1 kernel, right? Feb 07 15:45:29 how can I check? :-) Feb 07 15:45:55 uname -a returns Linux ubuntu-desktop 3.1.0-1282-omap4 #10 ... Feb 07 15:47:14 XavB: yes, thats it. It was locking up every 30min and since upgrading it has not had a single problem. I even left my OpenGL app running all day when I went to work and it was still running that night. Feb 07 15:48:24 Person987: just perfect... :D Feb 07 15:48:29 XavB: just ordered another board for my dad's birthday :-) Feb 07 15:48:51 ;) Feb 07 15:53:05 PePe Feb 07 17:14:58 GrueMaster: around? Feb 07 17:15:29 Very much so, sadly. Need to lose weight. Feb 07 17:15:39 Oh, you meant something else? Feb 07 17:15:52 GrueMaster: I got a second usb serial cable Feb 07 17:16:16 GrueMaster: I have the same issue as well, not being able to hook on to the serial port Feb 07 17:16:27 GrueMaster: stty hangs Feb 07 17:16:30 Very odd. Feb 07 17:17:11 I have not seen that issue and I have 7-8 usb-serial cables (I lost track). Feb 07 17:17:32 Do you have any other serial devices you can test that cable with? Feb 07 17:17:33 GrueMaster: baud_rate = baud_base / divisor? Feb 07 17:17:53 Not that I know of. Feb 07 17:17:55 I just pulled an ancient desktop I have Feb 07 17:18:25 I am seeing if it will boot of a USB flash drive Feb 07 17:18:28 You will need a crossover to connect to a regular desktop. Feb 07 17:18:47 (or are you trying it as a host?) Feb 07 17:18:54 trying it as a host Feb 07 17:19:06 let it export serial console Feb 07 17:19:13 see if I can connect to it Feb 07 17:19:43 I am wondering if setserial for some reason isnt detecting pl2303 Feb 07 17:20:09 I tried my second laptop booting lucid Feb 07 17:20:14 I have the same issue with it as well Feb 07 17:20:15 I don't see why it would have issues. Works fine here on all my systems from Lucid forward. Feb 07 17:20:30 That is disturbing. Feb 07 17:21:18 Bus 005 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Feb 07 17:21:22 from lsusb Feb 07 17:21:29 Most of the usb serial cables I have are from Trendnet. I also have 1 4-port usb-serial cable. All of them use the pl2303 chip. Feb 07 17:22:07 the keyspan which I borrowed works right out of the box Feb 07 17:22:19 I think I will order another cable Feb 07 21:18:32 plop Feb 07 21:19:27 janimo, I've been pointed to your package of the linux 3.0.19 kernel for arm, and wanted to give it a try ; it's unfortunately an armel package -- could you also provide an armhf variant? Feb 07 21:19:47 (I'm now subscribed to the mailing-list, so will follow there...) Feb 07 21:20:33 mailing list? Feb 07 21:22:42 pbuckley, https://launchpad.net/~ac100 Feb 07 21:23:03 ah cool thanks Feb 07 21:25:52 pbuckley, no problem ; I wasn't on that team 15min ago ;-) Feb 07 21:27:25 thihttp://www.engadget.com/2010/06/21/toshibas-ac100-8-hour-smartbook-runs-android-2-1-on-a-1ghz-tegr/ Feb 07 21:27:27 this the device? Feb 07 21:28:07 pbuckley, yes Feb 07 21:28:22 the android was a joke, and killed the device commercially Feb 07 21:28:47 i would love to find a tegra3 board Feb 07 21:29:11 (besides the tf201) Feb 07 21:35:57 GrueMaster: in hiding? Feb 07 21:43:10 dioxin: Nope, just back from lunch. Feb 07 21:44:04 GrueMaster: would you be able to guide me in the ways of local repositories? I've got ubuntu 10.04 on the spare box, just doing first round of updates now Feb 07 21:46:36 dioxin: Here is my ubumirror.conf: http://paste.ubuntu.com/833211/ Feb 07 21:47:24 With that, you just add a crontab job for the specific ubumirror app you want to run (ubuports for ports.ubuntu.com). Feb 07 21:50:51 can I just sudo apt-get install ubuports ? Feb 07 21:51:36 dioxin: sudo apt-get install ubumirror. ubuports is one script in the package. The package isn't very big. Feb 07 21:52:14 My cron job is: Feb 07 21:52:14 cat /etc/cron.d/ubumirror Feb 07 21:52:14 # Update archive mirror every two hours. Feb 07 21:52:14 0 */2 * * * root /usr/bin/ubuports >> /var/log/ubumirror/cron.log Feb 07 21:52:45 postfix local only? Feb 07 21:52:51 (from install of ubumirror) Feb 07 21:53:19 The /var/log/ubumirror/cron.log file only traps output from the cron job. ubuports (and all of the other ubu scripts) create their own logs in the same directory. Feb 07 21:53:42 postfix local (unless you want it to run a larger mail server). Feb 07 21:54:50 ubumirror scripts use that to send failure notices. Feb 07 21:57:04 where does the ubumirror.conf go? /usr/bin/ubuports ? Feb 07 21:57:33 I recommend using my ubumirror.conf and change the destination paths appropriate to your environment. Mine is set to ignore everything except armel/armhf on ports.ubuntu.com. It also pulls the daily arm images from cdimage.ubuntu.com (using ubucdimage script), but I don't recommend it as it can be slow. Better to use zsync and pull as needed. Feb 07 21:57:46 ubumirror.conf goes in /etc Feb 07 21:58:11 See dpkg-query -L ubumirror for all the file locations. Feb 07 21:58:39 done it in the /etc/ directory Feb 07 21:59:32 ... only need to wait 1 minute... Feb 07 21:59:44 changed the 2 to a 1 Feb 07 21:59:56 My conf file does not mirror the source files, but it does get everything needed for netboot install. First run will take several hours (like overnight). Feb 07 22:00:15 how can I tell its running? ps -U root ? Feb 07 22:00:21 I found that every 2 hours is enough. Feb 07 22:00:37 ps ax|fgrep rsync Feb 07 22:00:51 Or tail -f /var/log/ubumirror/ubuports.log Feb 07 22:02:41 GrueMaster: my kernel compile finally finished ;) Feb 07 22:02:58 only took 7 hours Feb 07 22:03:00 pbuckley: Cool. how long did it take? Feb 07 22:03:24 went alot faster after i shutdown firefox Feb 07 22:03:39 about to boot it.. hopefully those patches help Feb 07 22:08:19 next time ill be sure to turn off that kernel hacking debug stuff Feb 07 22:08:33 GrueMaster: I'm getting errors that /server/mirrors/linux-distro blahblah no such file or directory Feb 07 22:09:20 Yea, those paths are on my mirror. You need to edit /etc/ubumirror.conf and change all /server/mirror paths to something sane on your server. Feb 07 22:10:49 My server has 4 partitions: /server/data /server/mirror /server/media /server/roots. I doubt your system will be the same. Feb 07 22:11:36 Once you have the mirror, it will look like /ports.ubuntu.com/ubuntu-ports/* Feb 07 22:11:39 I've just added /server/mirror/linux-distros/Ubuntu/ports.ubuntu-com/ubuntu-ports :D Feb 07 22:12:04 Well, copy exact is one way to go. :P Feb 07 22:13:34 I've just built the box specially for this task, it dont really matter :D Feb 07 22:13:42 On my system, in my www directory (created by the web server), I have a symlink to /server/mirror/linux-distros/Ubuntu/ports.ubuntu-com/ubuntu-ports. That way, the mirror resolves to http:///ubuntu-ports, which makes changing the sources.list easier. Feb 07 22:14:47 I guess I have to sort out the symlink for the apache later..... Feb 07 22:17:44 ok I think I just added the symlink :D Feb 07 22:40:32 GrueMaster: do you guys have a x86 >> armv7 cross compiler up and running yet? Feb 07 22:41:21 dioxin: on x86 host just apt-get install g++-arm-linux-gnueabi Feb 07 22:41:38 What he said. :P Feb 07 22:42:43 kk I might have to try that once I get my hexa server back up and running :D Feb 07 22:43:10 it really needs the other CPU tho :( Feb 07 22:43:22 soon my precious! SOOOOON Feb 07 22:43:28 heh Feb 07 22:44:11 is distributed compilation supported out of the box for x86 to arm? Feb 07 22:44:29 (me nub, be gentle) Feb 07 22:49:17 I have no idea. Usually, cross compiling is only recommended for small projects or projects that don't do any post-compile processing (like running unit tests, etc). Feb 07 22:49:45 And those projects normally fail on a distcc type environment anyways. Feb 07 22:50:47 boo :( Feb 07 22:51:11 I've got soooo much x86 horse power available :( Feb 07 22:53:11 dioxin: unless you are doing a really really really big compile, simply have a dual core box and passing a -j4 to make will be plenty Feb 07 22:53:48 dioxin: i can do a complete android build in under 20 minutes on a dual core 2ghz box Feb 07 22:54:59 I've a 2.4 Ghz Hex core with hyperthreading ... so I might be able to do that in 3 minutes :) Feb 07 22:55:11 I was expecting a full build to take much longer Feb 07 23:31:58 GrueMaster: how do I tell the repo is completely downloaded.... the sync stopped running.... Feb 07 23:32:51 sudo /usr/bin/ubuports & stopped almost immediately... Feb 07 23:32:55 On your arm system, edit /etc/sources.list to point to it instead of ports.ubuntu.com and run apt-get update for starters. Feb 07 23:33:29 Also, check the ubumirror logs (/var/log/ubumirror/ubuports.log.* Feb 07 23:33:34 ) Feb 07 23:36:19 kk its running again, I'll check properly in the morning Feb 07 23:36:23 night peeps Feb 07 23:39:13 night Feb 08 00:11:22 for compiling on panda, mount /tmp as tmpfs definitely seems like a win Feb 08 00:12:11 (vs having it write out to an sd card as in my setup) Feb 08 00:19:22 yes, that also helps. :P Feb 08 00:19:41 Although a USB drive is still better overall. Feb 08 00:20:09 yeh.. ill bring one in tomorrow Feb 08 00:20:16 was hoping to be able to survive off just the sd Feb 08 00:20:27 but thats not really being realistic at this point Feb 08 00:20:49 might try the iscsi thing tonight Feb 08 00:20:55 Personally, I think the SD is good for running shiny demos. Not really fast enough for serious development work. Feb 08 00:21:18 NFS-Root also works w/o the iSCSI overhead. Feb 08 00:21:19 aye.. i think my experience agrees with your statement Feb 08 00:21:36 k.. ill try that first Feb 08 00:21:38 thank you :) **** ENDING LOGGING AT Wed Feb 08 02:59:57 2012