Commit graph

1166 commits

Author SHA1 Message Date
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
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
Lukas Rusak
010bd5fd9d systemd: enable switch debug-tty to provide a debug console
This allows us to use the default debug-shell.service provided
by systemd and cut down on custom made services. This will also
always provide a debug shell as there is no reason we shouldn't
have access to one.
2019-09-19 09:09:27 +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