All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Łyszczek" <michal.lyszczek@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] genimage raw partition from multiple files
Date: Wed, 2 Aug 2017 15:55:10 +0200	[thread overview]
Message-ID: <cadb0fad-d46f-554c-05ee-ba70d0db7af1@gmail.com> (raw)

Hi,

I've been trying to figure out, how to create raw partition, without
filesystem, from 2 or more files. Here is a general idea


partition uboot {
    partition-type = 0xa2
    size = 1M

    image spl {
        image = "u-boot-spl.bin.crc"
	size = 64k
        offset = 0
    }

    image uboot-real {
        image = "u-boot.bin"
        offset = 256k
    }
}


Note that spl is 64k big, and uboot-real must be at offset 256k. Also
this *MUST* be a partition of type 0xa2. Can such thing be done fully in
genimage without post-install script?

-- 
Best Regards
?yszczek Micha?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170802/a449bafb/attachment.asc>

             reply	other threads:[~2017-08-02 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 13:55 Michał Łyszczek [this message]
2017-08-02 17:25 ` [Buildroot] genimage raw partition from multiple files Michał Łyszczek
2017-08-02 17:55   ` Thomas Petazzoni
2017-08-02 18:09     ` Michał Łyszczek
2017-08-02 18:11       ` Thomas Petazzoni

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=cadb0fad-d46f-554c-05ee-ba70d0db7af1@gmail.com \
    --to=michal.lyszczek@gmail.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.