From: Aaron N
Closes #4929
---
config/wscript | 2 +-
linkers/wscript| 2 +-
misc/tools/boot.py | 2 +-
misc/wscript | 4 ++--
rtemstoolkit/macros.py | 3 +++
rtemstoolkit/wscript | 4 ++--
tester/covoar/wscript | 4 ++--
tester/rt/options.py | 2 +-
tester/wsc
From: Aaron Nyholm
---
cpukit/libmisc/shell/main_flashdev.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/cpukit/libmisc/shell/main_flashdev.c
b/cpukit/libmisc/shell/main_flashdev.c
index ca2454b33c..dc73d3f9db 100644
--- a/cpukit/libmisc/shell/main_flashdev.c
From: Aaron Nyholm
---
bsps/aarch64/xilinx-versal/include/bsp/irq.h | 1 +
bsps/include/dev/spi/xqspi_flash.h| 65 ++
bsps/include/dev/spi/xqspipsu-flash-helper.h | 20 ++
bsps/shared/dev/spi/xqspi_flash.c | 210 ++
bsps/shared/dev/spi/xqspipsu
From: Aaron Nyholm
---
spec/build/bsps/aarch64/xilinx-versal/grp.yml| 2 ++
.../bsps/aarch64/xilinx-versal/optxilversal.yml | 16
2 files changed, 18 insertions(+)
create mode 100644 spec/build/bsps/aarch64/xilinx-versal/optxilversal.yml
diff --git a/spec/build/bsps
Hi All,
Attached are V2 of the patches that adds a wrapper around Xilinx's$
XQspiPsu flash driver to rtems_flashdev. This has been placed in$
bsp/shared. The JFFS2 driver has been removed as it is outdated.
Thanks,
Aaron.
___
devel mailing list
devel@
obviated by a generic
> JFFS2 NOR flashdev driver which I can go ahead and post. I was hoping to make
> it NAND compatible before posting, but I just haven't had the time.
> Alternatively, I can send it to you for testing if you'd prefer.
>
> On Thu, Oct 19, 2
From: Aaron Nyholm
---
cpukit/libmisc/shell/main_flashdev.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/cpukit/libmisc/shell/main_flashdev.c
b/cpukit/libmisc/shell/main_flashdev.c
index ca2454b33c..dc73d3f9db 100644
--- a/cpukit/libmisc/shell/main_flashdev.c
From: Aaron Nyholm
---
.../include/bsp/jffs2_xqspipsu.h | 62 ++
bsps/aarch64/xilinx-versal/jffs2_xqspipsu.c | 190 ++
spec/build/bsps/aarch64/xilinx-versal/grp.yml | 4 +
.../aarch64/xilinx-versal/objjffs2qspinor.yml | 20 ++
.../aarch64/xilinx-versal
From: Aaron Nyholm
---
.../dev/spi/versal_xqspi_flash.c | 296 ++
bsps/aarch64/xilinx-versal/include/bsp/irq.h | 1 +
.../include/dev/spi/versal_xqspi_flash.h | 49 +++
bsps/include/dev/spi/xqspipsu-flash-helper.h | 24 ++
bsps/shared/dev/spi/xqspipsu
Attached are patches for enabling xilinx's XQSPIPSU driver for the
versal. An addition patch to the flashdev command is attached to improve
usability.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
From: Aaron Nyholm
---
bsps/include/dev/spi/xqspipsu_hw.h | 15 ---
bsps/shared/dev/spi/xqspipsu_control.c | 7 ---
bsps/shared/dev/spi/xqspipsu_hw.c | 5 +++--
bsps/shared/dev/spi/xqspipsu_options.c | 9 +
4 files changed, 20 insertions(+), 16 deletions
From: Aaron Nyholm
Previously, the erase ioctl call would ignore flash regions and erase at
the absolute address passed in. This adds a check for if the region is
set and adds the region offset accordingly.
---
cpukit/dev/flash/flashdev.c | 43 ++---
1 file
From: Aaron Nyholm
---
rtemsbsd/sys/arm64/xilinx/versal_slcr.c | 30 +
rtemsbsd/sys/arm64/xilinx/versal_slcr.h | 6 +
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/rtemsbsd/sys/arm64/xilinx/versal_slcr.c
b/rtemsbsd/sys/arm64/xilinx/versal_slcr.c
Updated formatting.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
This looks exciting.
As for Versal support from Xilinx's Docs "RPU
The real-time processing unit (RPU) Arm Cortex-R5F processor has faster
clocking frequencies than the Zynq UltraScale+ MPSoC. The Versal Arm Cortex-R5F
processor supports Vector Floating-Point v3 (VFPv3) whereas the Zynq
UltraS
From: Aaron Nyholm
---
rtemsbsd/sys/arm64/xilinx/versal_slcr.c | 34 ++---
rtemsbsd/sys/arm64/xilinx/versal_slcr.h | 6 +
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/rtemsbsd/sys/arm64/xilinx/versal_slcr.c
b/rtemsbsd/sys/arm64/xilinx/versal_slcr.c
On the Versal when the GEM clock is routed from a PLL in another domain
it goes through another clock divider. This check accounts for this
extra clock divider when setting the clock.
Thanks, Aaron.
___
devel mailing list
devel@rtems.org
http://lists.r
This patch addresses both coverity issues. I moved the data sanitation
from in the functions to before they are called.
Thanks, Aaron.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
From: Aaron Nyholm
Coverity #1530126
Coverity #1530125
---
cpukit/libmisc/shell/main_flashdev.c | 27 ++-
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/cpukit/libmisc/shell/main_flashdev.c
b/cpukit/libmisc/shell/main_flashdev.c
index 495373235f
From: Aaron Nyholm
---
spec/build/testsuites/libtests/flashdev01.yml | 20 ++
spec/build/testsuites/libtests/grp.yml| 2 +
testsuites/libtests/flashdev01/flashdev01.doc | 11 +
testsuites/libtests/flashdev01/flashdev01.scn | 2 +
testsuites/libtests/flashdev01/init.c | 190
Hi All,
Thanks again for the feedback. I've improved the implementation of the
bit allocator in line with your suggestions and refactored some other
functions to reduce repeated code.
Regards, Aaron.
___
devel mailing list
devel@rtems.org
http://lists
From: Aaron Nyholm
---
cpukit/dev/flash/flashdev.c | 902
cpukit/include/dev/flash/flashdev.h | 459 ++
spec/build/cpukit/librtemscpu.yml | 4 +
3 files changed, 1365 insertions(+)
create mode 100644 cpukit/dev/flash/flashdev.c
create mode
From: Aaron Nyholm
---
cpukit/include/rtems/shellconfig.h | 7 +
cpukit/libmisc/shell/main_flashdev.c | 592 +++
spec/build/cpukit/objshell.yml | 1 +
3 files changed, 600 insertions(+)
create mode 100644 cpukit/libmisc/shell/main_flashdev.c
diff --git a
d by a JEDEC parameter page read, ONFI parameter page
> read, or other mechanism).
>
> Is this intended to be purely informational?
>
> Kinsey
>
> On Thu, Apr 20, 2023 at 2:23 AM wrote:
>
> > From: Aaron Nyholm
> >
> > --
From: Aaron Nyholm
---
spec/build/testsuites/libtests/flashdev01.yml | 20 ++
spec/build/testsuites/libtests/grp.yml| 2 +
testsuites/libtests/flashdev01/flashdev01.doc | 11 +
testsuites/libtests/flashdev01/flashdev01.scn | 2 +
testsuites/libtests/flashdev01/init.c | 190
From: Aaron Nyholm
---
cpukit/dev/flash/flashdev.c | 849
cpukit/include/dev/flash/flashdev.h | 458 +++
spec/build/cpukit/librtemscpu.yml | 4 +
3 files changed, 1311 insertions(+)
create mode 100644 cpukit/dev/flash/flashdev.c
create mode
From: Aaron Nyholm
---
cpukit/include/rtems/shellconfig.h | 7 +
cpukit/libmisc/shell/main_flashdev.c | 592 +++
spec/build/cpukit/objshell.yml | 1 +
3 files changed, 600 insertions(+)
create mode 100644 cpukit/libmisc/shell/main_flashdev.c
diff --git a
Attached is next iteration for the flashdev API. The allocating of
memory used by the region functionality of the API has been moved
to the device driver to allow different device drivers to have
a different number of maximum regions.
Other small changes like fixing spelling errors were made and b
configurable size is
necessary what’s the best way to approach it without using malloc?
Thanks,
Aaron
> On 15 Apr 2023, at 01:58, Gedare Bloom wrote:
>
> I focused my review on the API. See below.
>
> On Thu, Apr 6, 2023 at 1:08 AM wrote:
>>
>> From: Aaron Nyholm
From: Aaron Nyholm
---
spec/build/testsuites/libtests/flashdev01.yml | 20 ++
spec/build/testsuites/libtests/grp.yml| 2 +
testsuites/libtests/flashdev01/flashdev01.doc | 11 +
testsuites/libtests/flashdev01/flashdev01.scn | 2 +
testsuites/libtests/flashdev01/init.c | 190
From: Aaron Nyholm
---
cpukit/include/rtems/shellconfig.h | 7 +
cpukit/libmisc/shell/main_flashdev.c | 592 +++
spec/build/cpukit/objshell.yml | 1 +
3 files changed, 600 insertions(+)
create mode 100644 cpukit/libmisc/shell/main_flashdev.c
diff --git a
From: Aaron Nyholm
---
cpukit/dev/flash/flashdev.c | 732
cpukit/include/dev/flash/flashdev.h | 437 +
spec/build/cpukit/librtemscpu.yml | 4 +
3 files changed, 1173 insertions(+)
create mode 100644 cpukit/dev/flash/flashdev.c
create
Hi All,
Attached is the updated flashdev API (v2). I've focused on the feedback
previously provided. I've added called the missing calls to bring
this API inline with that of the zephyr example provided. The
formatting is brought inline with RTEMS style. The shell command is
extended to include al
Hi Chris.
Yes, Sorry. I'll resend the correct patches with v2.
Thanks,
Aaron.
--- Original Message ---
On Thursday, April 6th, 2023 at 4:59 PM, Chris Johns wrote:
>
>
> Hi Aaron,
>
> Thanks for this. Is this v2 of patches?
>
> Chris
>
> On 6/4/2023 4:52 pm, aaron.nyh...@unfoldede
From: Aaron Nyholm
---
spec/build/testsuites/libtests/flashdev01.yml | 20 ++
spec/build/testsuites/libtests/grp.yml| 2 +
testsuites/libtests/flashdev01/flashdev01.doc | 11 +
testsuites/libtests/flashdev01/flashdev01.scn | 2 +
testsuites/libtests/flashdev01/init.c | 190
From: Aaron Nyholm
---
cpukit/include/rtems/shellconfig.h | 7 +
cpukit/libmisc/shell/main_flashdev.c | 592 +++
spec/build/cpukit/objshell.yml | 1 +
3 files changed, 600 insertions(+)
create mode 100644 cpukit/libmisc/shell/main_flashdev.c
diff --git a
From: Aaron Nyholm
---
cpukit/dev/flash/flashdev.c | 732
cpukit/include/dev/flash/flashdev.h | 437 +
spec/build/cpukit/librtemscpu.yml | 4 +
3 files changed, 1173 insertions(+)
create mode 100644 cpukit/dev/flash/flashdev.c
create
Attached is the updated flashdev API. I've focused on the feedback
previously provided. I've added called the missing calls to bring
this API inline with that of the zephyr example provided. The
formatting is brought inline with RTEMS style. The shell command is
extended to include all previous and
Hi All.
Sorry for the lack of documentation and clarity in my original submission.
Thank you all for the feedback, taking it all on board and will come back with
a more complete and acceptable submission.
I realised the original ticket number that I quoted was incorrect, #4869 is the
correct
From: Aaron Nyholm
---
rtemsbsd/rtems/rtems-bsd-rc-conf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf.c
b/rtemsbsd/rtems/rtems-bsd-rc-conf.c
index d559c256..f4cc987b 100644
--- a/rtemsbsd/rtems/rtems-bsd-rc-conf.c
+++ b/rtemsbsd/rtems
From: Aaron Nyholm
---
rtemsbsd/rtems/rtems-bsd-rc-conf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf.c
b/rtemsbsd/rtems/rtems-bsd-rc-conf.c
index d559c256..f4cc987b 100644
--- a/rtemsbsd/rtems/rtems-bsd-rc-conf.c
+++ b/rtemsbsd/rtems
From: Aaron Nyholm
Closes #4869
---
cpukit/include/rtems/shellconfig.h | 7 +
cpukit/libmisc/shell/main_flashdev.c | 352 +++
spec/build/cpukit/objshell.yml | 1 +
3 files changed, 360 insertions(+)
create mode 100644 cpukit/libmisc/shell/main_flashdev.c
From: Aaron Nyholm
Updates #4896
---
cpukit/dev/flash/flashdev.c | 353
cpukit/include/dev/flash/flashdev.h | 95
spec/build/cpukit/librtemscpu.yml | 4 +
3 files changed, 452 insertions(+)
create mode 100644 cpukit/dev/flash/flashdev.c
This generic flash device API creates a device wrapper for flash
drivers. It allows for the flash device to opened as a file descriptor
with region limiting. IOCTL calls are present to allow for device
idenification.
Designed with the goal of creating a generic flash driver that allows
different
44 matches
Mail list logo