Skip to content

Ethernet support for Raspberry Pi 4

Matthias Brugger u-boot 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest0 of 3 patches 0 repliesNew
  2. v2 posting 5/50 of 3 patches 0 repliesSuperseded
  3. v2 posting 4/50 of 3 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v2 posting 3/50 of 3 patches0 repliesSuperseded
v2 posting 2/50 of 3 patches0 repliesSuperseded
v2 posting 1/51 of 3 patches0 repliesSuperseded
v11 of 3 patches0 repliesSuperseded

Patches in v3 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Ethernet support for Raspberry Pi 4
Quoted 17 lines · Jaehoon Chung
Quoted 16 lines · Andre Przywara

On Mon, 27 Jan 2020 12:50:16 +0100
LABBE Corentin <[email protected]> wrote:

Hi,

Quoted 10 lines · Amit Tomer
Quoted 7 lines

Hi,

Quoted 1 line

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 ?

Quoted 8 lines
Quoted 3 lines

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 will try take a look at this later.

I'm not sure, i had similar issue about failed to allocate memory cma.
I had enabled CONFIG_ARCH_FIXUP_OF_MEMORY. And i changed the loading address (kernel/ramdisk/device-tree) in boot script for our environment. Because sometime some address range is overwritten.

Can you share some more details? Might it make sense to change the memory addresses in include/configs/rpi.h so that it work out-of-the-box for all cases?

Regards,
Matthias