U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Aswath Govindraju <a-govindraju@ti.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>, Kevin Scholz <k-scholz@ti.com>,
	Praneeth Bajjuri <praneeth@ti.com>, Nishanth Menon <nm@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>, Suman Anna <s-anna@ti.com>,
	Simon Glass <sjg@chromium.org>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Faiz Abbas <faiz_abbas@ti.com>, Tero Kristo <kristo@kernel.org>,
	Dave Gerlach <d-gerlach@ti.com>, Heiko Schocher <hs@denx.de>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v2 3/3] configs: j72*_evm: Define the buffer sizes for dfu
Date: Sat, 11 Sep 2021 08:17:22 -0400	[thread overview]
Message-ID: <20210911121722.GP12964@bill-the-cat> (raw)
In-Reply-To: <20210826155859.13909-4-a-govindraju@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

On Thu, Aug 26, 2021 at 09:28:59PM +0530, Aswath Govindraju wrote:

> On J721e R5 SPL, dfu buffer for loading sysfw.itb image gets allocated
> before DRAM gets initialized. So, the buffer gets allocated in MCU L3
> RAM. The current buffer size to be allocated is 256KB  and the available
> total heap memory is 0x70000 (448KB). This leads to NOMEM errors during
> allocation.
> 
> In other cases when constraints such as above are not present fix the size
> of buffers to the sector size in OSPI for proper functioning.
> 
> Also, if CONFIG_SYS_DFU_DATA_BUF_SIZE is defined and
> CONFIG_SYS_DFU_MAX_FILE_SIZE is not defined then the max file size for dfu
> transfer is defined as CONFIG_SYS_DFU_DATA_BUF_SIZE.
> 
> Fix these by setting appropriate buffer sizes in their respective defconfig
> files and defining the max file size as 8 MB which is the default dfu
> buffer size.
> 
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      reply	other threads:[~2021-09-11 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 15:58 [PATCH v2 0/3] J7200/J721E: Fix USB DFU Boot mode Aswath Govindraju
2021-08-26 15:58 ` [PATCH v2 1/3] arm: dts: k3-j721e-r5-*.dts: Fix clock-names property in the usb0 instance Aswath Govindraju
2021-09-11 12:17   ` Tom Rini
2021-08-26 15:58 ` [PATCH v2 2/3] environment: ti: k3_dfu: Increase the size allocated for bootloader images in dfu_alt_info_ram Aswath Govindraju
2021-09-11 12:17   ` Tom Rini
2021-08-26 15:58 ` [PATCH v2 3/3] configs: j72*_evm: Define the buffer sizes for dfu Aswath Govindraju
2021-09-11 12:17   ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210911121722.GP12964@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=a-govindraju@ti.com \
    --cc=d-gerlach@ti.com \
    --cc=faiz_abbas@ti.com \
    --cc=hs@denx.de \
    --cc=k-scholz@ti.com \
    --cc=kishon@ti.com \
    --cc=kristo@kernel.org \
    --cc=lokeshvutla@ti.com \
    --cc=nm@ti.com \
    --cc=praneeth@ti.com \
    --cc=s-anna@ti.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox