CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/config/sources/riscv64.conf
Views: 3958
1
#
2
# SPDX-License-Identifier: GPL-2.0
3
#
4
# Copyright (c) 2013-2023 Igor Pecovnik, [email protected]
5
#
6
# This file is a part of the Armbian Build Framework
7
# https://github.com/armbian/build/
8
#
9
# 'common.conf' is already sourced when this arch is sourced.
10
11
ARCH='riscv64'
12
ARCHITECTURE='riscv'
13
KERNEL_SRC_ARCH='riscv'
14
QEMU_BINARY='qemu-riscv64-static'
15
GIT_SERVER="https://github.com/orangepi-xunlong"
16
17
KERNEL_IMAGE_TYPE="Image"
18
NAME_KERNEL="Image"
19
NAME_INITRD="uInitrd"
20
21
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER='riscv64-linux-gnu-'
22
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER='riscv64-linux-gnu-'
23
[[ -z $KERNEL_USE_GCC ]] && KERNEL_USE_GCC='> 8.0'
24
[[ -z $UBOOT_USE_GCC ]] && UBOOT_USE_GCC='> 8.0'
25
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=riscv
26
[[ -z $BOOTDIR ]] && BOOTDIR="${SRC}/u-boot"
27
[[ -z $BOOTBRANCH ]] && BOOTBRANCH='branch:v2020.04'
28
[[ -z $KERNELDIR ]] && KERNELDIR="${SRC}/kernel"
29
30
[[ -z $KERNELSOURCE ]] && KERNELSOURCE="${GIT_SERVER}/linux-orangepi.git"
31
[[ -z $BOOTSOURCE ]] && BOOTSOURCE="${GIT_SERVER}/u-boot-orangepi.git"
32
33
true # make sure to exit with 0 status; this protects against shortcircuits etc above.
34
35