Running nerves project inside Rasberry PI3 host

14 views
Skip to first unread message

sivagoll...@gmail.com

unread,
Oct 4, 2017, 6:56:13 AM10/4/17
to nerves-project
Hi,

Thanks for the great project. 

I am playing with embedded systems and nerves project. Recently, I purchased Rasberry PI3 and try to run blinky project. But I am getting an error as fwup is required. I checked installation instructions but I couldn't find it. Also given example didn't provide information about how to run project inside the host? 

Could you help me? Thanks in advance. 

Norbert Melzer

unread,
Oct 4, 2017, 8:34:28 AM10/4/17
to nerves-...@googlegroups.com
Am 04.10.2017 um 12:56 schrieb sivagoll...@gmail.com:

> Could you help me? Thanks in advance.

Inside the host you mean as on the PI? Given the current architecture, I
do not believe it is possible at all.

You need a fully fledged linux or macOS system to burn the image on a SD
card.

If you are on a raspbian, then you already booted it using the sole
SD-card slot that the device has, and you can't reformat it on the fly.

If though, you have set up some initial boilerplate project using a
linux or mac, burnt it on the SD card and booted your Pi from it, you
should be able to do incremental updates to the firmware over the air or
wire from you linux or mac.

HTH,
NobbZ

signature.asc

Frank Hunleth

unread,
Oct 4, 2017, 9:20:51 AM10/4/17
to nerves-...@googlegroups.com
Hi,
Installation instructions are here:
https://hexdocs.pm/nerves/installation.html#content. There's
information about installing fwup depending on whether you're on a
Linux PC or Mac. fwup also works on Raspbian, but you'll need a USB
MicroSD Card reader since the MicroSD card slot is already in use like
NobbZ wrote.

Also, this mailing list isn't used any more. I'm thrilled that you got
one response since I thought that I was the only person left on it.
More help can be found on the #nerves channel on the Elixir Lang slack
(see https://elixir-slackin.herokuapp.com/ for invite).

Frank

>
> Could you help me? Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "nerves-project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nerves-projec...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Frank Hunleth
Troodon Software LLC
Embedded Software Development
http://troodon-software.com/

Norbert Melzer

unread,
Oct 4, 2017, 11:26:55 AM10/4/17
to nerves-...@googlegroups.com
On 10/04/2017 03:20 PM, Frank Hunleth wrote:

> Also, this mailing list isn't used any more. I'm thrilled that you got
> one response since I thought that I was the only person left on it.

Seems as if I missed the closing notice ;)

> More help can be found on the #nerves channel on the Elixir Lang slack
> (see https://elixir-slackin.herokuapp.com/ for invite).

Since slack is a beast that eats my RAM for breakfast, lunch and dinner,
I do prefer to stick to either a mailinglist or a forum…

elixirforum.com has a dedicated section for nerves, perhaps it can get
linked as an official community from the webpage as well?

https://elixirforum.com/c/dedicated-sections/nerves

Bye,
NobbZ

signature.asc

Frank Hunleth

unread,
Oct 4, 2017, 1:44:56 PM10/4/17
to nerves-...@googlegroups.com
Hi NobbZ,

On Wed, Oct 4, 2017 at 11:27 AM, Norbert Melzer <timm...@gmail.com> wrote:
> On 10/04/2017 03:20 PM, Frank Hunleth wrote:
>
> Since slack is a beast that eats my RAM for breakfast, lunch and dinner,
> I do prefer to stick to either a mailinglist or a forum…

I feel your pain.

> elixirforum.com has a dedicated section for nerves, perhaps it can get
> linked as an official community from the webpage as well?
>
> https://elixirforum.com/c/dedicated-sections/nerves

I just sent a PR to the http://nerves-project.org repository to add
the link. The forum has several orders of magnitude less Nerves
discussion than Slack, but hopefully this can change. Thanks for the
suggestion.

Frank

sivagoll...@gmail.com

unread,
Oct 11, 2017, 2:40:48 AM10/11/17
to nerves-project
Hi Nobbz,

Thanks for your reply. If I burn the code on empty SD card, how would it find boot instructions that are necessary for PI? Is nerves project provides primitive instructions to boot PI when we burn?

Norbert Melzer

unread,
Oct 11, 2017, 3:47:28 AM10/11/17
to nerves-...@googlegroups.com
Am 11.10.2017 um 08:40 schrieb sivagoll...@gmail.com:
> Thanks for your reply. If I burn the code on empty SD card, how would it
> find boot instructions that are necessary for PI? Is nerves project
> provides primitive instructions to boot PI when we burn?

The image created by the buildsystem is selfcontained. After you have
burned it on a SD card you can pull it from your computer, plug it in
the PI, power it on, wait a couple of seconds and enjoy an `iex`.

HTH,
NobbZ

signature.asc
Reply all
Reply to author
Forward
0 new messages