Skip to content

Commit

Permalink
Merge pull request #1 from OpenELEC/master
Browse files Browse the repository at this point in the history
[pull] master from OpenELEC:master
  • Loading branch information
Janpopan authored May 1, 2021
2 parents ebe7ff0 + 1465181 commit 57d6c7a
Show file tree
Hide file tree
Showing 3,815 changed files with 330,010 additions and 386,076 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ mkpkg-temp
# backup files
*.orig

# crap
.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packages/addons/unofficial"]
path = packages/addons/unofficial
url = https://github.com/OpenELEC/unofficial-addons.git
37 changes: 8 additions & 29 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
OpenELEC (Version 2.0)
OpenELEC CHANGELOG
==================

Changelog OpenELEC-1.0 to OpenELEC-2.0
To view recent changes/commits to the project (master branch) please visit:

Package updates:
- update XBMC to XBMC-11.0 (Eden)
- update eglibc to eglibc-2.15
- update Python to Python-2.7
- update gcc to gcc-4.7
- update openssl to openssl-1.0.1
- update xorg-server to xorg-server-1.12
- update linux to Kernel 3.2
- update Mesa to Mesa-8.0
https://github.com/OpenELEC/OpenELEC.tv/commits/master

Added functions:
- PXE netboot support:
- booting over NFS support
- booting over NBD support
- booting over iSCSI support
- Airplay support
- Airtunes support
- CEC support
- libaacs support
- automatic framebuffer detection
- exFAT filesystem support
To compare commits between versions use a formatted URL like:

Changed functions
- changed ATV build to use Nvidia binary graphic driver (incl HDMI audio)
- added support for native XVBA incl. [email protected] support, which replaces VAAPI-XVBA support
https://github.com/OpenELEC/OpenELEC.tv/compare/3.2.3...3.2.4

Removed functions:
- remove netmount.conf (XBMC includes native NFS/AFP/CIFS/SSH support)
- move PS3 controller support in a own addon
- move Wii controller support in a own addon
If you have questions on differences between releases please ask them in the
OpenELEC website forums or IRC support channel.
111 changes: 111 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
### Questions about OpenELEC?

To get your questions answered, please ask in the OpenELEC [Forum], on IRC:
\#openelec on freenode.net, or [webchat].

Do not open an issue.

### Issue Reports

**BEFORE you report a bug make sure you got the latest testing version of
OpenELEC. Your bug might be already fixed.**

If you are at all unsure whether it's a bug in OpenELEC or a problem with
something else, post in the OpenELEC [Forum] instead. If it turns out that it is
a bug, an issue can always be opened later.

If you are sure that it's a bug in OpenELEC and you have not found a [similar issue], open a new [issue]
and try to answer the following questions:
- What did you do?
- What did you expect to happen?
- What happened instead?

**It is also importent to provide logs for debugging.
A zip file can be found in the [logfiles] samba share, this will contain all the logs needed.**

Make sure to specify which version of OpenELEC you are using.
- OpenELEC version
- OpenELEC build
- OpenELEC arch

Please don't paste log messages in the issue reports or issue comments - use
[sprunge.us](http://sprunge.us) instead.

Feature requests are great, but they usually end up lying around the issue
tracker indefinitely. Sending a pull request is a much better way of getting a
particular feature into OpenELEC.

Please dont ask us to add 3rdparty drivers unless you are the maintainer/developer of the driver,
we have no manpower to support a non-mainlined kernel driver for your hardware.
However, OpenELEC comes with minimal set of kernel drivers enabled, if you are sure that your hardware
is supported in mainline kernel, feel free to send us a Pull Request to enable it in our
kernel defconfigs. We are always happy to support known-working hardware.

### Reporting build failures

As buildsystem / core packages (toolchain) / random libraries change from time to time, it is required
that you always do a clean build (make clean) before reporting build failures. Also make sure that you
have a clean, unmodified git clone, we can't fix bugs caused by you failed to merge / rebase on
your own fork.

### Pull Requests

- **Create topic branches**. Don't ask us to pull from your master branch.

- **One pull request per feature**. If you want to do more than one thing, send
multiple pull requests.

- **Send coherent history**. Make sure each individual commit in your pull
request is meaningful. If you had to make multiple intermediate commits while
developing, please squash them before sending them to us.

Please follow this process; it's the best way to get your work included in the project:

- [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:

```bash
# clone your fork of the repo into the current directory in terminal
git clone [email protected]:<your username>/OpenELEC.tv.git
# navigate to the newly cloned directory
cd OpenELEC.tv
# assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/OpenELEC/OpenELEC.tv.git
```

- If you cloned a while ago, get the latest changes from upstream:

```bash
# fetch upstream changes
git fetch upstream
# make sure you are on your 'master' branch
git checkout master
# merge upstream changes
git merge upstream/master
```

- Create a new topic branch to contain your feature, change, or fix:

```bash
git checkout -b <topic-branch-name>
```

- Commit your changes in logical chunks. or your pull request is unlikely
be merged into the main project. Use git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.

- Push your topic branch up to your fork:

```bash
git push origin <topic-branch-name>
```

- [Open a Pull Request](https://help.github.com/articles/using-pull-requests) with a
clear title and description.

[Forum]: http://openelec.tv/forum
[issue]: https://github.com/OpenELEC/OpenELEC.tv/issues
[webchat]: http://openelec.tv/support/chat
[logfiles]: http://wiki.openelec.tv/index.php?title=OpenELEC_FAQ#Support_Logs
[similar issue]: https://github.com/OpenELEC/OpenELEC.tv/search?&ref=cmdform&type=Issues
15 changes: 11 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
BUILD_DIRS=build.*

all: system
all: release

system:
./scripts/image

release:
./scripts/image release

image:
./scripts/image mkimage

noobs:
./scripts/image noobs

amlpkg:
./scripts/image amlpkg

clean:
rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps
rm -rf build.*

src-pkg:
tar cvjf sources.tar.bz2 sources .stamps
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# OpenELEC - Open Embedded Linux Entertainment Center

OpenELEC runs [XBMC](http://xbmc.org), an award-winning free and open source (GPL) software media
player and entertainment hub for digital media. For more info see http://xbmc.org .
OpenELEC runs [Kodi](http://kodi.tv), an award-winning free and open source (GPL) software media
player and entertainment hub for digital media. For more info see http://kodi.tv .
The base system has been designed and built from the ground up to be as
efficient as possible – consuming only tiny disk and memory footprints and
providing cutting edge hardware support to deliver a set-top box experience.
Expand All @@ -14,11 +14,7 @@ providing cutting edge hardware support to deliver a set-top box experience.

**Installation**

* Please read INSTALL for instructions on how to install.

**Known issues**

* Testing snapshot
* Please read the instructions in our wiki (http://wiki.openelec.tv/index.php?title=Installation) on how to install.

**License**

Expand All @@ -44,16 +40,15 @@ providing cutting edge hardware support to deliver a set-top box experience.

**Features**

* System size ~ 90 - 130MB
* System size ~ 90 - 170MB
* Minimal hardware requirements
* Ultra fast boot
* Optimized builds for platforms such as ION, Intel, Fusion
* Simple configuration via XBMC itself
* Simple configuration via Kodi itself
* Plug and Play external storage

**Software**

* XBMC HTPC software – View/Manage all your media.
* Kodi HTPC software – View/Manage all your media.
* Samba server – File transfer from any PC client
* SSH server – Remote console access for debugging
* IR/Bluetooth Remote Control
Expand All @@ -64,19 +59,16 @@ providing cutting edge hardware support to deliver a set-top box experience.
SSH allows command line access to your openelec.tv machine for configuration
and file transfer. Linux/Mac clients can natively use SSH, while Windows
users might want to try PuTTY for their terminal access.
Starting with OpenELEC 2.0, SSH is disabled by default but all that is needed
is an empty “ssh_enable” file to exist in /storage/.config to enable it.
* $HOME is mounted on /storage (the second ext4 partition on the drive).
All data transfered to the machine will go here, the rest of the system is
read-only with the exception of /var (containing runtime configuration data).
* Manual update/downgrade procedure is as follows:
Extract the snapshot and navigate to the 'target' directory.
Copy KERNEL and SYSTEM to the 'Update' network share (or /storage/.update) on
Copy the snapshot (.tar) to the 'Update' network share (or /storage/.update) on
your openelec machine. Your system will automatically upgrade during the
next reboot.
* Automatic mounting of filesystems is supported. Devices such as USB Flash
sticks can be plugged into a running machine and will be mounted to /media,
showing up in xbmc’s GUI.
showing up in Kodi’s GUI.
* Comments and questions are more than welcome, help is even better and patches
are absolutely perfect!!

Expand Down
2 changes: 0 additions & 2 deletions TODO

This file was deleted.

22 changes: 0 additions & 22 deletions config/addon/addon.xml

This file was deleted.

File renamed without changes.
24 changes: 24 additions & 0 deletions config/addon/xbmc.python.module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.python.script" library="default.py" />
<extension point="xbmc.python.module" library="lib/">
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>
24 changes: 24 additions & 0 deletions config/addon/xbmc.python.script.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.python.script" library="default.py">
<provides>@PKG_ADDON_PROVIDES@</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>
24 changes: 24 additions & 0 deletions config/addon/xbmc.service.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.service" library="default.py">
<provides>@PKG_ADDON_PROVIDES@</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>
28 changes: 28 additions & 0 deletions config/arch.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# determines TARGET_CPU, if not forced by user
if [ -z "$TARGET_CPU" ]; then
TARGET_CPU=cortex-a53
fi

# TARGET_CPU:
# generic cortex-a35 cortex-a53 cortex-a57 cortex-a72
# exynos-m1 qdf24xx thunderx xgene1 cortex-a57.cortex-a53
# cortex-a72.cortex-a53

# determine architecture's family
case $TARGET_CPU in
generic|cortex-a35|cortex-a53|cortex-a57|cortex-a72|exynos-m1|qdf24xx|thunderx|xgene1|cortex-a57.cortex-a53|cortex-a72.cortex-a53)
TARGET_SUBARCH=aarch64
TARGET_VARIANT=armv8-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}"
SIMD_SUPPORT="yes"
;;
esac

TARGET_GCC_ARCH=${TARGET_SUBARCH/-}
TARGET_KERNEL_ARCH=arm64

# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mabi=lp64 -Wno-psabi $TARGET_EXTRA_FLAGS"
TARGET_LDFLAGS="-march=${TARGET_VARIANT}${TARGET_CPU_FLAGS} -mtune=$TARGET_CPU"
GCC_OPTS="--with-abi=lp64 --with-arch=$TARGET_VARIANT"
Loading

0 comments on commit 57d6c7a

Please sign in to comment.