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

2022-05-24 Thread Andrei Chichak
I'm following the Quickstart guide for GSOC students, with a slight modification, on MacOS with python 3.9.1 and I get all of the way up to building newlib, but the compilation of (giggle) ios_failure.cc blows up because clang cannot find "bits/ctype_inline.h". Ideas? My commands so far

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.

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

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

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

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

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: 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

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: 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

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

2020-12-08 Thread Mr. Andrei Chichak
___ >> users mailing list >> users@rtems.org <mailto:users@rtems.org> >> http://lists.rtems.org/mailman/listinfo/users >> > > ___________ > users mailing list > users@rtems.org <mailto:users@r

mDNS DNS-SD ZeroConf in RTEMS 5 ?

2020-12-02 Thread Mr. Andrei Chichak
. If this all fails I could drop back to using LwIP out of ST’s HAL, but it would probably be better to use the existing RTEMS features. Opinions? Thanks, Andrei - Andrei Chichak Systems Developer CBF Systems Inc. 225 College Plaza 8215 112 Street. EDMONTON, ALBERTA T6G 2C8 CANADA

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: 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

Re: Using LwIP on the STM32H7

2021-01-28 Thread Mr. Andrei Chichak
tps://community.st.com/s/question/0D50XBOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32> More later, Andrei - Andrei Chichak Systems Developer CBF Systems Inc. 225 College Plaza 8215 112 Street. EDMONTON, ALBERTA T6G 2C8 CANADA Phone: 780-628-2072 Skype: andrei.c

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-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
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
Oh, crap, I’m off by 3 orders of magnitude, I’ve got 512KB. Bother, I need a nap already. A > On 2021-February-01, at 15:35, Joel Sherrill wrote: > > > > On Mon, Feb 1, 2021 at 4:25 PM Andrei Chichak <mailto:and...@chichak.ca>> wrote: > any guidance cho

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

$ ./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:

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

2022-03-25 Thread Mr. Andrei Chichak
/python3.8/Python.h /System/Volumes/Data/usr/local/Cellar/python@3.8/3.8.13/Frameworks/Python.framework/Versions/3.8/include/python3.8/Python.h But something doesn’t seem to be pointing at one of those folders so the rsb script can find it. Any hints? Thanks, Andrei ----- Andr

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

2022-05-25 Thread Mr. Andrei Chichak
pos since yesterday. So, (?) thank you (?) I think it’s okay now. Andrei > On 2022-May-25, at 00:14, Sebastian Huber > wrote: > > On 24/05/2022 21:09, Andrei Chichak wrote: >> and the tail end of the log file reads: >> /bin/sh ../../libtool --tag CXX --tag disable