Commit graph

1180 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
85027ef560
RPi Zero 2/GPICase: enable samba 2022-02-25 23:14:52 +01:00
Tomáš Kelemen (vudiq)
99142337c5
Add support for RPi Zero 2 with GPICase
Co-authored-by: Cicirifu <54900043+Cicirifu@users.noreply.github.com>
2022-02-25 20:19:29 +01:00
Tomáš Kelemen (vudiq)
26dd024415 linux configs: fix option for Nintendo force feedback 2021-10-06 22:46:28 +02:00
Tomáš Kelemen
2b52be5351
RPi: build GPU tools (#1500)
solves incompatibility on aarch64 targets with binaries provided by
bcm2835-driver for 32-bit ARM.

fixes #1496
2021-09-17 23:21:00 +03:00
David Lawson
e5fa7df548
Add support for RPi4-RetroDreamer (#1501)
* RPi4-RetroDreamer: copy RPi4 target

* RPi4-RetroDreamer: add device specific config

* RPi4: enable R8188EU driver

* RPi4*: symlink kernel configs for RPi4 variants to main device

* RPi4*: Enable CONFIG_USB_DWC2 for usb on CM4

* RPi4-RetroDreamer: patch Rock Candy autoconfig for built in controls

* RPi4-RetroDreamer: fix sound

* RPi4-RetroDreamer: use same Retroarch settings as PiBoyDmg

* RPi4-RetroDreamer: add to build_all.sh
2021-09-15 21:19:27 +03:00
Tomáš Kelemen
2413bc2fec
add xpadneo driver for Xbox One wireless gamepad (#1498)
* add xpadneo driver for Xbox One wireless gamepad

* xpadneo: add kernel patches

should prevent generic hid module to claim the gamepad

* xpadneo: add additional settings to modprobe conf
2021-09-14 19:51:26 +02:00
David Lawson
44ff0add1b
Add support for RPi4 PiBoy DMG (#1486)
* RPi4-PiBoyDmg: copy rpi4 device

* RPi4-PiBoyDmg: add device specific settings to distroconfig.txt

* RPi4-PiBoyDmg: change RPi4 tests to only check the first four characters

* RPi4-PiBoyDmg: add xpi_gamecon package

* RPi4-PiBoyDmg: add joypad autoconfig

* RPi4-PiBoyDmg: add some retroarch config customisations

* RPi4-PiBoyDmg: add to build_all.sh
2021-09-06 16:06:52 +03:00
Francesco Brozzu
3eec7f98c8
RPi: Add RTL8192CU (#1471) 2021-08-26 18:00:47 +03:00
David Lawson
7097f98c64
rpi4: disable 4k output on upgrades too (#1454)
It was done here: 58dafbe511

but that might get overwritten with this version
2021-08-10 22:12:09 +03:00
Demetris Ierokipides
cb02ec4f37 RPi2: Enable rtl8192cu
closes https://github.com/libretro/Lakka-LibreELEC/issues/1418
2021-07-26 03:13:19 +03:00
David Lawson
ba4c6bcfb5
Update vulkan-tools, vulkan-loader, vulkan-headers and build vulkan-tools for rpi4 (#1405) 2021-07-07 07:43:12 +03:00
David Lawson
1a65b31cbc
Re-jig dualsense and joycon patch dirs, enable dualsense FF and enable driver for generic (#1413)
* Clean up joycon and dualsense patches into their own directories

* rpi4: enable rumble for dualsense

* Enable dualsense driver for generic
2021-07-02 08:49:58 +03:00
David Lawson
ddd927fd0a
rpi4: add dualsense driver (#1406) 2021-07-01 15:04:47 +03:00
David Lawson
83cbe14172
rpi3: fix analog audio output (#1399) 2021-06-22 16:13:02 +03:00
Seth Barberee
22997e78e8
GPiCase: Switch back to BCM2835-driver (#1346)
* switch GPICase to BCM

* mupen64plus: build w/o mesa on GPICase

* retroarch: have to disable kms on BCM2835

* add videocore flag for 2835

* actually enable dispmanx

* retroarch: GPICase

add configure flags

* RPi/GpiCase: disable swanstation

Co-authored-by: by-gnome <40670278+by-gnome@users.noreply.github.com>
Co-authored-by: Tomáš Kelemen (vudiq) <vudiq@vudiq.sk>
2021-06-09 00:47:52 +02:00
David Lawson
449e51e7fa
Rpi3 aarch64 (#1380)
* Add rpi3-aarch64

* rpi3-aarch64: add to build_all.sh

* rpi3-aarch64 stuff

* rpi3-aarch64: Add kernel config from antonlacon
2021-06-08 12:16:38 +03:00
Demetris Ierokipides
2b91261f3f Enable python-raspberry-gpio library 2021-05-18 01:20:11 +03:00
Demetris Ierokipides
2bbd8bb8db Partially Revert "Rpi kernel update (#1298)"
This reverts commit d2628f10d1.
2021-05-17 19:43:08 +03:00
David Lawson
d2628f10d1
Rpi kernel update (#1298)
* rpi: update kernel to 5.10.36

* rpi: remove bcm2835-driver and just get everything from bcm2835-bootloader
2021-05-17 00:30:34 +03:00
GavinDarkglider
a647587bfb
More nintendo switch stuff (#1289)
* Misc cleanups for Nintendo Switch build, and Fix retroarch build issue, due to typo in lakka_switch patches.

* Disable joycon rumble on all boards, due to incorrect rumble mappings in driver could potentially cause damage to rumble device in joycons
2021-05-11 13:40:07 +03:00
Ntemis
dbfa96a53a Rpi: remove python-raspberry-gpio library
It caused a kernel panic when pressing the shutdown button
https://github.com/libretro/Lakka-LibreELEC/pull/1264
2021-05-09 21:46:02 +02:00
Seth Barberee
20a6e07822
GPiCase: add extra cmdline args needed for audio (#1287) 2021-05-09 22:39:40 +03:00
David Lawson
631eff4645
Joycon stuff (#1282)
* Add joycon kernel driver patches

* Add joycond
2021-05-06 01:23:30 +03:00
David Lawson
e21ccc1dd1
Slice off slice (#1274) 2021-04-23 02:33:10 +03:00
David Lawson
cdd770d78f
Rpi kernel update to hopefully fix composite out (#1273)
* rpi: update kernel

* Remove Gamegirl support
2021-04-23 01:31:36 +03:00
DBD
2a1416e996
Added the RPi.GPIO Python library to the RPi Project (#1264)
* Added the RPi.GPIO Python library to the RPi Project

* Updated RPi.GPIO license to SPDX format
2021-04-18 18:47:59 +03:00
Seth Barberee
bfecf097ac
Make the GPiCase actually display (#1247)
It's rotated 90 degrees counter-clockwise due to KMS
2021-04-10 04:29:11 +03:00
David Lawson
10467501ce
rpi: fix 5.10 configs (#1240) 2021-04-05 17:41:46 +03:00
David Lawson
433243cb41
Rpi: update to 5.10.25 (#1239)
* rpi4: update kernel to 5.10

* rpi: linux: remove upstreamed patches

* rpi: linux: rebase patches

* rpi: linux: fix ouya patch

* rpi: Update all kernel configs for 5.10.25
2021-04-05 16:41:33 +03:00
Tomáš Kelemen
e74cc941b2
Generic: enable vulkan, increase partition size (#1235)
minor changes also to RPi - changed VULKAN to vulkan-loader,
vulkan-headers are pulled in as dependency of vulkan-loader
2021-04-02 15:28:24 +03:00
David Lawson
568d3ede25
Update mesa to 21.0.1 and enable vulkan for rpi4 (#1226)
* mesa: update to 21.0.1

* rpi4: enable vulkan

* vuklan-loader fixup

* vulkan-loader fixup 2

* rpi4: actually build vulkan drivers
2021-03-27 02:22:20 +02:00
Tomáš Kelemen
9aab7a2e25
RPi4.aarch64 enable yabause, OdroidXU3 cleanup (#1218)
* RPi4.aarch64: enable yabause

disable mame2015 moved to distro options, where it belongs

* OdroidXU3: cleanup obsolete removal of ppsspp
2021-03-19 02:24:28 +02:00
Seth Barberee
ff55c09362
use cma-128 overlay similar to RPi device on GameGirl/GPiCase (#1158) 2021-01-14 18:24:06 +02:00
Seth Barberee
dd68be8f61
RPi: VC4 (#1157)
* RPi: move to 5.4 and use vc4

* RPi1 functional now
2021-01-14 02:08:36 +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
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
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
basilean
3a6b17bb75
aarch64: added pcsx_rearmed (#1061) 2020-10-14 19:29:16 +03:00
basilean
dbc2af2d50
rpi4-aarch64: add parallel-n64 (#1053) 2020-10-08 02:16:48 +03:00
David Lawson
c118999739
rpi4-aarch64: fix flycast and enable ppsspp (#1050)
* rpi4-aarch64: fix flycast

* rpi4-aarch64: enable ppsspp
2020-10-05 22:45:22 +03:00
David Lawson
1bd927e074
Rpi4 aarch64 (#1022)
* rpi4-aarch64: Add rpi4 aarch64 kernel config

This was created by copying the arm config and looking at the diff between:

https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/configs/bcm2711_defconfig

and

https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm64/configs/bcm2711_defconfig

* rpi4-aarch64: Don't pass --enable-neon to retroarch as it makes the build fail

* rpi4-aarch64: Raspberry Pi dtb files are created in a different place for aarch64

* rpi4-aarch64: Build some rpi specific packages for aarch64 as well as arm

* rpi4-aarch64: RPi4 64-bit needs fixup4.dat to boot

I don't think this harms anything else

* rpi4-aarch64: Enable 64-bit mode and specify kernel filename in config.txt

This is a bit hacky.

We need to specify the kernel filename otherwise it expects it to be kernel8.img

* rpi4-aarch64: Fix RPi options for RPi4 aarch64

* rpi4-aarch64: update mupen64plus to aarch64 compatible version

* rpi4-aarch64: exclude cores that don't compile only for rpi-aarch64

* rpi4-aarch64: Update alsa-utils to overcome https://github.com/alsa-project/alsa-utils/issues/33

* rpi4-aarch64: Remove extra $ARCH arg from mk_arcade_joystick_rpi

* rpi4-aarch64: Fix ffmpeg compilation

* rpi4-aarch64: add new kernel conf

Created by copying the existing linux.arm.conf and applying the diffs between the official 32bit rpi kernel config and the official 64bit rpi kernel config

* rpi4-aarch64: improve kernel config

* rpi4: don't configure non-default audio_device

* Update mupen64plus_next

* rpi4-aarch64: turn off a load of debugging in the kernel
2020-10-04 17:15:17 +03:00
Demetris Ierokipides
466db8827a
Rpi4 total upgrade WIP (#1040)
* Rpi4: Restructure and update rpi4 kernel to the latest 5.4.64
- New audio alsa config
- Increase gpu ram to 384mb
- Use the mesa 3d driver

* RPi4:Add bluez patch

* Bump bcm2835-driver

* Bump rpi-eeprom package to the latest
Bootloader version: 2020-09-03
VL805: 0138a1

* Bump rpi family bootloader

* rpi: use systemd for cpufreq tuning

Signed-off-by: Ian Leonard <antonlacon@gmail.com>

* Rpi4:Bump linux to v5.4.65

* Bump alsa-lib package to v1.2.3.1 and patch rpi4 hdmi support

Co-authored-by: Ian Leonard <antonlacon@gmail.com>
2020-09-23 00:37:21 +03:00
Seth Barberee
f42d3b6fdc
patch isn't needed anymore since libretro-common fixed it (#976) 2020-07-11 01:05:25 +03:00
Ntemis
961e759bc3 Merge branch 'libreelec-9.2' of github.com:LibreELEC/LibreELEC.tv into lakka-9.2 2020-06-15 16:20:09 +03:00
Matthias Reichl
9f92e69844 linux (RPi): config options for 4.19.114-e2efb91
enable SND_AUDIOINJECTOR_ISOLATED_SOUNDCARD

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-04-07 17:32:42 +02:00
Matthias Reichl
03253f885c linux (RPi4): switch to CONFIG_ARM_RASPBERRYPI_CPUFREQ
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-03-22 22:36:54 +01:00
Matthias Reichl
e82d2c8db1 linux (RPi): config options for 4.19.108-2fab54c
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-03-06 22:06:58 +01:00
Ntemis
94313d4599 Merge branch 'libreelec-9.2' of https://github.com/LibreELEC/LibreELEC.tv into Lakka-3.0 2020-02-06 03:29:32 +02:00
Matthias Reichl
67d9be9c87 linux (RPi): config options for 4.19.97-f6e7d78
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-31 17:34:38 +01:00