From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Sat, 22 Apr 2017 16:19:48 +0200 Subject: [U-Boot] [U-Boot,v2] odroid-c2: Enable distro boot In-Reply-To: References: <20170115185215.31439-1-afaerber@suse.de> <115d3bd5-7163-fa8b-c91c-26eccfd275b8@gmx.de> Message-ID: <896b667a-7726-fd2c-9599-95441b249e38@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 04/22/2017 03:10 PM, Andreas Färber wrote: > Hi, > > Am 22.04.2017 um 14:59 schrieb Heinrich Schuchardt: >> On 01/15/2017 07:52 PM, Andreas Färber wrote: >>> Use the generic "distro" boot framework to enable automatic DHCP boot. >>> >>> The fdt and kernel addresses are adopted from downstream; ramdisk and >>> scriptaddr addresses were chosen arbitrarily. >>> >>> Signed-off-by: Andreas Färber >>> --- >> ... >>> diff --git a/include/configs/odroid-c2.h b/include/configs/odroid-c2.h >>> index 1d5b3d5..bf7e1af 100644 >>> --- a/include/configs/odroid-c2.h >>> +++ b/include/configs/odroid-c2.h >>> @@ -12,6 +12,8 @@ >>> #define CONFIG_CONS_INDEX 0 >>> #define CONFIG_BAUDRATE 115200 >>> >>> +#define MESON_FDTFILE_SETTING "fdtfile=amlogic/meson-gxbb-odroidc2.dtb\0" >> >> Hello Andreas, >> >> do you remember why you chose to put meson-gxbb-odroidc2.dtb into >> subdirectory amlogic? > > I chose that directory name when I added GXBaby support to the kernel: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts > > Note that we had a discussion about this a while ago when I sent patches > to amend the distro framework's dtb search paths, and Tom's decision was > to instead hardcode the vendor dirs inside $fdtfile. I am aware that in the Linux Kernel vendor subdirectories are used for arm64 dtbs. I was questioning about U-Boot. I could not find any usage of subdirectories for other arm64 boards: hikey_defconfig: fdtfile=hi6220-hikey.dtb dragonboard410c_defconfig: fdtfile=apq8016-sbc.dtb but odroid-c2_defconfig: fdtfile=amlogic/meson-gxbb-odroidc2.dtb Best regards Heinrich Schuchardt