Commit graph

1157 commits

Author SHA1 Message Date
Demetris Ierokipides
c8570863ac Add rock pi 4c plus support 2023-01-02 22:18:06 +02:00
Demetris Ierokipides
d9dc655e32 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-01-02 22:15:17 +02:00
Jernej Skrabec
1bd87f7360 uboot_helper: Add OrangePi 3 LTS target 2023-01-02 16:01:01 +01:00
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
ntemis
90151b8a17 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-12-14 03:15:05 +02:00
SupervisedThinking
b76b39d823 scripts/build: update TRACE_BUILD_TIMING 2022-12-06 16:31:24 +01:00
Matthias Reichl
8022ec23bf scripts/build: use wrapper scripts when building with local-cc flag
Several packages and buildsystems (most notably cmake) badly trip
over CC="ccache gcc" so create local wrapper scripts in the build
dir and set CC/CXX to them to work around that - like we do for
host-gcc and gcc in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>

fixup scripts/build local-cc wrapper
2022-12-02 01:11:39 +01:00
Demetris Ierokipides
2dfcbcdb3b Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-11-30 22:44:16 +02:00
Neko Prog
9c8c3c5df0
Update checkdeps: Add support for Pop!_OS (#1784) 2022-11-25 16:52:53 +02:00
SupervisedThinking
0ffe017fa9 scripts/build: fix meson 0.64.0 deprecation warning 2022-11-16 09:32:46 +01:00
David Lawson
b7580563e8
orangepi-4-lts: fix build and add ethernet support (#1764) 2022-10-18 02:45:30 +03:00
Demetris Ierokipides
cc0fbe363a Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-10-15 00:44:05 +03:00
GavinDarkglider
bb321a5eed
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2022-10-13 21:05:34 +03:00
Ian Leonard
bd360ccefa scripts/checkdeps: fedora bdftopcf package name change
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-10-05 03:18:38 +00:00
Demetris Ierokipides
a83395d8d1 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-10-03 17:56:12 +03:00
CvH
86c55c87b7
Merge pull request #6885 from knaerzche/rk-upstream-uboot
Rockchip: switch to mainline u-boot
2022-10-03 11:03:34 +02:00
Demetris Ierokipides
fd58bd5200 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-09-25 18:05:43 +03:00
Matthias Reichl
546e7c653f buildsystem: add support for reporting build timing details
Timing detail reporting can be enabled by setting
TRACE_BUILD_TIMING=1

This enables timestamping collecting at various build stages so we
can easily analyze how long eg configure, make/build, install etc
steps take.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-22 19:33:30 +02:00
lihex
ec1210eebc
force overwrite file on unziping files
add flag "-o" to overwrite file on unzipping.
when a build is interrupted by some issues, it will cause a re-substitution problem after a rebuild the target whose source code come from a zip file (like target jzintv)
2022-09-21 21:06:25 +08:00
Ntemis
fdbbd2871f More package fixes as aarch64 rpi4 target image test compile 2022-09-15 18:39:07 +02:00
Alex Bee
109b7bc2d0 Rockchip: switch to mainline u-boot 2022-09-12 08:21:01 +00: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
CvH
017ceab30e
Merge pull request #6705 from SupervisedThinking/up_checkdeps_arch
[le11] scripts/checkdeps: add EndeavourOS & fix Java
2022-09-02 05:42:30 +02:00
Christian Hewitt
e924769df9 samsung: add support for an XU3 image 2022-08-21 12:24:14 +00: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
SupervisedThinking
3f099ca0ed scripts/checkdeps: add EndeavourOS & fix Java 2022-08-04 11:34:45 +02: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
David Lawson
9744a97f2c
Update orangepi-4-lts build (#1717)
* orangepi-4-lts: rename orangepi-lts -> orangepi-4-lts

* orangepi-4-lts: split makefile and dts patches, update dts patch from armbian and remove sections that don't build

Specifically:

```
&i2s0 {
	assigned-clocks = <&cru SCLK_I2SOUT_SRC>;
	assigned-clock-parents = <&cru SCLK_I2S0_8CH>;
	resets = <&cru SRST_I2S0_8CH>, <&cru SRST_H_I2S0_8CH>;
	reset-names = "reset-m", "reset-h";
	rockchip,playback-channels = <2>;
	rockchip,capture-channels = <2>;
	status = "okay";
	#sound-dai-cells = <0>;
};
```

and

```
&hdmi_in_vopl {
	status = "disable";
};
```

result in a syntax error for some reason I don't understand, which likely means no sound for now
2022-07-21 23:15:10 +03:00
Rudi Heitbaum
44d5686e0d scripts/image: cleanup ORIGIN_URL 2022-07-21 12:00:49 +00:00
Demetris Ierokipides
b48dca0f5c Add orangepi-4-lts support to lakka
http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/orange-pi-4-LTS.html

Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
2022-07-13 18:58:55 +03:00
Lukas Rusak
3fa587eb52
add ability to log qa checks 2022-06-28 15:24:22 -07:00
Ian Leonard
e4bded9315 makefile_helper: only source necessary values from buildsystem's config
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-05-01 17:56:34 +00:00
Rudi Heitbaum
03f142b99e scripts/makefile_helper: make sure variables are set before running an rm 2022-04-30 09:58:07 +00:00
Ian Leonard
1f4ffcc981 scripts/makefile_helper: initial commit
The buildsystem's Makefile hardcodes the location of the BUILD_DIR used
by the rest of the buildsystem. Add a script to handle what BUILD_DIR
might be set to.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-04-24 20:08:53 +00:00
CvH
b284b18d89
Merge pull request #6262 from antonlacon/show-config-cflags
Account for setup_toolchain in show_config's reported CFLAGS/LDFLAGS
2022-02-27 21:16:40 +01:00
Christian Hewitt
3ccf688470 scripts: add Radxa Zero2 to uboot_helper 2022-02-19 11:01:39 +00:00
Christian Hewitt
b04da7c1e3 scripts: drop beelink-s922x from helper as no longer needed 2022-02-19 11:01:39 +00: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
CvH
5125de9624
Merge pull request #5144 from mglae/le10_autoreconf
autoreconf: support custom PKG_CONFIGURE_SCRIPT
2021-12-27 08:06:54 +01:00
Christian Hewitt
eeae7f246b scripts: use bananapi-m5_defconfig 2021-12-17 10:01:51 +00:00
SupervisedThinking
8d70c35a3d scripts/build: load meson host conf as native file 2021-11-29 17:31:58 +01:00
CvH
f440e3bc37
Merge pull request #5899 from ToKe79/mtools-update_mkimage_mod
Update mtools + optimize mkimage to catch errors / to allow SYSTEM_SIZE >= 1024 / for speed
2021-11-28 12:31:07 +01:00
Christian Hewitt
f7812aaf95 scripts: update devices in uboot_helper 2021-11-26 12:00:19 +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)
41b6c049ea
mkimage: optimize disk image creation
In case SYSTEM_SIZE was higher than 1024, mcopy would fail without the
failure being caught. The failure was probably due to invalid geometry
(number of sectors per track too high?). However mformat should be able
to determine the geometry on its own, when no geometry parameters are
supplied. After discussion on IRC with vpeter we came to this solution.

* create temporary folder in the target folder
* use sparse files to create image and partitions
* no extractions of the partitions from image
* modify mcopy alias to copy to the partition sparse file
* add `-o` switch to mcopy alias, so mcopy does not prompt in case of
  existing file in the partition
* remove alias for mformat (is used only one time)
* catch errors for mformat/mcopy/mmd
* use mcopy alias when copying files to virtual appliance part1
* move DISK_LABEL setting closer to the part where it is used
* write MBR without test (it should be already present and if not, dd
  will fail anyway and error is caught)
* update output when vmdk is created

Co-authored-by: Peter <peter.vicman@gmail.com>
2021-11-23 21:28:46 +01:00
Michael Klein
749e9c2f54 Allwinner: add Crust support for bananapi-m2-zero 2021-11-21 15:52:03 +01:00
Tomáš Kelemen (vudiq)
c49da9d2ef
get_git: create shallow clones
preserves space, tarballs can be reused if the package repository gets
nuked or the commit disappears from the history (e.g. in case of a
forced pushed)
2021-11-14 11:16:19 +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