493 Commits

Author SHA1 Message Date
Immanuel Klinkenberg
3509c72747 Fix NAND auto installs on WeTek devices 2016-07-28 00:21:50 +02:00
Lukas Rusak
5171e1cacf scripts/image: cleanup leftover directories 2016-06-24 11:11:01 -07:00
Lukas Rusak
04620a8f2b scripts/image: make the images as well when running make noobs 2016-06-24 11:10:56 -07:00
MilhouseVH
062f72ee73 noobs: Use 40x40 icon, when available 2016-05-20 18:34:39 +01: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
Michael Busby
b8418649b2 copy the dt-blob to image
this is a follow on from #155
2016-04-15 13:44:13 +01:00
MilhouseVH
6a3535a58f Merge pull request #134 from lrusak/upstream-changes
build xmlstarlet
2016-04-14 10:38:13 +01:00
Stephan Raue
0260255dff scripts/checkdeps: we build our own 'xmlstarlet'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-04-12 22:06:39 -07:00
MilhouseVH
54face5178 build: Install gdb for release builds (RFC) 2016-04-12 22:34:11 +01:00
Mark Walker
77fff1ecf3 Change from ! -z -> -n 2016-04-12 13:33:30 +02:00
Mark Walker
d1fe7c07ff Add option for CUSTOM_IMAGE_NAME to allow for alternate image naming 2016-04-12 13:32:39 +02:00
Lukas Rusak
4069754edd Merge pull request #137 from kszaq/wetek-userdata-wipe
projects/WeTek_*: Move userdata wipe to factory_update_param script
2016-04-11 23:43:19 -07:00
kszaq
62599cd8ba scripts/image: create SD card image wtih amlpkg
This allows creating both images in one shot, saves time.
2016-04-11 12:12:59 +02:00
kszaq
ec69e4be13 projects/WeTek_*: Move userdata wipe to factory_update_param script
This allows updating LibreELEC via recovery without wiping userdata
while keeping toothpick method work when a clean flash is needed.
2016-04-11 11:31:41 +02:00
Stefan Saraev
c93ed64b82 configtools: move configtools to packages 2016-04-06 15:23:59 -07:00
Lukas Rusak
73795e4d8f scripts/clean: fixup previous commit 2016-04-05 02:15:17 -07:00
Christian Hewitt
82fab60220 Merge pull request #108 from lrusak/clean-all
Thanks .. this is very useful :)
2016-04-05 12:05:21 +04:00
MilhouseVH
f37e4d7df2 image: BUG_REPORT_URL should reflect origin repo used for build 2016-04-04 03:52:09 +01:00
MilhouseVH
db1af813ff build: Add git hash in /etc/os-release for all builds 2016-04-03 07:41:17 +01:00
Lukas Rusak
afa516291d scripts/clean: allow cleaning package for all projects 2016-03-31 23:53:08 -07:00
Lukas Rusak
20618947d9 Merge pull request #51 from MilhouseVH/variable_part_size
Allow for a custom system partition start sector + custom system size
2016-03-29 21:53:42 -07:00
MilhouseVH
7a428cd73b build: ignore PKG_SOURCE_DIR when not required 2016-03-29 22:51:55 +01:00
Lukas Rusak
ebbbbac3c0 Merge pull request #54 from vpeter4/imx6.kernel
imx6: update kernel, prepare for second kernel
2016-03-28 10:43:03 -07:00
MilhouseVH
403653045a scripts/checkdeps: check for xmlstarlet 2016-03-25 14:41:45 +00:00
Peter Vicman
33c51330f7 imx6: update kernel, prepare for second kernel
"officially" supported kernel is branch 3.14-1.0.x-mx6-sr from solidrun (3.14.60 at the time of writing)
unofficial kernel is branch imx6-4.4.y from xbian thanks to mk01 (4.4.6+rt3)

patches can be in subfolder: projects/imx6/patches/linux/3.14-mx6-sr/
kernel config can be in subfolder: projects/imx6/linux/3.14-mx6-sr/linux.arm.conf
2016-03-24 18:28:34 +01:00
MilhouseVH
b42b63983b Allow for a custom system partition start sector + custom system size 2016-03-24 12:02:45 +00:00
MilhouseVH
2f1b279177 Merge pull request #27 from vpeter4/img_update1
init: allow update also with .img.gz or .img besides to .tar
2016-03-21 07:19:18 +00:00
MilhouseVH
5ffa451cf5 libreelec: re-add OPENELEC_ARCH for temporary backwards compatability 2016-03-20 23:16:03 +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
Lukas Rusak
9737e400d0 scripts/get: only try 3 times before giving up 2016-03-15 10:39:14 -07:00
Lukas Rusak
76a4367644 scripts/unpack: fix to allow packages that don't unpack 2016-03-14 14:30:32 -07:00
MilhouseVH
d8f6577b52 Merge pull request #2 from lrusak/seo-stripping
stripping changes
2016-03-14 17:55:15 +00:00
MilhouseVH
875806cdac Add PKG_SOURCE_NAME for non-standard package tarballs 2016-03-13 23:47:12 -07:00
Lukas Rusak
40af353132 rebrand: LibreELEC 2016-03-12 01:41:55 +01:00
Stephan Raue
d036c394f2 scripts/image: fix build after 692b086ad0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-03-04 22:30:36 +01:00
Zalaare
692b086ad0 Various $HOME/.openelec (vendor) fixes 2016-03-04 11:52:43 -05:00
Stephan Raue
79efe4e328 Merge pull request #4803 from lrusak/aarch64
linux: use KERNEL_TARGET as make target
2016-03-02 07:44:47 +01:00
Stephan Raue
52b5fc5a4d Merge pull request #4791 from OpenELEC/package-updates
Package updates and fixes
2016-03-02 07:42:07 +01:00
Lukas Rusak
362ed24bd2 linux: use KERNEL_TARGET as make target 2016-03-01 21:30:29 +01:00
Stephan Raue
7f77d0df5b NOOBS: add support for NOOBS-1.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-03-01 16:45:26 +01:00
Lukas Rusak
ae9e7cab5f buildsys: define TARGET_KERNEL_ARCH early 2016-02-29 21:25:37 +01:00
Stephan Raue
3d4caa6b6d buildsystem: move $HOME/.openelec/$PROJECT to $HOME/.openelec/projects/$PROJECT
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-02-22 17:40:39 +01:00
Stephan Raue
b0aa92889f buildsystem: install vendor and project related files to image
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-02-22 17:40:39 +01:00
Philipp Felix Hoefler
65643c1681 scripts/unpack: creates empty build-dir for packages without sources so deepmd5 works 2016-02-22 14:27:05 +01: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
Stephan Raue
5d25757702 Merge pull request #4676 from MilhouseVH/less_messy_locking
build: Take a lock on the package download directory
2016-02-08 12:43:56 +01:00
Stephan Raue
44da7861bc Merge pull request #4543 from CvH/patch-1
zip packages extraction fix
2016-02-07 15:58:53 +01:00
MilhouseVH
dc12bbd8a6 build: Take a lock on the package download directory 2016-02-04 09:51:00 +00:00
Stefan Saraev
1b6da2aaff scripts/build: strip binaries 2016-01-31 00:21:56 +01:00