Commit graph

108 commits

Author SHA1 Message Date
David G. F
dbe3fbe4e6
Add more wifi drivers (#1345) 2021-05-27 22:13:18 +03:00
David G. F
7e2db454b4
Improve headphone sense on OGA platforms (#1254)
This is more portable and looks up device by name (not by number) which
can be an issue depending on the connected devices
2021-04-11 19:52:45 +03:00
David G. F
00d9a6eaa9
Add volume key support to OGA and RG351V (#1241)
* Add event service package and a systemd service for OGA

This is a service that listens for certain keys on certain devices and
injects commands to Retroarch.

* Update Retroarch and add command support
2021-04-05 21:43:52 +03:00
David G. F
6080d35956
Fix console rotation on OGA family and rumble on boot too (#1223)
This adds a new function hook that can be defined for devices that have
slightly different cmdline within the same configuration.
Remove vcchost regulator since it is not used and just makes the rumble
go crazy during kernel boot.
2021-03-23 20:49:33 +02:00
David G. F
b321acc50d
Fixes for RG350V: enable second MMC and Wifi (#1222)
This reenables Wifi (MT7601U) that was deleted by a previous commit.
Also enables the secondary SD card reader by fixing the voltages.
Finally re-enable low power OPPs that were disabled. This brings power
savings on idle mode and low demanding emus (in particular voltages are
lower for those points, reducing power consumption significantly)
2021-03-21 22:22:58 +02:00
David G. F
0f75e66986
Add support for RG350V (#1220)
Unfortunately there's no easy way to choose DTBs at u-boot time, so
keepting a separated image for now.
2021-03-21 00:31:31 +02:00
David G. F
6c07e387f9
Fix OGA builds (#1196)
* Fix OGA builds

No need for the u-boot patch, update the INI files instead.
Added the new userspace mali G31 blob and update the build script (we
pull headers still from Rockchip repo).
Add the RTL8821 patch to fix linux build with newer GCCs too.

This makes OGAs bootable again (tested it on OGA Super)

* Adding aarch64 support
2021-03-09 22:52:25 +02:00
Murad U
e925215274
Adding initial support for ODROID-Go Super (#1186)
* Initial ODROID-Go Super support

* Added missing libssl-dev dependency in Docketfile

* Reverted Retroarch version
2021-02-26 14:57:32 +02:00
David G. F
424b1d8d8f
Adding initial support for Gameforce CHI console (#1182)
This is essentially an OGA clone with a bigger (640x480) non-rotated
screen. Requires a joypad kernel patch (a copy of OGA's + small bits) and a new
DTB.

Changed a bit the way splash screens work, now you can specify proper
resolutions (instead of just vertical res) so that it works well for
cases like rotated screens.

Tweaked Retroarch to ship both drivers (DRM + GO2 DRM) and the GO2
driver to inhibit itself in case the console has a non-rotated display.
This should work for any console as long as the resolution is reported
correctly. The regular DRM driver should have 1 frame less latency!

What's not working: Console is still rotated (minor issue) and kernel
panics on poweroff :) Debugging it, but I'll need to solder the UART for
that.
2021-02-19 17:05:46 +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
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
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
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
Ntemis
fdfad2ae16 OGA: Fix kernel compile after gcc-9.3 update
- Fixes stringop truncation error
2020-08-25 18:50:51 +02:00
Ntemis
a84b21261f Rockchip: Hardcode output resolution to 1080p as some devices try to boot @4k 2020-08-05 20:36:46 +03:00
Ntemis
9e1d2d9371 Disable sapphire board.dts until it gets fixed upstream 2020-08-02 23:21:48 +03:00
Ntemis
f500e2384a RK33xx kernel issue reported waiting to be fixed from upstream
This reverts commit b26f851589.
2020-07-24 00:33:48 +03:00
Ntemis
b26f851589 Fix rk33xx kernel compile 2020-07-24 00:15:31 +03:00
Ntemis
943ceb0856 Bump RK3328 & RK3399 kernel configs to V4.4.230 LTS 2020-07-22 01:38:16 +03:00
Ntemis
1af190371c RK3288: Bump Tinkerboard & MiQi kernel to latest v4.4.230 LTS 2020-07-22 01:29:56 +03:00
Ntemis
02238e092f OGA:Disable broken wifi driver from upstream 2020-07-21 23:48:46 +02:00
Ntemis
731833295d OGA:Enable lakka drivers 2020-07-21 04:40:20 +03:00
Ntemis
d36a3a46b2 OGA:Bump kernel and config 2020-07-21 04:30:58 +03:00
Ntemis
e79f072194 OGA:Fix compile
- remove chailove from where it cant be build
2020-07-20 17:07:49 +02:00
Ntemis
3aae8445ae Tinkerboard: build everything we support 2020-07-17 17:48:35 +03:00
Demetris Ierokipides
5766173240
Odroid Go Advance Support (#981)
* Lakka: Add RK3326 - Odroid Go Advance support

* odroidgo2: rename kernel

* libretro: fix some packages

* OGA:And there will be Cortex-A35 support in ARCH=arm

* RK3326: rename to OdroidGoAdvance

* uboot_helper: add missing bracket

* OdroidGoAdvance: fix bootloader and kernel

* OdroidGoAdvance: boots and shows a prompt!

* OdroidGoAdvance: enable wayland

* libretro-cores: new package, add master switch

* OdroidGoAdvance: have wayland use libmali's wayland-egl

* OdroidGoAdvance: fix wayland / wayland-egl dependency in RetroArch

* OdroidGoAdvance: boots to rotated RetroArch

* OdroidGoAdvance: add joypad autoconfig (to be upstreamed)

* OdroidGoAdvance: remove Wayland, go back to KMS

* odroidgo2: works without wayland, set xmb layout, update assets

* odroidgo2: oops

* odroidgo2: menu scaling adjustments

* Enable audio and headphone sensing (#905)

* retroarch: cleanup

* retroarch: remove XDG_RUNTIME_DIR envvar

* rkbin: cleanup

* odroidgo2: cleanup

* odroidgo2: cleanup x11 and wayland

* odroidgo2: please?

* odroidgo2: add proper splash

* Rockchip: disable UART serial console

* OGA:Add charging animation support on uboot

- Users have to burn this SPI flash update image and boot from it first
https://wiki.odroid.com/lib/exe/fetch.php?tok=bd1c8c&media=https%3A%2F%2Fdn.odroid.com%2FRK3326%2FODROID-GO-Advance%2Frecovery%2Fsdcard_recovery_200211.img

Signed-off-by: Ntemis <ierokipides.dem@gmail.com>

* retroarch: update

* Small libretro update

* Use proper flags for OdroidGoAdvance a35 (#908)

* OGA: Bump kernel
- Added esp8089 driver
- Fixes suspend and resume of rk817 codec
- Fixes rk817 battery driver temp prop

Signed-off-by: Ntemis <ierokipides.dem@gmail.com>

* Update Easyrpg to v0.6.2 stable

* OdroidGoAdvance: Add support for OGA v1.1 (#957)

Co-authored-by: natinusala <natinusala@gmail.com>
Co-authored-by: shantigilbert <shantic@gmail.com>
2020-07-14 05:47:17 +03:00
DARCEL Frédéric
2aca35f82b
Solve parallel-n64 compilation (#977)
Co-authored-by: Chips-fr <darcelf@gmail.om>
2020-07-11 01:07:08 +03:00
Demetris Ierokipides
01ad98fe96
Bump everything to 1.8.9 Retroarch release head (#971)
- Tinkerboard: Build tested with unbuildable cores disabled
2020-07-06 02:04:02 +02: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
chewitt
2a7444beca linux: add wireguard support for Rockchip 2020-01-31 08:48:38 +00:00
Ntemis
010ee6d324 RK:Clean options file from mismerge 2019-12-26 00:15:11 +02: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
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)
3e5dc767ac libretro update (port of #764) 2019-09-13 20:50:24 +02:00
Jonas Karlman
44d46b4a23 Rockchip: sync linux config with master 2019-09-08 18:17:07 +00:00
Tomáš Kelemen
cc36263d74
add dragonboard to uboot_helper (#729)
* uboot_helper: add dragonboard 410c

* scripts/uboot_helper: add formatting to the python object

sort printed output
use dashes instead of underscores for board names
sort alphabetically

* u-boot: add support for installing firmware into the u-boot root directory

* dtc: allow building for host
2019-07-30 18:52:25 +02:00
Tomas Kelemen (vudiq)
7415c12b53 remove dvb stuff in Lakka 2019-07-04 21:25:56 +02:00
Tomas Kelemen (vudiq)
09c88f2dbb linux: enable overlayfs 2019-06-30 21:44:07 +02:00
Tomas Kelemen (vudiq)
a367556c74 Lakka: initialize 2019-06-27 19:52:48 +02:00
viulian
324c9b9e91 tinkerboard: disable 5s polling for CEC adapters (solve kwiboo's reviews) 2019-06-15 06:26:29 +01:00
viulian
18835008d7 tinkerboard: disable 5s polling for CEC adapters 2019-06-15 06:26:29 +01:00
MilhouseVH
7e8d54b030 Rockchip: disable crazycat 2019-06-15 06:26:29 +01:00
Jernej Skrabec
ecfc4182fb Drop KERNEL_UBOOT_EXTRA_TARGET, it's never used 2019-06-15 06:26:29 +01:00
MilhouseVH
2ab4c72852 atvclient: used by macmini hw, should be other support in kernel now 2019-06-13 22:12:21 +01:00
MilhouseVH
33ba606e1a
Merge pull request #3402 from nicolaspernoud/master
Enable uvcvideo driver as kernel module
2019-04-10 21:39:57 +01:00
Nicolas PERNOUD
ac6c3cba39 Applied patch 2019-04-04 19:03:58 +02:00
Nicolas Pernoud
c94c91e8c0 Enable uvcvideo driver as kernel module 2019-04-04 13:29:27 +02:00
kszaq
a16579b131 Rename KERNEL_LINARO_TOOLCHAIN to KERNEL_TOOLCHAIN
in case there is a need to use non-Linaro toolchain.
2019-04-03 22:00:47 +02:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
Jonas Karlman
9934ab8283 RK3399: add rock-pi-4 2019-01-28 20:40:06 +00:00