* [ptxdist] Howto add platform specific image creation step
@ 2012-09-24 12:39 Markus Niebel
2012-09-24 12:58 ` Jan Lübbe
0 siblings, 1 reply; 2+ messages in thread
From: Markus Niebel @ 2012-09-24 12:39 UTC (permalink / raw)
To: ptxdist
Hello,
is there a way to create 2 (or more) images for one platform but different media types (like SD-Card and eMMC)?
Use cases:
1) Hardware platform is bootable from SD-card and eMMC etc. Kernel, Rootfs are the same. Only small differences in bootloader (Barebox) and bootloader environment.
2) Hardware platform has configuration options (RAM-size etc.)
It is relative easy to build the bootloader twice ore more when simply copying and renaming / adapting the Kconfig and make rule in project local rules (as a hack for the first try). But in ptxd_make_bootable image names are hard coded.
Geetings
Markus
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] Howto add platform specific image creation step
2012-09-24 12:39 [ptxdist] Howto add platform specific image creation step Markus Niebel
@ 2012-09-24 12:58 ` Jan Lübbe
0 siblings, 0 replies; 2+ messages in thread
From: Jan Lübbe @ 2012-09-24 12:58 UTC (permalink / raw)
To: ptxdist
Hi,
On Mon, 2012-09-24 at 14:39 +0200, Markus Niebel wrote:
> is there a way to create 2 (or more) images for one platform but
> different media types (like SD-Card and eMMC)?
>
> Use cases:
>
> 1) Hardware platform is bootable from SD-card and eMMC etc. Kernel,
> Rootfs are the same. Only small differences in bootloader (Barebox)
> and bootloader environment.
>
> 2) Hardware platform has configuration options (RAM-size etc.)
>
> It is relative easy to build the bootloader twice ore more when simply
> copying and renaming / adapting the Kconfig and make rule in project
> local rules (as a hack for the first try). But in ptxd_make_bootable
> image names are hard coded.
This is possible with new new image generation support. Take a look at
"ptxdist newpackage barebox" and "ptxdist newpackage image-genimage".
Also, for examples you can look in:
http://git.pengutronix.de/?p=platform-pengutronix-beagleboneti.git
http://git.pengutronix.de/?p=platform-pengutronix-raspberrypi.git
config/images, platforms and rules are the relevant directories.
Regrads,
Jan
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-24 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24 12:39 [ptxdist] Howto add platform specific image creation step Markus Niebel
2012-09-24 12:58 ` Jan Lübbe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox