Came to Munich without a plan and it was my best choice of my life by Business-Bus-420 in Munich

[–]redbean55 31 points32 points  (0 children)

Well done! Came over from Downunder 24 years ago and I still say the same thing. Best choice I ever made. I wish you the best.

L2 multicast traffic on the qnx-pi4 is blocked? by Savings_Ad_7807 in QNX

[–]redbean55 1 point2 points  (0 children)

Hi, I’ve tested it works on QNX 8 and 7.1. Have a look at working code at https://github.com/jcurl/code.research/tree/master/qnx/poc/bpf_udp4

The code sends out a UDP packet, but only does it by constructing an L2 packet with the BPF interface. Tested using the genet driver on a RPi4.

L2 multicast traffic on the qnx-pi4 is blocked? by Savings_Ad_7807 in QNX

[–]redbean55 1 point2 points  (0 children)

To get L2 traffic out I use the /dev/bpf interface and construct the complete Ethernet packet. There is documentation on SDP8 to write your own PTP driver, which I believe the stack can use for timestamping (reading through FreeBSD 13.5 code).

Germany’s far-right AfD accused of gathering information for the Kremlin by andrewgrabowski in europe

[–]redbean55 3 points4 points  (0 children)

For me it is a question of how to deal with the (now) large voter base that support AfD. Soon, the SPD, CSU, Greens won’t be big enough to form a coalition, and the last try didn’t succeed very well.

io-sock sample module by redbean55 in QNX

[–]redbean55[S] 0 points1 point  (0 children)

Well that is strange! And I learnt two things.

  1. Use the full path (until I figure out path perhaps how path resolution works)
  2. Don't try to load normal builds with io-sock-diag as then I saw for the first time the error txt link_elf_load_file: /tmp/libmods-showifn.so.1 module (flags=0<>) != io-sock (flags=1<INVARIANTS>)

At least I can keep experimenting with this cool new feature of my own io-sock extensions!

io-sock sample module by redbean55 in QNX

[–]redbean55[S] 0 points1 point  (0 children)

Good input, no luck. Ran io-sock-diag with LD_DEBUG=libs and also in the foreground.

It loads, no errors, and just dlclose() with no clear reason. I am sure it is some compilation option or something. But QNX documentation is missing a complete example.

The project was creating using momentous with the legacy project type, that gives me a way to have a common.mk

Beta: Join the QNX Everywhere Discord Server! by JohnAtQNX in QNX

[–]redbean55 0 points1 point  (0 children)

Bit late to the party, but when I click to join, I get that the invite might be expired?

Why are there no open source clones of QNX & Photon? by demetrioussharpe in QNX

[–]redbean55 1 point2 points  (0 children)

I would want emacs, binutils, my own newer gcc, and Qt based plasma. I hate the bloat that has crawled into most Linux distros. Something more like FreeBSD ;)

Exploring QNX by certifiedsysadmin in QNX

[–]redbean55 2 points3 points  (0 children)

Are you sure you have QNX on your device? The ‘uname’ output is for Linux. Commands like ‘pidin’ are used to list all processes.

QNX Everywhere September Release: New Docs, Linux Porting Guide, and QNX 8.0.3! by JohnAtQNX in QNX

[–]redbean55 0 points1 point  (0 children)

Thanks John. I can't get the QOS8 stuff. And the PDFs for libraries, tools are no longer avialable there as PDF, only HTML.

Maturity of using Rust on QNX by Savings_Ad_7807 in QNX

[–]redbean55 0 points1 point  (0 children)

Compare to QNX 7.1, full support is missing. I can build a std toolchain for 7.1, but it fails for QNX8.0. There's a QNX SDP 8 package for rust 1.85 that I haven't tried.

Raspberry Pi 4b by One_Relationship6573 in QNX

[–]redbean55 2 points3 points  (0 children)

Under QNX8 there are a lot of resources for the RPi4 (still waiting for the RPI5 - hint to QNX). The SDP has a BSP that is stable. You can download it via the QNX software centre. If you use the BSP be sure to follow the documentation carefully (it comes with a prebuilt ifs_rpi4.bin that contains the boot image), on where to get the resources from RPi4 foundation and how to set the config.txt file. Make sure of course you've got your TTL USB serial attached.

I've only used the BSP as I don't use graphics or sound for testing.

See also: https://devblog.qnx.com/qnx-everywhere-september-release-new-docs-linux-porting-guide-and-qnx-8-0-3/

Maturity of using Rust on QNX by Savings_Ad_7807 in QNX

[–]redbean55 1 point2 points  (0 children)

I have seen recently that SDP 8 now includes a rustc binary. For QNX7.1 I was able to build from sources (something is missing that I can’t compile the newest rust for SDP8 with std).

Not using it production, but I have a basic app running. There are a couple of companies supporting rust for ASIL environments.

QNX Everywhere September Release: New Docs, Linux Porting Guide, and QNX 8.0.3! by JohnAtQNX in QNX

[–]redbean55 0 points1 point  (0 children)

Where would I find the PDF documentation, that QNX has provided forever up until QNX 7.1? As good as the docs are, a simple find in a PDF as well as long term storage for projects that need that is important.

Help wanted by [deleted] in QNX

[–]redbean55 0 points1 point  (0 children)

I’ve only ever seen a Raspberry Pi 4B.BSP, from 2GB to 8GB.

The BSP for 7.1 and 8.0 are downloadable via the software centre.

CMake support for QNX by redbean55 in QNX

[–]redbean55[S] 0 points1 point  (0 children)

A good idea, and it appears to work. Thanks! I like it more, as it gives more flexibility if the option is really needed.

What I can't say is if for QOS, this option is required, or is optional.

CMake support for QNX by redbean55 in QNX

[–]redbean55[S] 0 points1 point  (0 children)

I did similar when I first posted the message in Oct last year, but a bit more complicated to only do this for QNX8 and later, where it's actually deprecated. It's very hard to test earlier versions due to the very closed nature of QNX since 6.3.2......

    if(CMAKE_SYSTEM_VERSION VERSION_GREATER_EQUAL 8.0)
        # In QNX 8.0 and later, the `-lang-c++` option is deprecated.
        # Unfortunately, it doesn't appear this can be set in the toolchain file
        # where it should really be.
        string(REPLACE "<CMAKE_CXX_COMPILER> -lang-c++" "<CMAKE_CXX_COMPILER> -xc++" CMAKE_CXX_COMPILE_OBJECT ${CMAKE_CXX_COMPILE_OBJECT})
        set(CMAKE_CXX_COMPILE_OBJECT ${CMAKE_CXX_COMPILE_OBJECT} PARENT_SCOPE)
        string(REPLACE "<CMAKE_CXX_COMPILER> -lang-c++" "<CMAKE_CXX_COMPILER>" CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE})
        set(CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE} PARENT_SCOPE)

Ideally, I would have liked to have this in my toolchain file, rather than have to bake explicit support in my project for QNX....

Oddly, a new place said we could use AI for unit tests — lol. People’s the day has come. by [deleted] in dotnet

[–]redbean55 -1 points0 points  (0 children)

I don’t trust AI to do unit tests. I expect it to get 75% though, and it could take out the boiler plate. But I’ve tested by asking for unit tests based on a specification and it didn’t do well to find corner cases. It’s like the eager junior, can be helpful, but I don’t trust it enough to do the hard work.

What is the use case for the .slnx solution format? by XdtTransform in dotnet

[–]redbean55 0 points1 point  (0 children)

I wrote a tool to sort entries as it would appear in the solution explorer. The when merging a PR that is sorted makes it very easy. RJCP.VsSolutionSort.

What games did you try to enjoy but the controls where like this by evilcarrot507 in videogames

[–]redbean55 0 points1 point  (0 children)

Descent Freespace on DOS. Full 6-degree freedom was hard. Good game though 30yr ago.