Re: Building newly for 6/rtems-arm blows on compiling iOS_failure.cc

2022-05-25 Thread Mr. Andrei Chichak
Yes, I noticed it was not clang but gcc that was complaining about ---> <—— that long after I hit send. I was hoping for your forgiveness. I went into /Users/andreichichak/quick-start/src/rsb and did a find . -name ctype_inline.h I love being able to cut/paste between computers. Giving:

RTEMS5 for arm on macOS 12.3. Or how Apple blew up RTEMS.

2022-03-25 Thread Mr. Andrei Chichak
Good day. It must be Friday afternoon, because my RTEMS5 install has been messed up. Yes, this install worked until now. RTEMS5, stm32f4 BSP, macOS I recently updated macOS to 12.3 (Monterey) and a “feature" of 12.3 is the removal of python 2.7. This caused arm-rtems5-gdb to fail with:

$ ./waf bsp_list --rtems-bsps=sparc/ doesn't work

2021-08-03 Thread Mr. Andrei Chichak
I’m going through the docs at https://docs.rtems.org/branches/master/user/bld/index.html and section 7.3.2 BSP List has a broken command ./waf bsp_list Works nicely, but adding the —rtems-bsps= param to it always gives the result:

Getting STM32H7 ethernet networking working

2021-03-01 Thread Mr. Andrei Chichak
Is the README.md in the master branch of rtems-libbsd the recommended set of instructions for getting the STM32H7 networking blob built? Previously I had been following the RTEMS Networking User Manual, but the README.md file says that I should build my BSP with networking turned off. >From

Re: Using LwIP on the STM32H7

2021-02-01 Thread Mr. Andrei Chichak
Can you point me at Sebastian’s driver? I haven’t been able to find it in the repo. A > On 2021-February-01, at 16:05, Joel Sherrill wrote: > > > > On Mon, Feb 1, 2021 at 4:54 PM Mr. Andrei Chichak <mailto:gro...@chichak.ca>> wrote: > Oh, crap, I’m off by 3 or

Re: Using LwIP on the STM32H7

2021-02-01 Thread Mr. Andrei Chichak
> > A > >> On 2021-February-01, at 15:21, Joel Sherrill > <mailto:j...@rtems.org>> wrote: >> >> >> >> On Mon, Feb 1, 2021 at 4:03 PM Gedare Bloom > <mailto:ged...@rtems.org>> wrote: >> >> >> On

Re: Using LwIP on the STM32H7

2021-02-01 Thread Mr. Andrei Chichak
at 4:03 PM Gedare Bloom <mailto:ged...@rtems.org>> wrote: > > > On Mon, Feb 1, 2021 at 2:42 PM Chris Johns <mailto:chr...@rtems.org>> wrote: > On 2/2/21 8:32 am, Mr. Andrei Chichak wrote: > > Is there any advantage to using bsd networking over LWiP, or vice versa?

Re: Using LwIP on the STM32H7

2021-02-01 Thread Mr. Andrei Chichak
Is there any advantage to using bsd networking over LWiP, or vice versa? With Robin’s BSP, if it gets released, I think I should be able to finish up my bsd networking BSP for STM32F7. I’ll also see what I can do about getting it going for F4 as well. Andrei > On 2021-January-29, at 12:21,

Re: Using LwIP on the STM32H7

2021-01-28 Thread Mr. Andrei Chichak
Good morning, I’ve been trying to get ethernet on STM32F7 going using the bsd networking stack (not going that well, there is a LOT of undocumented knowledge to straighten out). The STM32x7 ethernet controllers need their descriptors and data areas to be located on 32-byte boundaries with a

Re: Issue with configure on MacOS

2021-01-05 Thread Mr. Andrei Chichak
> On 2021-January-05, at 19:47, Joel Sherrill wrote: > > > > On Tue, Jan 5, 2021, 8:36 PM mailto:gro...@chichak.ca>> > wrote: > >> Any ideas or pointers? >> >> Did you forget to add something to c/src/libbsp? The autoconf builds system >> files are under the old tree while all the code

Issue with configure on MacOS

2021-01-05 Thread Mr. Andrei Chichak
Good year! Can anybody point me at a guide or set of notes for setting up a new BSP for RTEMS 5, derived from an existing one, so that ‘configure’ will pick it up? At one point I took Sebastian’s STM32H7 BSP and munged it to work with an F767, but then the whole BSP system changed, my scripts

Re: RTEMS book - Real-Time Systems Development with RTEMS and Multicore Processors

2020-12-08 Thread Mr. Andrei Chichak
Thank you Joel and Gedare. Ordered and on its way. A > On 2020-December-08, at 14:10, Karel Gardas > wrote: > > > Wow! Such a book! Anyway, looking where it's available, I've found that > kindle edition is quite cheaper on amazon.de -- only

mDNS DNS-SD ZeroConf in RTEMS 5 ?

2020-12-02 Thread Mr. Andrei Chichak
I’m looking for a bit of guidance. I’m working on a piece of equipment that will sit out on a local ethernet network, providing a service, and my ex-Cisco buddy says that there are standard services to do service advertising and discovery and that I should use them rather than rolling my own.

Re: Fatal source exception in loopback sample on powerpc/qoriq_e6500_64

2020-09-14 Thread Mr. Andrei Chichak
Not knowing much about what you are doing, but working with other members of the PPC family (MPC5634M) currently, your error dump is showing an IVOR2, which is a data storage interrupt, but doesn’t show some of the interesting registers. SRRO will point at the instruction that caused the fault

Re: STM32 Nucleo F429ZI bsp ?

2020-08-25 Thread Mr. Andrei Chichak
The ‘429 shares a data sheet with the STM32F407VGT6 that is the basis of the STM32F4 BSP. The 429 has more RAM (256k vs 192k), and the ZI version has more Flash (2M vs 1M). This would mean that the linker files would need to be altered simply. The 429 mostly adds an LCD controller and support

devel.rtems.org down?

2019-09-02 Thread Mr. Andrei Chichak
Executing: cd $HOME/quick-start/src/rsb/rtems ../source-builder/sb-set-builder --source-only-download 5/rtems-arm Getting: RTEMS Source Builder - Set Builder, 5 (b45df48a51bc) Build Set: 5/rtems-arm Build Set: 5/rtems-autotools.bset Build Set: 5/rtems-autotools-internal.bset config:

Link errors with an install using quick-start guide

2019-07-21 Thread Mr. Andrei Chichak
Hi, It’s me again. I thought I would try and update my tools since a lot has changed in the last year and I haven’t been keeping stuff up to date. So I followed Chris’ quick-start docs on the web pages to install an RTEMS 5 set for arm stm32f4. It should be pretty straight forward, I’ve done

Re: function declare

2019-06-26 Thread Mr. Andrei Chichak
Assume that you are using C and C has a facility to bind together object modules from different files. You define a function in one file, it has a bunch of parameters and doesn’t return anything. In another file you use that function but don’t have a prototype that tells the compiler anything

Re: stm32 external SRAM

2019-06-13 Thread Mr. Andrei Chichak
A 407 doesn’t normally have external RAM. ARMs have flash at 0 and the 407 has RAM at 0x2000 as you discussed earlier. If you want to work with external flash or RAM, you have to set up the FSMC or FMC to support it, but that isn’t a part of the dev board that Sebastian used for the BSP

Re: RTEMS scheduler bug ?

2019-04-04 Thread Mr. Andrei Chichak
> On 2019-April-04, at 7:23 AM, Joel Sherrill wrote: > > > > On Thu, Apr 4, 2019 at 7:28 AM Sebastian Huber > > wrote: > Hello, > > On 04/04/2019 14:09, Catalin Demergian wrote: > > Hi Andrei, > > thank you for the elaborated answer ! > > > > I

RTEMS 5 build on a Mac with the latest compilers?

2018-09-18 Thread Mr. Andrei Chichak
Hi, I was wondering if anybody has tried to do a clean build if the HEAD with Apple’s latest version of Xcode? Apple dropped Xcode 10.0 yesterday with all fo the associated command line tools. Since these are used to build the RTEMS tools, it seemed to be a dangerous update. I always get a

Stitching in another BSP into V5

2018-09-04 Thread Mr. Andrei Chichak
Hello, I’ve been using a BSP for the STM32F767 that was derived from the STM32F4 BSP. I had it stitched into the source tree, but the way that BSPs are handled has changed and I can’t get ./bootstrap to recognize my BSP’s existence. What I did was to take my BSP and copy it into

Malloc from ISR?

2017-12-11 Thread Mr. Andrei Chichak
(sorry if this ended up on the Devel list.) I’m working with ST’s HAL USB stack, and to initialize the various structures, they use a USB interrupt as a trigger. In this interrupt, they malloc some space for a descriptor (504 bytes). The RTEMS malloc always returns 0. Is there a guard

Re: An issue with ARM interrupts revisits.

2017-11-23 Thread Mr. Andrei Chichak
One question though, where can I tap into the OS to figure out what priorities my ISRs are actually using? If there is something odd with the encoding that ST uses for priorities, I could actually be fighting an issue with CubeMX for F7 that is causing my ISRs to be interpreted as NMIs again.