[PATCH 0/2] u-boot support for ODROID-C4

Anand Moon linux.amoon at gmail.com
Wed Jul 1 13:31:40 CEST 2020


Hi Neil,

On Wed, 1 Jul 2020 at 13:22, Neil Armstrong <narmstrong at baylibre.com> wrote:
>
> Hi,
>
> On 30/06/2020 18:02, Anand Moon wrote:
> > Hi Neil,
> >
> > On Tue, 30 Jun 2020 at 18:30, Neil Armstrong <narmstrong at baylibre.com> wrote:
> >>
> >> Hi,
> >>
> >> On 30/06/2020 13:33, Anand Moon wrote:
> >>> Hi Beniamino,
> >>>
> >>> On Wed, 6 May 2020 at 01:53, Beniamino Galvani <b.galvani at gmail.com> wrote:
> >>>>
> >>>> 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
> >>>>
> >>>
> >>> 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 ?
> >>
> >> Neil
> >>
> >> [1] https://patchwork.ozlabs.org/project/uboot/patch/20200618144037.23392-1-narmstrong@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.
>
> 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

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

-Anand


More information about the U-Boot mailing list