From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Hunter Subject: Re: How to test new bootloaders on Jetson TX1? Date: Thu, 15 Feb 2018 14:01:33 +0000 Message-ID: <33de1065-1372-282c-9646-30a63729e08e@nvidia.com> References: <5ff3ffde-653c-ea50-490c-efcc6dccecc2@suse.de> <0247bb39-1f53-5c45-4d37-247813b53b96@nvidia.com> <8d80b0d3-eaed-b1ab-02c9-86f81ac4b7fa@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <8d80b0d3-eaed-b1ab-02c9-86f81ac4b7fa-l3A5Bk7waGM@public.gmane.org> Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?UTF-8?Q?Andreas_F=c3=a4rber?= Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, U-Boot , Alexander Graf , Mian Yousaf Kaukab , Tom Warren , Varun Wadekar List-Id: linux-tegra@vger.kernel.org On 15/02/18 12:32, Andreas Färber wrote: > Am 15.02.2018 um 10:22 schrieb Jon Hunter: >> On 15/02/18 01:51, Andreas Färber wrote: >>> I would like to test the latest version of U-Boot on the Jetson TX1. > [...] >>> Here's what I have tried: >>> >>> $ sudo ./flash.sh p2371-2180-devkit mmcblk0p1 >> This should work. Which u-boot binary are you copying and where are you >> copying it? >> >> I copy the u-boot-dtb.bin over u-boot.bin in the L4T directory >> Linux_for_Tegra/bootloader/t186ref/p2771-0000/500/u-boot.bin. > > I downloaded the .rpm from > https://build.opensuse.org/package/show/hardware:boot/u-boot-p2371-2180 > extracting all of u-boot, u-boot.bin, u-boot.dtb and u-boot-dtb.bin to > bootloader/t210ref/p2371-2180/ - and as described it makes a difference > in that it then ceases to boot to a U-Boot prompt. Sorry, looks like I mixed TX1 and TX2. I see you are using TX1. However, I believe you are still booting the wrong u-boot file. If you look at the p2371-2180-devkit.conf you will see that it has ... DFLT_KERNEL_IMAGE="bootloader/${target_board}/p2371-2180/u-boot.bin For using the upstream u-boot, we need to use the u-boot-dtb.bin and not the u-boot.bin. So you can either ... 1. Update the p2371-2180-devkit.conf to use the u-boot-dtb.bin that you copied. 2. Move the u-boot-dtb.bin from your rpm to bootloader/t210ref/p2371-2180/u-boot.bin. Cheers Jon -- nvpublic