From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Gray Date: Tue, 25 Jun 2019 13:51:41 +1000 Subject: [U-Boot] pull request: raspberry pi updates In-Reply-To: <20190624181143.GW9388@bill-the-cat> References: <20190612195627.GX7115@bill-the-cat> <1e874e4c-7d0e-e398-a2b7-f8c9925643a9@gmx.de> <20190612200851.GA6454@bill-the-cat> <9984cbbb-874e-7b2b-5909-e1a7ef173baf@gmx.de> <20190612202533.GB6454@bill-the-cat> <20190624181143.GW9388@bill-the-cat> Message-ID: <20190625035141.GC60373@largo.jsg.id.au> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jun 24, 2019 at 02:11:43PM -0400, Tom Rini wrote: > On Wed, Jun 12, 2019 at 04:25:33PM -0400, Tom Rini wrote: > > On Wed, Jun 12, 2019 at 10:21:22PM +0200, Heinrich Schuchardt wrote: > > > On 6/12/19 10:08 PM, Tom Rini wrote: > > > >On Wed, Jun 12, 2019 at 10:07:31PM +0200, Heinrich Schuchardt wrote: > > > >>On 6/12/19 9:56 PM, Tom Rini wrote: > > > >>>On Wed, Jun 12, 2019 at 03:48:06PM +0100, Peter Robinson wrote: > > > >>>>Hi Matthias, > > > >>>> > > > >>>>Have these been out on the list for general review? I don't remember > > > >>>>seeing them. > > > >>>> > > > >>>>On Wed, Jun 12, 2019 at 1:57 PM Matthias Brugger wrote: > > > >>>>> > > > >>>>>Hi Tom, > > > >>>>> > > > >>>>>Please have a look on the following patches. > > > >>>>> > > > >>>>>Regards, > > > >>>>>Matthias > > > >>>>> > > > >>>>>--- > > > >>>>>The following changes since commit fc6c0e29a28f6b71dfb728b7f78e9e770f2cd218: > > > >>>>> > > > >>>>> Prepare v2019.07-rc4 (2019-06-10 21:27:46 -0400) > > > >>>>> > > > >>>>>are available in the Git repository at: > > > >>>>> > > > >>>>> https://github.com/mbgg/u-boot.git tags/rpi-next-2019.07 > > > >>>>> > > > >>>>>for you to fetch changes up to 38e58ff2b785b45e8c8ade8e23f916a1984016c6: > > > >>>>> > > > >>>>> ARM: bcm283x: Fix definition of MBOX_TAG_TEST_PIXEL_ORDER (2019-06-12 12:23:46 > > > >>>>>+0200) > > > >>>>> > > > >>>>>---------------------------------------------------------------- > > > >>>>>- fix complation error for CONFIG_USB > > > >>>>>- update RPi3 DTBs to v5.1-rc6 state > > > >>>>>- add defconfig for RPi3 B+ > > > >>>> > > > >>>>Why do we need a separate config when it's detected and works > > > >>>>perfectly well with the standard rpi_3 and rpi_3_32b configs? > > > >>> > > > >>>Good question. It came from Heinrich, so Heinrich? > > > >> > > > >>If we call the bootefi command without a OS supplied device tree the > > > >>U-Boot device tree is passed to the operating system. > > > >> > > > >>So we need a device tree which is a complete description of the > > > >>respective system. > > > >> > > > >>On the Linaro boot-architecture list there has been a lengthy discussion > > > >>with Linaro people thinking that it is the responsibility of the > > > >>hardware and firmware to provide the correct device tree and not of the OS. > > > > > > > >OK, but on Pi aren't we passed, and pass along, the dtb from the > > > >previous stage? > > > > > > > Currently `bootefi` uses as default what it finds in $fdt_control_addr > > > and provides this to GRUB, Linux, or any other payload. > > > > Right, and maybe I'm mistaken, but doesn't the previous stage on Pi pass > > in a device tree, that U-Boot then uses? > > I haven't taken this as I haven't gotten an answer to this part. I > could have sworn that the proprietary loader passed along the device > tree that's passed by us to the next stage. The firmware includes device trees https://github.com/raspberrypi/firmware/tree/master/boot At least OpenSUSE, OpenBSD and Fedora change the rpi defconfigs to better use it: https://src.fedoraproject.org/rpms/uboot-tools/blob/master/f/rpi-Enable-using-the-DT-provided-by-the-Raspberry-Pi.patch https://github.com/openSUSE/u-boot/commit/121d9d775c6af6ba5d1c3f198f478404a9196f84.patch