Commit graph

32711 commits

Author SHA1 Message Date
Matthias Reichl
545fee04cb linux: fix OUYA patch
The old help syntax has long been deprecated and removed from 5.9

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-12-12 11:52:52 +03:00
MilhouseVH
0257d505fc linux (Generic): drop obselete patch after upstream refactor
See: ba1e78a1dc
2020-12-12 11:52:43 +03:00
MilhouseVH
02842eb1bb linux (Generic): drop obsolete patch after major upstream refactor
See: 3e7abf8141
2020-12-12 11:52:33 +03:00
Andre Heider
d4bd09e6b7 iptables: use the installed kernel headers 2020-12-12 11:50:35 +03:00
mglae
f1be301487 linux: initramfs: use initramfs config file(s) and directory structure
Cpio file is generated as part of the kernel build process. No need
to force fakeroot cpio build any more.
2020-12-12 11:50:14 +03:00
by-gnome
6a0a3e26a2
Generic: linux: fix 'Argument list too long' for built-in firmware (#1129)
Patch: Temporary workaround for 'Argument list too long'
error with kernel-firmware above 20190514.
2020-12-12 00:39:00 +02:00
Ntemis
75ec8341b8 Bump :
- Mesa3D to v20.2.4
- LibDRM to v2.4.103
- Llvm to v11.0.0
2020-12-11 02:51:33 +01:00
Ntemis
f79b1b05d6 Retroarch: Clean and merge more common build flags for supported targets 2020-12-09 15:12:08 +02:00
by-gnome
2da03de262
u-boot: add UBOOT_TARGET (#1125)
* u-boot: add the ability to specify the u-boot target to build

* u-boot: rebuild when UBOOT_TARGET changes

Co-authored-by: Lukas Rusak <lorusak@gmail.com>
Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
2020-12-08 01:24:53 +02:00
by-gnome
e5423832af
cleanup initramfs build, drop support for kernel modules in initramfs (#1117)
* initramfs: drop dependency on linux:init

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: drop obsolete make_init and makeinstall_init functions

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

* linux: move initramfs build+installation to pre_make_target

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* drop INITRAMFS_MODULES option

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* drop UVESAFB_SUPPORT option

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* busybox: drop uvesafb module handling in init

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

* v86d: drop no longer used package

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

* linux (Generic): disable UVESA framebuffer support

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: build linux image before building modules

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: move module installation to makeinstall_target

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

Co-authored-by: Matthias Reichl <hias@horus.com>
2020-12-08 01:24:08 +02:00
Ntemis
9cc8d4234a RPi4: cleaner retroarh build flags
- Leaving "enable-vulkan" out for now -> tbt
2020-12-05 15:46:27 +02:00
Seth Barberee
8163c7a912
clean up Rpi2/4 patches for linux5.4 and bluez (#1120)
* clean up Rpi2/4 patches for linux5.4 and bluez

* cleanup rest of bluez patches across Generic/NXP/OdroidXU3
2020-12-03 22:32:02 +02:00
Seth Barberee
438b2d3f09
[Rpi2/3] linux 5.4 (#1119)
* update Rpi2 to linux 5.4

* update kernel config
2020-12-03 00:59:21 +02:00
David G. F
c9952cc055
Add MT7601 support for OGA/RG351P (#1116)
Some consoles feature built-in MT7601U cards (also users can use a USB
dongle version of it).
2020-12-02 00:45:27 +02:00
gouchi
61c9c12287
duckstation : Enable arm platform and update to latest version (#1107)
* duckstation : Enable arm platform and update to latest version

* duckstation : update to latest version
2020-11-29 16:55:52 +02:00
Seth Barberee
96c42d39d7
update beetle-pce (#1106) 2020-11-25 04:15:25 +02:00
Ntemis
31ef8f9723 Update genesis-plus-gx to possibly fix a sega-cd issue 2020-11-18 20:05:54 +02:00
David G. F
cb58954d6b
Adding RG351P support, an Odroid Go Advance clone (#1105)
This console requires a separate DTS and a USB controller config.
U-Boot cannot reliably distinguish the two consoles since the HW ID
for it is the same as OGA v1.1 (looking into the schematics did not
yeld any GPIO differences that could be used for that).

I plan to dig a bit more into u-boot, perhaps enabling USB and
looking for the USB controller could be a way to differentiate them.
In the meantime this just adds another OGA flavor, which adds little
overhead to the build system.

Another TODO is rumble support, mapped to PWM1, which is not trivial
to support in RetroArch.
2020-11-18 20:01:16 +02:00
David G. F
e3f7d0447c
Add kernel install locks to prevent race conditions (#1104)
This uses the locking mechanism provided by the build system to grab a lock
(namely firmware-install) every time a firmware needs to be installed.

This is similar to the mechanism that python uses (exec_thread_safe)
but less restrictive since we do not grab a global lock.
2020-11-18 20:01:00 +02:00
zhangn1985
df05693640
filter out melonds (#1099)
melonds will be added to build plan for all targets, so does mesa.

and the targets which don't use mesa will not config mesa correctly.
thus build failed.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-11-18 00:11:18 +02:00
David G. F
ab895035ee
Fix librga git clone (#1100)
Seems like default branch changed and it can't fetch the commit otherwise?
2020-11-14 22:26:07 +02:00
Ntemis
abdfd6d5c0 MelonDS: Move mesa depends to correct place 2020-11-12 18:18:04 +02:00
zhangn1985
b293656f57
fix build issue in Debian 11 (#1094)
* fix linux u-boot build under host gcc 10

Debian 11 has gcc 10, thus Lakka build failed.

port upstream patch to fix build issue is Debian 11.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e33a814e772cdc36436c8c188d8c42d019fda639

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* melonds depends on mesa on x86_64

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* python is python2

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Gamegirl: fix kernel build

vmlinux link to ko, thus fail to build.
config related driver to ko.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Gamegirl: set PKG_TOOLCHAIN to manual

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Gamegirl: build GL

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* Gamegirl: fix bootload build

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* fix chailove build issue and enable it

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* build_all: remove some cache to make sure rebuild pass

when the previous build stops in the middle, must remove more to pass build.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-11-12 18:15:21 +02:00
by-gnome
d071a3f70a
NXP/iMX6: use HCI UART driver for BCM4330 in Wandboard C1 (#1091)
- remove hciattach service start for BCM4330 from udev rule
- configure HCI UART driver as module, enable Broadcom protocol
- add BCM4330 bluetooth node to Wandboard c1 device tree
2020-11-10 18:07:31 +02:00
by-gnome
abff737891
NXP/iMX6: set hdmi as default audio output (#1090)
- retroarch: set audio device to DW-HDMI, turn on menu sounds for iMX6
- NXP/iMX6: linux: configure DW HDMI audio driver as built-in
2020-11-10 18:06:55 +02:00
Ntemis
1661013bb4 MelonDS: It appears that this core needs ogl v3.1 and > to function
so lets make it pc only for now until arm tech catch up.
2020-11-04 03:25:34 +02:00
David G. F
61bbf8a1db
Downgrade binutils to fix build errors (#1081)
Cannot rollback to previous version since it does not build with gcc 9/10
However this version seems to work with gcc 10 *and* also produce valid binutils
that are not affected by the ABI change (see https://lkml.org/lkml/2020/1/30/1005)
2020-11-04 03:20:33 +02:00
David Lawson
bb77e4fc91
linux: Copy from dts/broadcom/*.dtb when PROJECT=RPi and ARCH=aarch64 (#1080)
Previously tried to look at PLATFORM which isn't set
2020-11-02 16:29:33 +02:00
by-gnome
7b435a57e4
NXP/iMX6: add fix Wandboard device tree for i2c bus recovery (#1076)
scl/sda are stuck low during transfer sometimes, add scl/sda
  gpios defitions to device tree to apply recovery mechanism
2020-10-27 01:19:42 +02:00
David G. F
539632db41
Upgrade NSS and NSPR (#1075)
There's some issues with GCC 10 builds, related to the built-in sqlite library.
Drop the nss-06-always-include-fstar patch, since uint128 impl. has changed.
2020-10-27 01:18:47 +02:00
David G. F
b60577685d
Fix includes in llvm for gcc 10 builds (#1074)
As per https://reviews.llvm.org/D64937
2020-10-26 23:13:51 +02:00
by-gnome
4e6cd030ff
WIP linux package fixes (#1073)
* linux: fix setting CONFIG_INITRAMFS_ROOT_ options in linux config

Remove CONFIG_INITRAMFS_ROOT_UID and CONFIG_INITRAMFS_ROOT_GID
options before adding them to avoid duplication

* linux: fix setting CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR

* linux: add kernel-firmware package to linux dependency tree for iMX6

* NXP\iMX6: exclude unnecessary firmware packages
2020-10-25 23:47:37 +02:00
David G. F
ec7c1ace5a
Adds a fix for p7zip on GCC10 (#1069)
New GCC throws errors instead of warnings:
  CPP/Common/MyWindows.h:89:43: error: narrowing conversion of
  '-2147024809' from 'LONG' {aka 'int'} to 'unsigned int' [-Wnarrowing]
2020-10-25 03:04:48 +02:00
David G. F
03cf8d6df2
Fix cpio GCC10 build (#1071)
Adding a patch from upstream (641d3f4)
2020-10-25 03:04:32 +02:00
David G. F
13c5be12a8
Bump binutils version (#1068)
Current version does not work with GCC 10 due to a missing include.
See: https://sourceware.org/pipermail/binutils/2019-June/107174.html
2020-10-25 01:11:51 +03:00
David G. F
cc515dab96
Bump squashfs-tools version (#1070)
Seems it has some GCC 10 compilation issues. This cleans up the patches.
This also points to the actual repo (the kernel one seems drepecated).

See https://github.com/plougher/squashfs-tools/pull/83
2020-10-25 01:11:18 +03:00
Ntemis
97f7975af2 Bump melonds 2020-10-24 03:58:40 +02:00
Sascha Kuehndel (InuSasha)
9625447656 glib: drop build test and LDFLAGS, not needed in cross-compile and with meson 2020-10-24 00:59:24 +02:00
Ntemis
c2c574a81c Revert "Bump Ninja to v1.10.1"
This reverts commit d1a02953b4.
2020-10-24 00:59:03 +02:00
Ntemis
d1a02953b4 Bump Ninja to v1.10.1 2020-10-22 18:02:58 +03:00
Ntemis
09408f8d66 Allwinner Arm: Enable RTL8188ETV usb driver so we automaticaly can support
Capcom Home Arcade Board WiFi chip
https://www.capcomhomearcade.com/home
2020-10-21 00:50:08 +03:00
Ntemis
d7a4ac8a2b Allwinner: Enable cifs driver
Closes https://github.com/libretro/Lakka-LibreELEC/issues/1026
2020-10-20 23:40:15 +03:00
Ntemis
d4738af522 Bump mesa3d to v20.1.10 2020-10-20 23:30:28 +03:00
David Lawson
3a209ee2ea
build fixes: rebase alsa-lib patch, update meson (#1066)
* alsa-lib: rebase alsa-lib-asound.conf_configdir.patch

* meson: update to 0.55.3

Fixes systemd build
2020-10-20 23:17:29 +03:00
MilhouseVH
094ba6516e Mako: update to Mako-1.1.1 2020-10-20 18:11:54 +03:00
MilhouseVH
184549c623 meson: update to meson-0.53.1 2020-10-20 18:11:27 +03:00
Sascha Kuehndel (InuSasha)
b86be78588 mesonbuild: update to 0.52 2020-10-20 18:11:16 +03:00
Sascha Kuehndel (InuSasha)
5c27e9da9b mesonbuild: update to 0.51.2 2020-10-20 18:10:58 +03:00
Sascha Kuehndel (InuSasha)
f1dae2b059 mesonbuild: update to 0.51.1 2020-10-20 18:10:38 +03:00
Ntemis
cf26f7aae3 alsa-lib: Update to v1.2.3.2 2020-10-20 02:05:38 +03:00