fhunleth

fhunleth

Co-author of Nerves

GPT/EFI support in Nerves

There was a recent update to fwup that adds support for GPT disk partitions. This is important since:

  • Some devices only boot EFI system partitions on GPT drives
  • GPT supports more than 4 partitions

The first point is coming up more frequently as embedded x86_64 devices are dropping support for “BIOS Boot”. The nVIDIA Jetson Nano also require GPT.

Support for >4 partitions is why I’m posting this. Over the past few years, several people have asked me about supporting things like multiple firmware slots. For example, you could build a kiosk where the main firmware partition has the embedded web browser and a second firmware partition has your app. The idea would be that all of the web browser size and complexity could be maintained and managed independently to your app. This was possible before GPT support, but the 4 partition limitation with MBR made it look like a hack.

The devil is always in the details. If you’re going down a path that might be improved by using GPT support in Nerves, please share. I’d like to get this low-level functionality bubbled up so that it’s more accessible.

Where Next?

Popular in Discussions Top

mbenatti
Following https://github.com/tbrand/which_is_the_fastest |> https://raw.githubusercontent.com/tbrand/which_is_the_fastest/master/imgs...
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
und0ck3d
Hello everyone! A few days ago I’ve created a topic here about how people were creating CMSs with Elixir and Phoenix. I’ve been studying...
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
Fl4m3Ph03n1x
Background This question comes mainly from my ignorance. Today is Black Friday, one of my favorite days of the year to buy books. One boo...
New

Other popular topics Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54006 488
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44532 311
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement