Hi Chris,

To use the 64 MiB of SDRAM on the RZA2MEVB development board, SW6-4 must
be switched off, making the first Ethernet port unavailable.
Fortunately RZA2MEVB has two Ethernet ports, so this patch series makes
U-Boot fall back to using the second port instead.

Note that this does not apply to upstream U-Boot, as the sh_eth driver
has been reworked in upstream, and as upstream does not support RZA2MEVB
yet.

While this allows me to use TFTP, I still cannot boot my own non-XIP
Linux kernel (uImage with LOADADDR=0x0c008000), as it seems to crash in
the "blcs cache_on" in linux/arch/arm/boot/compressed/head.S.  A similar
kernel boots fine on RSK+RZA1.

Thanks for your comments!

Geert Uytterhoeven (2):
  net: sh_eth: Fix port offset on RZ/A2
  rza2mevb: Use second Ethernet port if first one is not available

 drivers/net/sh_eth.h       | 11 ++++++++---
 include/configs/rza2mevb.h |  4 ++++
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.17.1

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

Reply via email to