Posts
4817
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1
@kernellogger Related to testing V4L2 loopback driver. It kind of grew out of BuildRoot (testing side, hard to get some packages etc.) and Yocto feels way too big hammer. Fedora Server in libvirt feels like the right scale for this work...
0
0
0
@kernellogger thanks, that page looks useful!
1
0
1

Jarkko Sakkinen

In kernel-ark:

1. "make dist-fedora-configs": Can I make only process x86 stuff and not all the archiectures?
2. Let's say I've applied patches containing a new kconfig flag. How to fix that up?

#fedora #linux #kernel
1
1
0

Jarkko Sakkinen

I feel that Rust has grown up. People use it like a pro for their business 😎 No extra fuss...

#rustlang
0
0
3
@kornel Yeah so I ASSUMED that it must be along the lines what was described here but I don't want to live in a belief system so had to ask (and I'm glad that I got so many great answers here).
0
0
0
@ncopa Yeah, I know, I test my own kernel tree on it. Otherwise, I test on QEMU but if I want to give a shot with real HW, this is my pick.

With SBC's you gotta know the gems ;-) For ARM the overally best choice is obviously Raspberry Pi 3B+. What makes this board special is broken TrustZone so you can deploy fTPM on it.
0
0
0
@ncopa It's really my recommended board for testing RISC-V kernel. And the reason for this is that it is aging ;-) Also BuildRoot upstream boots it nicely.
1
0
0
@mre Thanks this cleared it up for me!
0
0
2
The very first thing with this board is set the dip switches to SDIO mode ;-) Figure 4-10 in https://doc-en.rvspace.org/VisionFive2/PDF/VisionFive2_QSG.pdf
1
1
3

Jarkko Sakkinen

A Rust question. Command::env_clear() has this example:

use std::process::Command;

Command::new("ls")
.env_clear()
.spawn()
.expect("ls command failed to start");

Isn't that like "do nothing" given that the instance Command was just created? I don't understand this example.

#rust #rustlang
3
0
2

New year, new role @Mastodon!

Our core team is looking for a senior Front-end Developer to elevate the web UI/UX experience for our users.

Ideally:

1. You are highly skilled in accessible and semantic
2. Proficient in modern
3. Experienced with , and complex React/Redux applications

This remote full-time position requires a 4-hour overlap with the CET timezone.

For more info/to apply:
https://jobs.ashbyhq.com/mastodon/6a0953c4-812b-4697-b5b3-ea0a2ae402c0

5
17
0
@kernellogger OK. It is useful for audio stuff like https://github.com/robbert-vdh/yabridge. Thus interested...
0
0
0

Jarkko Sakkinen

Edited 8 months ago
The API change itself: takes me about 20 - 40 minutes but it just has quite a few routes for failure ;-)
0
0
0

Jarkko Sakkinen

I wonder if a kselftest written with Python can depend on GStreamer? I.e. check and skip on failure.

I'm almost done converting the demo shown in my screencast from bash and fmpeg to python and gstreamer [1]. There has been bunch of blockers, like for example getting Python bindings compile in my BuildRoot environment (stable version bump helped).

One final peace that I was missing was how to pass a file descriptor to GStreamer pipeline but here it is:

https://gstreamer.freedesktop.org/documentation/coreelements/fdsrc.html

So... 1.5 weeks of scratching my head but this all work was absolutely required before making the breaking API change to the driver code (i.e. return file descriptor to an anoymous inode in the ioctl instead of writing to /dev/video0).

Now I need only a small tweak to the test program when I test that kernel change. FINALLY ready to go back to the fun i.e. kernel hacking ;-)

[1] https://social.kernel.org/notice/ApXBpAVuAyGBmcPye8

#linux #kernel #gstreamer #python #buildroot
1
2
1
When building with BuildRoot specifically (forgot this detail).
0
0
0

Jarkko Sakkinen

When writing a system test for a media (aka V4L2) driver, Python and associated GStreamer bindings seem to be overall the sweet spot.

It has these perks:

- Packaged (unlike ffmpeg bindings).
- Can be injected during the post build.
- Has videotestsrc ;-)

#linux #kernel #media #gstreamer
1
1
2
@janantos Old article https://lwn.net/Articles/567288/. This company does not exist anymore (was acquired) but this article just has great bits on implementing flight control system with off-the-shelf hardware.

The ex-CEO is still active in space biz: https://www.chrislewicki.com/

Chris has so much more vision than Musk and Bezos combined together. He is the real G (eek) ;-) Kudos to Chris.
1
0
0
Show older