From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaud Patard (Rtp) Date: Wed, 22 Apr 2020 15:49:35 +0200 Subject: [PATCH 5/5] Add initial support for the Pinebook Pro laptop from Pine64. In-Reply-To: <20200420192736.962307-6-pbrobinson@gmail.com> Message-ID: <87sggvmxzk.fsf@lechat.rtp-net.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > diff --git a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi > new file mode 100644 > index 0000000000..1a2e24d3ef > --- /dev/null > +++ b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi > @@ -0,0 +1,43 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright (C) 2019 Peter Robinson > + */ > + > +#include "rk3399-u-boot.dtsi" > +#include "rk3399-sdram-lpddr4-100.dtsi" > + > +/ { > + aliases { > + spi0 = &spi1; > + }; > + > + chosen { > + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc; > + }; > +}; > + > +&i2c0 { > + u-boot,dm-pre-reloc; > +}; > + > +&rk808 { > + u-boot,dm-pre-reloc; > +}; This one makes the SPL rather unhappy on my system: U-Boot TPL 2020.04-00522-g1bf65142b3-dirty (Apr 22 2020 - 15:22:59) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 256B stride 256B stride lpddr4_set_rate: change freq to 400000000 mhz 0, 1 lpddr4_set_rate: change freq to 800000000 mhz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... spl_early_init() failed: -6 ### ERROR ### Please RESET the board ### Any idea ? Configuration issue ? Arnaud