[U-Boot] [PATCH 1/3] ARM: dts: add support for Odroid-N2

Neil Armstrong narmstrong at baylibre.com
Tue Jul 23 07:50:51 UTC 2019


Hi Anand,

On 22/07/2019 19:07, Anand Moon wrote:
> Hi Neil,
> 
> On Mon, 22 Jul 2019 at 15:50, Neil Armstrong <narmstrong at baylibre.com> wrote:
>>
>> Import HardKernel Odroid-N2 DT from Linux 5.3-rc1, commit 5f9e832c1370
>> ("Linus 5.3-rc1") based on an Amlogic G12B S922X SoC.
>>
>> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
>> ---
>>  arch/arm/dts/Makefile                         |   3 +-
>>  arch/arm/dts/meson-g12b-odroid-n2.dts         | 386 ++++++++++++++++++
>>  arch/arm/dts/meson-g12b.dtsi                  |  82 ++++
>>  .../dt-bindings/sound/meson-g12a-tohdmitx.h   |  13 +
>>  4 files changed, 483 insertions(+), 1 deletion(-)
>>  create mode 100644 arch/arm/dts/meson-g12b-odroid-n2.dts
>>  create mode 100644 arch/arm/dts/meson-g12b.dtsi
>>  create mode 100644 include/dt-bindings/sound/meson-g12a-tohdmitx.h
>>
> 
> I am getting following error while building this on mainline u-boot.

I forgot to explicit in the cover letter, but you'll need https://patchwork.ozlabs.org/patch/1134772/
before this serie.

Neil

> 
>   CHK     include/config/uboot.release
>   UPD     include/config/uboot.release
>   CHK     include/generated/version_autogenerated.h
>   UPD     include/generated/version_autogenerated.h
>   CHK     include/generated/timestamp_autogenerated.h
>   UPD     include/generated/timestamp_autogenerated.h
>   CHK     include/generated/generic-asm-offsets.h
>   CHK     include/generated/asm-offsets.h
>   HOSTCC  tools/mkenvimage.o
>   HOSTLD  tools/mkenvimage
>   HOSTCC  tools/dumpimage.o
>   HOSTLD  tools/dumpimage
>   HOSTCC  tools/mkimage.o
>   HOSTLD  tools/mkimage
>   CC      arch/arm/cpu/armv8/fwcall.o
>   LD      arch/arm/cpu/armv8/built-in.o
>   CC      cmd/version.o
>   LD      cmd/built-in.o
>   CC      common/main.o
>   LD      common/built-in.o
>   CC      lib/efi_loader/helloworld.o
>   CC      lib/efi_loader/efi_reloc.o
>   CC      lib/efi_loader/efi_freestanding.o
>   LD      lib/efi_loader/helloworld_efi.so
>   OBJCOPY lib/efi_loader/helloworld.efi
>   CC      lib/smbios.o
>   CC      lib/display_options.o
>   LD      lib/built-in.o
>   LD      u-boot
>   OBJCOPY u-boot.srec
>   OBJCOPY u-boot-nodtb.bin
> start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1
> -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut
> -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x01000000 $start
> $end
>   DTC     arch/arm/dts/meson-g12b-odroid-n2.dtb
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:226.1-5 Label or
> path arb not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:244.1-12 Label
> or path clkc_audio not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:248.1-10 Label
> or path ext_mdio not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:264.1-8 Label or
> path ethmac not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:273.1-9 Label or
> path frddr_a not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:277.1-9 Label or
> path frddr_b not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:281.1-9 Label or
> path frddr_c not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:313.1-4 Label or
> path ir not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:320.1-11 Label
> or path sd_emmc_b not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:338.1-11 Label
> or path sd_emmc_c not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:356.1-9 Label or
> path tdmif_b not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:360.1-10 Label
> or path tdmout_b not found
> Error: arch/arm/dts/.meson-g12b-odroid-n2.dtb.pre.tmp:364.1-10 Label
> or path tohdmitx not found
> FATAL ERROR: Syntax error parsing input tree
> make[2]: *** [scripts/Makefile.lib:308:
> arch/arm/dts/meson-g12b-odroid-n2.dtb] Error 1
> make[1]: *** [dts/Makefile:38: arch-dtbs] Error 2
> make: *** [Makefile:1045: dts/dt.dtb] Error 2
> 
> 

[..]


More information about the U-Boot mailing list