Commit graph

324 commits

Author SHA1 Message Date
GavinDarkglider
8c70c4924b
[WIP]Lakka-v5.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1801)
* Switch: Switch to new Bootloader.

* Initial Mariko Support

* ffmpeg: Fix issues caused by last libreELEC upstream merge.
2022-12-25 04:32:18 +02:00
Demetris Ierokipides
6e856cf717 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-09-12 02:18:57 +03:00
Demetris Ierokipides
c15f289756 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v4.x 2022-09-12 02:08:19 +03:00
Ian Leonard
3c999938ed scripts: suppress qa_check error message when no issues present
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-08-15 06:06:33 +00:00
GavinDarkglider
9e969c418d
WIP - Add Support for Ayn Odin (#1713)
* Initial fully buildable/bootable Odin Support

* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin

* Move shared packages from switch/odin to main packages folder
2022-08-03 20:43:23 +03:00
Rudi Heitbaum
44d5686e0d scripts/image: cleanup ORIGIN_URL 2022-07-21 12:00:49 +00:00
Lukas Rusak
3fa587eb52
add ability to log qa checks 2022-06-28 15:24:22 -07:00
Ian Leonard
41d833c2aa scripts/image: include adjustments to cflags made by toolchain setup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-02-19 07:30:16 +00:00
GavinDarkglider
82e5d624f6
More Nintendo Switch fixes (#1548)
* Downgrade glibc to 2.27 for L4T Builds.
* Downgrade binutils to 2.32 for L4T Builds.
* Update L4T Project Options
* Refactor tegra-bsp package
* Import/Rebase CTC's ffmpeg patches, and switch decoder to nvv4l2 from nvmpi. Fixes decoder issues
* Enable all disabled cores
* Remove hack in busybox package to dump firmware into L4T Builds, we now handle this in tegra-bsp package.
* More L4T project cleanups
* Bring switch-bootloader package.mk inline with upstream formatting
* Fix reboot_payload
* Add proper tegra-bsp:init support
* Bootloader cleanups, seperate bootloader stuff for libreelec builds
* Update init for supporting all distros on Nintendo Switch
* Add proper splash images for libreelec builds.
* Final bootloader fixes
* switch-bootloader-merge-fixes
* Fix uboot merge issues
* fix bmp
* It all builds
* add Basic USB Gadget(Serial console only)
* Properly fix mtp, and finish gadget stuff
2021-11-24 00:06:43 +01:00
Tomáš Kelemen (vudiq)
605713d309
image: fix symlink creation for kernel modules overlays 2021-11-04 19:53:47 +01:00
GavinDarkglider
4d58d3cf00
Add support for Nintendo Switch (#1536) 2021-10-27 09:47:55 +02:00
Tomáš Kelemen (vudiq)
38d1939f4e install2emmc: use SYSTEM_SIZE and DISTRONAME in script
Script uses arbitrary values for FAT32 partition and name of the
distribution. Using placeholders in the script and replacing them at
build time offers flexibility, i.e. no need to change arbitrary values
in script when SYSTEM_SIZE is changed.
2021-10-15 22:02:15 +02:00
Tomáš Kelemen (vudiq)
8f709c82f9 install2emmc: use SYSTEM_SIZE and DISTRONAME in script
Script uses arbitrary values for FAT32 partition and name of the
distribution. Using placeholders in the script and replacing them at
build time offers flexibility, i.e. no need to change arbitrary values
in script when SYSTEM_SIZE is changed.
2021-10-14 20:44:55 +02:00
Ian Leonard
3936c9e5ab scripts/image: reduce use of basename
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-01 19:41:50 +00:00
Tomáš Kelemen (vudiq)
f405d49d9e update upstream files to Lakka versions 2021-09-26 21:01:28 +02:00
Tomáš Kelemen (vudiq)
59b5bc23f1 noobs: partition setup script - other distros
adapted the script for use with other distros, includes already message
adapted for Lakka
2021-04-05 00:55:01 +02:00
Tomáš Kelemen (vudiq)
85be92bbdb distro: add homepage url to distro options 2021-04-05 00:55:01 +02:00
Tomáš Kelemen (vudiq)
b0e25f5624 image: option to skip virtual appliance image
in some cases image for virtual appliance might not be needed, so can be
skipped with simple `SKIP_VIRTUAL_IMAGE=yes make image`
2021-04-05 00:55:01 +02:00
Portisch
7e418be01c config|scripts: keep source more generic 2021-01-26 16:26:56 +01:00
Matthias Reichl
8065dff7d3 scripts/image: drop dt-blob.bin handling
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 21:01:39 +02:00
Ian Leonard
d6622d5b94 image: zstd: use compression level 19 by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-07 19:52:02 +00:00
Christian Hewitt
44a6266465
Merge pull request #4103 from Kwiboo/mkimage-box
scripts/mkimage: only configure extlinux for valid uboot_helper dtb
2020-01-31 10:55:35 +03:00
Matthias Reichl
80f1b14da0
Merge pull request #4092 from MilhouseVH/le10_generator
buildsystem: switch to dynamic scheduler
2020-01-21 00:13:51 +01:00
MilhouseVH
ecbbddd3d6 scripts/image: send all u-boot output to stdout 2020-01-18 09:29:38 +00:00
Jonas Karlman
3f06a76a4e scripts: remove UBOOT_VERSION 2020-01-12 21:19:58 +00:00
Matthias Reichl
dad3581441 kernel-overlays: move volatile runtime data to /run
Create the module and firmware symlink trees in /run/kernel-overlays
instead of /var/lib as recommended by FHS 3.0. This also allows us
to drop the After=var.mount ordering in the systemd service.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-10 12:03:23 +01:00
MilhouseVH
e48447f305 config/multithread: dump stats after a build 2019-12-31 13:50:00 +00:00
Andre Heider
61af0490ef image: don't fish out kernel files out of its build dir
Install the files required by $SCRIPTS/image to a hidden directory. That
way, the files won't get copied to the system filesystem, but the script
can access them without requiring access to the build directory,
2019-12-31 11:26:49 +01:00
MilhouseVH
9a97f1b8ae Revert "scripts: image: BUILDER_NAME in image filename"
This reverts commit d55e191cda.
2019-09-13 17:02:42 +01:00
MilhouseVH
6dc483c169 Revert "Update scripts/image"
This reverts commit 3f77c14b60.
2019-09-13 17:02:41 +01:00
sky42
3f77c14b60
Update scripts/image
Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>
2019-09-08 20:27:05 +02:00
sky42
d55e191cda scripts: image: BUILDER_NAME in image filename 2019-09-06 06:50:12 +02:00
CvH
6d67cfcbb9
Merge pull request #3745 from MilhouseVH/le10_buildsystem_fixup2
buildsystem: minor fixups
2019-08-17 10:18:15 +02:00
MilhouseVH
54804c7e15 save_build_config: centralise 2019-08-15 20:51:34 +01:00
MilhouseVH
5666d4825d image: log board details prior to install 2019-08-13 11:30:23 +01:00
MilhouseVH
7ba6d1048c image: validate UBOOT_SYSTEM 2019-08-13 11:30:23 +01:00
Matthias Reichl
f4fdfefbed scripts/image: drop /sbin from PATH
All programs needed for image creation are available in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-16 20:20:37 +02:00
Matthias Reichl
81d8d58d7e scripts/image: only include hex version in noobs os.json if NOOBS_HEX is set
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
a28f2e7688 scripts/image: create NOOBS tarballs with fakeroot
Otherwise builder user ID will leak in and storage partition
will be owned by that instead of root and lots of services
will fail to start.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
0bf0cba705 scripts/image: copy config.txt and distroconfig.txt from INSTALL
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
Matthias Reichl
1994c2be0d scripts/image: copy firmware from INSTALL
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-03 20:05:20 +02:00
MilhouseVH
cd71230bdb buildsystem: image - use HERE docs 2019-06-17 01:48:35 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH
b48622994b
Merge pull request #3212 from antonlacon/rpi-zstd-img
rpi: switch to zstd squashfs images
2019-05-10 00:43:43 +01:00
CvH
851f654777
Merge pull request #3458 from kszaq/drop_aml_3.14
Goodbye Amlogic 3.14
2019-05-04 07:22:11 +02:00
Ian Leonard
3b75089c97 scripts/image: zstd: use a 1MB blocksize by default
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:49:08 +00:00
Ian Leonard
1fcc9d3247 image: drop OPENELEC_ARCH from /etc/os-release
Also swaps the necessary variable check in busybox/init to acoomodate OPENELEC_ARCH
may or may not exist, while LIBREELEC_ARCH will be assumed to exist.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-03 23:11:24 +00:00
kszaq
9ad3fbe815 scripts, tools: drop amlpkg building 2019-05-04 00:01:55 +02:00
Jonas Karlman
e92b858d9e scripts/image: build an image for each UBOOT_SYSTEM 2019-05-01 16:27:07 +00:00
Jonas Karlman
0d2d9f8c29 scripts/image: use BUILD_NAME in mkimage 2019-05-01 16:27:04 +00:00