RockBox: new device

This commit is contained in:
Jonas Karlman 2017-12-16 11:15:39 +01:00
parent 594e2a656e
commit 88d95ecbf0
5 changed files with 4847 additions and 0 deletions

View File

@ -7,6 +7,7 @@ This project is for Rockchip SoC devices
* [ASUS Tinker Board](devices/TinkerBoard)
* [PINE64 ROCK64](devices/ROCK64)
* [mqmaker MiQi](devices/MiQi)
* [Popcorn Hour RockBox](devices/RockBox)
**My single-board computer is not listed, will it be added in the future?**<br />
If your single-board computer uses a current generation SoC listed on http://opensource.rock-chips.com/wiki_Main_Page the odds are in your favor.

View File

@ -0,0 +1,44 @@
# Popcorn Hour RockBox
This is an experimental project for the Popcorn Hour RockBox Basic
**Progress**
* [x] LEDs
* [x] IR
* [x] CEC
* [ ] Audio
* [x] HDMI Stereo L-PCM
* [x] HDMI Multi-channel L-PCM
* [x] SPDIF
* [ ] HDMI NL-PCM (AC3/E-AC3/DTS)
* [ ] HDMI HBR (TrueHD/DTS-HD)
* [ ] Video
* [x] Software decoding
* [ ] Hardware decoding
* [x] h264 / hevc / vp8 / vp9
* [ ] mpeg4 / mpeg2
* [ ] HDMI Video Format
* [x] RGB 4:4:4 Limited Range
* [ ] RGB 4:4:4 Full Range
* [ ] YCbCr 4:4:4
* [ ] YCbCr 4:2:0
* [ ] HDR10 / HLG
* [x] WiFi
**Known Issues/Limitations**
* Video output is RGB 4:4:4 8-bit limited range
* Video aspect ratio / zoom is not working for all modes
* 4K resolution is limited to 30hz
**Build**
* `PROJECT=Rockchip DEVICE=RockBox ARCH=aarch64 make image`
* `PROJECT=Rockchip DEVICE=RockBox ARCH=arm make image`
**How to use**
- Flash image to a sd-card
- Insert sd-card into the device
- Plug in power and LibreELEC should boot instead of Android
- Remove sd-card from device to boot into Android

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
################################################################################
# setup device defaults
################################################################################
# The TARGET_CPU variable controls which processor should be targeted for
# generated code.
case $TARGET_ARCH in
aarch64)
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc+crypto"
TARGET_FEATURES="64bit neon"
;;
arm)
TARGET_KERNEL_ARCH="arm64"
TARGET_PATCH_ARCH="aarch64"
TARGET_FLOAT="hard"
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc"
TARGET_FPU="crypto-neon-fp-armv8"
TARGET_FEATURES="32bit neon"
;;
esac
# Configuration for u-boot
UBOOT_SYSTEM="rk3328"
# Kernel target
KERNEL_TARGET="Image"
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD="rockchip/rk3328-rockbox.dtb"
# Mali GPU family
MALI_FAMILY="450"
# kernel image name
KERNEL_NAME="Image"
# kernel serial console
EXTRA_CMDLINE="console=uart8250,mmio32,0xff130000 console=tty0"

View File

@ -12,6 +12,7 @@ devices = {
'Rockchip' : {
'MiQi' : { 'rk3288' : { 'dtb' : 'rk3288-miqi.dtb', 'config' : 'miqi-rk3288_config' }, },
'ROCK64' : { 'rk3328' : { 'dtb' : 'rk3328-rock64.dtb', 'config' : 'evb-rk3328_defconfig' }, },
'RockBox' : { 'rk3328' : { 'dtb' : 'rk3328-rockbox.dtb', 'config' : 'evb-rk3328_defconfig' }, },
'TinkerBoard' : { 'rk3288' : { 'dtb' : 'rk3288-miniarm.dtb', 'config' : 'tinker-rk3288_config' }, },
},
}