01:25.25 | *** join/#uclibc xiangfu (~xiangfu@fidelio.qi-hardware.com) |
02:08.04 | *** join/#uclibc uwe_ (~uwe_@dslb-188-105-018-016.pools.arcor-ip.net) |
02:38.02 | *** join/#uclibc landley (~landley@cpe-24-27-31-176.austin.res.rr.com) |
04:35.05 | *** join/#uclibc mnt_real (~mnt_real@bas1-montreal43-2925386589.dsl.bell.ca) |
05:58.55 | *** join/#uclibc trollixx (~trollixx@95.81.0.149) |
06:49.59 | *** join/#uclibc ncopa (~ncopa@3.203.202.84.customer.cdi.no) |
07:29.46 | *** join/#uclibc Artemys (~quassel@stp25-2-82-234-232-91.fbx.proxad.net) |
07:38.04 | *** join/#uclibc dileks_ (~dileks@2001:4dd0:f889:0:205:4eff:fe46:b41f) |
07:47.18 | *** join/#uclibc Artemys (~quassel@stp25-2-82-234-232-91.fbx.proxad.net) |
07:58.11 | *** join/#uclibc smartin (52e7e007@gateway/web/freenode/ip.82.231.224.7) |
09:03.15 | CIA-19 | 03vda.linux 07master * rf85554c26525 10busybox/util-linux/mount.c: mount: free commented /etc/filesystems lines when we read it |
09:03.16 | CIA-19 | 03k.lewandowsk 07master * rb5ebe5fdb3a5 10busybox/util-linux/mount.c: mount: handle list of comma-separated fs types in -t option |
09:10.01 | *** join/#uclibc ncopa (~ncopa@3.203.202.84.customer.cdi.no) |
09:19.15 | CIA-19 | 03dan 07master * rf808e777db05 10busybox/miscutils/rx.c: rx: Fix file corruption with duplicate blocks |
09:20.12 | CIA-19 | 03vda.linux 07master * rf3efd3c2a08f 10busybox/miscutils/rx.c: rx: code shrink |
09:34.55 | *** join/#uclibc smartin (52e7e007@gateway/web/freenode/ip.82.231.224.7) |
09:37.24 | *** join/#uclibc risca (~risca@c-aef9e253.022-6-6e6b702.cust.bredbandsbolaget.se) |
10:15.31 | *** join/#uclibc dileks (~dileks@2001:4dd0:f889:0:205:4eff:fe46:b41f) |
10:20.26 | CIA-19 | 03dan 07master * r45cdf166dccb 10busybox/configs/android_defconfig: android build system updates |
10:40.52 | *** join/#uclibc fabled (~fabled@83.145.235.194) |
10:58.15 | *** join/#uclibc speakman (~daniel@unaffiliated/speakman) |
11:08.23 | *** join/#uclibc Snoken99 (~IceChat77@89-253-116-93.customers.ownit.se) |
11:22.59 | *** join/#uclibc ivob (~ivob@unaffiliated/tiny) |
11:24.04 | *** join/#uclibc bkuhn (~bkuhn@fsf/director/conservancy.president.bkuhn) |
11:36.11 | *** join/#uclibc NIN101 (~NIN101@2001:530::216:3cff:fe71:5e1e) |
11:56.47 | *** join/#uclibc Sulimo (~angel@host133-226-dynamic.10-87-r.retail.telecomitalia.it) |
12:23.20 | *** join/#uclibc y_morin (c1317c6b@gateway/web/freenode/ip.193.49.124.107) |
12:26.45 | *** join/#uclibc xiangfu (~xiangfu@61.49.254.218) |
12:29.31 | CIA-19 | 03vda.linux 07master * r9ce09bc9cb77 10busybox/ (include/libbb.h libbb/lineedit.c libbb/read_key.c): lineedit: add support for M-b, M-f, M-d, M-Backspace |
12:42.11 | speakman | Do anyone of you inhere use Buildroot for touchscreen based products? |
13:09.37 | gustavoz | speakman: what's up? |
13:13.52 | kos_tom | hello. |
13:14.07 | kos_tom | speakman: I did test Qt apps with touchscreen support yes. |
13:23.07 | *** join/#uclibc xiangfu (~xiangfu@fidelio.qi-hardware.com) |
13:50.11 | *** join/#uclibc ericbutters (~kuhne@business-213-023-195-122.static.arcor-ip.net) |
13:52.43 | ericbutters | hello. i use linux kernel 3.1.0 (CONFIG_USB_DEVICEFS) and buildroot-2011.08 with BR2_PACKAGE_USBUTILS and BR2_PACKAGE_LIBUSB. calling libusb_init returns -99 (LIBUSB_ERROR_OTHER). |
13:52.53 | ericbutters | anyone can help me out? |
13:53.04 | *** join/#uclibc ksx4system (~ksx4syste@46.105.166.112) |
13:55.46 | ericbutters | gustavoz not sure that it was you i wrote with regarding rt2870.bin --> i updated my linux kernel to 3.1.0 and now rt2x00 works! |
13:56.47 | gustavoz | ericbutters: yes it was me. regarding the usb issue, did you mount usbfs? |
13:58.10 | ericbutters | gustavoz hm.. i see /proc/bus/usb but i did not mount any usb things by myself.. how do i do that? |
13:58.46 | gustavoz | ericbutters: mount -t usbfs usbfs /proc/bus/usb |
13:59.49 | ericbutters | yay! nice. thats it! uclibc is a very good channel! i like it :) |
13:59.57 | ericbutters | thx |
14:15.24 | *** join/#uclibc xiangfu (~xiangfu@61.49.254.218) |
14:17.05 | *** join/#uclibc mnt_real (~mnt_real@bas1-montreal43-2925386589.dsl.bell.ca) |
14:27.22 | speakman | gustavoz: kos_tom: Just thinking of how to handle settings such as network settings. Have you implemented daemons talking through IPC for such purposes? |
14:27.45 | speakman | I'm currently just trying to run ifconfig on my GUI application. Ugly hack :( |
14:30.05 | kos_tom | you have a varying set of options |
14:30.13 | kos_tom | you can call ifconfig directly from your app. |
14:30.27 | kos_tom | you can borrow some ifconfig code into your app (beware of licensing issues) |
14:30.53 | kos_tom | or you can use something such as connman that you can talk with using dbus |
14:31.21 | speakman | I'm really looking forward for using connman. Too bad I'm just not got the time to implement it the way it should :( |
14:33.00 | *** join/#uclibc drwhom (~drwhom@2001:18e8:2:10f4:21e:4fff:fe17:94c0) |
14:35.21 | *** join/#uclibc antgreen (~user@bas3-toronto06-1176449448.dsl.bell.ca) |
14:38.20 | speakman | (as I'd really like to be a bigger part of the Buildroot development, but unfortently I'm alone on Linux development at this corp) |
14:40.22 | *** join/#uclibc avinashhm (~avinash-h@192.91.66.186) |
14:53.16 | mripard | speakman: I tried to pacakage connman this week end, unfortunately, the biggest problem yet is that it is hosted on kernel.org |
15:25.21 | *** join/#uclibc sixps (~joka@c-8f96e255.1610-12-64736c14.cust.bredbandsbolaget.se) |
15:32.11 | *** join/#uclibc tiny (~ivob@unaffiliated/tiny) |
15:33.11 | *** join/#uclibc landley (~landley@140.242.26.2) |
15:38.43 | *** join/#uclibc avinashhm (~avinash-h@192.94.92.14) |
15:43.22 | *** join/#uclibc trollixx (~trollixx@95.111.248.37) |
15:46.26 | *** join/#uclibc jacques_ (~fontenot@h40.18.172.72.dynamic.ip.windstream.net) |
15:46.26 | *** join/#uclibc jacques_ (~fontenot@nslu2-linux/jacques) |
15:54.06 | speakman | mripard: is? was? :) |
15:58.37 | mripard | speakman: well, should be :) |
15:58.56 | mripard | point is, I didn't find a tarball with the source release :) |
15:59.10 | speakman | lol ok :) |
15:59.40 | speakman | kernel.org is up again though http://git.kernel.org/?p=network/connman/connman.git;a=summary |
16:00.06 | kos_tom | not everything. |
16:00.16 | kos_tom | the git trees are, but not necessarily everything else. |
16:04.16 | speakman | I know. Too bad they didn't move to cgit for web interface. They did discuss it but it fell on gitweb again. Personally, I think cgit is way more user friendly than gitweb. |
16:09.23 | *** join/#uclibc trollixx (~trollixx@95.81.3.244) |
16:11.36 | *** join/#uclibc avinashhm (~avinash-h@192.94.92.11) |
16:14.32 | *** join/#uclibc mnemoc (~amery@shell.opensde.net) |
16:18.20 | *** join/#uclibc trollixx (~trollixx@95.81.3.244) |
16:24.47 | *** part/#uclibc sixps (~joka@c-8f96e255.1610-12-64736c14.cust.bredbandsbolaget.se) |
16:27.00 | *** join/#uclibc botao_sun (botao_sun@conference/ubuntudevelopersummit/x-huvnkpbsurlbuzav) |
16:27.01 | *** join/#uclibc botao_sun (botao_sun@linaro/botao-sun) |
16:33.18 | *** join/#uclibc linuxjacques (~weechat@nslu2-linux/jacques) |
16:37.05 | y_morin | mripard: hey! :-) connman in Debian: http://packages.debian.org/search?keywords=connman |
16:37.27 | y_morin | mripard: you can at least get a tarball for testing, until k.o is back on line... |
17:22.09 | *** join/#uclibc trollixx (~trollixx@95.81.3.244) |
17:25.20 | *** join/#uclibc basicer (~basicer@204.145.91.34) |
17:30.14 | *** join/#uclibc basicer (~basicer@204.145.91.34) |
17:30.36 | *** join/#uclibc basicer (~basicer@204.145.91.34) |
17:33.13 | *** join/#uclibc gustavoz (~gustavoz@host8.186-125-80.telecom.net.ar) |
17:47.24 | *** join/#uclibc Umeaboy (~Umeaboy@213-21-78-135.customer.t3.se) |
18:03.25 | *** join/#uclibc tiny (~ivob@unaffiliated/tiny) |
18:10.24 | *** join/#uclibc botao_sun (botao_sun@conference/ubuntudevelopersummit/x-vhjqazdgkehcsgxp) |
18:10.31 | *** join/#uclibc botao_sun (botao_sun@linaro/botao-sun) |
18:24.59 | Umeaboy | Is it possible to compile the latest kernel for the ARM-arch? |
18:25.17 | Umeaboy | I type make menuconfig & then go WHERE? |
18:51.54 | landley | umeaboy: you need an arm toolchain. |
18:52.04 | landley | That's a compiler/assembler/linker that produces arm output. |
18:52.19 | Umeaboy | OK. |
18:52.36 | Umeaboy | Would you mind helping me do this? I won't force you. |
18:52.38 | landley | I have one at http://landley.net/aboriginal/downloads/binaries/cross-compiler-armv5l.tar.bz2 |
18:52.40 | Umeaboy | I can google to. |
18:52.56 | Umeaboy | What about the armv7l then? |
18:53.00 | landley | You also need to configure your kernel for arm. Architecture selection is done on the command line. |
18:53.17 | landley | armv7 runs armv5 code the way i686 ran i386 code |
18:53.23 | Umeaboy | I want to try it in my Samsung Galaxy Tab P1000. |
18:53.35 | landley | But you can get an armv7 toolchain lots of places. Code sourcery usually has 'em for download, lemme see... |
18:53.57 | landley | (I've got one lying aroun dhere, I'm trying to dig up the URL I downloaded it from...) |
18:54.14 | landley | First pass just use the armv5 one, it'll run on your hardwrae. It just won't be fully optimized. |
18:54.31 | landley | To select arm architecture in the kernel, go "make ARCH=arm menuconfig". |
18:55.15 | landley | Then to tell it to use cross compiler to build an arm kernel, add the cross compiler's binary directory to your $PATH, and then set the CROSS_COMPILE= value to the toolchain prefix on the make command line. |
18:55.20 | landley | Here, I wrote a paper on this a while ago... |
18:55.58 | landley | http://landley.net/writing/docs/cross-compiling.html |
18:56.31 | Umeaboy | landley: Doesn't kernel.org's git have a cross-compiler? |
18:56.39 | landley | This is a bit stale, but might help too: http://landley.net/ols/ols2007/tutorial.txt (Outline for a cross compilng tutorial I gave back in 2007.) |
18:56.58 | landley | umeaboy: cross compilers are a tool the kernel build uses. |
18:57.30 | landley | There are cross compilers that produce arm output, mips output, powerpc output, sparc output, sh4 output, cris output, ia64 output, s390 output, m68k output... |
18:57.37 | landley | And about 20 others that Linux supports. |
18:58.08 | landley | Plus _within_ an architecture, you have armv4-oabi, armv4tl-eabi, armv5l, armv6l, armv7l, and last week armv8l was released. |
18:58.16 | landley | Plus you have soft float, vfp, neon... |
18:58.22 | landley | Thumb and Thumb2 extensions. |
18:58.27 | Umeaboy | OK. |
18:58.34 | Umeaboy | So first off, I do WHAT? |
18:58.37 | landley | Oh, and the "l" on all those stands for "little endian". There are a couple of "b" variants in use on arm too... |
18:58.50 | landley | Tell you what, I did a presentation. |
18:59.02 | landley | 260 slides. Assuming you have no background in this at all. (Well, _trying_ to assume that...) |
18:59.24 | landley | http://speakerdeck.com/u/mirell/p/developing-for-non-x86-targets-using-qemu |
18:59.40 | Umeaboy | OK. |
18:59.44 | landley | If you want to understand cross compiling in general, read that. |
18:59.54 | Umeaboy | Can't I compile something directly in the Tab? |
18:59.57 | landley | If you just want to do something specific (build a kernel, it sounds like), I can give you the magic incantation. |
19:00.06 | landley | umeaboy: natively? Sure. |
19:00.16 | landley | http://landley.net/downloads/binaries/extras/native-compiler-armv5l.tar.bz2 |
19:00.16 | Umeaboy | I'd like to do that. |
19:00.28 | Umeaboy | But for armv7l then? |
19:00.40 | landley | Or grab the "root-filesystem-armv5l.tar.bz2" in the same directory, extract it and chroot into it, and build in there. |
19:00.44 | landley | I've got armv6l. |
19:00.59 | landley | armv5l is the "pentium of arm". I use that by default because it pretty much runs everywhere, at reasonable performance. |
19:00.59 | Umeaboy | OK. |
19:01.23 | landley | The problem is versions of gcc supporting armv7l got released after the switch to gplv3. |
19:01.33 | landley | I've built 'em here, but don't distribute the resulting binaries because I don't want to get any of that on me. |
19:02.30 | landley | Code Sourcery might ship them. And you can get them from crosstool-ng and such, although I find that beating a working toolchain out of that thing is a painful waste of an entire afternoon and I've been doing it for years... |
19:02.32 | Umeaboy | http://landley.net/hg/control-images/ ? |
19:03.06 | landley | umeaboy: those are bundles of source code and shell scripts that automate package builds. |
19:03.33 | landley | You can plug them into my aboriginal linux root filesystem and they'll run the code out of there instead of booting to a shell prompt. |
19:03.44 | landley | The most interesting one of those builds the whole of linux from scratch, automatically. |
19:03.57 | landley | Good regression testing for a build environment, that. :) |
19:07.12 | landley | umeaboy: if you want to understand this, I'd read http://landley.net/writing/docs/cross-compiling.html first, then http://speakerdeck.com/u/mirell/p/developing-for-non-x86-targets-using-qemu |
19:07.17 | Umeaboy | This sounds TO much for me right now. |
19:07.21 | landley | Understood. |
19:07.35 | landley | Download the cross compiler I pointed to above, add its' "bin" directory to your $PATH. |
19:07.38 | Umeaboy | I prefer using one instructrion at a time. |
19:08.08 | Umeaboy | Well............why won't the current gcc-c++ compiler do? |
19:08.15 | landley | Look for defconfig names in arch/arm/configs and pick one you like, then "make ARCH=arm blah_defconfig" with that name. |
19:08.39 | landley | Then "make ARCH=arm CROSS_COMPILE=armv5l-" and let it run to completion. |
19:09.01 | landley | (The trailing - on the prefix is important, otherwise it'll try to use "armv5lgcc" and "armv5lstrip" and such instead of "armv5l-gcc". |
19:09.24 | landley | When you're done, you should have a kernel in arch/arm/boot |
19:09.52 | landley | Note that if you want it to boot via u-boot there's an extra step. (Install mkuboot and tell it to build "uImage" instead of the default target.) |
19:10.03 | landley | The reason the current gcc won't do is it produces x86 output. |
19:10.08 | landley | You need something to produce arm output. |
19:10.16 | Umeaboy | Can't use a flag? |
19:10.42 | landley | Notice you can't just REPLACE your existing compiler because it still has to build things like the menuconfig binaries to run on the host system. |
19:11.26 | landley | Umeaboy: a version of gcc that produced output for 30 different hardware targets would be a couple gigabytes in size. |
19:11.47 | landley | Plus it would have 30 different copies of all the header files and things like libgcc and crt1.o |
19:12.03 | landley | Plus it would need to hook up to 30 different copies of the C library (glibc, uClibc, etc.) |
19:12.31 | landley | So no, you need a separate compiler that produces arm output. |
19:12.39 | Umeaboy | UHU. |
19:13.54 | Umeaboy | http://landley.net/downloads/binaries/extras/native-compiler-armv5l.tar.bz2 doesn't work. |
19:14.17 | Umeaboy | Not Found |
19:14.18 | Umeaboy | The requested URL /downloads/binaries/extras/native-compiler-armv5l.tar.bz2 was not found on this server. |
19:14.18 | Umeaboy | Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
19:17.28 | landley | http://landley.net/aboriginal/downloads/binaries/cross-compiler-armv5l.tar.bz2 |
19:17.46 | landley | Sorry, forgot a bit when I typed it form memory, that's cut and paste from the link. |
19:21.50 | Umeaboy | hehehehe |
19:21.55 | Umeaboy | No worries. |
19:22.30 | Umeaboy | So I place all the unzipped content on the SD-card & then.................? |
19:22.41 | Umeaboy | make menuconfig in the tablet? |
19:25.28 | Umeaboy | landley: ^^ |
19:25.56 | Umeaboy | I really suck at compiling like this so I need to take it slowly. |
19:27.56 | Umeaboy | Is THIS useful somehow? http://git.kernel.org/?p=linux/kernel/git/maz/arm-platforms.git;a=summary |
19:28.07 | Umeaboy | Or is this something else? |
19:29.17 | landley | Did you read the intro to cross compiling document? |
19:29.27 | landley | Which explains cross compiling vs native compiling... |
19:42.34 | Umeaboy | Nope. I don't like reading a thousand high-tech dev-pages. |
19:43.16 | Umeaboy | I prefer compiling it nice and neat with just a couple of commands......like ./autogen.sh & then ./configure & then make & make install as root. |
19:45.28 | *** join/#uclibc luneff (~yury@84.51.211.95) |
19:57.46 | Umeaboy | landley: Hmmmmmmmmmmmmmmmmm. The transfer of that file no matter what I try fails. |
19:58.31 | landley | Umeaboy: I just wget http://landley.net/aboriginal/downloads/binaries/cross-compiler-armv5l.tar.bz2 and it worked fine for me. |
19:59.22 | Umeaboy | landley: I'm not talking about downloading to my computer. |
19:59.22 | landley | Umeaboy: so you don't want to actually understand what you're doing, you just want to use a prepackaged solution. |
19:59.28 | Umeaboy | That works fine. |
19:59.39 | Umeaboy | Just when extracting this file to the SD-card. |
19:59.43 | landley | So when you say "transfer of that file"... |
20:00.02 | landley | Extracting which file? |
20:00.15 | Umeaboy | THAT file. |
20:00.27 | landley | Why are you trying to extract a cross compiler to an SD card? |
20:00.29 | Umeaboy | The native compiler. |
20:00.46 | landley | Ah, the binaries/extras/native-compiler-armv5l.tar.bz2 thing? |
20:00.48 | *** join/#uclibc y_morin (~ymorin@ARennes-256-1-27-159.w90-32.abo.wanadoo.fr) |
20:00.50 | Umeaboy | Well, how else do I do this in my tablet if it's not extracted? |
20:01.34 | Umeaboy | Yes. |
20:01.38 | landley | http://busybox.net/downloads/binaries/latest/busybox-armv5l |
20:01.48 | landley | It contains "tar", "gzip", and "bzip2". |
20:02.18 | landley | Is there enough _space_ on your sd card? |
20:02.21 | Umeaboy | Would it be wrong to use THIS instead? http://busybox.net/downloads/binaries/latest/busybox-armv6l |
20:02.24 | Umeaboy | 6 is closer to 7. |
20:02.29 | landley | Do you have write permission to your sd card as the user you're trying to extract the tarball as? |
20:02.40 | landley | Umeaboy: the difference is a rounding error, but sure, go ahead. |
20:02.49 | Umeaboy | I think so yes. |
20:03.01 | landley | "Can I use i686 code on my Core 2 duo instead of i586 code"? Yes, yes you can... |
20:03.13 | landley | The performance difference can't be detected with the hubble telescope, but go for it. |
20:03.38 | landley | (It goes to 11. Because 11 is one greater.) |
20:13.37 | Umeaboy | Hmmmmmmmmm. I've downloaded that bin-file now & it's in my SD-card & the SD-card is mounted in my tab. |
20:13.50 | Umeaboy | Opening Terminal Emulator. |
20:14.29 | Umeaboy | landley; Now what? |
20:15.56 | Umeaboy | I wrote cd /sdcard & cd /external_sd |
20:15.57 | landley | Well, if you extracted the root-filesystem tarball chroot into it running /sbin/init.sh to do basic setup, and then build stuff. If you extracted the cross-compiler tarball chroot into it and add its "bin" directory to your $PATH, then build stuff. (Statically linked anyway, dynamically linked involves adding its shared libraries to your host system which is a couple extra steps.) |
20:16.02 | landley | Kernel's fine with static linking though. |
20:16.10 | Umeaboy | Uuuuuuuuuuuhm .I didn't do that. |
20:16.23 | landley | You have the tarball on the sdcard? And the busybox binary? |
20:16.37 | landley | chmod +x busybox-armv5l |
20:16.42 | Umeaboy | The tar-ball isn't in the SD-card. |
20:16.49 | landley | then ./busybox-armv5l tar xvjf thetarball.tar.bz2 |
20:16.52 | Umeaboy | Let me transfer it. |
20:16.57 | landley | But most likely the reason you couldn't extract it earlier is you ran out of space. |
20:16.59 | Umeaboy | IF it works. |
20:17.06 | landley | Although you never did say why it failed, so I'm just guessing there. |
20:17.27 | Umeaboy | Nope. The error didn't say that I was out of space. |
20:17.51 | Umeaboy | Connecting the tablet with the SD-card to my desktop. |
20:17.53 | Umeaboy | Hold on. |
20:26.18 | *** join/#uclibc NIN101 (~NIN101@2001:530::216:3cff:fe71:5e1e) |
20:27.39 | landley | Umeaboy: would you like me to make more guesses about what the error said? |
20:28.09 | landley | You're having a problem roughly equivalent to "I can't copy this file onto this floppy". |
20:32.45 | *** join/#uclibc botao_sun (botao_sun@conference/ubuntudevelopersummit/x-tmfuzfifvtscdkdm) |
20:32.45 | *** join/#uclibc botao_sun (botao_sun@linaro/botao-sun) |
20:35.20 | *** join/#uclibc x-fak (~WinGuru@ANancy-554-1-36-92.w90-40.abo.wanadoo.fr) |
20:35.22 | Umeaboy | I've transfered all the needed files now. |
20:35.32 | *** join/#uclibc x-fak (~WinGuru@reactos/tester/x-fak) |
20:36.05 | Umeaboy | busybox |
20:36.10 | Umeaboy | cross-compiler |
20:36.15 | Umeaboy | root-filesystem |
20:36.20 | Umeaboy | Now what? |
20:36.32 | Umeaboy | landley: ^^ |
20:36.52 | Umeaboy | I am root in Terminal Emulator now. |
20:46.44 | Umeaboy | Doing that command with chmod says Bad mode in return. |
20:47.29 | Umeaboy | id shows |
20:47.45 | Umeaboy | uid=0(root) gid=0(root) |
20:47.45 | landley | bad mode? |
20:47.51 | landley | What filesystem are you using on the sd card? |
20:48.03 | Umeaboy | Have to check. |
20:48.50 | Umeaboy | How do I get properties of the SD-card? |
20:49.04 | landley | df . |
20:49.07 | landley | or cat /proc/mounts |
20:49.13 | Umeaboy | Right. |
20:49.59 | Umeaboy | tmpfs AFAICS. |
20:50.13 | Umeaboy | ro-flag thou. |
20:50.32 | landley | So you're attempting to modify a read only filesystem. |
20:50.34 | Umeaboy | umount /mnt/sdcard |
20:50.37 | landley | That's not going to work. |
20:50.43 | landley | mount -o remount,rw /mnt/sdcard |
20:50.50 | Umeaboy | OK. |
20:50.57 | landley | tmpfs has no backing store. |
20:51.00 | landley | It can't be a tmpfs. |
20:51.06 | landley | That's a ram backed filesystem. |
20:51.52 | landley | http://landley.livejournal.com/52326.html |
20:52.58 | Umeaboy | /mnt/sdcard has vfat as filesystem. |
20:53.14 | landley | ok. That doesn't store full unix permissions. |
20:53.59 | landley | You can try running busybox off of it, because the executable bit might be hardwired on always. |
20:54.18 | landley | But extracting the compiler onto there might not give you something you can run, because vfat doesn't store all the data quite right. |
20:54.25 | landley | Dunno, haven't tried it. |
20:54.40 | landley | At least they fixed the 8.3 filename thing. |
20:54.51 | landley | I don't think it needs upper and lowercase versions of the same file (which vfat also can't store). |
20:56.03 | Umeaboy | landley 1.19.0 is installed of busybox in this tablet any way. |
20:56.15 | Umeaboy | I had to install it to root this device. |
20:56.20 | Umeaboy | So what's next? |
20:56.20 | landley | You should be able to tar extract using the host tools then. |
20:56.40 | landley | The _easy_ thing to do is wget root-filesystem-armv6l.tar.bz2 and chroot into that. |
20:57.01 | Umeaboy | landley: Que? |
20:57.06 | *** join/#uclibc antgreen (~user@bas3-toronto06-1176449448.dsl.bell.ca) |
20:57.15 | Umeaboy | wget? |
20:57.16 | Umeaboy | OK. |
20:57.26 | landley | The less easy thing to do is extract cross-compiler-armv6l.tar.bz2 and export PATH=/path/to/cross-compiler-armv6l/bin:$PATH |
20:57.44 | landley | Then "gcc -static hello.c" to make sure it works, using a standard helloworld program. |
20:57.55 | landley | What are you trying to _accomplish_, anyway? |
20:57.57 | landley | Build a kernel? |
20:58.12 | Umeaboy | Yes, natively. |
20:58.37 | landley | You'll have to build and install ncurses to be able to run menuconfig, or you can copy a .config file off another machine. |
20:58.44 | landley | But you should be able to build with that toolchain, yes. |
20:58.52 | landley | Assuming you have enough memory and free disk space. |
20:59.04 | Umeaboy | OK. |
20:59.08 | landley | I don't think you even have to specify ARCH=arm, it should autodetect it when building natively... |
20:59.13 | Umeaboy | 18 GB of free space in the tablet. |
20:59.21 | landley | (Haven't tried that on arm, but I think that's correct.) |
20:59.34 | landley | Should be plenty, you need something like 300 megs. |
21:00.22 | *** join/#uclibc svolpe (~Gerrath@unaffiliated/gerrath) |
21:00.25 | Umeaboy | Sorry. /mnt/sdcard (the internal sdcard) has12 GB in size. |
21:01.13 | Umeaboy | 12,9 GB to be exact. |
21:01.15 | Umeaboy | 12 GB free. |
21:01.52 | Umeaboy | Sooooo. wget root-filesystem-armv6l.tar.bz2 now? |
21:07.33 | *** join/#uclibc avinashhm (~avinash-h@192.94.92.11) |
21:14.13 | Umeaboy | landley: I hace flags for ARM in gcc-c++. ;) |
21:14.17 | Umeaboy | <PROTECTED> |
21:14.17 | Umeaboy | <PROTECTED> |
21:14.17 | Umeaboy | <PROTECTED> |
21:14.17 | Umeaboy | <PROTECTED> |
21:14.20 | Umeaboy | <PROTECTED> |
21:14.23 | Umeaboy | <PROTECTED> |
21:14.26 | Umeaboy | <PROTECTED> |
21:14.31 | Umeaboy | <PROTECTED> |
21:14.37 | Umeaboy | hehehehe |
21:42.33 | landley | Umeaboy: feel free to use that then. I dunno what your existing compilers are... |
22:11.58 | Umeaboy | landley: I only use gcc-c++ to compile things. |
23:01.17 | *** join/#uclibc xiangfu (~xiangfu@61.49.254.218) |
23:16.57 | *** join/#uclibc bkuhn (~bkuhn@fsf/director/conservancy.president.bkuhn) |