Re: Way to use Older GDB on Cygwin rtems6

2020-10-25 Thread Chris Johns
On 26/10/20 11:33 am, Joel Sherrill wrote: > GDB master fails to link due to a binutils bug impacting Cygwin. It would be > nice to build an older gdb just on cygwin. On all targets. Try something like this ... https://git.rtems.org/rtems-source-builder/tree/rtems/config/7/rtems-base.bset#n7 ...

Re: Way to use Older GDB on Cygwin rtems6

2020-10-25 Thread Chris Johns
On 26/10/20 11:33 am, Joel Sherrill wrote: > Hi > > GDB master fails to link due to a binutils bug impacting Cygwin. It would be > nice to build an older gdb just on cygwin. On all targets. > > I didn't test but someone piped in on my ticket to say Mingw was impacted > also. > >  Is this possib

Way to use Older GDB on Cygwin rtems6

2020-10-25 Thread Joel Sherrill
Hi GDB master fails to link due to a binutils bug impacting Cygwin. It would be nice to build an older gdb just on cygwin. On all targets. I didn't test but someone piped in on my ticket to say Mingw was impacted also. Is this possible? --joel ___ d

Re: [PATCH 1/3] Remove duplicate GRETH driver

2020-10-25 Thread Chris Johns
On 26/10/20 9:56 am, Jiri Gaisler wrote: > On 10/25/20 6:35 PM, Joel Sherrill wrote: >> Is the code deleted referenced in the new build system? > Good question! I don't really know how the new systems works to answer that. I > could only remove the references from the .am files... Sebastian has do

[PATCH 2/3] Add networking support for griscv bsp

2020-10-25 Thread Jiri Gaisler
* Only GRETH device supported for now * Fix endian problem in GRETH driver --- bsps/riscv/griscv/include/bsp.h | 14 ++ bsps/riscv/griscv/net/leon_greth.c| 59 +++ bsps/shared/net/greth2.c | 6 ++- c/src/lib/libbsp/riscv/

[PATCH 0/3] RISC-V/griscv networking support

2020-10-25 Thread Jiri Gaisler
These patches add networking support to the RISC-V/griscv bsp. Also a seemingly redundant GRETH driver is removed. Feedback on the removal would be appreciated. Jiri Gaisler (3): Remove duplicate GRETH driver Add networking support for griscv bsp The leon3 bsp should define CPU_U32_FIX bsp

[PATCH 1/3] Remove duplicate GRETH driver

2020-10-25 Thread Jiri Gaisler
* bsps/shared/net/greth2.c is being used instead --- bsps/shared/grlib-sources.am |4 - bsps/shared/grlib/net/README |7 - bsps/shared/grlib/net/greth.c | 1655 - bsps/shared/grlib/net/network_interface_add.c | 62

[PATCH 3/3] The leon3 bsp should define CPU_U32_FIX

2020-10-25 Thread Jiri Gaisler
* CPU_U32_FIX needed to avoid unaligned data access trap in network stack. --- bsps/sparc/leon3/include/bsp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/sparc/leon3/include/bsp.h b/bsps/sparc/leon3/include/bsp.h index 85730b5e20..a4060385c8 100644 --- a/bsps/sparc/l