diff --git a/projects/Rockchip/README.md b/projects/Rockchip/README.md index 58dc43c489..cb38d03ec2 100644 --- a/projects/Rockchip/README.md +++ b/projects/Rockchip/README.md @@ -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?**
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. diff --git a/projects/Rockchip/devices/ROCK64/README.md b/projects/Rockchip/devices/ROCK64/README.md new file mode 100644 index 0000000000..bb79668afc --- /dev/null +++ b/projects/Rockchip/devices/ROCK64/README.md @@ -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 diff --git a/projects/Rockchip/devices/ROCK64/options b/projects/Rockchip/devices/ROCK64/options new file mode 100644 index 0000000000..02de3bd948 --- /dev/null +++ b/projects/Rockchip/devices/ROCK64/options @@ -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" diff --git a/scripts/uboot_helper b/scripts/uboot_helper index 14b8a5c29f..abe1acd0d6 100755 --- a/scripts/uboot_helper +++ b/scripts/uboot_helper @@ -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' }, }, }, }