Posts
3711
Following
217
Followers
381
Kernel plumber at kernel.org. Uncloud plumber at parity.io. Entrepreneur at Siltakatu Solutions Oy.

OpenPGP: 3AB05486C7752FE1
@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
21
0
@kernellogger OK. It is useful for audio stuff like https://github.com/robbert-vdh/yabridge. Thus interested...
0
0
0

Jarkko Sakkinen

Edited 16 days 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
3
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
@janantos Asteroids are interesting because:

1. A single asteroid can have as much e.g. gold as we have here or like within figures at least. It's valuable enough that making sustainable might not require enormous cargo and obviously time tech improves and more could be mined.
2. As a side-effect we could address the classic threat scenario: asteroid impact on earth. If we can land on an asteroid, drill a hole and dig the gold, we also know how to implant a nuke, which changes the trajectory of an asteroid and saves the mankind from distinction.

It' has IMHO the best pitch of all possible out worldly things we could do in space ;-)
1
0
1

Jarkko Sakkinen

This is crucial if Arch Linux wants to be also a commercial option. Sloppy license management keeps it in the hobbyist niche.

https://lwn.net/Articles/998778/

#archlinux
1
2
2
@janantos Yeah, I think both make more sense to me anyway than inter-planetary colonization :-) I.e. there needs to be the gain-factor from the get go.
1
0
0
@janantos i've been interested for number of years endeavors related to mining asteroids for minerals
1
0
1

Jarkko Sakkinen

My take on space exploration in three bullets:

1. Fuck Mars.
2. Fuck Moon.
3. Yay Asteroids.

#mars #moon #asteroid #space
1
0
0
Show older