Search found 483 matches

by mobyfab
Mon Sep 27, 2021 6:24 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

yes, a stub void __eabi() {}; does the job as well :)

I've updated the script to use newer versions where possible, so far so good but I have no hardware to test it.
by mobyfab
Mon Sep 27, 2021 5:50 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

okay, so copying these 2 eabivle-c*.S files and compiling them with the demo works. They are also compiled with GCC and placed in lib/gcc/powerpc-eabivle/4.9.4/ecrt*.o I'm trying to figure out why they are ignored... One option would be to add them to libgcc.a Another would be to explicitly link wit...
by mobyfab
Sun Sep 26, 2021 10:22 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

it seems like creating an __eabi() or __init() stub works Giving this a try... --- extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200.bkp 2021-09-26 23:45:07.848720330 +0200 +++ extracted/gcc-4.9.4/libgcc/config/rs6000/t-e200 2021-09-26 23:45:17.532808552 +0200 @@ -18,12 +18,3 @@ # We build {e,n}crti.o...
by mobyfab
Sun Sep 26, 2021 7:43 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

here is an example linker + startup file from S32DS but I don't see this __init function /* Entry Point */ ENTRY(_start) /* define heap and stack size */ __HEAP_SIZE = 0 ; __STACK_SIZE = 4096 ; SRAM_SIZE = 128K; /* Define SRAM Base Address */ SRAM_BASE_ADDR = 0x40000000; MEMORY { flash_rchw : org = ...
by mobyfab
Sun Sep 26, 2021 7:30 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

I've just updated the script with GDB I'm having the same linker issue, it's caused by one of the vle patches I think: https://github.com/fpoussin/gcc-powerpc-eabivle/blob/master/patch/gcc.0062.vle_494.patch#L10769 https://github.com/fpoussin/gcc-powerpc-eabivle/blob/master/patch/gcc.0062.vle_494.pa...
by mobyfab
Sat Sep 25, 2021 11:54 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

I've made a script to build the toolchain with their patches

https://github.com/fpoussin/gcc-powerpc-eabivle
by mobyfab
Wed Sep 22, 2021 10:06 am
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

Re: e200 broken in 21.6.x Topic is solved

yes, it's bundled with S32DS Linux
by mobyfab
Tue Sep 21, 2021 10:41 pm
Forum: Bug Reports
Topic: e200 broken in 21.6.x Topic is solved
Replies: 15
Views: 5303

e200 broken in 21.6.x Topic is solved

It seems like the latest release broke compatibility. I'm using freescale's ppc vle gcc (4.9.4) ../../../os/rt/src/chinstances.c: In function 'chInstanceObjectInit': ../../../os/rt/src/chinstances.c:109:3: error: too many arguments to function 'port_init' port_init(oip); ^ In file included from ../....
by mobyfab
Mon Sep 20, 2021 9:13 am
Forum: General Support
Topic: RAM/ROM Usage builder Output :-)
Replies: 6
Views: 4446

Re: RAM/ROM Usage builder Output :-)

my python code it's based on if someone need to modify it: viewtopic.php?f=8&t=2407

Go to advanced search