Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support

2018-11-29 Thread chris
to use for a successful build (targets: ARM, x86-64). This is pretty frustrating and very disappointing. There are so many variables which are not exactly documented, at least for the current version of RSB/kernel. Thanks in advance for every answer or hint pointing me to

Re: Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support

2018-12-01 Thread chris
Hi Sebastian, Chris, Thanassis and William, first of all thank you for the warm welcome to the mailing list and the quick response on my request! Your remarks and tips really motivated me to continue and not give up. Sorry for the late reply but I couldn't try and test earlier because

Re: Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support

2018-12-03 Thread chris
ssage here once I can provide something which might be of interest. Thanks again! Chris December 3, 2018 1:18 AM, "Sebastian Huber" wrote: > On 02/12/2018 23:36, Chris Johns wrote: > >> On 30/11/2018 19:01, Sebastian Huber wrote: >>> I regularly build the RTE

Re: can't clone rsb

2018-12-17 Thread Chris Johns
x27;ll continue using the working copies and get on with EPICS. Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RISC-V RTEMS Support

2018-12-18 Thread Chris Johns
ernal DDR controller. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS not compiling with -mfloat-abi=hard in ARM926ejs

2019-01-08 Thread Chris Johns
On 9/1/19 3:41 am, Amarnath MB wrote: > > What do you meant by dynamic loading tests? > The tests under 'testsuites/libtests' for tests 'dl0*', for example dl01. Chris ___ users mailing list users@rtems.org http://lis

Re: replacement for bin2boot in RTEMS 5.1

2019-01-16 Thread Chris Johns
GRUB. I had a play with the RSB built qemu and RTEMS 5 I can run qemu for the PC BSP configure with: $ /opt/work/chris/rtems/kernel/rtems.git/configure --target=i386-rtems5 \ --prefix=/opt/work/chris/rtems/kernel/5 \ --enable-rtemsbsp=pc686 \ --enable-maintainer-mode \ BSP_P

Re: WAF hiding that build failed (Thomas in newbie mode...)

2019-01-28 Thread Chris Johns
clude', > '-I/home/EB/thomas_d/sandbox/rtems-HEAD/rtems-libbsd/rtemsbsd/arm/include', > '-I/home/EB/thomas_d/sandbox/rtems-HEAD/rtems-libbsd/build/arm-rtems5-imx7-default/freebsd/sys/arm/include', > '-I/home/EB/thomas_d/sandbox/rtems-HEAD/rtems-libbsd/freebsd/sys/arm/include', > '-I/home/EB/thomas_d/sandbox/rtems-HEAD/rtems- > > . > snip > > > So, my question: is it possible to modify the build system so that the > summary "Build failed" is at the end of the output? Could you please upload or send me the whole output including stderr? For me waf always places the error message at the end of the output no matter how many cores you have running at once. Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Waf error building rtems-libbsd on macOS 10.14

2019-01-28 Thread Chris Johns
f is iterating up the path a character at a time. > We use Waf 2.0.13 but trying with the latest 2.0.14 yields the same result. OK and thanks. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Waf error building rtems-libbsd on macOS 10.14

2019-02-06 Thread Chris Johns
On 30/1/19 12:49 am, Adam Lindberg wrote: >> On 28. Jan 2019, at 23:35, Chris Johns wrote: >> >> On 24/1/19 8:40 pm, Adam Lindberg wrote: >>> Hi Joel, >>> >>> My python version are: >>> >>>$ python --version >>>Pytho

Re: After last patches libdl don't load rap files

2019-02-13 Thread Chris Johns
se; > } >   > /** obj->entry = (void*)(uintptr_t) ehdr.e_entry; */ > /* > * Allocate the sections. > */ > if (!rtems_rtl_obj_alloc_sections (obj, fd, NULL, &rap)) >   return false; >   > if (!rtems_rtl_obj_load_sections (obj, fd, rtems_rtl_rap_loader, &rap)) >

Re: device-tree example for altera-cyclone-v bsp

2019-02-14 Thread Chris Johns
On 14/2/19 5:57 am, Sebastian Huber wrote: > Unfortunately, I was not able to commit it. Did this get resolved? Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: After last patches libdl don't load rap files

2019-02-14 Thread Chris Johns
On 14/2/19 5:45 pm, Chris Johns wrote: > On 14/2/19 5:26 pm, Сергей Круглов wrote: >> Hello! >> After last patches libdl don't load rap files. Not allocated memory for >> sections. >> You forget rtems_rtl_obj_alloc_sections before rtems_rtl_obj_load_sect

Re: Waf's dependency on Python3

2019-02-25 Thread Chris Johns
ing so we cannot just assume waf. The weird thing is the path you posted '///h' looks like a Windows path but I cannot be sure. I suggest you raise a bug with as much detail as you think we need, eg commands lines and outputs. Thanks Chris __

Re: Beaglebone help needed

2019-03-06 Thread Chris Johns
official repository but not > Ben's. I see another error while running sb-set-builder during compilation > of ubsan.c (gcc-6.3.0) as follows. Is there a patch for this that I can > apply to fix my local clone of the rsb ? Are you using the master version of the RS

Re: Beaglebone help needed

2019-03-06 Thread Chris Johns
On 7/3/19 3:52 am, Christian Mauderer wrote: > Am 06.03.19 um 12:11 schrieb Chris Johns: >> On 6/3/19 6:07 pm, Sarvesh Patkar wrote: >>> Hey everyone, >>> >>> I went through the quick start guide and could build the Hello World for the >>> sparc/erc32

Re: Waf's dependency on Python3

2019-03-20 Thread Chris Johns
ix the issues in the current libbsd. > I recently built libbsd on MacOS. This machine does not have any 3rd party packages installed ... https://lists.rtems.org/pipermail/users/2019-February/032935.html Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Waf error building rtems-libbsd on macOS 10.14

2019-03-20 Thread Chris Johns
lp` shows the available commands. There is adding `-v` a number of times and during the configure phase add `--show-commands`. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Waf error building rtems-libbsd on macOS 10.14

2019-03-21 Thread Chris Johns
tripping something in waf or our support code. Without the ability to play it is difficult for me to know how to move forward. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: rtems-net: network sema obtain: network not initialised error

2019-03-23 Thread Chris Johns
t;     time.tv_usec = 0;   >       >     printf("select begin\n"); >     fs_sel = select(fd+1,&fs_read,NULL,NULL,&time);  Why no just call read and block? You use termios to control timeouts when waiting? Chris >     printf("fs_sel = %d\n",fs_sel);   >    

Re: SPARC-RTEMS5-GCC ignores or don't find libraries

2019-03-23 Thread Chris Johns
he first is for using a Makefile and the second is using the waf build system. Looking the compiler command lines should provide the details you need for a specific BSP. I hope this helps. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Marking files as "Hidden / Inaccessible" on filesystem

2019-03-29 Thread Chris Johns
I do not think they are documented but you can see them in the code here ... https://git.rtems.org/rtems/tree/cpukit/libmisc/shell/shell.c#n556 Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: SPARC-RTEMS5-GCC ignores or don't find libraries

2019-03-31 Thread Chris Johns
Hi Michel, Sorry about the delay, I have been away for a week or so. On 26/3/19 4:27 am, Michel Macena wrote: > Hi Chris, I'm glad you helped me, > but I'm kind of lost in RTEMS development cycle. > > I followed all steps of section 2 (Quick-Start),and in the > end the

Re: Problem with rtems5 on mvme2100 - hard-float/soft-float confusion

2019-04-01 Thread Chris Johns
our time is limited. If a user reading this would like to help with funding please consider a support option. If you are unsure how or what this is please directly email Joel or me. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: lib-bsd socket close issues

2019-04-04 Thread Chris Johns
; > > > > Hi, > > > > > > I have noticed an issue with lib-bsd that the legacy stack does not > have. > > > > > > If have a loop that does > > > > > > for (;;) > > > { > > >   wait(100) /

Re: RTEMS scheduler bug ?

2019-04-04 Thread Chris Johns
On 5/4/19 3:36 pm, Sebastian Huber wrote: > However, who knows that this manual exists and reads it? Why not add a link or reference in the BSP's section in the user manual? Thanks Chris ___ users mailing list users@rtems.org http://lists.r

Re: RTEMS scheduler bug ?

2019-04-04 Thread Chris Johns
On 5/4/19 3:56 pm, Sebastian Huber wrote: > On 05/04/2019 06:52, Chris Johns wrote: >> On 5/4/19 3:36 pm, Sebastian Huber wrote: >>> However, who knows that this manual exists and reads it? >> Why not add a link or reference in the BSP's section in the user manual? &

Re: SPARC-RTEMS5-GDB and RTEMS Fatal error !

2019-04-15 Thread Chris Johns
t is starting it. You then need to attach to it. This is similar to attaching GDB to a running process. As your target hardware is remote, that is not on the host machine running GDB you need to use the `target remote` command to attach to the "remote process" or you target hardware. When attached GDB presents you with the halted state of your target and you are now ready to set breakpoints, inspect variables and continue executing. With an embedded GDB session the `load` command is sometimes used. This is an extra step to download the executable image to your remote target. GDB needs to be attached to your target to do this. Think of this step as filling the memory with the code and initialised data. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Booting another ELF from RTEMS

2019-04-16 Thread Chris Johns
of > porting and embedding YAFFS into the FSBL if I can avoid it. U-boot contains YAFFS [2]. Maybe you can see how it does it or you could chain from the FSBL to a 2nd stage loader, ie u-boot, and then RTEMS from the YAFFS. Chris [1] https://ftp.rtems.org/pub/rtems/people/chrisj/jffs2-boot/

Re: build command

2019-04-17 Thread Chris Johns
igure and > make > but sometime i think not build completely You would need to provide some output indicating the issue for us to help. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Booting another ELF from RTEMS

2019-04-21 Thread Chris Johns
On 20/4/19 1:12 am, Jonathan Brandmeyer wrote: > Thanks for sharing your experience. > > On Tue, Apr 16, 2019 at 9:54 PM Chris Johns wrote: > >> I recommend the FSBL in flash not be touched unless the hardware is in a >> manufacturing environment where it can be recove

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-04-21 Thread Chris Johns
version available for darwin 15.6.0. I have: $ which cc /usr/bin/cc $ cc --version Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.5.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ ls -las /usr/

Re: libbsd network stack optimization tips & tricks

2019-04-28 Thread Chris Johns
ed, then I > wouldn't expect throwing buffers at the problem to help. I would attempt to separate the networking performance testing and your apps ability to consume the data. This may help isolate the performance issue. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS_FATAL_SOURCE_EXCEPTION in RTEMS

2019-05-04 Thread Chris Johns
point. So I'll just let you investigate on that topic some more. Yeah it is hard without more details. Chris *** FATAL *** fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION) R0 = 0x0040 R8 = 0x0010 R1 = 0x0008 R9 = 0x0001 R2 = 0x0048 R10 = 0x4010a3e8 R3 =

Re: rtems_binary_semaphore_post from IRQ handler

2019-05-05 Thread Chris Johns
ich is waiting for the binary semaphore. > Semaphore > released inside the interrupt. In some cases after several transmission I'm > getting fatal: RTEMS_FATAL_SOURCE_EXCEPTION. What type of fatal error are you seeing? Chris > > I'll be really appreciate for any sugges

Re: RTEMS_FATAL_SOURCE_EXCEPTION in RTEMS

2019-05-06 Thread Chris Johns
an exception switches stacks and status registers. I have not looked into what the ARM you have does but it does not matter because I think it is the vector table fetch which is causing you problems. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
Hi, I am looking for some information on doing either but I cannot find out what I need. I have run a few libbsd examples and some run and some crash. I am wondering if I need an device tree installed but I cannot find out which one and from where. Any hints would be most welcome. Thanks Chris

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
On 7/6/19 6:34 pm, Christian Mauderer wrote: > On 07/06/2019 10:23, Chris Johns wrote: >> Hi, >> >> I am looking for some information on doing either but I cannot find out what >> I >> need. I have run a few libbsd examples and some run and some crash. I am >

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
On 7/6/19 7:18 pm, Christian Mauderer wrote: > > On 07/06/2019 11:16, Chris Johns wrote: >> On 7/6/19 6:34 pm, Christian Mauderer wrote: >>> On 07/06/2019 10:23, Chris Johns wrote: >>>> Hi, >>>> >>>> I am looking for some information on doi

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
On 7/6/19 7:41 pm, Christian Mauderer wrote: > On 07/06/2019 11:19, Chris Johns wrote: >> On 7/6/19 7:18 pm, Christian Mauderer wrote: >> >> Which FDT blob do I need to load? >> > > I usually use the one from either the official Linux or the one from > FreeB

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
On 7/6/19 10:32 pm, Sebastian Huber wrote: > On 07/06/2019 14:23, Chris Johns wrote: >> On 7/6/19 7:41 pm, Christian Mauderer wrote: >>> On 07/06/2019 11:19, Chris Johns wrote: >>>> On 7/6/19 7:18 pm, Christian Mauderer wrote: >>>> >>>> Which

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
like to > help with the documentation on Beagle BSP. :-) Excellent and thanks. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-07 Thread Chris Johns
tant question. What are device tree overlays? Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-08 Thread Chris Johns
on MacOS. We need to figure out why. I do not see this error. > The latest Xcode version available for 10.11.6 includes LLVM 7.3.0, which > cannot build gdb. The Macbook Pro I am writing this email on and use with RTEMS has: huia:rtems chris$ uname -a Darwin huia 18.6.0 Darwin Kernel Vers

Re: [EXTERNAL] Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-08 Thread Chris Johns
On 8/6/19 5:58 pm, Christian Mauderer wrote: > - Ursprüngliche Mail - >> Von: "Oyake, Amalaye (386M)" >> An: "Chris Johns" , "Vijay Kumar Banerjee" >> , "Christian Mauderer" >> >> CC: "RTEMS Users" &g

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-08 Thread Chris Johns
, then return it back into a system if they wish too. What about building the FDT blobs we need with the RSB? I know this will work on FreeBSD and I suspect Linux, MacOS has some issues with clang's cpp. Chris ___ users mailing list users@rtems.org

Re: [EXTERNAL] Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-08 Thread Chris Johns
On 9/6/19 4:29 pm, Vijay Kumar Banerjee wrote: > On Sun, Jun 9, 2019 at 6:22 AM Chris Johns <mailto:chr...@rtems.org>> wrote: > On 8/6/19 5:58 pm, Christian Mauderer wrote: > > - Ursprüngliche Mail - > >> Von: "Oyake, Amalaye (386M)"

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-10 Thread Chris Johns
On 9/6/19 6:00 pm, Christian Mauderer wrote: > On 09/06/2019 04:24, Chris Johns wrote: >> On 8/6/19 1:45 am, Christian Mauderer wrote: >>> Note that basically all device tree files that I have found yet are forked >>> from the Linux ones. >> >> Yes, I under

Re: RTEMS Shell Problem

2019-06-10 Thread Chris Johns
shell guide has so it may need to be updated to include this settings. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS Shell Problem

2019-06-11 Thread Chris Johns
  32 > #define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS        64 > > ( my values are probably overkill here.. ) It did work and I have updated the shell's manual with this configuration. :) https://docs.rtems.org/branches/master/shell/configuration_and_i

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-14 Thread Chris Johns
> supported by Apple on my system, i.e., 10.11.6. The Xcode GUI is showing me it is Version 10.2.1 (10E1001) Have you updated the command line tools? I am not sure if this is automatically done when Xcode is updated, I assume it is. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-15 Thread Chris Johns
ot a bug should be raised on gdb in its bug tracker. Would you be able to test an RSB patch to try gdb-8.3 if I create one? Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-15 Thread Chris Johns
On 16/6/19 7:24 am, Juan Rafael García Blanco wrote: > Hi, > > Sorry, I need to downgrade my macOS installation. I will not be able to check > whether gdb-8.3 builds fine or not. I’m sorry I cannot be more useful. > No problem. Let me know when you can help again

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-16 Thread Chris Johns
command failed due to signal (use -v to see > invocation) That is not nice. I have raised issues like this with Apple in the past which they have fixed but given the age of these tools I do not think they will fix them. I am not sure how we handle these older versions of MacOS with gdb now

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-17 Thread Chris Johns
On 18/6/19 2:56 am, Gedare Bloom wrote: > On Sat, Jun 8, 2019 at 8:25 PM Chris Johns wrote: >> >> On 8/6/19 1:45 am, Christian Mauderer wrote: >>> Note that basically all device tree files that I have found yet are forked >>> from the Linux ones. >>

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-17 Thread Chris Johns
of a library can trigger a different configure path and this exposes things not normally seen. It would be good to support older MacOS versions if we have active users. Can we say for a clang < 10 we attempt to use gcc? I will need some help with selecting the versions we need. Chris ___

Re: RTEMS 5 Release

2019-06-24 Thread Chris Johns
usy there past few months and I do releases as unfunded work. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: BeagleboneBlack - RTEMS/FreeBSD/USB Testing Failure.

2019-06-26 Thread Chris Johns
ate SD card images. The 5th example in the documentation here: https://docs.rtems.org/branches/master/user/tools/boot-image.html#examples shows how to create an image with an FDT blob ... rtems-boot-image -o sd-card.img -b u-boot-beaglebone -s 32m \ -k dhcpcd01.exe -d am335x-boneblac

Re: stm32 rtems_counter_delay_nanoseconds() longer

2019-07-07 Thread Chris Johns
nds-per-tick If this entry is not clear please let us know or even better send us a patch to the documentation. Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS5 libdebugger/gdb issue

2019-07-12 Thread Chris Johns
MP mode. The ARM support here is complex and the differences in devices adds to the complexity. The ARM support to date has all been unfunded work so I work on it when time permits. :) I hope this help. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS5 libdebugger/gdb issue

2019-07-12 Thread Chris Johns
On 13/7/19 6:56 am, Chris Johns wrote: > > There are some bugs in the code I have under test and I am waiting for > feedback > on. You can find these changes here so please feel free to try ... This should read ... There are some bugs in the code. I have fixes under test and I am

Re: anybody used docker image for build tools?

2019-07-18 Thread Chris Johns
ild a reusable image in about 2.5 hours and have the > Eclipse plugin for docker trying to compile from inside the image, but missing > some other setup, probably auto conf stuff.  Are there any other > considerations > I'm overlooking trying to proceed w

Re: How to start telnetd in POSIX_Init

2019-07-24 Thread Chris Johns
vice.c This means you can add to rc.conf: telnetd_enable=YES telnetd_options="-p 200" > Very concretely: > > Which priority do I have to choose in the > > rtems_telnetd_config_table > > the Posix Prio or the rtems Prio? It is an RTEMS Pri

Re: RTEMS C++ examples?

2019-07-24 Thread Chris Johns
on embedded.fm <http://embedded.fm>. :) +1 Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
d, so there > is no useful debugging information. > > Can someone build and run the current master for the RPi2 successfully? > I can build and can confirm something is broken. I get no output from a RPi2. Chris ___ users mailing list users@r

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 6:03 pm, Chris Johns wrote: > On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: >> Hello, >> >> We are having troubles getting RTEMS to run on the RPi2. >> We built the BSP from current master and used the firmware of a recent >> Raspbian on the SD-Card

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 9:28 pm, Sebastian Huber wrote: > > > On 25/07/2019 13:21, Chris Johns wrote: >> On 25/7/19 6:03 pm, Chris Johns wrote: >>> On 24/7/19 11:26 pm, jan.som...@dlr.de wrote: >>>> Hello, >>>> >>>> We are having troubles

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 25/7/19 9:28 pm, Sebastian Huber wrote: > > Is the interrupt stack size large enough? Does it help if it is increased? > How do I increase it? Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
`arm-rtems5` and `rtems_bsp` is the BSP, eg `beagleboneblack`. The RSB extracts the needed options from pkg-config ... %define rtems_bsp_includes -I%{_includedir} %define rtems_bsp_ccflags %{pkgconfig ccflags %{_host}-%{rtems_bsp}} %define rtems_bsp_cflags %{pkgconfig cflags %{_host}-%{rtems_bsp}}

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
ARMs low number registers are arguments or local scratch registers when calling C code. The call to `bsp_start_arm_drop_hyp_mode` trashes r3. I will post a patch to devel with a tested fix ... $ sudo rtems-run --rtems-bsp=raspberrypi2 \ --user-config=/home/chris/.rtemstesterrc `find . -name h

Re: RTEMS C++ examples?

2019-07-25 Thread Chris Johns
ive_mutex rlock; void foo(blahs& blah) { // hold the mutex while in this function std::lock_guard guard(rlock); blah.blah().blah = "blah"; } Chris [1] https://en.cppreference.com/w/cpp/thread/recursive_mutex ___ users mailing list

Re: Problems running RTEMS on Raspberry Pi2

2019-07-25 Thread Chris Johns
On 26/7/19 10:25 am, Chris Johns wrote: > I will post a patch to devel with a tested fix ... https://lists.rtems.org/pipermail/devel/2019-July/026845.html https://lists.rtems.org/pipermail/build/2019-July/002884.html The test results look OK. Ch

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
of the post. We need to document what we can and it can be improved over time as we find new things. I only referenced the RSB because it exists and covers most things. Having said that adding packages to the RSB is very welcome. Vertical integration adds value to a BSP for our users. :) Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Link errors with an install using quick-start guide

2019-07-25 Thread Chris Johns
On 26/7/19 4:21 pm, Sebastian Huber wrote: > On 26/07/2019 08:08, Chris Johns wrote: >> On 26/7/19 3:14 pm, Sebastian Huber wrote: >>>>> >>>>> 1. which Autoconf stuff you need to build a multilib based configuration, >>>>> and >>>

Re: AW: Problems running RTEMS on Raspberry Pi2

2019-07-26 Thread Chris Johns
On 26/7/19 4:36 pm, jan.som...@dlr.de wrote: >> Von: Chris Johns [mailto:chr...@rtems.org] >> >> The RPi2 does not support SMP and this instruction is in in an RTEMS_SMP >> block. >> > > I thought the RPi2 (the first version with ARMv7) would support SMP. >

RPi2 Proposal to change the memory map

2019-07-29 Thread Chris Johns
update the rtems-boot-image tool to support the raspberrypi2 and this new mamory map. Comments? Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Missing arm_switch_reg is blowing up the build. And time is going way too fast.

2019-08-05 Thread Chris Johns
port a wider range of hardware (the beaglebone) and something has broken. Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS GCC BIG ENDIAN SUPPORT

2019-08-06 Thread Chris Johns
caaba22288, Newlib 1d35a003f): 1 objects Common flags: 4 | -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard The tool currently does not operation on archives so you will have to extract the object files to checked them. It does work with object files and executables. Chris [1] https

Re: problem with socket and task

2019-08-14 Thread Chris Johns
search for the address `0116a5` in `less` by entering `/0116a5`. Replace `my.exe` with the name of the ELF file you ran on the board. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Eclipse and RTEMS on Zynq

2019-08-28 Thread Chris Johns
> sample “hello” within RTEMS itself, that appears to work fine. What am I > missing? Are you also running the hello.exe the same way via JTAG? Have you used the required machine options when compiling _and_ linking your executable? Chris ___ use

examples-v2.git renamed to rtems-examples.git

2019-08-29 Thread Chris Johns
Hello, I have moved the RTEMS examples repository previously name examples-v2.git to rtems-examples.git. If you have a repo you can move to the new repo's path using: $ git remote set-url git://git.rtems.org/rtems-examples.git Thanks Chris ___

Re: printf not working on Zynq standalone build of examples-v2/hello/ [but printk does]

2019-08-29 Thread Chris Johns
hclk(void) { return XPAR_CPU_CORTEXA9_0_CPU_CLK_FREQ_HZ / 2; } uint32_t zynq_clock_cpu_1x(void) { return 1U; } Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS on Zynq

2019-08-31 Thread Chris Johns
I can look into it? > I’m sifting through Xilinx and RTEMS documentation to figure out how to boot > from an SD card. Is this a custom board? Thanks Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: devel.rtems.org down?

2019-09-02 Thread Chris Johns
me he has to sort it out. We hope it will be back and running soon. Thank you for your patience and understanding. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: DMA to Ramdisk area on Zynq RTEMS

2019-09-02 Thread Chris Johns
you wish to store data from the PL in a RAM disk you will need to create a pool of buffers you DMA data into and then you can have a task that wakes on a DMA completing and writing that the data to the file. Chris ___ users mailing list users@rtems

Re: Msys2 on Windows 10

2019-09-04 Thread Chris Johns
7;: > -c: line 0: unexpected EOF while looking for matching `'' > > }/python/{for(i=1;i libsubstr($i,3)*;}': > -c: line 1: syntax error: unexpected end of file > > Build FAILED > > Build Set: Time 0:0

Re: symbol resolve between the two RAP files

2019-09-11 Thread Chris Johns
seImage does not have a symbol > for 'a_test_func'> > Is there a way to solve this? Or is it impossible at all? > Have you tried ... $ rtems-ld -b BaseImage -e b_main a.o b.o -o z.rap ? You should be able to load modules with an unresolved error and when the module with th

Re: development guide out of date?

2019-09-11 Thread Chris Johns
The other little wobble is the build stuff is still in the old tree. As a result you will not find any build stuff under `bsps`. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Tick interrupt priority?

2019-09-18 Thread Chris Johns
until the outer most interrupt exits so being any higher does not gain you anything. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Tick interrupt priority?

2019-09-18 Thread Chris Johns
said implies the hardware timer has an automatic reload so the latency of the timer interrupt is not a factor in the overall stability of the tick period. If software needs to reload the timer then the priority can be a factor. Chris ___ users mailin

Re: 5/rtems-arm realview_pbx_a9_qemu build error

2019-09-20 Thread Chris Johns
On 20/9/19 2:53 am, Kent Dorfman wrote: > Did this a few weeks ago and it seemed to work, but now getting an > undefined symbol when trying to compile the testsuite as follows: > > /storage/work/rtems/configure \ > --prefix=/storage/work/bsp-host \ > --target=arm-rtems5 \ > --enable-rtemsbsp=realv

Re: Three chip erc32 Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-09-21 Thread Chris Johns
On 21/9/19 8:34 am, Michel Macena wrote: > Sorry for the late response, but the board is with hardware issues wich caused > the strange behavior. I'm using another board with a single chip ERC32. Many thanks for let us all know. Chris ___ us

Re: Write and read functions for RTEMS

2019-09-24 Thread Chris Johns
? RTEMS supports termios for UART communications. All you need is a driver for your hardware. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: jtag access for zybo zynq board

2019-09-29 Thread Chris Johns
hardware and allows me to script simple commands to the interface. The openocd post is a good solution. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: jtag access for zybo zynq board

2019-09-30 Thread Chris Johns
obs to a ppc flash to set up > the board. xilinx introduction of a ROM and their FSBL requirements > complicate matters slightly, compared to what I'm used to. I understand. Feel free to ask and I can try and answer. Have you seen ... https://

Re: jtag access for zybo zynq board

2019-10-01 Thread Chris Johns
y be a better path for you to follow. Note the various board directories hold the ps7_init file generated for that specific hardware. This means u-boot and the Xilinx SDK boot.bin are consistent in how the hardware is set up. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Does stm32f4 target support libbsd?

2019-10-01 Thread Chris Johns
On 2/10/19 2:44 pm, Sebastian Huber wrote: > > For low RAM targets lwIP and uIP are an option. > The RSB can build lwIP (net/lwip). I have not used it or know anything about it. Chris ___ users mailing list users@rtems.org http://lists.

Re: jtag access for zybo zynq board

2019-10-02 Thread Chris Johns
e Xilinx FPGA tools to make use of it. I get the need and want for the software tools to be separate and not to depend on vendor tools, I also support this view. I prefer this because it breaks the dependency between the hardware tools and the PL development life cycle and the software's life cycle. Each team can control and manage their own workflow. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: Help request for potentially new host dependencies

2019-10-07 Thread Chris Johns
y Doorstop. This is a Python 3 based tool to manage requirements > and > specification items (e.g. the build specification). MacOS does not have python3 or pip by default. This is a base machine with only Xcode installed. This is the base level all current testing of RTEMS tools, RT

Re: File system deadlock troubleshooting

2019-10-07 Thread Chris Johns
a buffer trace flag that show the release calls to bdbuf .. RTEMS_RFS_TRACE_BUFFER_RELEASE There is no trace call to get or read. Maybe add a get/read trace as well. The RAM disk also has trace in the code which can be enabled by editing the file. Chris ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

  1   2   3   4   5   >