From: Lokesh Vutla Date: Tue, 25 Feb 2020 09:36:18 +0530 Subject: [PATCH v2] env: ti: boot: Fix Android boot on AM57x EVM In-Reply-To: <20200221143521.28928-1-joe.skb7@gmail.com> References: <20200221143521.28928-1-joe.skb7@gmail.com> Message-ID: <0a461d59-e264-beeb-76ff-df02c677c6a5@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 21/02/20 8:05 PM, Sam Protsenko wrote: > When applying DTBO on top of DTB (with "fdt apply" command) on AM57x EVM > board, there is not enough memory reserved in RAM for DTB blob. Hence, > DTBO can't be merged in DTB. It leads to inability to boot Android with > next error message: > > failed on fdt_overlay_apply(): FDT_ERR_NOSPACE > > To overcome that issue let's provide 512 KiB of space to keep DTB and > all merged DTBO blobs. To do so, "length" parameter should be specified > for "fdt addr" command: > > => fdt addr $fdtaddr 0x80000 > > 512 KiB is the maximum size we can use for this, because next address > after $fdtaddr is 512 KiB ahead of it: > > fdtaddr=0x88000000 > rdaddr=0x88080000 > > Also add size variables to 'adtimg' command invocations, to avoid > cluttering the console with DTBO blob sizes. > > Signed-off-by: Sam Protsenko Applied to u-boot-ti next. Thanks and regards, Lokesh