No description
Find a file
2023-08-15 15:40:50 +08:00
arch [NOT-FOR-UPSTREAM] Add starfive_visionfive2_defconfig for test 2023-08-15 15:16:25 +08:00
block block-6.5-2023-07-03 2023-07-03 18:48:38 -07:00
certs KEYS: Add missing function documentation 2023-04-24 16:15:52 +03:00
crypto This update includes the following changes: 2023-06-30 21:27:13 -07:00
Documentation dt-bindings: display: Add yamls for JH7110 display system 2023-08-15 14:53:10 +08:00
drivers drm/vs: Add hdmi 2023-08-15 14:53:11 +08:00
fs Minor cleanups for 6.5: 2023-07-09 09:50:42 -07:00
include drm/vs: Register DRM device 2023-08-15 14:53:10 +08:00
init Kbuild updates for v6.5 2023-07-01 09:24:31 -07:00
io_uring io_uring-6.5-2023-07-03 2023-07-03 18:43:10 -07:00
ipc Merge branch 'work.namespace' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2023-02-24 19:20:07 -08:00
kernel dma-mapping fixes for Linux 6.5 2023-07-09 10:24:22 -07:00
lib 16 hotfixes. Six are cc:stable and the remainder address post-6.4 issues. 2023-07-08 14:30:25 -07:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
mm mm: lock newly mapped VMA with corrected ordering 2023-07-08 16:44:11 -07:00
net Including fixes from bluetooth, bpf and wireguard. 2023-07-05 15:44:45 -07:00
rust rust: error: impl Debug for Error with errname() integration 2023-06-13 01:24:42 +02:00
samples Including fixes from bluetooth, bpf and wireguard. 2023-07-05 15:44:45 -07:00
scripts A half-dozen late arriving docs patches. They are mostly fixes, but we 2023-07-06 22:15:38 -07:00
security + Bug Fixes 2023-07-07 09:55:31 -07:00
sound ASoC: dwc: i2s: Add StarFive JH7110 SoC support 2023-08-15 14:53:09 +08:00
tools perf tools changes and fixes for v6.5: 2nd batch 2023-07-08 10:21:51 -07:00
usr initramfs: Encode dependency on KBUILD_BUILD_TIMESTAMP 2023-06-06 17:54:49 +09:00
virt ARM64: 2023-07-03 15:32:22 -07:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes .gitattributes: set diff driver for Rust source code files 2023-05-31 17:48:25 +02:00
.gitignore Revert ".gitignore: ignore *.cover and *.mbx" 2023-07-04 15:05:12 -07:00
.mailmap 16 hotfixes. Six are cc:stable and the remainder address post-6.4 issues. 2023-07-08 14:30:25 -07:00
.rustfmt.toml rust: add .rustfmt.toml 2022-09-28 09:02:20 +02:00
COPYING
CREDITS - Address -Wmissing-prototype warnings 2023-06-26 16:43:54 -07:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: Update all StarFive entries 2023-08-15 14:53:11 +08:00
Makefile Linux 6.5-rc1 2023-07-09 13:53:13 -07:00
README
README.md [NOT-FOR-UPSTREAM] Add readme 2023-08-15 15:40:50 +08:00

JH7110 Upstream Status

To get the latest status of each upstreaming patch series, please visit our RVspace.

https://rvspace.org/en/project/JH7110_Upstream_Plan

Build Instructions

  1. Configure Kconfig options
# Use the provided starfive_visionfive2_defconfig
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- starfive_visionfive2_defconfig

or

# Select options manually
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- nconfig

To boot up the VisionFive 2 board, please make sure SOC_STARFIVE, CLK_STARFIVE_JH7110_SYS, PINCTRL_STARFIVE_JH7110_SYS, SERIAL_8250_DW are selected.

If you need MMC and GMAC drivers, you should also select MMC_DW_STARFIVE and DWMAC_STARFIVE.

  1. Build
make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu-

How to Run on VisionFive 2 Board via Network

  1. Power on, enter u-boot and set enviroment parameters
setenv fdt_high 0xffffffffffffffff; setenv initrd_high 0xffffffffffffffff;
setenv scriptaddr 0x88100000; setenv script_offset_f 0x1fff000; setenv script_size_f 0x1000;
setenv kernel_addr_r 0x84000000; setenv kernel_comp_addr_r 0x90000000; setenv kernel_comp_size 0x10000000;
setenv fdt_addr_r 0x88000000; setenv ramdisk_addr_r 0x88300000;
  1. Set IP addresses for the board and your tftp server
setenv serverip 192.168.w.x; setenv gatewayip 192.168.w.y; setenv ipaddr 192.168.w.z; setenv hostname starfive; setenv netdev eth0;
  1. Upload dtb, image and file system to DDR from your tftp server
tftpboot ${fdt_addr_r} jh7110-starfive-visionfive-2-v1.3b.dtb; tftpboot ${kernel_addr_r} Image.gz; tftpboot ${ramdisk_addr_r} initramfs.cpio.gz;

If your VisionFive 2 is v1.2A, you should upload jh7110-starfive-visionfive-2-v1.2a.dtb instead.

  1. Load and boot the kernel
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};

When you see the message "buildroot login:", the launch was successful. You can just input the following accout and password, then continue.

buildroot login: root
Password: starfive