# 01:35:01 |
bhundven|afk |
is now known as: bhundven |
# 04:18:22 |
bhundven |
is now known as: bhundven|afk |
# 06:45:46 |
madmac2501_ |
joins #crosstool-ng |
# 06:49:05 |
madmac2501_ |
quits : Client Quit |
# 07:30:49 |
sspiff |
quits : Ping timeout: 246 seconds |
# 07:34:09 |
sspiff |
joins #crosstool-ng |
# 07:44:39 |
y_morin |
joins #crosstool-ng |
# 08:10:19 |
smartin_ |
joins #crosstool-ng |
# 08:20:52 |
ssspiff |
joins #crosstool-ng |
# 08:21:11 |
sspiff |
quits : Ping timeout: 256 seconds |
# 09:40:12 |
jf1976 |
Q). if i have a kernel-2.6.8.1-config uClibc-0.9.27.1-config busybox-config whats the simplest / quickest way to build a toolchain based on these files?, the closest sample is mips-unknow-linux-uclibc/ only i would like to get as much of the required info from the source makefiles(-config), thanks. |
# 09:40:57 |
Net147 |
joins #crosstool-ng |
# 09:42:18 |
jf1976 |
i need the toolchain built as close to the original as possible for now. the source im using is here :- http://btsupport.custhelp.com/app/answers/detail/a_id/36856/c/5703 |
# 09:44:45 |
jf1976 |
is for a BT Home Hub 1.0 and 1.5 (6.2.2.6) - http://wiki.openwrt.org/toh/bt/homehub_v1 - Broadcom BCM96348@256MHz |
# 09:52:31 |
jf1976 |
the GCC-Version i think is 3.4.2, and binutils-2.13.1 |
# 10:15:15 |
Ko_deZ |
joins #crosstool-ng |
# 10:20:02 |
Dyblast1 |
joins #crosstool-ng |
# 10:20:18 |
Dyblast1 |
Hi |
# 10:21:28 |
Ko_deZ |
Hi all. I am trying to do some profiling of an application I am writing for a powerpc embedded system. When I add -pg, I get a strange message that I have been unable to find useful info on using google: |
# 10:21:56 |
Ko_deZ |
relocation error: vbi: symbol _mcount, version GLIBC_2.0 not defined in file libc.so.6 with link time reference |
# 10:22:07 |
Ko_deZ |
Any ideas? |
# 10:22:25 |
Dyblast1 |
I see there is i686-pc-mingw32 target but not for x86_64, is there a trick or is not supported? |
# 10:25:44 |
kos_tom |
jf1976: building with kernel headers 2.6.8 is going to be difficult because this kernel version does not have "make headers_install". They are tarball of sanitized kernel headers for 2.6.8, but it is no longer supported by crosstool-ng. |
# 10:26:24 |
kos_tom |
jf1976: I would rather recommend to upgrade your entire userspace rather than trying to get a toolchain that will work, which will take you days and days... to have at the end something that is crappy. |
# 10:48:16 |
jf1976 |
soz was away, |
# 10:50:25 |
jf1976 |
im looking for a way to compile / cross compile for a device and my limited understanding is that i need the correct gcc kernel a libs to do this? the kernel source i want to use it local within a tar.tar and i also have a uClibc version along with other source.. |
# 10:51:20 |
jf1976 |
should i just build for mips-unknown-linux-uclibc or should i customise for my required versions ? |
# 10:52:26 |
jf1976 |
it local should be :- is local. ie. i have it ;) |
# 11:04:12 |
jf1976 |
if you wanted to check the source it is available here : - http://btsupport.custhelp.com/app/answers/detail/a_id/36856/c/5703 |
# 11:50:46 |
y_morin |
quits : Remote host closed the connection |
# 12:00:31 |
ssspiff |
quits : Remote host closed the connection |
# 12:01:22 |
sfan5|OFF |
is now known as: sfan5 |
# 12:10:43 |
Dyblast1 |
quits : Quit: Leaving. |
# 12:10:54 |
Dyblast1 |
joins #crosstool-ng |
# 12:11:12 |
Dyblast1 |
quits : Client Quit |
# 12:11:46 |
diorcety |
joins #crosstool-ng |
# 12:12:34 |
diorcety |
I re-ask: i see there is i686-pc-mingw32 target but not for x86_64, is there a trick or is not supported? |
# 12:20:31 |
Kasreyn |
first working kernel with crosstool-NG :) "Linux version 2.6.19.7 (i@Ildjarn) (gcc version 4.6.3 (crosstool-NG 1.16.0) ) #24 PREEMPT Tue Oct 23 14:17:32 CEST 2012" |
# 12:22:27 |
Kasreyn |
also managed to patch out some dirty because-i-use-obsolete-compiler hacks from the kernel source |
# 12:27:03 |
kos_tom |
diorcety: I haven't heard people talking about mingw32 support for x86-64, so maybe someone needs to work on this in ct-ng. |
# 12:27:38 |
diorcety |
kos_tom: Ok so my work is not useless |
# 12:28:26 |
diorcety |
kos_tom: i have succeed (quite easily) |
# 12:28:41 |
kos_tom |
diorcety: then, send patches and details on the crosstool-ng mailing list. |
# 12:33:42 |
diorcety |
kos_tom: ok thx |
# 13:18:58 |
Net147 |
quits : Quit: Want to be different? Try HydraIRC -> http://www.hydrairc.com <- |
# 13:46:36 |
alan_o |
joins #crosstool-ng |
# 14:51:25 |
bhundven|afk |
is now known as: bhundven |
# 15:49:25 |
alan_o |
quits : Ping timeout: 256 seconds |
# 16:01:58 |
alan_o |
joins #crosstool-ng |
# 16:24:36 |
diorcety |
quits : Quit: Leaving. |
# 16:52:08 |
y_morin |
joins #crosstool-ng |
# 17:18:48 |
bhundven |
yann domination! |
# 17:18:52 |
bhundven |
changes his name to yann |
# 17:35:52 |
y_morin |
bhundven: Woot! ;-) |
# 17:36:29 |
y_morin |
Are should I say 'Yann' ? ;-) |
# 17:36:57 |
y_morin |
(Or should I...) |
# 17:37:24 |
y_morin |
bhundven: in the past, there was the Eric Conspiracy Secret Labs: http://www.catb.org/~esr/ecsl/ |
# 17:43:18 |
bhundven |
yea |
# 17:43:25 |
bhundven |
hehe, ycsl |
# 17:46:04 |
y_morin |
bhundven: Can I be a member of both? (my second name is Eric!) ;-) |
# 17:47:11 |
smartin_ |
quits : Quit: back later |
# 17:50:52 |
bhundven |
y_morin: hahah |
# 17:51:03 |
bhundven |
mine is Ray |
# 18:34:41 |
bhundven |
quits : Quit: leaving |
# 18:40:32 |
bhundven |
joins #crosstool-ng |
# 19:31:41 |
blacki|dl |
joins #crosstool-ng |
# 19:33:20 |
blacki|dl |
Hi. If i do a make ARCH=mips CROSS_COMPILE=mips-unknown-elf- and get messages like cc1: error: unrecognized command line option '-meabi' is that a configuration problem of crosstool? |
# 19:33:42 |
kos_tom |
are you using crosstool or crosstool-ng ? |
# 19:33:51 |
blacki|dl |
crosstool-ng |
# 19:34:12 |
kos_tom |
crosstool-ng doesn't use make, so your question doesn't seem to make sense. |
# 19:34:39 |
kos_tom |
maybe you're trying to compile a Linux kernel with a toolchain that has been generated with crosstool-ng ? |
# 19:35:12 |
blacki|dl |
oh. sorry.. im a bit confused at the moment and new in this... i'm trying to build u-boot for a lantec mips system |
# 19:35:19 |
kos_tom |
oh, u-boot, ok. |
# 19:35:45 |
blacki|dl |
how do i call the compileation prozess with crosstool-ng? |
# 19:35:51 |
kos_tom |
could you please post on a pastebin site (ex: http://code.bulix.org) your entire U-Boot build log ? |
# 19:36:08 |
kos_tom |
blacki|dl: well, crosstool-ng is a tool that generates a cross-compilation toolchain. |
# 19:36:15 |
kos_tom |
so first you have to figure out if you already have one or not. |
# 19:36:19 |
blacki|dl |
oh... yes. cause its very small.. mom |
# 19:37:45 |
blacki|dl |
http://paste.ubuntu.com/1300961/ |
# 19:38:17 |
kos_tom |
ouch, u-boot 1.1.6 |
# 19:38:25 |
bhundven |
hehe |
# 19:38:31 |
kos_tom |
you should probably leave year 1998 |
# 19:38:32 |
bhundven |
I just saw that too |
# 19:38:34 |
kos_tom |
and discover we are in 2012 |
# 19:40:09 |
bhundven |
and, as well, I think you built the wrong toolchain for that architecture. |
# 19:40:37 |
blacki|dl |
witch i should use? |
# 19:41:06 |
bhundven |
which 'make X_config' board config are you using? |
# 19:41:32 |
blacki|dl |
i've used make LANTEC_config |
# 19:41:53 |
kos_tom |
that's a PowerPC board apparently |
# 19:42:16 |
blacki|dl |
its an easybox 803 here in germany |
# 19:42:20 |
bhundven |
well, your toolchain name would end in eabi if that were right |
# 19:42:24 |
bhundven |
but it ends with elf |
# 19:42:32 |
bhundven |
is that a bare-metal toolchain? |
# 19:42:41 |
kos_tom |
bhundven: and it would start with powerpc-, not mips- :) |
# 19:42:47 |
bhundven |
haha |
# 19:42:48 |
bhundven |
werd |
# 19:43:33 |
blacki|dl |
as i've said im quied new to this at the moment... i'm trying to build it for this http://wiki.openwrt.org/toh/astoria/arv752dpw22 |
# 19:43:52 |
bhundven |
ok |
# 19:43:57 |
bhundven |
I'll get you set ;) |
# 19:45:03 |
bhundven |
I think you want 860 |
# 19:45:13 |
bhundven |
ct-ng powerpc-860-linux-gnu |
# 19:45:17 |
bhundven |
ct-ng build |
# 19:45:24 |
bhundven |
in a new directory somewhere |
# 19:45:34 |
bhundven |
that should make you the right toolchain |
# 19:45:43 |
bhundven |
you may need to tweak the config before building |
# 19:45:49 |
bhundven |
to get newer toolchain versions |
# 19:45:54 |
bhundven |
etc... |
# 19:46:24 |
bhundven |
may want to read the ct-ng docs directory in the crosstool-ng source |
# 19:46:49 |
blacki|dl |
but do'nt i have to use mips if the target arch is mips? |
# 19:47:00 |
bhundven |
the lantec is powerpc |
# 19:47:05 |
bhundven |
afaict |
# 19:47:14 |
bhundven |
mpc8xx |
# 19:47:21 |
bhundven |
^^ powerpc 8xx |
# 19:47:58 |
blacki|dl |
in the board table it is called lantiq is it the same as lantec? |
# 19:48:07 |
bhundven |
might not be |
# 19:48:24 |
bhundven |
see, that is where being specific can help you to not brick your board ;) |
# 19:48:34 |
blacki|dl |
pls. look at this. http://wiki.openwrt.org/doc/hardware/soc/soc.lantiq |
# 19:48:46 |
bhundven |
yes, that is a different board |
# 19:48:51 |
bhundven |
lantec != lantiq |
# 19:48:56 |
kos_tom |
http://wiki.openwrt.org/toh/astoria/arv752dpw22 is clearly MIPS based |
# 19:49:00 |
kos_tom |
so it is not the Lantec board |
# 19:49:27 |
kos_tom |
I don't think this platform has mainline U-Boot support |
# 19:49:55 |
bhundven |
right, which is why he has 1.1.6 |
# 19:49:57 |
bhundven |
:p |
# 19:50:18 |
bhundven |
your probably better off using the toolchain that comes with openwrt |
# 19:50:24 |
kos_tom |
blacki|dl: trying to work on this platform is definitely not the good way to get started with embedded Linux. |
# 19:50:26 |
bhundven |
and following their build instructions |
# 19:50:35 |
kos_tom |
buy you a beagleboard, or a pandaboard, or a rasberry pi or whatever |
# 19:50:53 |
bhundven |
yup |
# 19:52:11 |
blacki|dl |
hmm... so i have to look at openwrt for an docu to crosscompile u-boot? |
# 19:52:42 |
bhundven |
well, they seem to be the only ones that support that board, as far as u-boot goes. |
# 19:53:49 |
bhundven |
I would suggest following their build instructions until you get a hang of building/flashing/booting on that board |
# 19:53:55 |
bhundven |
make sure you know how to recovery a bad bootloader flash |
# 19:53:58 |
bhundven |
if it has one |
# 19:54:08 |
bhundven |
otherwise, you'll have a fancy coaster |
# 19:54:24 |
bhundven |
to put your beer on |
# 19:54:34 |
blacki|dl |
:) |
# 19:55:36 |
bhundven |
on my p1020rdb (ppc board), it has switches to flip between different sections of NOR, where u-boot lives. so if I make a bad image, I can flip to the other boot location and recover. |
# 19:55:45 |
bhundven |
not all boards have that kind of functionality |
# 19:56:16 |
blacki|dl |
yes i've got a backup of it and i'm able to get it back... already done :) |
# 19:56:52 |
bhundven |
I know on my wrt350n, it only has one bootloader section, and I've gone through two of them building a custom bootloader for it, because it has no way to recover. |
# 19:57:37 |
blacki|dl |
but my problem is the bootloader u-boot with the supported obe i dont have any connection or cant get an image to flash in the system :( |
# 19:58:22 |
bhundven |
idk. I'd ask the openwrt guys |
# 19:58:34 |
blacki|dl |
i can load a bootloader in uart mode |
# 19:59:46 |
blacki|dl |
yes i think will do so... thanks. |
# 20:00:37 |
bhundven |
also, make sure you tell them exactly which board you have. just saying lantiq isn't specific enough |
# 20:00:47 |
bhundven |
as that seems to cover many boards |
# 20:00:54 |
bhundven |
and they all have their own quirks |
# 20:04:01 |
blacki|dl |
oh... with who i've talked last time... about building under Linux Mint fails |
# 20:04:31 |
blacki|dl |
it was a problem from Linux Mint. I rebuilded under ubuntu and fedora.. both woked |
# 20:16:58 |
sfan5 |
is now known as: sfan5|OFF |
# 21:50:56 |
bhundven |
is now known as: bhundven|afk |
# 22:23:45 |
devcoder |
joins #crosstool-ng |
# 22:23:56 |
blacki|dl |
quits : Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121010144125] |
# 22:26:47 |
alan_o |
quits : Quit: Leaving |
# 22:34:37 |
bhundven|afk |
is now known as: bhundven |
# 23:02:51 |
y_morin |
quits : Quit: Nighty Night! |
# 23:29:29 |
smartin |
quits : Quit: good night |