Commit graph

205 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
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
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
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
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
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
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
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
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
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
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
Matthias Reichl
6f1ff8b102 linux (RPi): config options for 4.19.88
add CONFIG_SND_BCM2708_SOC_JUSTBOOM_BOTH=m

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-31 17:34:37 +01:00
Matthias Reichl
d4eee23479 linux (RPi): config options for 4.19.86
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-31 17:34:37 +01:00
Matthias Reichl
d74973747a linux (RPi): config options for 4.19.84
Enable CPUFREQ_DT and CLK_RASPBERRYPI for RPi4 to support clock
changes via mailbox calls.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-31 17:34:37 +01:00
chewitt
79788d560d linux: add wireguard support for RPi 2020-01-31 08:48:38 +00:00
Ntemis
8fe811009e Merge branch 'libreelec-9.2' of https://github.com/LibreELEC/LibreELEC.tv into Lakka-LE9.2 2019-12-24 16:02:10 +02:00
Matthias Reichl
e089b59f30 Slice/Slice3: use upstream method to set xtal load capacitance
This fixes slice builds since upstream method to set xtal load capacitance
was backported in 4.19.82 stable

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-21 22:01:26 +01:00
CvH
f6473f65a8
Merge pull request #3898 from HiassofT/le92-kernel-4.19.79+
[le92] linux (RPi): update to 4.19.79+
2019-11-17 19:36:51 +01:00
Nicolas Pernoud
cccd235148 fix : missing options for USB Webcam 2019-11-15 18:06:34 +01:00
Nicolas Pernoud
821ad52da0 feat: enable webcam driver as kernel module 2019-11-09 13:50:44 +01:00
Matthias Reichl
0321837881 linux (RPi): config options for 4.19.80
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-10-21 20:20:47 +02:00
CvH
0c366f4a37
Merge pull request #3777 from HiassofT/le92-kernel-4.19.67+
[le92] linux (RPi): update to 4.19.67+
2019-10-10 14:45:16 +02:00
Tomas Kelemen (vudiq)
75b35ffd9b Merge branch 'libreelec-9.2' - update to 9.1.501 2019-09-17 11:42:14 +02:00
Tomas Kelemen (vudiq)
c922ed0559 RPi: config.txt fixes
hdmi_mode=2 is not default now
remove duplicate hdmi_force_hotplug
2019-09-13 21:10:41 +02:00
Matthias Reichl
048a33c99c linux (RPi): config options for 4.19.71-bd3452c
Enable Hifiberry DAC+DSP soundcard driver

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-12 15:10:53 +02:00
Tomas Kelemen (vudiq)
d11e536561 Add GPICase device (port of #763) 2019-09-11 21:39:25 +02:00