[PATCH 2/2] arm: Fix PMSA regions for contiguous sections

2022-06-02 Thread Sebastian Huber
Sections with identical attributes may be contiguous with a respective begin and end address which is not on a minimum region boundary. The begin address is aligned down to the region base address. The end address is aligned up to the region end address. Account for this in the check for contigu

[PATCH 1/2] arm: Fix PMSA region mapping with 0x0 end address

2022-06-02 Thread Sebastian Huber
A section may span up to the end of the address range. In this case the end address is zero. Use the base address to check if a region should be before another region. --- cpukit/score/cpu/arm/aarch32-psma-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cp

[PATCH] build: Assert value properties only if not None

2022-06-02 Thread Sebastian Huber
--- wscript | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/wscript b/wscript index 77269f126c..d4defd4f13 100755 --- a/wscript +++ b/wscript @@ -738,7 +738,7 @@ class OptionItem(Item): return value def _assert_aligned(self, conf, cic, value,

Re: [PATCH rtems-lwip] lwip: Split sources into origin directories

2022-06-02 Thread Vijay Kumar Banerjee
Hi Pavel, On Thu, Jun 2, 2022 at 12:09 AM Pavel Pisa wrote: > > Dear Vijay, > > On Thursday 02 of June 2022 05:56:56 Vijay Kumar Banerjee wrote: > > I have pushed this patch and I would like to add a note regarding that. > > thanks for the work and time. > No problem. I hope we can soon promote t

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Gedare Bloom
On Thu, Jun 2, 2022 at 10:08 AM Joel Sherrill wrote: > > > > On Thu, Jun 2, 2022, 9:58 AM Christian MAUDERER > wrote: >> >> Am 02.06.22 um 16:19 schrieb Joel Sherrill: >> > >> > >> > On Thu, Jun 2, 2022 at 8:58 AM Christian MAUDERER >> > > > > wrote:

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Joel Sherrill
On Thu, Jun 2, 2022, 9:58 AM Christian MAUDERER < christian.maude...@embedded-brains.de> wrote: > Am 02.06.22 um 16:19 schrieb Joel Sherrill: > > > > > > On Thu, Jun 2, 2022 at 8:58 AM Christian MAUDERER > > > > wrote: > > > > Am 02.06.22 um 15:49

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Christian MAUDERER
Am 02.06.22 um 16:19 schrieb Joel Sherrill: On Thu, Jun 2, 2022 at 8:58 AM Christian MAUDERER > wrote: Am 02.06.22 um 15:49 schrieb Gedare Bloom: > On Thu, Jun 2, 2022 at 2:28 AM Sebastian Huber > mailto:sebastian.hu...@embedded-bra

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Joel Sherrill
On Thu, Jun 2, 2022 at 8:58 AM Christian MAUDERER < christian.maude...@embedded-brains.de> wrote: > Am 02.06.22 um 15:49 schrieb Gedare Bloom: > > On Thu, Jun 2, 2022 at 2:28 AM Sebastian Huber > > wrote: > >> > >> On 02/06/2022 09:27, Christian MAUDERER wrote: > >>> > >>> Am 01.06.22 um 14:46 sc

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Christian MAUDERER
Am 02.06.22 um 15:49 schrieb Gedare Bloom: On Thu, Jun 2, 2022 at 2:28 AM Sebastian Huber wrote: On 02/06/2022 09:27, Christian MAUDERER wrote: Am 01.06.22 um 14:46 schrieb Gedare Bloom: On Mon, May 23, 2022 at 6:21 AM Christian Mauderer wrote: Typical embedded systems don't have that mu

Re: [PATCH rtems-libbsd 2/2] if_ffec: Allow PHY that is connected to other FFEC

2022-06-02 Thread Gedare Bloom
On Thu, Jun 2, 2022 at 1:35 AM Christian MAUDERER wrote: > > Am 01.06.22 um 14:50 schrieb Gedare Bloom: > > Should this be upstreamed? > > I don't think so. The solution is quite device specific and has some > restrictions like the right initialization order (like noted in the > commit description

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Gedare Bloom
On Thu, Jun 2, 2022 at 2:28 AM Sebastian Huber wrote: > > On 02/06/2022 09:27, Christian MAUDERER wrote: > > > > Am 01.06.22 um 14:46 schrieb Gedare Bloom: > >> On Mon, May 23, 2022 at 6:21 AM Christian Mauderer > >> wrote: > >>> > >>> Typical embedded systems don't have that much memory. Reduce

Re: [PATCH] devel/spike-1.0.0: bump hash

2022-06-02 Thread Gedare Bloom
On Wed, Jun 1, 2022 at 7:46 AM Ryan Long wrote: > > > On 6/1/2022 7:36 AM, Gedare Bloom wrote: > > What/Why did this change? Where we not using a release before? > I'm not sure. Their Github only shows two releases. One's from 2019 and > the latest is from late 2021. The last time the hash was bum

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Sebastian Huber
On 02/06/2022 09:27, Christian MAUDERER wrote: Am 01.06.22 um 14:46 schrieb Gedare Bloom: On Mon, May 23, 2022 at 6:21 AM Christian Mauderer wrote: Typical embedded systems don't have that much memory. Reduce the buffer size to something more sensible for the usual type of application. ---  

Re: [PATCH rtems] bsps/imx: Enable clock of ETH2

2022-06-02 Thread Christian MAUDERER
Am 01.06.22 um 14:42 schrieb Gedare Bloom: On Mon, May 23, 2022 at 6:22 AM Christian Mauderer wrote: --- bsps/arm/imx/start/bspstart.c | 13 + 1 file changed, 13 insertions(+) diff --git a/bsps/arm/imx/start/bspstart.c b/bsps/arm/imx/start/bspstart.c index 04d48d1558..e9cca4920

Re: [PATCH rtems-libbsd 2/2] if_ffec: Allow PHY that is connected to other FFEC

2022-06-02 Thread Christian MAUDERER
Am 01.06.22 um 14:50 schrieb Gedare Bloom: Should this be upstreamed? I don't think so. The solution is quite device specific and has some restrictions like the right initialization order (like noted in the commit description). I don't think that FreeBSD will accept it. I have seen some dis

Re: [PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-06-02 Thread Christian MAUDERER
Hello Gedare, Am 01.06.22 um 14:46 schrieb Gedare Bloom: On Mon, May 23, 2022 at 6:21 AM Christian Mauderer wrote: Typical embedded systems don't have that much memory. Reduce the buffer size to something more sensible for the usual type of application. --- freebsd/sys/dev/ffec/if_ffec.c |