Re: [PATCH v2 1/1] bsp/riscv: Work area size based on /memory node in fdt

2022-08-18 Thread Hesham Almatary
All good, I'd just replace the "end == 0" with "end == NULL" as per my comment above. Also please test on other RISC-V QEMU platforms to make sure nothing got broken. On Wed, 17 Aug 2022 at 14:10, Joel Sherrill wrote: > > I'm ok with this if Hesham acks as well. > > --joel > > On Wed, Aug 17, 202

Re: [PATCH v2 1/1] bsp/riscv: Work area size based on /memory node in fdt

2022-08-18 Thread Daniel Cederman
I missed your comment, but have made the change now. Are there any instructions on how to run the RISCV BSP tests on QEMU or Spike? I could not get it to work. Do I need a special version of QEMU or Spike? On 2022-08-18 10:24, Hesham Almatary wrote: All good, I'd just replace the "end == 0" wi

Re: libbsd fails to link on i386

2022-08-18 Thread Joel Sherrill
On Wed, Aug 17, 2022 at 6:47 PM Chris Johns wrote: > On 18/8/2022 7:23 am, Joel Sherrill wrote: > > I think the wrong bus.h must be being included somewhere. These are > static > > inline methods on the i386. Hopefully a simple patch for someone who > knows what > > to do: > > Could it be install

rtems-libbsd on x86_64

2022-08-18 Thread Joel Sherrill
Hi I took a shot at compiling libbsd for x86_64. First issue is that freebsd calls this amd64 so the reebsd/sys/@ARCH@/include is looking for the wrong architecture name. Somehow the waf needs to map x86_64 to amd64. I manually copied in_cksum.h into place and that left it failing to compile with

RE: libbsd fails to link on i386

2022-08-18 Thread Jan.Sommer
Hi Joel, I remember I spent some time fiddling with the bus.h include order. I can try to have a look at it some time next week. Best regards, Jan From: devel On Behalf Of Joel Sherrill Sent: Wednesday, August 17, 2022 11:24 PM To: rtems-de...@rtems.org Subject: libbsd fails to l

Re: libbsd fails to link on i386

2022-08-18 Thread Joel Sherrill
On Thu, Aug 18, 2022, 1:09 PM wrote: > Hi Joel, > > > > I remember I spent some time fiddling with the bus.h include order. > > I can try to have a look at it some time next week. > Thanks. > > Best regards, > > > > Jan > > > > *From:* devel *On Behalf Of *Joel Sherrill > *Sent:* Wednesd

Re: rtems-libbsd on x86_64

2022-08-18 Thread Joel Sherrill
On Thu, Aug 18, 2022 at 12:09 PM Joel Sherrill wrote: > Hi > > I took a shot at compiling libbsd for x86_64. First issue is that freebsd > calls this amd64 so the reebsd/sys/@ARCH@/include is looking for the > wrong architecture name. Somehow the waf needs to map x86_64 to amd64. > > I manually c

Re: [PATCH v1 09/12] malloctest/init.c: Added pragmas to address gcc 12 warnings

2022-08-18 Thread Ryan Long
On 8/16/2022 10:55 PM, Chris Johns wrote: On 17/8/2022 12:16 pm, Joel Sherrill wrote: On Tue, Aug 16, 2022, 6:07 PM Chris Johns mailto:chr...@rtems.org>> wrote: On 17/8/2022 6:11 am, Ryan Long wrote: > Fixed four warnings disabled were for "-Wuse-after-free" and one for a > "-Wfre

Re: [PATCH v1 09/12] malloctest/init.c: Added pragmas to address gcc 12 warnings

2022-08-18 Thread Chris Johns
On 19/8/2022 9:02 am, Ryan Long wrote: > On 8/16/2022 10:55 PM, Chris Johns wrote: >> On 17/8/2022 12:16 pm, Joel Sherrill wrote: >>> On Tue, Aug 16, 2022, 6:07 PM Chris Johns >> > wrote: >>> On 17/8/2022 6:11 am, Ryan Long wrote: >>> > Fixed four warnings disable