Commit Graph

45 Commits

Author SHA1 Message Date
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
Peter Vicman
62b83002ee scripts/mkimage: sync disk few more times
fix issue like this
image: creating filesystem on part1...
losetup: /dev/loop0: device is busy
2016-01-21 10:36:48 +01:00
Stephan Raue
6481621d97 scripts: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:26:58 +01:00
MilhouseVH
7cf785b58a Stop being stingy with System partition size 2015-12-20 18:11:07 +00:00
Haggai Eran
e3203be00e add EXTRA_CMDLINE option to add kernel command line arguments
Allow configuring extra kernel command line arguments by using the
EXTRA_CMDLINE variable. The patch handles EXTRA_CMDLINE only for the
bcm2835 boot loaders.
2015-09-15 14:13:08 +02:00
vpeter4
461e76c940 imx6: create images for diferent systems based on SYSTEM environment variable
creates default cuboxi image
PROJECT=imx6 ARCH=arm make image

creates image for udoo system
PROJECT=imx6 ARCH=arm SYSTEM=udoo_quad make image
2015-05-17 14:16:03 +02:00
Stefan Saraev
71d4eb111b scripts/mkimage: fixup after c2b378c
fail.. sorry rpi/wetek/imx6 builders. call me stupid
and feel free to slap me ;)
2015-04-13 21:45:48 +03:00
Stefan Saraev
d112a25697 scripts/mkimage: use same syslinux.cfg for uefi and legacy
... and use the new 'live' mode. cleanup fancy graphics bootstuff
2015-04-05 20:34:59 +03:00
Stefan Saraev
c2b378c895 mkimage: x86: always creeate uefi images 2015-04-05 18:10:46 +03:00
Stefan Saraev
b20d36e3e0 scripts/mkimage: change image owner back to the calling user 2015-04-05 18:09:22 +03:00