All of lore.kernel.org
 help / color / mirror / Atom feed
From: LABBE Corentin <clabbe@baylibre.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 0/3] Ethernet support for Raspberry Pi 4
Date: Mon, 27 Jan 2020 14:15:13 +0100	[thread overview]
Message-ID: <20200127131513.GA23299@Red> (raw)
In-Reply-To: <20200127120616.73342ed4@donnerap.cambridge.arm.com>

On Mon, Jan 27, 2020 at 12:06:16PM +0000, Andre Przywara wrote:
> On Mon, 27 Jan 2020 12:50:16 +0100
> LABBE Corentin <clabbe@baylibre.com> wrote:
> 
> Hi,
> 
> > On Mon, Jan 27, 2020 at 04:27:03PM +0530, Amit Tomer wrote:
> > > Hi,
> > >   
> > > > The kernel panic just after with "OF: reserved mem: failed to allocate memory for node 'linux,cma'" but that's another story.  
> > > 
> > > But this comes even without having Ethernet patches and when one use
> > > booti instead of bootefi, right ?
> > >   
> > 
> > So booti is unsupported on rpi 4 ?
> 
> It should be supported, but apparently there is some bug. I guess it's about not properly reserving memory used by the armstub/ATF. Do you use the embedded RPi foundation armstub or ATF (do you have an "armstub=..." line in config.txt)?

I didnt use armstub=, but even with it, no change.

> 
> I will try take a look at this later.
> 
> > I need to set a ramdisk and bootefi dont support that.
> 
> Try "initrd=<filename>" on the kernel command line.
> This is actually an EFI stub feature, the EFI command line is parsed by this pre-kernel code, which filters for initrd= and loads the initrd using the UEFI API (implemented by U-Boot).
> So the initrd has to live on the EFI system partition, which means you can't load it easily via TFTP :-(
> More details here: https://www.kernel.org/doc/html/latest/admin-guide/efi-stub.html#the-initrd-option

I need to load it via TFTP.

Thanks for your help
Regards

  reply	other threads:[~2020-01-27 13:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-27  1:14 [PATCH v3 0/3] Ethernet support for Raspberry Pi 4 Andre Przywara
2020-01-27  1:14 ` [PATCH v3 1/3] net: Add support for Broadcom GENETv5 Ethernet controller Andre Przywara
2020-01-27  1:14 ` [PATCH v3 2/3] rpi4: Update memory map to accommodate scb devices Andre Przywara
2020-01-27  1:14 ` [PATCH v3 3/3] rpi4: Enable GENET Ethernet controller Andre Przywara
2020-01-27 10:09 ` [PATCH v3 0/3] Ethernet support for Raspberry Pi 4 LABBE Corentin
2020-01-27 10:57   ` Amit Tomer
2020-01-27 11:50     ` LABBE Corentin
2020-01-27 12:06       ` Andre Przywara
2020-01-27 13:15         ` LABBE Corentin [this message]
2020-01-28 22:21         ` Jaehoon Chung
2020-01-29  8:04           ` Matthias Brugger
2020-02-03  9:48           ` LABBE Corentin
2020-02-17 11:37             ` Jaehoon Chung
2020-02-18  2:13               ` Jaehoon Chung
2020-02-18  9:59                 ` LABBE Corentin
2020-02-03  9:50         ` LABBE Corentin

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=20200127131513.GA23299@Red \
    --to=clabbe@baylibre.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.