Commit Graph

253 Commits

Author SHA1 Message Date
Jonas Karlman
7231f4e188 scripts/image: pass BOOTLABEL and DISKLABEL to mkimage 2018-06-02 19:49:46 +02:00
Tomas Kelemen (vudiq)
54bb0e77dd scripts/image: fix noobs tarball 2018-05-30 21:21:16 +02:00
MilhouseVH
d8d723d7c2 init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades 2018-05-15 22:14:42 +01:00
Matthias Reichl
0f1de8fe39 scripts/image: create .sha256 files of tar and zip files
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-24 15:07:27 +02:00
Jonas Karlman
c9f12da73c scripts/image: support periodic image names 2018-04-22 20:37:56 +02:00
Christian Hewitt
15c3e9e90c Merge pull request #2518 from MilhouseVH/le90_save_build_config
buildsystem: save/load build config, simplify clean and build --all
2018-02-25 14:13:37 +04:00
Radostan Riedel
d450819323 Merge pull request #2506 from HiassofT/le9-kernel-toolchain
Compile kernel on 64/32 split archs without redefining TARGET_PREFIX
2018-02-23 20:12:59 +01:00
MilhouseVH
1a6d8a8f06 buildsystem: save/load build config 2018-02-23 10:19:52 +00:00
MilhouseVH
1edbc1b10f config/options: initialise the debug helper caches 2018-02-19 07:08:48 +00:00
Matthias Reichl
a5f4761560 scripts/image: use kernel toolchain to strip modules
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-02-17 17:54:34 +01:00
MilhouseVH
964e1c3755 scripts/image: use helper function 2018-02-01 05:21:36 +00:00
CvH
b72acb8816 Merge pull request #2243 from MilhouseVH/le90_fix_noobs
NOOBS: shorten partition labels, add $DEVICE support
2018-01-29 14:35:07 +01:00
Adam Green
ad9e7560c8 buildsystem: add support for building extra packages specified in
project or device options

this has been added at the end of the virtual debug package as
this is the last point in the build system that any packages are
compiled before images are created
2018-01-06 01:49:09 +00:00
MilhouseVH
64156ea8c8 package cache: initialise with a function 2017-12-21 18:20:02 +00:00
MilhouseVH
4e77097d23 buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package 2017-12-20 06:24:59 +00:00
MilhouseVH
85a97582de buildsystem: get_module_dir() is expensive, optimize 2017-12-17 19:12:59 +00:00
MilhouseVH
8af15ed22a config/show_config: move to separate file 2017-12-17 19:12:59 +00:00
Adam Green
5c07717d25 scripts/image: export more variables to scripts/mkimage for use
within project specific bootloader/mkimage scripts
2017-12-13 08:33:27 +00:00
Adam Green
5fc0b1087e scripts/image: allow INSTALL_SRC_DIR to be board specific 2017-12-13 08:33:25 +00:00
Radostan Riedel
c36fada03b Fix image creation for WeTek Devices 2017-11-27 10:02:07 +01:00
MilhouseVH
8ab6ed1ec5 NOOBS: shorten partition labels, add $DEVICE support 2017-11-23 04:00:37 +00:00
Lukas Rusak
50c0a1d4bb scripts/image: restore old functionality 2017-11-11 11:53:57 -08:00
Lukas Rusak
5da14cfce5 u-boot: allow using UBOOT_SYSTEM 2017-11-11 10:32:53 -08:00
Radostan Riedel
2c3ae36680 New package gcc-linaro-aarch64-linux-gnu
Odroid_C2: move gcc-linaro-aarch64-elf to projects
Odroid_C2: move gcc-linaro-arm-eabi to projects
2017-10-16 10:04:11 +02:00
Matthias Reichl
ad9e8dc372 Add support for kernel overlays
Core Kernel modules are now installed to
/usr/lib/kernel-overlays/base/lib/modules instead of /usr/lib/modules

Firmware files are installed to
/usr/lib/kernel-overlays/base/lib/firmware instead of /usr/lib/firmware

Packages can choose to install their modules and/or firmwareinto a
different overlay directory than base so they are not automatically enabled.

A new systemd service kernel-overlays, which is run before any modules
are loaded, adds overlays enabled via /storage/.cache/kernel-overlays/*.conf

These conf files must either contain the name of a system overlay,
which will then be searched for in /usr/lib/kernel-overlays/, or an
absolute path starting with '/'.

Overlaying is implemented by symlinking files from the overlays
to /usr/lib/modules and /usr/lib/firmware as not all platforms
support overlayfs.

This overlaying system can also be used by addons to provide optional
kernel modules and/or firmware by storing the absolute path to the addon
directory in the conf file and shipping kernel modules in
<addondir>/lib/modules/<KERNELVER>.

To save space only symlinks for modules matching the currently
running kernel version are created as addons may want to ship
modules for older kernel versions as well to be backward-compatible
to older LibreELEC versions.

Changes since v1:
- fixup kernel-overlays-service: add before kmod-static-nodes.service
  Fix static device nodes for module autoloading not being created.
- fixup kernel-overlays-service: fail if /usr/lib/modules exists
- squash kernel overlays: use get_kernel_overlay_dir in linux/package.mk
- Add support for firmware files via kernel overlays
- config/functions: include kernel overlays in addon installation

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00