grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Bhupesh Sharma <bhupesh.sharma@nxp.com>
Subject: Re: How to increase block size in grub/tftp?
Date: Thu, 21 Apr 2016 06:27:49 +0300	[thread overview]
Message-ID: <571848B5.4060200@gmail.com> (raw)
In-Reply-To: <VI1PR04MB2173D06DEDB1BA8E8CCA61FFF86D0@VI1PR04MB2173.eurprd04.prod.outlook.com>

20.04.2016 17:26, Sakar Arora пишет:
> Hi
> 
> I have an initrd image 86 MB in size.
> 
> Not able to tftp it using grub2. Following message from atftpd server log →
> ------------------------------------------------------
> Requested file to big, increase BLKSIZE
> ------------------------------------------------------
> 
> How to do I increase the BLKSIZE?
> 

You would need to recompile GRUB to request larger size, currently it
requests 1024 bytes. See grub-core/net/tftp.c:tftp_open().


      reply	other threads:[~2016-04-21  3:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 14:26 How to increase block size in grub/tftp? Sakar Arora
2016-04-21  3:27 ` Andrei Borzenkov [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=571848B5.4060200@gmail.com \
    --to=arvidjaar@gmail.com \
    --cc=bhupesh.sharma@nxp.com \
    --cc=grub-devel@gnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).