Hei hei, Am Donnerstag, 14. November 2019, 20:54:15 CET schrieb Arji Cot: > I'm new at this, my problem is that I have the kernel, busybox and u-boot > already build for my target platform, I'm not sure what is the most > appropriate way of creating the final ".img" file out of the files that I > already have .
ptxdist [1] uses genimage [2]. It's available for buildroot [3], too, however I don't know if they actually use it. > I need to create 2 partitions, 1 vfat/fat32 for the boot and 1 partition > for the rootfs, the resulting 2 .img files will be burned on an eMMC using > the software provided by the vendor, so burning it's not the issue here . Sounds like a usual usecase for genimage. > I would like to have a more "scriptable" alternative to using dd, mounting, > writing and sync and then unmount the partition each time I need to create > an img file . Well genimage works with config files, but that should work for you. > I'm using a linux 64 bit box . Who doesn't? ;-) Greets Alex [1] https://www.ptxdist.org/ [2] https://github.com/pengutronix/genimage [3] https://buildroot.org/ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot