Skip to content

u-boot support for ODROID-C4

Neil Armstrong u-boot u-boot-amlogic 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] u-boot support for ODROID-C4
Quoted 114 lines · Anand Moon

Hi Neil,

Quoted 98 lines · Neil Armstrong
Quoted 96 lines · Anand Moon

Hi Neil,

Quoted 93 lines · Neil Armstrong

Hi,

Quoted 85 lines · Anand Moon

Hi Neil,

Quoted 46 lines · Neil Armstrong

Hi,

Quoted 32 lines · Anand Moon

Hi Neil,

Quoted 29 lines · Neil Armstrong

Hi,

Quoted 15 lines · Anand Moon

Hi Beniamino,

Quoted 11 lines · Beniamino Galvani

Hi,

these two patches add initial u-boot support for Hardkernel ODROID-C4.

https://wiki.odroid.com/odroid-c4/odroid-c4

Beniamino Galvani (2):
arm: dts: import ODROID-C4 device tree
boards: amlogic: add ODROID-C4 support

Quoted 5 lines

Can you respin this patches, I would like to see these get merged in the current u-boot release

-Anand

The Odroid-C4 could re-use the new Odroid-N2 board support I submitted at [1]

Anand, is the MAC address stored stored the same way on the C4 ?

Quoted 7 lines
Quoted 3 lines

Neil

[1] https://patchwork.ozlabs.org/project/uboot/patch/20200618144037.23392-1-narmstrong at baylibre.com/

I gave this patches a try on latest u-boot but I cannot make my Odroid C4 to boot up uinsg microSD card and eMMC
Here are the logs.

The PHY config must be wrong and it misses the -u-boot.dtsi to enable HDMI.

Quoted 8 lines

Can you test my custodian test branch with my C4 support patchset ?

https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/-/tree/u-boot-amlogic-test

This one is used in Armbian 5.4 release and our KernelCI lab.

Neil

Thanks.

There seems to be a typo in the build instructions in # doc/board/amlogic/odroid-c4.rst
instead of *g12b*, it should be *g12a*

See below I get following build warning, which I fix locally,

./buildc4c.sh: line 78:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory
./buildc4c.sh: line 81:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory
./buildc4c.sh: line 84:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory
./buildc4c.sh: line 87:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory
./buildc4c.sh: line 90:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory
./buildc4c.sh: line 92:
/home/amoon/mainline/u-boot/amlogic/w400/odroid-c4/fip/g12b/aml_encrypt_g12a:
No such file or directory

Quoted 1 line

After that fix I am able to boot my board using eMMC and microSD card.

Thanks for testing, I'll push my serie rebased on v5.8-rc1 and fix this typo.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

Neil

Thanks, I see the same issue with random mac address just like N2.

Yes, my branch was not using the N2 board support with eFuses MAC readout, can you test my last patchset I just sent ? It should use the MAC from eFuses or generate an unique address with the SoC serial number.

Thanks

Quoted 2 lines

Please apply the patch in [1] before the new Odroid-C4 serie.

Quoted 8 lines
Quoted 3 lines

[1] https://patchwork.ozlabs.org/project/uboot/patch/20200618144037.23392-1-narmstrong at baylibre.com/

Neil

I do not know the reason but your patches are not showing up on u-boot patchwork.

[0] https://patchwork.ozlabs.org/project/uboot/list/

Good question !

Neil

Quoted 3 lines

-Anand