79 Commits

Author SHA1 Message Date
chewitt
d2fa2d6cc8 mkimage: support tty in run mode 2018-08-20 22:28:32 +04:00
CvH
843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
Tomas Kelemen (vudiq)
00f059abfd mkimage: use BOOTLABEL and DISKLABEL directly 2018-06-01 11:52:36 +02:00
Tomas Kelemen (vudiq)
c2792f5dbb redefine variable names for partition labels 2018-05-30 08:31:04 +02:00
Tomas Kelemen (vudiq)
ba307e3366 mkimage: use labels defined by distro options 2018-05-29 09:21:44 +02:00
MilhouseVH
517330f9fe installer: drop extlinux support, not needed - use syslinux 2018-05-15 22:14:42 +01:00
MilhouseVH
cdb7daba21 grub: drop /flash/grub.cfg 2018-05-15 22:14:42 +01:00
MilhouseVH
20992919e1 init: update copyright 2018-05-15 22:14:42 +01:00
MilhouseVH
2c281d13d9 syslinux.cfg/init/etc: unify syslinux.cfg 2018-05-15 22:14:42 +01:00
Matthias Reichl
71b9eacbc6 scripts/mkimage: create .sha256 files of images
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 20:43:30 +02:00
Matthias Reichl
6d9031b932 scripts/mkimage: drop string substition to change DISK suffix
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 20:43:30 +02:00
Radostan Riedel
a44ba1226f
Merge pull request #2507 from kszaq/le90_aml_sbc
projects/Amlogic: SBC updates
2018-03-06 08:58:36 +01:00
kszaq
bb85432771 scripts/mkimage: remove project-specific device tree copy
This is already done in project/bootloader/mkimage script.
2018-03-05 22:44:52 +01:00
chewitt
2180f4c85b mkimage: tweak uboot wording to match other messages 2018-03-03 17:41:00 +00:00
MilhouseVH
8f2b872ab6 Revert "scripts/mkimage: use helper function"
This reverts commit 7793bea2e9d47d979bf830c15c657c456aead2bb.
2018-02-04 17:55:59 +00:00
MilhouseVH
7793bea2e9 scripts/mkimage: use helper function 2018-02-01 05:21:36 +00:00
Alex Deryskyba
ce2d407491 scripts/mkimage: Fix an issue when device tree image is not included into SD card images for WeTek devices 2017-12-17 16:59:32 +02:00
Radostan Riedel
e1a965772d
Merge pull request #2260 from kszaq/data_partition_label
scripts/mkimage: add label to disk partition as well
2017-12-09 21:50:46 +01:00
kszaq
7d3bbed226 scripts/mkimage: add label to disk partition as well 2017-12-09 21:48:14 +01:00
Radostan Riedel
c36fada03b Fix image creation for WeTek Devices 2017-11-27 10:02:07 +01:00
Lukas Rusak
561d22515f
scripts/mkimage: use uuid for partitions on RPi 2017-11-17 23:15:37 -08:00
Lukas Rusak
5da14cfce5
u-boot: allow using UBOOT_SYSTEM 2017-11-11 10:32:53 -08:00
MilhouseVH
41dd8f9534 Merge pull request #2061 from maideii/libreelec-8.2
added EFI 32bit support via GRUB2
2017-10-12 23:05:17 +01:00
maideii
7121db0b95 added EFI 32bit support via GRUB2 - fixed Virtual config 2017-10-11 10:48:56 +08:00
maideii
03ec8f3048 added EFI 32bit support via GRUB2 - indentation mistake 2017-10-10 11:38:52 +08:00
maideii
c268754d0d added EFI 32bit support via GRUB2-expanded all the config with variables 2017-10-10 11:31:49 +08:00
Jonas Karlman
eadaa52918 scripts/mkimage: rename gpt patitions to system and storage 2017-10-08 20:08:02 +02:00
Jonas Karlman
6176f8b96b scripts/mkimage: use generated serial number for system partition
Also removes unused UUID_SYSTEM variable
2017-10-08 20:08:02 +02:00
maideii
8d501bbd3e added EFI 32bit support via GRUB2 2017-10-04 14:04:21 +08:00
zalaare
5e81f2a01b build system: drop .img extension for the open virtual appliance
and change the default syslinux entry from installer to run
  for the open virtual appliance.
2017-08-16 09:01:24 -04:00
zalaare
9cf973013a build system: use DISK_SIZE in bytes for ovf template 2017-08-14 15:59:46 -04:00
Jonas Karlman
e4ba1d4736 scripts/mkimage: align partitions to 4MiB 2017-03-12 09:51:31 +01:00
MilhouseVH
03366a102c TOOLCHAIN: drop $ROOT, convert to absolute path 2017-02-17 18:17:13 +00:00
Lukas Rusak
f1bc9dd3f5
Generic: merge Virtual project 2017-02-01 16:47:13 -08:00
Olli Salonen
cbb43e568a mkimage: rebranding and prompt change
Change the prompt to instruct the end user to wait for the installer
instead of just "Press TAB for boot options". Hopefully more intuitive
now.

Rebrand to LE in the code also. :)
2016-10-19 22:51:43 +03:00
MilhouseVH
7353f15dd3 scripts/mkimage: Add run mode, remember default selection, resize gpt partitions 2016-09-15 23:25:13 +01:00
MilhouseVH
39021544c4 mkimage: add fogotten distroconfig.txt after #389 2016-08-28 22:07:53 +01:00
Jonas Karlman
9dde35d458 scripts/mkimage: add support for boot-logo.bmp.gz 2016-08-24 23:03:18 +02:00
Jonas Karlman
e8870e6abd u-boot: use pre-fused u-boot.bin
Use pre-fused u-boot.bin and drop use of bl1.bin.hardkernel for Odroid C2
Only need to write 0-111 and 512+ to image/disk
2016-08-24 23:03:18 +02:00
Peter Vicman
33ee98ef6e scripts/mkimage: set real volume label on system partition for all projects
useful when disk is mounted showing nice label LIBREELEC instead of NO NAME
2016-08-15 19:44:49 +02:00
Alex Deryskyba
0fbb9d1b38 scripts/mkimage: Include Amlogic device tree into SD-card image 2016-08-11 16:47:03 +02:00
zalaare
8ada210183 scripts/mkimage: enable building Open Virtualization Format image 2016-07-27 10:53:36 -04:00
Peter Vicman
0d26727fad scripts/mkimage: check filesystem on system partition 2016-06-12 17:19:38 +02:00
Lukas Rusak
eb052860c1 scripts/mkimage: support Odroid_C2 2016-05-05 01:23:04 -07:00
Michael Busby
c23d571b47 corrected typo 2016-04-15 16:40:51 +01:00
Michael Busby
eba907be9b also dt-blob gets copied here 2016-04-15 13:50:32 +01:00
MilhouseVH
b42b63983b Allow for a custom system partition start sector + custom system size 2016-03-24 12:02:45 +00:00
Peter Vicman
0a8df76e5e init: allow update also with .img.gz or .img besides to .tar
needs double space on storage partition for extracted .img file
KERNEL/SYSTEM files are copied directly from mounted partition to /flash
tested on imx6 project
size of initramfs/kernel increased by ~40kB
if downgrade with image without included .md5 files
user needs to create file .nocheck (there is no integrity
checks done in this case - can be unsafe)

### Checking for updates ###
Found new .tar archive. extracting...
Checking KERNEL.md5...
/storage/.update/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/SYSTEM: OK
Checking size: OK
### mount filesystem /flash/SYSTEM ... ###
### mount filesystem /storage/.update/SYSTEM ... ###
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6q-udoo.dtb ...
.................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050510 seconds, 692.9KB/s
System reboots now...

### Checking for updates ###
Found new .img.gz archive. extracting...
Mounting system partition...
Checking KERNEL.md5...
/storage/.update/.tmp/mnt/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/.tmp/mnt/SYSTEM: OK
Checking size: OK
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6dl-cubox-i.dtb ...
.....................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050320 seconds, 695.5KB/s
System reboots now...

### Checking for updates ###
Found new .img file...
Mounting system partition...
Checking KERNEL.md5...
/storage/.update/.tmp/mnt/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/.tmp/mnt/SYSTEM: OK
Checking size: OK
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6dl-cubox-i.dtb ...
.....................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050320 seconds, 695.5KB/s
System reboots now...
2016-03-18 12:08:03 +01:00
Zalaare
692b086ad0 Various $HOME/.openelec (vendor) fixes 2016-03-04 11:52:43 -05:00
Peter Vicman
3b75736931 scripts/mkimage: create disk image without sudo
Mtools is used to format and copy files to vfat partition.
Populatefs is used to copy files to ext4 partition.

Tested on imx6 with u-boot, Generic with BIOS and EFI boot.

To avoid messing around with ext4 partition we could also provide "empty" disk image file. Both partitions would be already formatted and storage partition would already contain resize file. Then mkimage script would only copy kernel, system, bootloader files and install bootloader.
But current approach is more flexible for future use.
2016-02-19 08:49:20 +01:00