Commit graph

953 commits

Author SHA1 Message Date
David G. F
540fc6e149
Add RG351MP (#1520)
So far seems that everything works (screen, joypad, usb, etc)
2021-09-30 22:04:02 +03:00
Tomáš Kelemen (vudiq)
e992799355 Update changelog and rename to CHANGES.md 2021-09-15 09:41:40 +02:00
Tomáš Kelemen (vudiq)
ac76cd31d2 Allwinner: drop unsupported boards
closes #1492
2021-09-13 21:15:58 +02:00
Demetris Ierokipides
338d2318a1 Image creation: stop looking for all capital letters in changelog 2021-09-12 13:19:46 +03:00
Demetris Ierokipides
d6b60abc2f Add Support for the Capcom Home Arcade Console
https://capcomhomearcade.com/uk
- Allwinner H3 Quad-core Cortex-A7
- Mali400MP2 GPU
- 512MB DDR3 (shared with GPU)
- TF card (need mod) / MMC card 4Gb
- No Ethernet RJ45
- Only One USB 2.0 HOST

Signed-off-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
2021-09-11 15:25:39 +03:00
GavinDarkglider
1a1a7392df
[WIP] New Kernel Get method for L4T, and various other minor changes (#1427)
* Add new package get method for L4T kernels. This allows changing kernel repos and combining them easier to maintain.

* Update Nintendo Switch defconfig

* Switch: Add configuration for schedutil to platform_init

* Remove switch brightness patch, as it isnt needed with new switch kernel.

* Add new brightness patch that has been upstreamed.

* Switch: Autosave/load cpu/gpu freqs, and restore on boot.

* Fix download sha verification

* Switch: Disable USB3 for joycon stability on dock
2021-07-15 01:00:38 +03:00
GavinDarkglider
cb6ac9c7dd
Mostly working decoder and moonlight (#1393)
* L4T: Initial, mostly working decoder support, Switch to proper glvnd setup"
* switch: add moonlight
* Add patch to force moonlight to use hardware decoder
* Add moonlight core info file to moonlight package
* rename moonlight to moonlight-libretro

Co-authored-by: plaidman <jrtomsic@gmail.com>
2021-06-18 00:12:06 +02:00
GavinDarkglider
3a7545bf08
Fix misc nintendo switch boot issues (#1293)
* Fix misc nintendo switch boot issues

* Fix switch cpu overclock menu, again.
2021-05-13 04:39:40 +03:00
GavinDarkglider
810d341599
Add support for Base L4T Platform and Nintendo Switch device (#1288)
* Add new platform: Linux4Tegra(L4T) base

* L4T: Add Nintendo Switch device to L4T Project

* L4T: Add support for Nintendo Switch bootloader package to build system

* Script Update: Extract Add support for tbz2 extension

* Package Update: Update pulseaudio to latest building version, add patches to support ucm2 as that is what lakka is shipping.

* New Package: Add rewritefs package, because we need to edit filenames on the fly, when using nintendo switch, as all data is saved to fat32 partition, where : is not a valid character in file names. eg. Bluetooth Configs

* Package Update: Linux Add support for nintendo switch l4t kernel

* Package Update: Busybox: Allow L4T device builds to just dump files in initramfs, such as firmware or new init script

* New Package: Mergerfs

* Package Update: Retroarch Bump version, and Add Nintendo Switch support, add support for X display server to retroarch start enviornment

* New Package: xf86-video-nouveau

* Package Update: libxkbcommon L4T fixes

* Dockerfile: Add needed build dependencies for L4T Platform stuff.

* Update Scripts: Add support for building L4T Switch to build_all script

* Package Update: Mupen64plus_next Add Nintendo Switch build support

* Package Update: Mame2015 Add support for building on Nintendo Switch

* Package Update: Bluez Add support for Nintendo Switch

* Package Update: libdrm remove libdrm.so.2 symlink with L4T boards, as nvidia supplies their own
2021-05-10 22:56:02 +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
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
e22cdce602
Remove unnecessary v11 target (#1209)
Official OGAs are all included in the odroidgo2 target (and DTB is
selected via boot.ini and u-boot cooperation).
2021-03-14 23:22:44 +02:00
Tomáš Kelemen
2e60af445b
various build fixes (#1206)
* get_git: check only directories, sync writes

* ppsspp: depends, bump libpng, disable features

* bsnes2014: correct url

* melonds: bump
2021-03-12 01:13:04 +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
b3c7477302
buildsystem: use an update lock when updating image and sysroot (#1168)
* buildsystem: add is_sequential_build() helper

* buildsystem: use an update lock when updating image and sysroot

cp (and potentially mkdir -p) are not atomic, and we have seen situations where two packages
concurrently copying the same file (eg. the udev rule for xf86-video-nvidia and
xf86-video-nvidia-legacy) will succeed for one package but the other package fails with
a "file exists" error (as the file didn't exist when it checked, but does exist when it
actually copies the file). Not even cp -f will avoid this issue.

There are several workarounds, but the most practical (and general) solution is to ensure
sequential updates of the image and shared sysroot directories.

Co-authored-by: MilhouseVH <milhouseVH.github@nmacleod.com>
2021-02-03 21:45:39 +02:00
by-gnome
d8b096e05e
iMX6: make one image for all Wandboards, add CuBox-i and Udoo (#1147)
* iMX6: add u-boot script

* iMX6: make one image for all Wandboards

* iMX6: add CuBox-i and Udoo
2020-12-24 03:09:32 +02:00
Ntemis
8ba44e8248 Revert "Add support for PineH64 Model B (#1135)"
This reverts commit 53a674fe40.
2020-12-19 01:42:25 +02:00
William Breathitt Gray
53a674fe40
Add support for PineH64 Model B (#1135)
* Add PineH64 Model B uboot configuration

* Allwinner: H6: enable BT and wifi on PineH64 model B

Co-authored-by: Jernej Skrabec <jernej.skrabec@siol.net>
2020-12-16 17:59:07 +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
Ntemis
791a71303f Merge branch 'libreelec-9.2' of github.com:LibreELEC/LibreELEC.tv 2020-10-19 00:27:16 +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
by-gnome
8d654165ad
Add project NXP/iMX6 and support for Wandboard Quad/QuadPlus (#1020)
* Add project NXP/iMX6
* add metapackage for NXP project
* add bootloader scripts for iMX6 devices
* add linux arm config for iMX6 devices
* add options file for iMX6 devices

* Include firmware for iMX6 devices
* linux: include builtin firmware for iMX6 sdma
* NXP/iMX6: fix linux config
* NXP/iMX6: include firmware-imx and kernel-firmware packages

* firmware-imx: fix pkg variables and change firmwares target dir

* NXP/iMX6: add fix etnaviv GPU driver breakage

* NXP/iMX6: set output resolution to 1080p

* Add support for Wandboard Quad/QuadPlus (iMX6)
* NXP/iMX6: add systemd service to run hciattach
* NXP/iMX6: add udev rule to start hciattach service
* NXP/iMX6: fix linux config
* NXP/iMX6: include wlan-firmware and brcmfmac_sdio firmware pkgs
* scripts/uboot_helper: include Wandboard Quad b1/c1/d1, QuadPlus d1

* brcmfmac_sdio-firmware: update to b51b1c3

* NXP/iMX6: add fix brcm chip connection timeout error in Wandboard b1

* Update iMX6 kernel to 5.4.61-LTS
* NXP/iMX6: update linux config
* NXP/iMX6: switch kernel from 'default' to 'mainline-5.4'
* NXP/iMX6: remove fix etnaviv GPU driver breakage
* NXP/iMX6: add fix bluez compilation with linux 5.2 and higher

* build_all.sh: include NXP/iMX6
2020-09-06 23:09:47 +03:00
mglae
5ced3f0ebe mkimage: really enable debug shell for installer 2020-07-25 22:53:11 +02: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
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
mglae
1fef9f9329 mkimage: replace deprecated "tty" with "systemd.debug_shell" for Generic 2020-04-06 18:42:51 +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
Christian Hewitt
5c83a514f6
Merge pull request #4136 from MilhouseVH/le92_fix_addons_error
buildsystem: "set -e" error handling not working for addon builds [backport]
2020-01-23 17:54:15 +04:00
Matthias Reichl
ed4847e430 script/install: also install hwdb.d files from packages
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-22 07:25:20 +00:00
MilhouseVH
ff7194584f buildsystem: "set -e" error handling not working for addon builds 2020-01-21 19:47:06 +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
Tomáš Kelemen
b73d2bfd4b Backports from master to LE9.2 branch (#824)
* add RTL wifi drivers

backport of #800

* bsnes changes

backports of #794 and #821

* core-info: add mupen64plus back

backport of #816

* noobs: add PINN specific values

backport of #815

* use DISTRO/filesystem for files

* core-info: add mupen64plus info files
2019-10-29 10:09:50 +01: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)
8103e66273 mkimage: don't create OVA image (port of #790) 2019-09-17 09:48:15 +02:00
Matthias Reichl
ec342bdd9b scripts/install: copy system.d files recursively
This allows installing drop-ins.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-13 23:50:26 +02:00
MilhouseVH
86f677ceea save_build_config: centralise 2019-08-17 12:49:39 +01:00
MilhouseVH
50afe5e20c scripts/get_archive: fix typo 2019-08-17 12:49:39 +01: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
Matthias Reichl
a62c0088b7 scripts/image: drop /sbin from PATH
All programs needed for image creation are available in toolchain.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-16 21:02:12 +02:00
Matthias Reichl
ec6cd1c748 scripts/mkimage: use fsck.fat to check FAT partition
fsck.fat is available in toolchain, so use that instead of fsck from
build host (which may not support checking FAT filesystems).

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-16 21:02:12 +02:00
Tomas Kelemen (vudiq)
61993bbf70 Allwinner: add more devices
- bananapi
- cubieboard2
- cubietruck
- nanopi_m1_plus
- orangepi_lite
- orangepi_one
2019-07-14 21:14:24 +02:00
Tomas Kelemen (vudiq)
8dcca79ada Generic: default live mode 2019-07-13 22:14:12 +02:00
Tomas Kelemen (vudiq)
dd34941bd6 Merge branch 'libreelec-9.2' into Lakka-LE9.2 2019-07-13 18:22:38 +02:00
Tomas Kelemen (vudiq)
464dc84917 Generic: add 32bit support 2019-07-12 22:06:48 +02:00
MilhouseVH
7d84fbe6fa buildsystem: add GETPKG history event 2019-07-11 00:36:22 +01:00
MilhouseVH
cff7ea1ab8 scripts/unpack: always download missing tarballs - fixes PKG_DEPENDS_UNPACK 2019-07-11 00:36:22 +01:00
MilhouseVH
e0dc24ea42 scripts/unpack: ensure PKG_BUILD is unpack dir for all unpack functions
The unpack folder will be a temporary (isolated) unpack folder for
pre_unpack() and unpack(), but by the time of post_unpack() the folder will
have been moved into the main ${BUILD} "public" folder.

This change ensures that PKG_BUILD always references the correct folder at all times.
2019-07-11 00:36:22 +01:00
MilhouseVH
341aa35c3c buildsystem: perform unpack when custom function provided 2019-07-11 00:36:22 +01:00
MilhouseVH
adbe82298a scripts/unpack: avoid sub-process during custom unpack() 2019-07-11 00:36:22 +01:00