unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 45519@debbugs.gnu.org
Subject: bug#45519: MLO failed to load u-boot.img on beaglebone black(AM335x)
Date: Tue, 29 Dec 2020 05:33:55 +0100	[thread overview]
Message-ID: <20201229053355.30ce920b@primarylaptop.localdomain> (raw)
In-Reply-To: <20201229044725.3856df42@primarylaptop.localdomain>

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

On Tue, 29 Dec 2020 04:47:25 +0100
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:
> > "/libexec/MLO")) (u-boot (string-append bootloader
> > "/libexec/u-boot.img"))) (write-file-on-device mlo (* 256 512)
> >                               image (* 256 512))
> >         (write-file-on-device u-boot (* 1024 512)
> >                               image (* 768 512)))))
Ah my bad, theses are in bytes (write-file-on-device uses seek which
looks like lseek). 

So if u-boot.img is 600k, that's over the 512k.

MLO[1] is about 108k (108740 bytes), so that's under 128KiB.

So we could move u-boot.img at 256KiB instead of 384KiB.

This way we'll still have some margin for MLO but and increase the
space for u-boot.img to 768k.

References:
-----------
[1]/gnu/store/83rpk8q9bww0phl6z6zgpf06qhqs8cw6-u-boot-am335x-boneblack-2020.10/libexec/MLO

Denis.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-12-30 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29  3:47 bug#45519: MLO failed to load u-boot.img on beaglebone black(AM335x) Denis 'GNUtoo' Carikli
2020-12-29  4:33 ` Denis 'GNUtoo' Carikli [this message]
2020-12-29  5:05   ` Denis 'GNUtoo' Carikli

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20201229053355.30ce920b@primarylaptop.localdomain \
    --to=gnutoo@cyberdimension.org \
    --cc=45519@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).