Podcast Lookup

Episode 854 transcript

FLOSS Weekly

  • November 12, 2025

About this episode

FLOSS-854

Jonathan: Hey folks. This week Ben Meadows joins me and we talk with Jason Shepherd about Adam and Ochre. That is, its containerization on embedded hardware using web assembly. That's a statement I never thought I would say, and I tell you by the end of the show, I'm convinced it's great. You don't wanna miss it.

So stay tuned. This is Floss Weekly episode 854, recorded Tuesday, November the 11th, the big Daddy core. Hey folks, it is time for Floss Weekly. That's the show about Free Libre and open source software. I'm your host, Jonathan Bennett, and today we're talking embedded, we're talking virtual machines and embedded we've got Jason Shepherd, we're gonna talk to you here in just a minute about a company called Adam and a technology called Ochre, which I'm looking forward to learning about.

And when, when I discovered that this was an embedded thing, it's, it's Linux, it's virtual machines, and it's embedded. And I said to myself, there is a couple of guys, but one guy in particular that would be really, really good to have on. And that's my buddy Ben Mets. Hey Ben. Welcome.

Ben: Hey, Jonathan. How's it going?

Jonathan: It's good. I appreciate you being here. Yeah. This is, this is something that we both we both, we mess with a lot, these technologies.

Ben: Yeah. We, we do. And we do it in some pretty non-standard way. So I'm, I'm interested to hear, hear where, where this technology is different and, I would assume with the naming of the project, that much like Ogers, what's the, what's the the quote from Shrek Ogers are like onions.

They have layers. So I'm, I'm assuming ogre is like this as well.

Jonathan: Yeah, I'm, I'm sure. Yeah. I was thinking about it earlier today and it kind of reminds me of what we do with the, the Port Eno stuff where we, we take Arduino code and run it on native Linux. Mm-hmm. It sounds like maybe they're doing the opposite, going about this, the opposite direction, taking things built for Native Linux and shrinking it down to making it fit on embedded should be interesting.

Ben: Right?

Jonathan: Yeah. Alright, well we could take guesses at this, but we've got Jason, we've got the man, so let's bring him on. Welcome to the show, Jason Shepherd.

Jason: Yeah, thanks for having me.

Jonathan: Yeah. So among, among a lot of things that you do play in a band, you work on guitars here, let's, work on guitars as people can see, which is a very cool collection behind you there.

But you've been, you've been sort of in the industry here for, what, 40 years now? You've been doing this for quite a while.

Jason: Pushing 30, yeah.

Jonathan: Oh, okay. Pushing 30. All right. I, I, I, it's

Jason: not quite that great yet.

Jonathan: I don't mean to, I don't mean to over date you there? I'm

Jason: well on the way.

Jonathan: So what, what is, what is the what is the deal with Adam and er, give us kind of the 30,000 foot view to start with.

What what problem are you guys trying to solve?

Jason: So, at Adam I, I describe it as VMware light or Docker on a diet is another way to put it. You guys said in the intro, virtual machines, it's, it's really kind of more containers, but, you know, we'll kind of get into that. But we're about bringing.

Cloud native principles and containerization and continuous delivery of software. You kind of modular software to the embedded space, not just Linux, but also to MCUs.

Jonathan: Mm-hmm.

Jason: And we're leveraging a technology called WebAssembly to do it which is getting increasing traction outside of the browser

Jonathan: web.

Okay. So this, I, I saw this and this really fascinated me. Like, of all the things to pick, web assembly seems like an interesting choice. Maybe let's start there. Like what, what is the advantage? Why is Web Assembly gaining traction and why did you guys pick that technology to make this work?

Jason: Yeah, well, for starters, it's an awesome technology with a terrible name, and it, it confuses people because it's not really web or assembly.

I mean, obviously it started in the browser, but you know, a lot of people, for people that haven't heard of it, which is many, it, they're using it almost every day. And in terms of, you know, browser modules and things like that, as well as it's in the fire stick, you know, from Amazon and, and whatnot.

But built for the browser, augment JavaScript, but increasingly being used elsewhere. The Kubernetes crew is, is working with it in the, in kind of data center applications. Why, because it, it's a really light. Virtualization technology that's a compiled target. It's not a programming language.

Mm-hmm. So, you know, 30 years ago we had Java, like, you know, write once, run anywhere, but I mean, that's a language and it's, and it's fairly heavy. Web assembly is more of a wrapper and creates like a virtual CPU mm-hmm. From that. And so that alone is not, you know, doesn't, isn't the end all be all for containers and all that, but that's the enabling technology and people are using it because it's secure, it's lightweight and it's code independent.

Jonathan: Mm-hmm. You know, I saw, I saw a story just over a week ago that they're working on and they have, they have a working port of the Linux kernel to web assembly. And so there's a page right now where you can go to and you can boot a Linux, CPU in WebAssembly in your browser. And that was, that was kind of a aha moment for me where it's like, oh, you can actually do some really interesting stuff with IX technology.

Jason: Yeah. Yeah. It's, it's I think we're just scratching the surface of what we can do.

Jonathan: Yeah. So what is, is there an, is there an existing project to run web assembly on embedded platforms or is that the piece that you guys brought with, with Ochre?

Jason: Yeah. There, there, there wasn't something specific to embedded before.

I mean, we've, we've had there's, there's was wasm edge, there's things in the Kubernetes space, you know, in terms of you know, projects and Linux Foundation. But very resource constrained devices. There wasn't anything, and that was kind of the impetus at Adam for us to create a runtime that leverages web assembly and, and we contributed that runtime to.

The, the Linux Foundation, it's the, the Ochre project, or I guess o ogre. We can we can run with that too. No, but yeah, the O Ochre project and Linux Foundation and, and, you know, go drive the container standard and kind of the overall technology. And then, you know, at Adam, we, we have a commercial support model on top of it.

Jonathan: Mm-hmm. Yeah, of course. What, what license is ochre and, and this tech under, I'm just curious.

Jason: Apache two.

Jonathan: Apache two. Okay. Yeah. That makes it fairly, fairly their liberal for folks to be able to come and, and do what they want to with it, which is definitely helpful.

Jason: Yeah, I mean, it's, it's the whole point is, is if you wanna be part of an ecosystem, you don't fork it too much, but at the same time, you can add

Jonathan: right

Jason: value to it.

It's not like you, you shouldn't be able to add value on top and differentiate, but you know, it's your choice.

Jonathan: Yeah. Sure. I, I saw in your, in your documents, I saw a. A technology term that I kind of, Ben and I both, we, we kind of had a reaction to. It's all built on top of Zephyr. It's like, why,

Jason: what's what expand on that.

Ben: We have a lot of institutional history with, with Zephyr because the project that Jonathan and I work on the most sort of built is built too well around the Arduino platform where, where the Zephyr stuff is. Like, we would love to explore Zephyr, but we have so many libraries and dependencies in the, in the Arduino yeah.

Framework. Well,

Jason: I mean, you know, obviously it's early, but they're, they're headed in that direction.

Ben: Mm-hmm. Mm-hmm.

Jason: Yeah. Can you, and a lot of, a lot of companies.

Ben: Yeah, I, one of the things that I heard about Zephyr that was kind of interesting was that a lot of the, a lot of the different MCU vendors are essentially coalescing around, around that framework.

Is that kind of one of the reasons why, why you guys chose to build on top of, on top of Zephyr for, for sort of the iot?

Jason: Yeah. Yeah. I mean, so, you know, there's two versions of the runtime and we can kind of get more into the specifics. You know, one's Linux, it runs as a service. It could be really any Linux and whatnot.

And then when you get into MCUs obviously things get a little more specific and, and all the, the lower level IO and the resource constraints. So it's, it's a bit more board specific, but once you get the runtime going, then everything feels the same on the top, just like, you know, it, it, it feels like a, a Docker container, you know, more on that to come.

But we picked Zephyr because it's got a lot of momentum. And that means a very engaged community. There's a lot of board support there. I mean, in the past, you know, we actually prototyped initially on free RTAs. It could be anything. It's not, it's not specific to Zephyr that that is really the you know, it creates the core of the BSP so to speak, or the interface to the hardware.

But all of the, the abstraction layer on top makes it to where, just like in the cloud, I don't care what, I shouldn't care what RTAs is below it, just like I shouldn't care what Linux is below it unless I have certain needs or certifications or something like that to the, the app developer. The environment feels the same.

In fact, you could develop an app, you know, take existing C code, rust, whatever compile it through the web assembly container technology, and then run the exact same binary on Linux or an MCU on the Zeer runtimes. That's really cool. It's, you know, really, really portable. But, we've seen a lot of companies that are like, that have been on Veritas for a while as an example, that they're like, well, we know we need to move to Zephyr.

We're looking at it. But there's kind of internal, kind of some politics or just like inertia. Yes. Like, and even over the course of the past year, we've seen people be like, actually and are now actually actively working with supper. So it's, it's, you know, it's, we think it's a great choice. It's not the only choice.

I'm sure we'll see other flavors of, of re in the, you know, longer term, but it's a good, it's a good starting point.

Jonathan: Yeah. I'm, I'm super curious. What, what kind of workloads make sense to be able to run on Native Linux or on an MCU? Is it such a wide range of potential hardware?

Jason: It's a wide range, so, so we weren't, we actually started with, you know, MCUs, only upfront, you know, the Zephyr run time for Ochre. And and then we, we saw this big opportunity for Linux-based devices because there's a, there's a whole bunch of devices out there that can run Linux, but if you wanna move from embedded Linux to like containers traditional technologies like Docker are pretty heavy.

Ben: Mm-hmm.

Jason: This is, if you have, you know, five, 12 megs of memory, a gig of memory, you know, your set top box set, top box routers, switches industrial controllers, there's a lot of stuff out there that has a gig or of memory or less. It's cost optimized. And if you use if you move to Docker, you've just, you know, it's 256 megs or so of footprint, you've just used up a half or a quarter of the memory just for the foundation.

Ben: Mm-hmm.

Jason: This containerization technology using web assembly, you know, through ochre is, is a couple hundred megs less on the Linux side. But it feels like docker the, the, the containers can live in the same repositories. We've done a lot of work to make sure it follows the OCI spec as closely as possible.

So if you know Docker, it's gonna feel the same.

Ben: Mm-hmm.

Jason: So the Linux side, the use case is consolidating workloads of any type and just save me memory space. Let me pick a lower cost bomb, you know, for, for that hardware, you know, less memory cost save some power, something like that. So it's, it's a kind of a bake off with traditional container technologies where it's a, it feels the same, but you can you can free up some space, go to happy hour earlier because you don't have to be as efficient with your coat.

Nice. But then, so that's, that's the one side. But then you got on the MCU side, the biggest. You know, alternative right now is do nothing. You know, keep doing what you've always been doing, you know, embedded firmware and kind of hard code things and that's not gonna go away. I mean, you get into like, you know, below M three class processor or like your airbag that's gonna be embedded

Jonathan: Right, right.

Jason: Quite from time, you know, super, super power sensitive on battery. Although we're gonna see some change there one of the main drivers, a couple of the main drivers to change on the MC side, one is AI on device.

Jonathan: Mm-hmm.

Jason: The person that knows AI is not the person that knows embedded you know, seed drivers and lower levels.

Very not typical. Yes, we have found this and vice versa. So what, what we do and, and then it's a language agnostic, so you could write stuff in Python and rust and go and whatnot and compile it. And so, you know, we're working with folks that are like, I want to do vibration analytics on a sensor. I've got one group that knows, you know, the embedded side.

They get the runtime going, and then you, you, the other person, you know, in this other group that knows machine learning, they're like, they know Docker and Linux and all that. And basically it's like, just change the target directory. And so that this whole notion of these different skill sets or the device up and cloud down or the OT and it, you know, in that, in that sense coming together we're basically making both sides feel like what you know, and so it's easier to collaborate.

So that's a big driver. One is, you know, just kind of AI and these new technologies. Mm-hmm. Getting further and further into the field.

Ben: You mentioned some of kind of the minimum, you know, spec earlier for, for you know, being around like the M three kind of class of, of I'm assuming arm processors.

Like what is, what is like the smallest in terms of resources footprint IO OT devices that you've gotten this to run on? Like, are, are you, are you running this on like expressive chips or

Jason: It can run on, on ESPs. I mean, technically it can run on any silicon risk five whatnot. We've, we've done, you know, mostly M three class MCUs, like the STMU five analog devices, nxp, it could be anything.

The footprint for the Zephyr runtime, so Zephyr plus all the web assembly tooling. You know, web assembly is the virtualization technology, but there's tooling required to start and stop containers and set permissions and all that kind of stuff. All of that, which represents the ochre. Runtime is 128 kilobytes.

So pretty small. You know, you know, it's, there's still a tax, but quite small.

Ben: Mm-hmm.

Jason: So typically, I mean, technically you could run, you know, apps on a device with as little as 256 K, but you're only gonna be able to do so much. That said, the footprint, while it's 128 K for that abstraction layer, the ochre runtime, which now is basically now the firmware and then containerized apps on top, a lot of the tooling is in that runtime.

So a simple hello world container on top could be like 300 bytes. So, so very small. But you know, generally if you have like a mega of memory that gives you, you know, plenty of room to do things like, you know, that's what we typically see. And then what you're seeing more and more of is these boards that are having, you know.

At the lower end, like, but 4, 8, 16 megs of memory, you know, co-processor. We're seeing trends increasingly like the new Arduino board, you know, from the Qualcomm relationship or acquisition. I got an MCU and a CPO on the same board.

Jonathan: Mm-hmm.

Jason: Completely different environments, but with, with this approach, you can have the exact same environment at, at the top side.

So you can like, kind of float apps between the cores and decide mm-hmm. Where you need it to run for the optimal solution. So you don't have to make a decision on your hardware target upfront. I mean, it's gotta be a, you know, willing, able to run on it, but you're not tied to like, kind of hard tie to a specific silicon set.

Jonathan: Yeah, I, I've seen kind of that, that movement towards let's put an MCU and a conventional CPU on the same, in some cases the same die. And I have just, I've always wondered like, what's the, what are people trying to achieve with that? And it sounds like that might be a really interesting opportunity for ochre, because you guys can, you can run on both.

Jason: Yeah. The reason a, a big reason for it is MCU u realtime benefits super fast startup for low power.

Jonathan: Mm-hmm.

Jason: Let me wake up, do something, shut back down. But then in, in certain cases, lemme wake up, oh, I need to go analyze something, then wake up the CPU side or the MPU and, and go, you know, do more.

So this kind of hybrid the most efficient processing for the task at hand is, is a, a kind of a core thinking there.

Jonathan: Mm-hmm. Yeah. So writing, writing one of these applications for Ochre, what does that, what does that look like? Does it feel more like you doing embedded programming, or does it feel more like you're running a traditional Linux app?

What's the, what's that experience look like?

Jason: I mean, generally it feels like writing whatever app you were writing before you know, you choose the language

Jonathan: mm-hmm.

Jason: And then the technology compiles it into by code that then runs on the device. Mm-hmm. So you, you can take existing code and compile it into er containers and you don't have to change the code per se.

The only reason you need to change the code is if it requires, you know, specific IO or whatnot on a new device. Mm-hmm. But key there is that the runtime abstracts that io into effectively resources, you know, an API calls, so, you know, you can, you could literally have an abstraction to where very different you know, silicon below that accesses kind of similar IO functions. The app can just be portable across completely different architectures. If you, if you build it right. But generally speaking, it's, it doesn't really change, you know, if you can compile it, you know, playing and, you know, kind of other popular things, it, it, it just works.

Jonathan: So is there, is there sort of a, a set of drivers then that live inside of Ochre to be able to do that? So, you know, talking to, let's just say spy talking to SPY on one device might be very different or Bluetooth, you know, that one is even more different from one device to another. Is that, is that sort of a driver in Ochre that then gets abstracted to have an API for your, your application itself?

Jason: Yeah. And that's where the, the RTAs comes in, the choice, like, and why we picked Zephyr. There's so much board support. I mean, there's hundreds of, of boards that are, are, you know known to run Zephyr in the community. So it's a combination of, of the core OS or RTAs, you know, the drivers related there.

Mm-hmm. And then there's, wie, you know, there's web assem