All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] genimage raw partition from multiple files
@ 2017-08-02 13:55 Michał Łyszczek
  2017-08-02 17:25 ` Michał Łyszczek
  0 siblings, 1 reply; 5+ messages in thread
From: Michał Łyszczek @ 2017-08-02 13:55 UTC (permalink / raw)
  To: buildroot

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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-02 18:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 13:55 [Buildroot] genimage raw partition from multiple files Michał Łyszczek
2017-08-02 17:25 ` Michał Łyszczek
2017-08-02 17:55   ` Thomas Petazzoni
2017-08-02 18:09     ` Michał Łyszczek
2017-08-02 18:11       ` Thomas Petazzoni

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.