Skip to contentSkip to conversation

Problem with device tree

Buildroot Andreas Ziegler 1 participant 1 message Apr 19, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Don,

You use a (recent) mainline kernel with configurations that seem to be vendor specific; your U-Boot is not configured correctly; see comments below.

I found a more detailed training document, it uses 6.1.y kernel: https://bootlin.com/doc/training/embedded-linux-bbb/embedded-linux-bbb-labs.pdf

Quoted 12 lines · DTrustee

Message: 16
Date: Wed, 17 Apr 2024 14:28:51 -0500
From: DTrustee <[email protected]>
To: Michael Nazzareno Trimarchi <[email protected]>
Cc: Andrea Calabrese <[email protected]>, Giulio
Benetti <[email protected]>, [email protected], Thomas Petazzoni <[email protected]>
Subject: Re: [Buildroot] Problem with device tree
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Quoted 3 lines

My apologies, I tried using omap2plus_defconfig as the tutorial suggested but got errors so I changed and the output I put in pastebin is using beagleboard_defconfig. I still get errors though.

This is an excerpt from your (buildroot) defconfig:

Quoted 1 line

BR2_LINUX_KERNEL_DEFCONFIG="beaglebone_defconfig"

                              ^^^

This defconfig does not exist in the mainline kernel. Either supply the missing file, or use the architecture default.

Quoted 2 lines

BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="https://elixir.bootlin.com/linux/v6.6/source/arch/arm/boot/dts/ti/omap/am335x-boneblack.dts"

This must be an in-tree name, not a download from the internet. 'ti/omap/am335x-boneblack.dts' should goe here.

Quoted 1 line

BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="arch/arm/boot/dts/ti/omap/am335x-boneblack.dts"

Not needed, delete this

Quoted 4 lines

BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="/home/don/buildroot/buildroot-2024.02.1/configs/beaglebone_defconfig"

This is a buildroot defconfig, U-Boot cannot use it. Buildroot uses (in-tree) TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" for the Beaglebone.

Quoted 3 lines

Have a Blessed day!

Don

Kind regards,
Andreas

<cut>
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot