ROCK64: new device

This commit is contained in:
Jonas Karlman 2017-11-01 22:57:41 +01:00
parent 0f55cb2aed
commit da7c2cc1ab
4 changed files with 89 additions and 0 deletions

View File

@ -5,6 +5,7 @@ This project is for Rockchip SoC devices
## Devices
* [ASUS Tinker Board](devices/TinkerBoard)
* [PINE64 ROCK64](devices/ROCK64)
**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,47 @@
# PINE64 ROCK64
This is an experimental project for the PINE64 ROCK64
**Progress**
* [x] LEDs
* [x] IR
* [x] CEC
* [ ] Audio
* [x] HDMI Stereo L-PCM
* [x] HDMI Multi-channel L-PCM
* [x] ACODEC A/V jack + I2S DAC
* [x] Split into two devices (A/V jack and I2S DAC)
* [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
**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
**Serial Console**
* UART2 on Pi-2 Bus pin 8/10 with baud rate 1500000
**Build**
* `PROJECT=Rockchip DEVICE=ROCK64 ARCH=aarch64 make image`
* `PROJECT=Rockchip DEVICE=ROCK64 ARCH=arm make image`
## Links
* Community Forum: https://forum.pine64.org/forumdisplay.php?fid=85

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-rock64.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

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