Re: RTEMS 6 branching

2024-04-24 Thread Peter Dufault
a later time. > > Kinsey I've been moving a driver from legacy to bsd so I definitely need to easily switch back and forth for the same BSP for testing. I agree with Chris, but it's apparently a desirement, not a requirement, so it shouldn't hold up the branching. Peter ---

Re: RTEMS 6 branching

2024-04-24 Thread Peter Dufault
be updated. > Maybe we should even wait for the GCC 13.3 release. > > I asked about a gcc 13.3 release and we should not wait. They intend to do a > 14 release before returning to 13.3. We should plan to do 6.1 with a GCC 13 > branch hash and probably plan to swap that out with a 13.3 tarball when it's > released. > > We are good at imposing more requirements. :) > > Peter - Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [RFC] rtems: Add options to kernel output char handler

2024-04-19 Thread Peter Dufault
TRANSMISSION_COMPLETE? And following on you could have >>> RTEMS_BSP_IO_NO_TRANSMISSION? The key point is "transmission" relates to the >>> external data pin of the interface. >> >> The no-output option is used to just flush the device without transmitting a >> new >> character. > > Like what flush does? > >> For the flush, we could add something like this: >> >> Flushing the device should ensure that all characters handed over to the >> device >> for output are visible to external consumers. For example, the device output >> FIFO and transmit shift registers should be empty. > > Lets just say transmitted. The devices we manage are embedded and so we > receive > and transmit data. Lets not introduce new or custom terms. > > Chris > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel Peter - Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: rtems-kernel-init.c tries to re-make existing "/etc"

2024-04-18 Thread Peter Dufault
> On Apr 18, 2024, at 10:55 AM, Joel Sherrill wrote: > > > > On Thu, Apr 18, 2024 at 9:50 AM Peter Dufault wrote: > > > > On Apr 18, 2024, at 10:34 AM, Kinsey Moore wrote: > > > > A patch for EEXIST here should be fine. It would be nice

Re: rtems-kernel-init.c tries to re-make existing "/etc"

2024-04-18 Thread Peter Dufault
> On Apr 18, 2024, at 10:55 AM, Joel Sherrill wrote: > > > > On Thu, Apr 18, 2024 at 9:50 AM Peter Dufault wrote: > > > > On Apr 18, 2024, at 10:34 AM, Kinsey Moore wrote: > > > > A patch for EEXIST here should be fine. It would be nice

Re: rtems-kernel-init.c tries to re-make existing "/etc"

2024-04-18 Thread Peter Dufault
initialize(); assert(sc == RTEMS_SUCCESSFUL); At least you get a panic message. I'll submit a patch. Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

rtems-kernel-init.c tries to re-make existing "/etc"

2024-04-18 Thread Peter Dufault
just checking for EEXIST and ignoring the error. Does anyone care to object now and say I should investigate further to fix the caller before I submit a patch? Peter - Peter Dufault HD Associates, Inc. Software and System Engineering ___

Re: PowerPC e7400 executable is type powerpc:e500 making debug difficult

2024-03-30 Thread Peter Dufault
Feel free to submit a patch > Peter - Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: PowerPC e7400 executable is type powerpc:e500 making debug difficult

2024-03-30 Thread Peter Dufault
t do this. > > If this were wrapped in a conditional for the proper CPU core variants, it > might resolve the issue. One would hope that if there were no e500 code, > binutils and gdb wouldn't get confused. > > --joel > > On Wed, Mar 27, 2024 at 12:19 PM Peter Dufault wr

PowerPC e7400 executable is type powerpc:e500 making debug difficult

2024-03-27 Thread Peter Dufault
); This line causes the ".o" to be "powerpc:titan" (if the above E500 lines are removed): ppc_mtivor(35, ppc_exc_vector_address(ASM_E500_PERFMON_VECTOR, vector_base)); I "#ifdef'd" them out to get it to "work" but unless someone can figure out how to g

Re: [PATCH libbsd] freebsd/sys/dev/e1000: Fix long timeout

2024-02-01 Thread Peter Dufault
This is for 6-freebsd-12. How is that specified? I don't see [PATCH libbsd-6-freebsd-12] etc. > On Feb 1, 2024, at 6:00 AM, dufa...@hda.com wrote: > > From: Peter Dufault > > - safe_pause_us() and safe_pause_ms() depend on the clock tick. Use DELAY(). > --- >

Re: [PATCH rtems6 1/1] libmisc/shell: Fix timeout in getting terminal size

2024-01-24 Thread Peter Dufault
> On Jan 23, 2024, at 7:09 PM, Chris Johns wrote: > > On 23/1/2024 9:00 pm, Peter Dufault wrote: >>> On Jan 22, 2024, at 1:51 PM, Peter Dufault wrote: >>>> On Jan 22, 2024, at 12:16 PM, Gedare Bloom wrote: >>>> >>>> I have a coup

Re: [PATCH rtems6 1/1] libmisc/shell: Fix timeout in getting terminal size

2024-01-23 Thread Peter Dufault
> On Jan 22, 2024, at 1:51 PM, Peter Dufault wrote: > > > >> On Jan 22, 2024, at 12:16 PM, Gedare Bloom wrote: >> >> I have a couple minor notes below. More important, does this change >> require updating documentation? > > I'd have to

Re: [PATCH rtems6 1/1] libmisc/shell: Fix timeout in getting terminal size

2024-01-22 Thread Peter Dufault
gt; I know we have a somewhat aging shell-specific guide: > https://docs.rtems.org/branches/master/shell/index.html > > > On Fri, Jan 19, 2024 at 5:19 AM wrote: >> >> From: Peter Dufault >> >> - Fix detection of timeout in rtems_shell_term_wait_for(). &g

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-11 Thread Peter Dufault
to open a bug first? Only downside is VTIME needs to be multiples of .1 seconds, so it will be .1 or .2. The VTIME and VMIN is a good interface *except* that the VTIME>0 VMIN>0 case initial timeout is infinity. I don't like that, though I suppose an alarm and EINTR would let me do what I wis

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-05 Thread Peter Dufault
> On Jan 5, 2024, at 1:36 PM, Peter Dufault wrote: > > I "#if 0"d out the call to "rtems_shell_term_row_column_swapped()" that > checks for a broken "tmux" terminal. That is what sends "\033[>0q" to the > console. I no long

Re: Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-05 Thread Peter Dufault
t calls every command. The escape sequence does work on gnome-terminal, so I'm not sure what causes the delay. I can investigate that, but question if this should be done in the shell. [dufault@gen6 rtems]$ echo -e "\e[18t" ^[[8;42;111t [dufault@gen6 rtems]$ Peter - Peter

Pause on console in libmisc/shell detecting terminal size (mvme5500, beatnik)

2024-01-04 Thread Peter Dufault
ize as env variables Closes #4763 Which has this: fputs("\033[>0q", stdout); I backed it out for now. Anyone else seeing this? Peter - Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel

Re: Outdated list of BSPs in rtems-tools/config

2023-09-15 Thread Peter Dufault
omething like that. I have thought about this. It's more hand-coding for the control loops, but it's traditional coding. Not everyone thinks the eTPU/PowerPC architecture is as well-designed as I do - "Way too complicated!" is the feedback I get. Peter - Peter Dufa

Re: Outdated list of BSPs in rtems-tools/config

2023-09-15 Thread Peter Dufault
nd the integration is up to the licensor. That said, ARM works well. > On Sep 14, 2023, at 15:22 , o...@c-mauderer.de wrote: > > Hello Peter, > > Am 13.09.23 um 19:22 schrieb Peter Dufault: >>> On Jul 25, 2023, at 10:14 , Joel Sherrill wrote: >>> >>>

Re: Outdated list of BSPs in rtems-tools/config

2023-09-13 Thread Peter Dufault
PowerPC's architecture targeted at engine control, I will miss how the ADC DMA chain works together with the eTPU and also schedules the output so cleanly do background motor control, and other timing intensive applications, so that the main CPU is free to e.g. run RTEMS (and in my cas

Re: Prioritizing and documenting libbsd development goals (was: libbsd updates)

2023-01-25 Thread Peter Dufault
ainability Loss > 2. Transparency Loss + Modularity Loss + Code/RAM Size Increase > 3. Performance Loss > > I wrote each goal now as a "minimize" objective. I think it is not > possible to establish strict priorities on these objectives. > > Good engineering requires

Dies libbsd DHCP provide a private network address?

2021-09-08 Thread Peter Dufault
providing this as a fall-back address. It happens infrequently. Does the libbsd DHCP client have fall back to provide a private address, e.g. "169.254.208.184"? I did some searching in "libbsd" but didn't find it. Peter - Peter Dufault HD Associates, Inc. S

Re: Using libbsd dhcpcd options

2021-08-20 Thread Peter Dufault
t; "clientid\n" "nodhcp6\n" "ipv4only\n" "timeout 0\n" "interface ffec0\n" "option bootfile_name\n" "option root_path\n" "\n"; Peter - Peter Dufault HD Ass

Re: Using libbsd dhcpcd options

2021-08-20 Thread Peter Dufault
online that DHCP option 129 has three definitions: "PXE - undefined (vendor specific)", "Kernel options Variable length string", and "Call Server IP address". Above does "option rtems_cmdline" and "define 129 string rtems_cmdline" set

Using libbsd dhcpcd options

2021-08-19 Thread Peter Dufault
le for use in "/usr/local/libexec/dhcpcd-run-hooks". which would be an argv of {"dhcpcd", "--option", "17", NULL }. Or is best practice to do something with "rtems-bsd-rc-conf-net.c"? Peter - Peter Dufault HD Ass

Re: [PATCH rtems-libbsd 0/5] RTEMS LibBSD Documentation

2021-08-05 Thread Peter Dufault
t the list of board support packages output by "./rtems-bsps" in RTEMS-6 and there are many old ones (M68K, old VME boards) that I assume use the legacy stack and aren't likely to be updated to use LWIP or "libbsd" and where the old stack works and has a small memory foot print. I un

Re: Is rtems/bsd/test/network-config.h supposed to be installed?

2021-07-06 Thread Peter Dufault
> On Jul 6, 2021, at 06:42 , Chris Johns wrote: > >> On 3 Jul 2021, at 5:14 am, Peter Dufault wrote: >> >> I updated my libbsd today and an application is failing to build because it >> can't find the include file "rtems/bsd/test/network-config.h".

WAF build system: configure to prepend .o to all links?

2021-07-04 Thread Peter Dufault
I want to build the i.MX RT BSP with a custom DTS file. It's easy to build an application using ones own "dts.o" file, but I want to build all the BSP tests with my dts.o. For now I just change the one in the tree but I don't want to do that. I don't want a BSP variant, either, since it's a

Is rtems/bsd/test/network-config.h supposed to be installed?

2021-07-02 Thread Peter Dufault
I updated my libbsd today and an application is failing to build because it can't find the include file "rtems/bsd/test/network-config.h". It was added yesterday to "rtemsbsd/include/bsp/nexus-devices.h". "nexus-devices.h" the only file outside of the testsuite directory that includes

Re: Minimum RAM for "libbsd"? Can't run in 8MB on "imxrt".

2021-06-30 Thread Peter Dufault
> On Jun 23, 2021, at 01:17 , Sebastian Huber > wrote: > > > On 21/06/2021 15:31, dufa...@hda.com wrote: >>> On Jun 21, 2021, at 08:52 , Sebastian >>> Huber wrote: >>> >>> What happens when you reduce the memory space for the mbufs to 4MiB? What >>> is the "RTEMS work space"? >> By

Minimum RAM for "libbsd"? Can't run in 8MB on "imxrt".

2021-06-21 Thread Peter Dufault
ted to run in 8MB RAM and 16MB FLASH on the "imxrt" BSP. I've got 7.8MB of RTEMS work space out of my 8MB of RAM and can't get a network application to start up after trying to reduce the configuration. Peter --------- Peter Dufault HD Associates, Inc. Software and System Eng

Can't build minimal buildset for libbsd on IMXRT

2021-06-11 Thread Peter Dufault
ibbsd is a recent 6-freebsd=12 is "minimal" built regularly? Any hints? Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering. signature.asc

Re: [PATCH rtems 2/2] bsps/imxrt: Simplify linkcmds and make it flexible

2021-06-09 Thread Peter Dufault
ide of on-chip RAM until after we finish setting HyperRAM up in "bsp_start_hook_0()". The code for the "imxrt" "_start" assigns something to the stack pointer that isn't mapped yet if we haven't set up HyperRAM. It's not clear to me as someone not that clear with ARM if

Re: [PATCH rtems 1/2] cpu/armv7m: Avoid regions with negative size

2021-06-04 Thread Peter Dufault
; rbar = (uintptr_t) begin | region | ARMV7M_MPU_RBAR_VALID; > rasr |= _ARMV7M_MPU_Get_region_size(size); > } else { > -- > 2.26.2 > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel Pete

Re: [PATCH 2/2] score: Simplify thread queue timeout handling

2021-05-18 Thread Peter Dufault
t_set_enqueue_timeout_realtime_timespec( > _context, > - abstime > + abstime, > + true > ); > _Mutex_Acquire_slow( >Mutex, owner, executing, level, > _context ); > > diff --git a/cpukit/score/src/threadqtimeout.c > b/cpukit/score/src/threadqtimeout.

RTEMS source builder: can't find RTEMS include files but then can?

2021-04-30 Thread Peter Dufault
soem.dir/oshw/rtems/oshw.c.obj [100%] Linking C static library libsoem.a [100%] Built target soem ==> %install: (...) - Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols su

Re: [PATCH v2] c-user: Add scheduler glossary terms

2021-04-13 Thread Peter Dufault
eduler". So "ineligible" is good. That's based on the mailings and not the code. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception an

[PATCH] powerpc/shared/console: Make console baud rate configurable.

2021-04-09 Thread Peter Dufault
The "powerpc/shared/console" code has the start-up console value fixed at 9600 baud. This changes the hard-wired constant "9600" in the code to the configuration setting "BSP_CONSOLE_BAUD" and adds configuration support in both the "waf" and the legacy configuration systems. Note that the VME

Re: Questions about waf config system: "grp" and updating configure.ac

2021-04-09 Thread Peter Dufault
b/configure.ac" still uses "BSP_DEFAULT_BAUD_RATE" while the "waf" build system changed the code and configuration name to the standardized "BSP_CONSOLE_BAUD". I didn't fix it since it's not associated with the powerpc/shared changes, but it is bit-rot. If the o

Questions about waf config system: "grp" and updating configure.ac

2021-04-08 Thread Peter Dufault
ned up. 3. Is it correct to update the "configure.ac" files when new options are added or are those now considered defunct? Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet usi

Re: How do we know what priority of the Init task is?

2021-02-23 Thread Peter Dufault
e priority of the POSIX initialization > > > thread, so the default priority of 2 is used, see > > > _POSIX_Threads_Default_attributes. > > > > > > -- > > > embedded brains GmbH > > > Herr Sebastian HUBER > > > Dornierstr. 4 > > > 82178 Puchheim > > > Ger

Re: [PATCH 13/13] rtems: Avoid potential recursion in ASR handling

2021-02-18 Thread Peter Dufault
> On Feb 18, 2021, at 12:49 , Gedare Bloom wrote: > > willing to buy: style formatter. I'll buy one too. Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocol

Re: [PATCH v3 1/3] bsps/xilinx_zynq: Add SPI driver for cadence-spi

2021-02-15 Thread Peter Dufault
w before we push these changes. >> > > There is an u-Umlaut in it. That is probably it. As it is part of the name, > it's hard to get rid of. > I could probably use the English name (German Aerospace Center) which has no > special characters. > Would that be prefe

Re: How to Classify Intermittent Test Failures

2021-02-01 Thread Peter Dufault
; > I don't see not running them as a good option. Beyond adding a new state to > reflect this oddity, any suggestions? > > --joel > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > _______

Re: [PATCH] score: Use defines for Thread_Life_state

2021-01-29 Thread Peter Dufault
hat are the same enum. I avoid using #define. In most situations you can't print them in a debugger and they imply restricted usage. Is this an appropriate warning? Does it always mean that the enum should be replaced with a #define? If it doesn't always apply then the style should make it c

Re: [PATCH] score: Add _Thread_Demand_objects_information()

2021-01-28 Thread Peter Dufault
echtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler > Unsere Datenschutzerklärung finden Sie hier: > https://embedded-brains.de/datenschutzerklaerung/ > > ___________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/

Status of clang-llvm builds? Related to powerpc-spe.

2021-01-22 Thread Peter Dufault
he quality of the "powerpc-spe" support in Clang/LLVM? This is must an exploratory question. I don't have a plan to work on this soon. Peter --------- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet usi

Re: Add "CONSTRAINTS" section do directive documentation?

2021-01-20 Thread Peter Dufault
st > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel Peter - Peter Dufault HD Associates, Inc. Sof

Re: Oddity with address recorded for gcc instrumentation on ARM

2020-12-21 Thread Peter Dufault
Sebastian. > It had me confused at first when I started working with ARM. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering. signature.asc

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-12-01 Thread Peter Dufault
an issue. If you're testing I2C from the shell I'm not sure when it's important to have only e.g. i2cget but not i2cset. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subje

Re: Proposal for hardware configuration dependent performance limits

2020-11-13 Thread Peter Dufault
hen >> Registernummer: HRB 157899 >> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler >> Unsere Datenschutzerklärung finden Sie hier: >> https://embedded-brains.de/datenschutzerklaerung/ >> >> ___ >> devel m

Re: [PATCH] shell: Remove not functioning fdisk mount/unmount command

2020-10-09 Thread Peter Dufault
"\tdeletes the logical disks associated with the partitions\n" >> + "\tof the disk\n" >> "\n" >> "option values:\n" >> "\tDISK_NAME: absolute path to disk device like '/dev/hda'\n" >> @@ -84,14 +79,11 @@ static int rtems_bdpart_shell_main( int argc, cha

Re: [PATCH v2] rtems: Generate

2020-10-08 Thread Peter Dufault
for this: > > https://devel.rtems.org/ticket/4134#ticket > > It is not on my high priority list. > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/list

Re: Legacy networking stack removal

2020-10-07 Thread Peter Dufault
rtems.org > http://lists.rtems.org/mailman/listinfo/devel The footprint is larger. I forget exactly which board I was evaluating but I couldn't always use the "libbsd" stack and made it conditional. I didn't spend much time trying to reduce the footprint. Maybe if I'd remo

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Peter Dufault
codes of 0 always mean success. Trying to pretend you need to compare a return to a special "success" #define that is 0 is pointless and error prone now-a-days IMHO. If I really wanted a return code that was special I'd do something like: typedef struct { rtems_status_code status; /* Error ret

Re: does rtems 5.1 support create a core dump file when accessing a invalid address or other fatal errors?

2020-09-15 Thread Peter Dufault
> devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel Peter - Peter Dufault HD Associates, Inc.

Re: New coding style for new files?

2020-09-11 Thread Peter Dufault
iguration with no diffs regardless of how you reformatted the input. I know this would use the same tool that is being tested to create the input test files, but I think in this case it's OK due to how invasively "uncrustify" can be configured to reformat the code. For example, it c

Applying an operation to a set of threads in RTEMS

2020-07-02 Thread Peter Dufault
to which thread. However, it won't scale infinitely. Linked lists won't scale infinitely in real-time either. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception

Re: Discussion regarding high-level interface for GSoC memory protection project.

2020-03-28 Thread Peter Dufault
t; > On Fri, Mar 27, 2020 at 5:26 AM Utkarsh Rai wrote: > > > > Hi, > > My GSoC project proposal intended for providing thread-stack protection > > involves implementation on two levels, providing low-level hardware support > > for the target architecture and high-lev

Issues when adding a multi-port PCI serial card

2020-03-12 Thread Peter Dufault
Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email i

Re: [PATCH] bsps/shared/grlib/1553/b1553brm.c : addressed logic issue and unsigned_compare

2020-02-28 Thread Peter Dufault
IED; > + return RTEMS_SUCCESSFUL; > + > } > > static rtems_device_driver brm_control(rtems_device_major_number major, > rtems_device_minor_number minor, void *arg) > -- > 2.17.1 > > ___ > devel mailing list > deve

pkg-config RTEMS BSP files in master branch cause me problems

2020-02-24 Thread Peter Dufault
ing: This stuff is experimental and may be changed at any time". Am I missing instructions on how to avoid using it in the first place, or how to over-ride it in certain situations? Peter --------- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivere

Re: GSOC: Call for Mentors

2020-02-20 Thread Peter Dufault
r thread stack protection, I'm very interested in this. I can't be a mentor due to my current work load. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public inter

Re: rtems.git force push pending

2020-02-13 Thread Peter Dufault
means I "rm -rf" a local repository and, well, "re-clone". I will need to google to see what a "forced push back" is. What was the "unfortunate mishap"? If I were knowledgeable would I know immediately without asking? Peter - Peter

Beginning work on BSP for i.MX RT 10xx (1052 specifically)

2020-02-08 Thread Peter Dufault
re I've gotten started, I plan to make this BSP a variant in the "imx" BSP and to try to either re-use existing "chip" library routines or add new ones. Unfortunately this will definitely be a BSP supporting only what I need for the current application. Peter --

Need to disable "atsamv" watchdog to avoid reset

2020-01-31 Thread Peter Dufault
een seconds, not fifteen or twenty minutes, if the behavior isn't changed, but I added a "WDT_Disable(WDT);" to my code anyway and that solved the problem. I posted this to give anyone else a heads-up and also to find out if anyone understood why it would take so long for the WDT to kick i

Porting RTEMS to NXP i.MX RT1020

2020-01-27 Thread Peter Dufault
ethernet IP going back a while. Is this interface supported by RTEMS already? I don't think so. Is it supported on FreeBSD? I wasn't successful in figuring that out, but searching for "mac-net" is problematical, "mac" has multiple hits related to networking. Peter - Peter Du

"atsamv" BSP legacy network driver status

2020-01-27 Thread Peter Dufault
=/opt/customer/rtems-5/ \ --enable-networking \ --enable-posix \ --disable-smp \ --disable-multiprocessing \ --enable-tests \ --enable-cxx \ --enable-maintainer-mode Peter - Peter Dufault HD Associates, Inc. Software and System Engineering

How does the dynamic loader (libdl) hook in to gdb?

2020-01-16 Thread Peter Dufault
rtl-debugger.c" imply that GDB will poke around and set breakpoints based on a SVR4 dynamic loader in order to locate the information, but I can't figure out how to do it. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivere

What do you want to study in GSOC 2020?

2019-12-29 Thread Peter Dufault
at the patch just >>slipped >>> the attention. >>> >>> Normally I leave documentation patches to our native speakers. >>They spot >>> a lot of errors that I won't be able to find. >>> >>> Can you please s

Re: New Build System Status

2019-11-15 Thread Peter Dufault
support for PowerPC/SPE including a FreeBSD port. I hope to get time to test that, but if anyone else is interested and has time please test out building such a BSP. (PowerPC/SPE is gone in GCC) Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This e

Re: Adding RTEMS_INTERRUPTED

2019-10-04 Thread Peter Dufault
code enumeration. > > Is there any objection to adding RTEMS_INTERRUPTED as a status code? > > I am open to suggestions for a better name. > Do you see a use for RTEMS_INTERRUPTED instead of to support EINTR defined behavior? If you don't I'd name it RTEMS_EINTR so that it isn't over

What opens stdout? printf() fails after rtems-tester printf() succeeds.

2019-09-24 Thread Peter Dufault
at establishes the standard open file descriptors that isn't being called in my update? I *think* I have the GDB stub working, I had to modify it to bring it up-to-date, but I'd rather see a console message like "GDB stub starting up..." before I go further. Peter - Peter

rtems tester: Why does rtems_test_assert() just exit?

2019-09-21 Thread Peter Dufault
nds using “motload” and the power switch I’m using. Why doesn’t "rtems_test_assert()” output something that shows the test failed so that the reset can happen then? Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered thro

Where are results of rtems-tester test results archived?

2019-09-21 Thread Peter Dufault
I’ve searched but can’t find anywhere. I’d like to see the results of the tests on all architectures to compare to what I see on PowerPC-beatnik. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet

rtems-tester initial port getting "'NoneType' object is not iterable"

2019-09-20 Thread Peter Dufault
st.py", line 42, in test.run(sys.argv[1:], command_path = base) File "/home/dufault/development/rtems/rtems-tools/tester/rt/test.py", line 455, in run for report_format in report_formats: TypeError: 'NoneType' object is not iterable [dufault@gen6 lou_files]$ Peter ----

Re: llvm on CentOS 7

2019-09-16 Thread Peter Dufault
that installed. devtoolset-7-binutils.x86_64 2.28-11.el7 @centos-sclo-rh That will give you gcc 7.3.1 and friends: [dufault@fubar ~]$ /opt/rh/devtoolset-7/root/bin/gcc --version gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 Free Software Foundation, Inc. This is

Re: [PATCH] rtems: Make rtems_version_control_key() safer

2019-09-10 Thread Peter Dufault
he consistent error code interface (0 vs !0) and I frequently want more convenient interfaces. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering. __

Re: [PATCH] record: Add support for interrupt handlers

2019-09-05 Thread Peter Dufault
Don’t take it too far off-line, I want to follow. But do take it out of “support for interrupt handlers…”. > On Sep 5, 2019, at 01:29 , Chris Johns wrote: > > I think we can take C++ development styles offline and chat personally, maybe > in > person soon. :) Peter ----

Re: [PATCH 1/2] psxmsgq05: Added priority unblocking mq tests

2019-08-30 Thread Peter Dufault
ctions need to reference each other do you need to forward declare one. That’s a rare situation. Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to in

Re: Which Python version for new tool code?

2019-08-02 Thread Peter Dufault
tools. I definitely agree there are many who can’t use Python 3 for anything that ships to run on RHEL7, but for development Red Hat licensees can use the Red Hat Software Collections and someone like me can use EPEL. Both have 3.5 and 3.6 available. I don’t use “software collections” bu

Incompatible rpcUdpInit() and nfsInit() in rtems-libbsd

2019-07-26 Thread Peter Dufault
ubar rtems-libbsd]$ Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering. ___ devel mailing list devel@rtem

build of libbsd for powerpc fails with error: redefinition of 'eieio'

2019-07-16 Thread Peter Dufault
bbsd/build/powerpc-rtems5-psim-default' Build failed -> task in 'bsd' failed with exit status 1 (run with -v to display more information) ERROR: Waf configure on rtems-libbsd failed Zynq dufault@gen6 lou_files]$ Peter ----- Peter Dufault HD Associates, Inc. Software and Syste

Conditionalize make behavior e.g. disable --gc-sections

2019-05-07 Thread Peter Dufault
) LDFLAGS_GC_SECTIONS_DISABLE = -Wl,--gc-sections endif (...) LDFLAGS = $(LDFLAGS_GC_SECTIONS_DISABLE) and then I set RTEMS_GC_SECTIONS_DISABLE=1 in the one Makefile where I need it. I don’t see similar patterns, is this the way to do it? Peter - Peter Dufault HD Associates, Inc

Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-04 Thread Peter Dufault
> fork/exec so will never work. >>Should this change be a build system change or is this needed plus the >>build system change? >> Both. Rcmdsh.* should not be in libbsd. > > Does the `#if __rtems__` formatting conform to CONTRIBUTING.md ? It looks to > me l

Run time linker allocator locking hangs RTEMS

2019-04-26 Thread Peter Dufault
section .text: : 0: b580push{r7, lr} 2: af00add r7, sp, #0 4: f240 movwr0, #0 8: f2c0 movtr0, #0 c: f7ff fffe bl 0 10: bf00nop 12: bd80pop {r7, pc} Z

Run Time linker and relocation of multiple local labels

2019-04-25 Thread Peter Dufault
/arm-stubs-vxstubs/bin/sys-bad rtl: rel: sym:printf(51)=000daac9 type:10 off:07b0 Peter ----- Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and

Re: [RFC/RFA] Obsolete Cell Broadband Engine SPU targets

2019-04-03 Thread Peter Dufault
*-*-* \ > ) > if test "x$enable_obsolete" != xyes; then > -- > Dr. Ulrich Weigand > GNU/Linux compilers and toolchain > ulrich.weig...@de.ibm.com > > ___ > devel mailing list > devel@rt

BSP for Microchip ATSAMA5D27-SOM1-EK1

2018-11-25 Thread Peter Dufault
as the existing ATSAMV7 port. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email is delivered through the public internet using protocols subject to interception and tampering. ___ devel mailing list devel

Re: GCC 8 PowerPC Argument Changes

2018-02-11 Thread Peter Dufault
t or better approach > than just to change the custom file when we bump GCC? > > Thanks. > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel Peter - Peter Dufault HD

Re: Obsolete powerpc*-*-*spe*

2017-02-18 Thread Peter Dufault
o put those applications into maintenance mode and make that target inappropriate for new RTEMS applications. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email, like most email, is delivered unencrypted via internet email protocol

Re: C11 Re: [PATCH 3/6] termios: Use C11 mutex for input/output

2016-12-14 Thread Peter Dufault
ed? Is the threading code outside the > RTEMS source tree and what effect does that have on those looking to > certify RTEMS? > > Does a change like this require a coding standard update? > > Chris > ___ > devel mailing list > devel@rtem

Clarify DFLT and PRIO "wait_operation" field in rtems_monitor_task_dump() in pthreads in 4.12

2016-09-29 Thread Peter Dufault
- Peter Dufault HD Associates, Inc. Software and System Engineering This email, like most email, is delivered unencrypted via internet email protocols subject to interception and tampering. Contact HDA to discuss methods we can use that ensure secure communication

Trying to build mvme5500 "Beatnik" for 4.11, option manager (no-foobar.rel: No such file or directory) issue?

2016-09-22 Thread Peter Dufault
what generates this. I get problems when I try to boot the binary, but I want to fix this before proceeding further. - Am I correct that this is some kind of initialization of optional managers? - Does anyone recognize where I should be looking? Peter - Peter Dufault HD Associates

Re: Should rtems_error() use fprintf()?

2016-03-19 Thread Peter Dufault
; I know this is a very old piece of code and predates printk() but should > this routine be changed to use printk()? > > Is it still safe? Especially in light of SMP demands. > > --joel > ___ > devel mailing list > devel@rtems.org &

Re: How will user's compile with Makefiles? Was: Re: large bss size for sample applications

2015-10-01 Thread Peter Dufault
st dilutes our > efforts. We need to find a suitable middle ground for everyone. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering This email, like most email, is delivered unencrypted via internet email protocols subject to interception and tamperi

Re: How will user's compile with Makefiles? Was: Re: large bss size for sample applications

2015-09-26 Thread Peter Dufault
d requirement is that we can't force a build system on users. We can > provide guidance for popular options we may not personally use but that's > about it. Instructions for Eclipse or Visual Studio integration for example. > >> Wkr Thomas. >> >> >> &g

Re: Memory protection on RTEMS?

2015-09-10 Thread Peter Dufault
systems, it requires a little more design formalism up front. Peter --------- Peter Dufault HD Associates, Inc. Software and System Engineering ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

SMC91111 CYG_ASSERT(Unexpected rx packet) on Phytec MPC5554

2015-08-15 Thread Peter Dufault
than Phytec MPC5554 and a Gaisler variant. If anyone is familiar with that chip I’d really appreciate speculation as to what situation triggers this. Peter - Peter Dufault HD Associates, Inc. Software and System Engineering

  1   2   >