# 00:16:41 |
y_morin |
quits : Quit: Nighty Night! |
# 01:08:54 |
alan_o |
quits : Ping timeout: 260 seconds |
# 01:22:14 |
alan_o |
joins #crosstool-ng |
# 02:12:13 |
suy_ |
joins #crosstool-ng |
# 02:15:37 |
suy |
quits : Ping timeout: 260 seconds |
# 02:15:38 |
ubitux |
quits : Ping timeout: 260 seconds |
# 02:15:38 |
smartin |
quits : Ping timeout: 260 seconds |
# 02:16:01 |
ubitux |
joins #crosstool-ng |
# 02:16:26 |
smartin |
joins #crosstool-ng |
# 02:18:54 |
RushPL_ |
quits : *.net *.split |
# 02:19:04 |
alan_o_ |
joins #crosstool-ng |
# 02:22:30 |
alan_o |
quits : *.net *.split |
# 02:22:32 |
protomouse |
quits : *.net *.split |
# 02:22:57 |
protomouse_ |
joins #crosstool-ng |
# 02:26:25 |
protomouse_ |
is now known as: Guest62794 |
# 02:26:26 |
Guest62794 |
is now known as: protomouse |
# 02:29:00 |
smartin_ |
joins #crosstool-ng |
# 02:33:36 |
alan_o_ |
quits : *.net *.split |
# 02:33:37 |
smartin |
quits : *.net *.split |
# 02:38:23 |
alan_o |
joins #crosstool-ng |
# 02:41:03 |
protomouse |
quits : Ping timeout: 260 seconds |
# 02:43:33 |
protomouse |
joins #crosstool-ng |
# 02:45:19 |
alan_o_ |
joins #crosstool-ng |
# 02:47:05 |
ux |
joins #crosstool-ng |
# 02:47:33 |
alan_o |
quits : Ping timeout: 260 seconds |
# 02:48:04 |
diorcety1 |
joins #crosstool-ng |
# 02:49:45 |
shiftplusone_ |
joins #crosstool-ng |
# 02:50:00 |
ubitux |
quits : *.net *.split |
# 02:50:04 |
diorcety |
quits : *.net *.split |
# 02:50:07 |
shiftplusone |
quits : *.net *.split |
# 02:50:38 |
shiftplusone_ |
is now known as: shiftplusone |
# 03:23:03 |
perr |
joins #crosstool-ng |
# 04:03:15 |
perr |
quits : Ping timeout: 260 seconds |
# 04:08:10 |
perr |
joins #crosstool-ng |
# 06:17:50 |
alan_o_ |
quits : Quit: Leaving |
# 06:43:27 |
perr |
quits : Ping timeout: 272 seconds |
# 06:56:45 |
perr |
joins #crosstool-ng |
# 07:11:19 |
perr |
quits : Ping timeout: 272 seconds |
# 07:25:22 |
suy_ |
is now known as: suy |
# 07:27:10 |
perr |
joins #crosstool-ng |
# 07:37:09 |
perr |
quits : Ping timeout: 245 seconds |
# 07:50:18 |
perr |
joins #crosstool-ng |
# 07:52:33 |
mingwandroid |
joins #crosstool-ng |
# 08:03:24 |
perr |
quits : Ping timeout: 245 seconds |
# 08:04:01 |
perr |
joins #crosstool-ng |
# 08:11:01 |
perr |
quits : Ping timeout: 245 seconds |
# 08:11:33 |
perr |
joins #crosstool-ng |
# 08:13:31 |
protomouse |
quits : Ping timeout: 245 seconds |
# 08:16:10 |
protomouse |
joins #crosstool-ng |
# 08:24:14 |
crazedpsyc |
quits : Ping timeout: 264 seconds |
# 08:26:49 |
crazedpsyc |
joins #crosstool-ng |
# 08:28:39 |
diorcety1 |
quits : Quit: Leaving. |
# 10:46:27 |
perr |
quits : Ping timeout: 260 seconds |
# 10:48:40 |
perr |
joins #crosstool-ng |
# 10:58:00 |
perr |
quits : Ping timeout: 252 seconds |
# 11:06:23 |
perr |
joins #crosstool-ng |
# 11:20:19 |
ux |
is now known as: ubitux |
# 11:26:36 |
mingwandroid |
quits : Remote host closed the connection |
# 11:28:36 |
perr |
quits : Ping timeout: 245 seconds |
# 11:29:43 |
protomouse |
quits : Ping timeout: 272 seconds |
# 11:37:34 |
protomouse |
joins #crosstool-ng |
# 11:44:36 |
perr |
joins #crosstool-ng |
# 11:57:46 |
perr |
quits : Ping timeout: 245 seconds |
# 12:08:13 |
mingwandroid |
joins #crosstool-ng |
# 12:42:18 |
smartin_ |
is now known as: smartin |
# 14:24:49 |
perr |
joins #crosstool-ng |
# 14:53:05 |
perr |
quits : Quit: Leaving |
# 18:00:04 |
diorcety |
joins #crosstool-ng |
# 18:03:47 |
diorcety |
quits : Read error: Connection reset by peer |
# 18:05:48 |
diorcety |
joins #crosstool-ng |
# 18:52:15 |
doc2 |
joins #crosstool-ng |
# 19:18:59 |
alan_o |
joins #crosstool-ng |
# 19:53:34 |
mingwandroid |
quits : Remote host closed the connection |
# 19:56:33 |
smartin_ |
joins #crosstool-ng |
# 20:49:03 |
y_morin |
joins #crosstool-ng |
# 21:05:09 |
mingwandroid |
joins #crosstool-ng |
# 21:16:13 |
drasko_ |
joins #crosstool-ng |
# 21:16:49 |
drasko_ |
Hi all, I am trying to compile baremetal ARM cc and hitting the error: |
# 21:16:52 |
drasko_ |
[DEBUG] ==> Executing: 'cvs' '-z' '9' '-d' ':pserver:anonymous@cvs.uclinux.org:/var/cvs' 'co' '-P' 'elf2flt' |
# 21:16:52 |
drasko_ |
[ALL ] cvs [checkout aborted]: connect to cvs.uclinux.org(66.11.68.43):2401 failed: No route to host |
# 21:18:31 |
y_morin |
drasko_: Yes, uclinux.org is dead. |
# 21:18:46 |
y_morin |
drasko_: You need elf2flt? |
# 21:19:06 |
drasko_ |
no... I don't know... |
# 21:19:22 |
drasko_ |
I used default cortex-m3 settings |
# 21:19:26 |
drasko_ |
from list |
# 21:19:27 |
y_morin |
drasko_: elf2flt is for noMMU. You're tagetting a noMMU machine? |
# 21:19:45 |
drasko_ |
yeap, small STM32F4 uC |
# 21:19:49 |
drasko_ |
Cortex-M4 |
# 21:20:07 |
y_morin |
Ah, then yes. |
# 21:20:29 |
drasko_ |
This one: http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419 |
# 21:21:03 |
drasko_ |
However, I am not sure that I need elf2flt |
# 21:21:15 |
drasko_ |
this is something for uClinux, no/. |
# 21:21:17 |
drasko_ |
? |
# 21:21:38 |
drasko_ |
looks like... |
# 21:21:45 |
y_morin |
drasko_: I'm not a noMMU guy, so I'm not sure. But I think noMMU does need elf2flt. |
# 21:22:15 |
drasko_ |
y_morin, I think that is some tool that translates the addresses or does some magic for uClinux |
# 21:22:16 |
y_morin |
drasko_: There is a git mirror for elf2flt: http://git.wh0rd.org/elf2flt.git |
# 21:22:44 |
y_morin |
drasko_: As I said, I'm not a noMMU expert, so can say for sure. |
# 21:23:01 |
drasko_ |
y_morin, I think it is safe to disable this one for non-Linux development |
# 21:23:05 |
y_morin |
drasko_: IIRC. elf2flt turns an ELF binary into a FLAT binary. |
# 21:23:13 |
drasko_ |
I have no need for this |
# 21:23:33 |
drasko_ |
I need only elf and bin |
# 21:23:39 |
y_morin |
drasko_: Ah, for no-linux taget, you probably do not need it, indeed. |
# 21:23:48 |
y_morin |
s/taget/target/ |
# 21:25:04 |
drasko_ |
how to disable this beast |
# 21:26:22 |
y_morin |
drasko_: Care to share your .config? |
# 21:26:41 |
drasko_ |
let me paste it |
# 21:26:53 |
mnt_real |
quits : Quit: Leaving |
# 21:26:57 |
y_morin |
drasko_: ct-ng savedefconfig |
# 21:27:06 |
y_morin |
drasko_: And paste the 'defconfig' file. |
# 21:28:05 |
drasko_ |
http://pastebin.com/9mNNzDjb |
# 21:28:17 |
drasko_ |
CT_ARCH_BINFMT_FLAT=y |
# 21:28:21 |
drasko_ |
I saw now ;) |
# 21:33:35 |
y_morin |
drasko_: Indeed. But anyway, I am only really personally interested in Linux-based targets, so I'd be of little help here... |
# 21:59:27 |
doc2 |
quits : Remote host closed the connection |
# 22:08:52 |
drasko_ |
y_morin, http://pastebin.com/BNVjvwse |
# 22:09:07 |
drasko_ |
I had this error, then I said ./ct-ng build again |
# 22:09:27 |
drasko_ |
and it started rebuilding all the libraries and stuff |
# 22:09:29 |
drasko_ |
why? |
# 22:09:54 |
drasko_ |
I thought that it would retry building only gdb |
# 22:13:13 |
y_morin |
drasko_: No, that's not the way crosstool-NG works. |
# 22:13:31 |
y_morin |
drasko_: Betweeen two runs, there is no way to know the .config did not change |
# 22:13:41 |
y_morin |
drasko_: So, we can only restart the build from scratch. |
# 22:14:16 |
y_morin |
drasko_: However, if you know beforehand you'll get build failures you want to investigate, you can: |
# 22:15:14 |
y_morin |
drasko_: In Paths and misc options ---> [*] Debug crosstool-NG --> [*] Save intermediate steps |
# 22:16:17 |
y_morin |
drasko_: Then, you can restart the build at the failing step, with: ct-ng debug+ |
# 22:17:14 |
drasko_ |
OK, so for example, now I am rebuilding all. It will probably fail agaion on GDB |
# 22:17:40 |
drasko_ |
I can then do ./ct-ng menuconfig, select In Paths and misc options ---> [*] Debug crosstool-NG --> [*] Save intermediate steps |
# 22:18:01 |
drasko_ |
and do what? |
# 22:18:13 |
drasko_ |
What exactly ./ct-ng debug+ does? |
# 22:18:23 |
drasko_ |
Goes step-by-step? |
# 22:18:35 |
drasko_ |
Can I start directly from cross-compiling GDB? |
# 22:19:18 |
y_morin |
drasko_: No you can't start directly from gdb, _unless_ ytou did set Save intermediate steps first. |
# 22:19:44 |
drasko_ |
hmm... So now I have to rebuild all agai :) |
# 22:19:47 |
drasko_ |
*again |
# 22:20:01 |
y_morin |
drasko_: See: 'docs/4 - Building the toolchain.txt' |
# 22:20:02 |
drasko_ |
I saw that it compleins about expat missing on my ssystem |
# 22:20:12 |
drasko_ |
I will install it now |
# 22:20:28 |
drasko_ |
but I guess I will have to go through whole rebuild again |
# 22:23:47 |
drasko_ |
y_morin, any ideas why THUMB is set-up as default ARM instruction set? I am hestitaing changing this to 'arm' but I am not sure... |
# 22:25:03 |
y_morin |
drasko_: cortex-m3 is anyway thumb-only, IIRC. |
# 22:25:19 |
y_morin |
drasko_: Thumb and thumb2, no arm mode. |
# 22:25:21 |
y_morin |
drasko_: https://en.wikipedia.org/wiki/ARM_Cortex-M |
# 22:26:42 |
y_morin |
drasko_: And no, thumb is not the default mode in ct-ng; arm mode is the default. |
# 22:28:09 |
drasko_ |
y_morin, interesting, I did not know that for Cortex-M. Thanks a lot! |
# 22:29:13 |
y_morin |
drasko_: Hmm... You'd better know the CPU you'll be working with, no? ;-) |
# 22:30:33 |
drasko_ |
Well, it's been some time since I took some of these small ARM's last one wat ARM7 (v5), and it supported THUM instruction set as an option |
# 22:30:38 |
drasko_ |
*thumb |
# 22:31:18 |
drasko_ |
anyway - can not learn really much without cross-compiler :) |
# 22:31:38 |
drasko_ |
I just happen to have one board at my disposal, so I want to give it a try |
# 22:33:26 |
drasko_ |
And since I wa looking at gcc documentation while ct-ng builds in the background, I saw: |
# 22:33:28 |
drasko_ |
-mthumb |
# 22:33:28 |
drasko_ |
Generate code for the Thumb instruction set. The default is to use the 32-bit ARM instruction set. This option automatically enables either 16-bit Thumb-1 or mixed 16/32-bit Thumb-2 instructions based on the -mcpu=name and -march=name options. |
# 22:33:52 |
y_morin |
drasko_: With is exactly what you want for cortex-M. |
# 22:34:13 |
drasko_ |
y_morin, there is an interesting project from Rice university |
# 22:34:17 |
drasko_ |
let me find a link |
# 22:34:43 |
drasko_ |
http://embeddedpython.org/index.php?title=The_Owl_Embedded_Python_System |
# 22:34:55 |
mnt_real |
joins #crosstool-ng |
# 22:34:55 |
mnt_real |
quits : Changing host |
# 22:34:55 |
mnt_real |
joins #crosstool-ng |
# 22:34:57 |
drasko_ |
https://bitbucket.org/ricearch/embeddedpython |
# 22:35:46 |
drasko_ |
I was thinking to put NuttX, drive Owl Python in one thread, http server in another and bluetooht module |
# 22:36:06 |
drasko_ |
to try passing *BT BLE v4.0 |
# 22:36:31 |
drasko_ |
to try passing Python scripts in the text format |
# 22:36:47 |
drasko_ |
via http WiFi, BT, whatever |
# 22:36:57 |
drasko_ |
and execute them directly on the target |
# 22:37:48 |
drasko_ |
I have been hacking one nice Linux MIPS OPenWrt router for a year or so |
# 22:38:31 |
drasko_ |
made this kind of dev-board with async Python websocket server |
# 22:38:53 |
drasko_ |
but this chipset is power-hungry |
# 22:39:09 |
drasko_ |
Here is more info what I have now: http://we-io.net/ |
# 22:39:23 |
drasko_ |
Just trying out some low-power alternatives ;) |
# 23:10:08 |
drasko_ |
quits : Quit: Ex-Chat |
# 23:17:42 |
y_morin |
quits : Quit: Nighty Night! |
# 23:39:57 |
smartin_ |
quits : Quit: good night |