9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Daniel Morandini <danielmorandini@me.com>
To: 9front@9front.org
Subject: Re: [9front] PXE booting Rpi
Date: Fri, 12 Mar 2021 11:36:30 +0100	[thread overview]
Message-ID: <1721CD21-19AF-482A-B75D-F56A903A57A1@me.com> (raw)
In-Reply-To: <0BEAEA67139CE537F0AE008DC06176FA@felloff.net>

Hi cinap,
Thanks for answering and sorry for bothering.

> you need to add this attribute to the host tuple:
> 	vendor="Raspberry Pi Boot"
> (listed in dhcpd(8) and ndb(8) manpages)
I did not notice this was the parameter I was looking for \o/

> for bootf=, i think you need to specify bootcode.bin,
> the bootcode then will construct a tftp path that
> includes the mac address to fetch cmdline.txt and
> the kernel (and all the other files that you would
> normally stash on the sd card).
I did not finish everything, just a quick update for the record. I
created a folder in /lib/pxe/<pi serial number> that holds the files
required for the boot.  The tftpd (and dhcpd) server is pointing
its home directory to /lib/pxe. I did it because bootcode.bin (which
is on the sd card, my rasp won’t pxe boot without it) prepends the
serial number to its file requests. I would have preferred to use
the .[ICE] naming convention found in the code, but that’s out of my
control as long as I keep using the standard bootcode.bin.

The pi boots :D For now the problem is the cmdline.txt file (which
is transferred by tftpd) is not forwarded correctly to the kernel,
so my "plan9.ini" configuration is not applied.  I’m still debugging
this.

Cheers,
dan

  reply	other threads:[~2021-03-12 10:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 14:05 Daniel Morandini
2021-03-10 17:20 ` cinap_lenrek
2021-03-12 10:36   ` Daniel Morandini [this message]
2021-03-25 10:55     ` Daniel Morandini
2021-03-25 18:49       ` Noam Preil
2021-03-25 21:49         ` Noam Preil
2021-04-07  8:39         ` Daniel Morandini
2021-04-08 14:21           ` cinap_lenrek
2021-04-08 15:45             ` Daniel Morandini
2021-04-08 16:12               ` cinap_lenrek
2021-04-11 12:11                 ` cinap_lenrek
2021-04-12  9:04                   ` Daniel Morandini
2021-04-12 10:14                     ` cinap_lenrek
2021-04-12 16:48                       ` Daniel Morandini
2021-04-15 21:15                         ` cinap_lenrek
2021-04-19  7:53                           ` Daniel Morandini
2021-04-19 16:20                             ` Daniel Morandini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1721CD21-19AF-482A-B75D-F56A903A57A1@me.com \
    --to=danielmorandini@me.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).