diff --git a/projects/Rockchip/README.md b/projects/Rockchip/README.md index 7994e454b4..a00180b678 100644 --- a/projects/Rockchip/README.md +++ b/projects/Rockchip/README.md @@ -8,6 +8,7 @@ This project is for Rockchip SoC devices * [PINE64 ROCK64](devices/ROCK64) * [mqmaker MiQi](devices/MiQi) * [Popcorn Hour RockBox](devices/RockBox) +* [Firefly ROC-RK3328-CC](devices/Renegade) **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/Renegade/options b/projects/Rockchip/devices/Renegade/options new file mode 100644 index 0000000000..7d87051d50 --- /dev/null +++ b/projects/Rockchip/devices/Renegade/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-roc-cc.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 b342103f77..1f214b0519 100755 --- a/scripts/uboot_helper +++ b/scripts/uboot_helper @@ -11,6 +11,7 @@ devices = { 'Rockchip' : { 'MiQi' : { 'rk3288' : { 'dtb' : 'rk3288-miqi.dtb', 'config' : 'miqi-rk3288_config' }, }, + 'Renegade' : { 'rk3328' : { 'dtb' : 'rk3328-roc-cc.dtb', 'config' : 'evb-rk3328_defconfig' }, }, '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' }, },