118 Commits

Author SHA1 Message Date
Douglas Teles
c542304146 New architecture release 2026-03-18 17:32:41 -03:00
tiopex
7a656ea09d SM8550/SM8650: Add generate boot.img file
Remove grub and dtb
2026-03-02 14:52:13 +01:00
spycat88
8e951552bc rocknix: use a 16kb cluster size on fat partitions 2025-12-27 15:59:25 +00:00
rocknix
06b1bfe7fc Restoer MD5s as it breaks upgrades 2025-10-29 21:57:59 +00:00
Philippe Simons
317f67e8b8 scripts: remove references to .md5 files 2025-10-28 19:57:59 +01:00
spycat88
c44fa36fb6 projects: cleanup bootloader files 2025-10-27 21:03:42 +00:00
John Williams
29b56dad8f mkimage / fs-resize - mke2fs - ext4 usage type 2025-10-09 11:28:38 +11:00
spycat88
c89ba19373 mkimage: fix booting from 2tb+ drives
mke2fs was using a default block size of 1kb, this caused 2tb+ drives
to fail initial resizing script with the following error.

resize2fs: New size results in too many block group descriptors.
2025-09-29 02:37:08 +00:00
ROCKNIX Team
f6010e7b77 scripts: add modifications for ROCKNIX 2025-07-13 19:02:39 +01:00
Christian Hewitt
2525a6d73d Generic: unbrand ovf.template
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
Christian Hewitt
fa90a43177 treewide: unbrand LE_TMP to IMG_TMP
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-05-11 12:28:50 +00:00
CvH
58ebc091cf cleanup scripts: scripts/ 2024-07-06 13:09:20 +02:00
Matthias Reichl
a6ce06cb01 scripts/mkimage: create storage filesystem without orphan_file option
resize2fs creates a filesystem with unclean orphan file when resizing
to more than 32GB if the orphan_file option is enabled, resulting in
an unmountable storage partition after initial resize.

Explicitly disable the option until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2024-01-17 16:49:39 +01:00
Matthias Reichl
968f589b37 RPi: make bootloader files optional
RPi4 only needs start.elf/fixup.dat, RPi5 doesn't need any of them

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 11:00:16 +02:00
CvH
3f49a597e6 Merge pull request #7036 from antonlacon/le11-scripts
buildsystem: additions to show_config, related
2023-04-16 10:34:43 +02:00
Matthias Reichl
e63855bc0f scripts/mkimage: support multiple distroconfig files
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-02-03 16:02:21 +01:00
Ian Leonard
d417519f98 buildsystem: move STORAGE_SIZE to the general buildsystem
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-24 00:49:24 +00:00
Tomáš Kelemen (vudiq)
41b6c049ea mkimage: optimize disk image creation
In case SYSTEM_SIZE was higher than 1024, mcopy would fail without the
failure being caught. The failure was probably due to invalid geometry
(number of sectors per track too high?). However mformat should be able
to determine the geometry on its own, when no geometry parameters are
supplied. After discussion on IRC with vpeter we came to this solution.

* create temporary folder in the target folder
* use sparse files to create image and partitions
* no extractions of the partitions from image
* modify mcopy alias to copy to the partition sparse file
* add `-o` switch to mcopy alias, so mcopy does not prompt in case of
  existing file in the partition
* remove alias for mformat (is used only one time)
* catch errors for mformat/mcopy/mmd
* use mcopy alias when copying files to virtual appliance part1
* move DISK_LABEL setting closer to the part where it is used
* write MBR without test (it should be already present and if not, dd
  will fail anyway and error is caught)
* update output when vmdk is created

Co-authored-by: Peter <peter.vicman@gmail.com>
2021-11-23 21:28:46 +01:00
Ian Leonard
29a3baee03 scripts/mkimage: elminate use of basename
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:50 +00:00
Jernej Skrabec
bbd9f80240 mkimage: copy overlays for u-boot images 2021-01-21 22:19:07 +01:00
Matthias Reichl
bc4943e203 scripts/mkimage: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:02:05 +02:00
Matthias Reichl
578b34eb1b scripts/mkimage: drop chowning image to SUDO_USER
This is a leftover from ancient times when mkimage had to be
run via sudo.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-13 10:32:39 +02:00
mglae
0c065dbdde mkimage: replace deprecated "tty" with "systemd.debug_shell" for Generic 2020-04-06 18:42:34 +02:00
Jonas Karlman
5045ba2274 scripts/mkimage: configure extlinux for valid uboot_helper dtb 2020-01-12 21:19:58 +00:00
chewitt
4228404417 mkimage: remove support for 'vendor' u-boot, we use 'box' now 2019-09-04 03:50:40 +00:00