LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 08-23-2022, 02:55 PM   #1
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,900

Rep: Reputation: Disabled
StarFive VisionFive 2 JH7110 (riscv64)


information board:
  • SoC – StarFive JH7110 quad-core 64-bit RISC-V (SiFive U74 – RV64GC) processor @ up to 1.5 GHz with
    Imagination BXE-4-32 GPU supporting OpenGL ES 3.2, OpenCL 1.2, Vulkan 1.2
    4Kp30 H.265/H.264 video decoder
    1080p30 H.265 video encoder
  • System Memory – 2GB, 4GB, or 8GB LPDDR4
  • Storage – MicroSD card slot, eMMC flash module socket, M.2 M-Key socket for NVMe SSD, QSPI flash for U-boot
    Video Output
    HDMI 2.0 port somehow limited up to 4Kp30
    4-lane MIPI DSI connector up to 2Kp30
    2-lane MIPI DSI connector
  • Camera I/F – 2-lane MIPI CSI camera connector up to 4Kp30
  • Audio – 3.5mm audio jack
  • Networking – 2x Gigabit Ethernet RJ45 ports
  • USB – 2x USB 3.0 ports, 2x USB 2.0 ports
  • Expansion – 40-pin GPIO color-coded header
  • Misc – Reset button, fan header, debug header
  • Power Supply
  • Via USB-C port with PD support up to 30W
  • 5V DC via GPIO header (3A+ required)
  • PoE via additional module
  • On-board PMIC
  • Dimensions – 100 x 72 mm (Pico-ITX form factor)
Attached Thumbnails
Click image for larger version

Name:	VisionFive-2-front.png
Views:	37
Size:	217.1 KB
ID:	39490   Click image for larger version

Name:	VisionFive-2-back.png
Views:	28
Size:	181.0 KB
ID:	39491  
 
Old 02-06-2024, 12:18 PM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,900

Original Poster
Rep: Reputation: Disabled
Installation README.TXT
kernel 6.6.15

irradium-3.7-riscv64-core-visionfive_2-6.6.15-build-20240206.img.zst
irradium-3.7-riscv64-core-visionfive_2-6.6.15-build-20240206.img.zst.sha256
irradium-3.7-riscv64-xfce-visionfive_2-6.6.15-build-20240206.img.zst
irradium-3.7-riscv64-xfce-visionfive_2-6.6.15-build-20240206.img.zst.sha256

Code:
In:    serial@10000000
Out:   serial@10000000
Err:   serial@10000000
Model: StarFive VisionFive V2
Net:   eth0: ethernet@16030000, eth1: ethernet@16040000
switch to partitions #0, OK
mmc1 is current device
found device 1
bootmode flash device 1
Can't set block device
Failed to load '/boot/uEnv.txt'
Hit any key to stop autoboot:  0 
Can't set block device
Importing environment from mmc1 ...
## Info: input data size = 7814 = 0x1E86
Can't set block device
## Warning: defaulting to text format
## Error: "boot2" not defined
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
Found U-Boot script /boot.scr
2846 bytes read in 5 ms (555.7 KiB/s)
## Executing script at 43900000
Boot script loaded from mmc 1:3
155 bytes read in 5 ms (30.3 KiB/s)
42757 bytes read in 9 ms (4.5 MiB/s)
21837824 bytes read in 550 ms (37.9 MiB/s)
Failed to load '/dtb/starfive/overlay/starfive-fixup.scr'
2873511 bytes read in 126 ms (21.7 MiB/s)
Moving Image from 0x44000000 to 0x40200000, end=41728000
## Loading init Ramdisk from Legacy Image at 48100000 ...
   Image Name:   uInitrd
   Image Type:   RISC-V Linux RAMDisk Image (gzip compressed)
   Data Size:    2873447 Bytes = 2.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Using Device Tree in place at 0000000048000000, end 0000000048072fff

Starting kernel ...

clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
CCACHE: DataError @ 0x00000000.08040140
CCACHE: DataFail @ 0x00000000.0804005B
debugfs: Directory '16008000.dma-controller' with parent 'dmaengine' already present!
imx219 6-0010: Error reading reg 0x   0: -121
imx219 6-0010: failed to read chip id 219
Successfully mounted device UUID=32539e08-a5c0-4084-9f32-0932043d95e3
No kernel modules for Linux 6.6.15
INIT: version 3.08 booting
The system is coming up.  Please wait.
udevd[137]: specified group 'sgx' unknown
linuxroot: clean, 48320/3747744 files, 762199/15112960 blocks
boot: clean, 34/76912 files, 48497/307200 blocks
hostname: visionfive-2
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
font: default
Couldn't get a file descriptor referring to the console.
keyboard: us
Couldn't get a file descriptor referring to the console.
INIT: Entering runlevel: 2
starting services: sysklogd lo net[ERROR] sshd crond


irradium  (visionfive-2) (ttyS0)

Last edited by sndwvs; 02-06-2024 at 12:19 PM.
 
1 members found this post helpful.
Old 02-10-2024, 02:36 AM   #7
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,900

Original Poster
Rep: Reputation: Disabled
Installation README.TXT
kernel 6.6.16

This image does not have a bootloader, so the boot switch must be set to 0 0.

irradium-3.7-riscv64-core-visionfive_2-6.6.16-build-20240210.img.zst
irradium-3.7-riscv64-core-visionfive_2-6.6.16-build-20240210.img.zst.sha256
irradium-3.7-riscv64-xfce-visionfive_2-6.6.16-build-20240210.img.zst
irradium-3.7-riscv64-xfce-visionfive_2-6.6.16-build-20240210.img.zst.sha256

opensbi and u-boot are updated from upstream, HDMI output work.

update SPI bootloader
Code:
cat /proc/mtd
flashcp -v /boot/ u-boot.bin/dev/mtd0
flashcp -v /boot/u-boot.itb  /dev/mtd2

Code:
U-Boot SPL 2024.01-jh7110 (Feb 10 2024 - 06:22:41 +0200)
DDR version: dc2e84f0.
Trying to boot from SPI
spl_fdt_fixup_version_b set prop starfive,tx-use-rgmii-clk fail.

OpenSBI v1.4
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : Generic
Platform Features         : medeleg
Platform HART Count       : 5
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 4000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform PMU Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Platform Suspend Device   : ---
Platform CPPC Device      : ---
Firmware Base             : 0x40000000
Firmware Size             : 363 KB
Firmware RW Offset        : 0x40000
Firmware RW Size          : 107 KB
Firmware Heap Offset      : 0x50000
Firmware Heap Size        : 43 KB (total), 2 KB (reserved), 9 KB (used), 31 KB (free)
Firmware Scratch Size     : 4096 B (total), 328 B (used), 3768 B (free)
Runtime SBI Version       : 2.0

Domain0 Name              : root
Domain0 Boot HART         : 1
Domain0 HARTs             : 0*,1*,2*,3*,4*
Domain0 Region00          : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W)
Domain0 Region01          : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region02          : 0x0000000040040000-0x000000004005ffff M: (R,W) S/U: ()
Domain0 Region03          : 0x0000000040000000-0x000000004003ffff M: (R,X) S/U: ()
Domain0 Region04          : 0x000000000c000000-0x000000000fffffff M: (I,R,W) S/U: (R,W)
Domain0 Region05          : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address      : 0x0000000040200000
Domain0 Next Arg1         : 0x0000000042200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes
Domain0 SysSuspend        : yes

Boot HART ID              : 1
Boot HART Domain          : root
Boot HART Priv Version    : v1.11
Boot HART Base ISA        : rv64imafdcbx
Boot HART ISA Extensions  : zihpm
Boot HART PMP Count       : 8
Boot HART PMP Granularity : 12 bits
Boot HART PMP Address Bits: 34
Boot HART MHPM Info       : 2 (0x00000018)
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2024.01-jh7110 (Feb 10 2024 - 06:19:21 +0200)

CPU:   rv64imafdc_zba_zbb
DRAM:  8 GiB
Core:  134 devices, 26 uclasses, devicetree: board
WDT:   Not starting watchdog@13070000
MMC:   mmc@16010000: 0, mmc@16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Loading Environment from nowhere... OK
StarFive EEPROM format v2

--------EEPROM INFO--------
Vendor : StarFive Technology Co., Ltd.
Product full SN: VF7110B1-2310-D004E000-00001219
data version: 0x2
PCB revision: 0xb2
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:26:e3
Ethernet MAC1 address: 6c:cf:39:00:26:e4
--------EEPROM INFO--------

starfive_7110_pcie pcie@2b000000: Starfive PCIe bus probed.
starfive_7110_pcie pcie@2c000000: Starfive PCIe bus probed.
In:    serial@10000000
Out:   serial@10000000
Err:   serial@10000000
Net:   eth0: ethernet@16030000, eth1: ethernet@16040000
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Working FDT set to ff72ec90
Hit any key to stop autoboot:  0 

Device 0: unknown device

Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:3...
Found U-Boot script /boot.scr
2584 bytes read in 2 ms (1.2 MiB/s)
## Executing script at 43900000
Boot script loaded from mmc 1:3
155 bytes read in 1 ms (151.4 KiB/s)
43142 bytes read in 7 ms (5.9 MiB/s)
21838336 bytes read in 779 ms (26.7 MiB/s)
Working FDT set to 46000000
Failed to load '/dtb/starfive/overlay/starfive-fixup.scr'
2873152 bytes read in 176 ms (15.6 MiB/s)
## Loading init Ramdisk from Legacy Image at 46100000 ...
   Image Name:   uInitrd
   Image Type:   RISC-V Linux RAMDisk Image (gzip compressed)
   Data Size:    2873088 Bytes = 2.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 46000000
   Booting using the fdt blob at 0x46000000
Working FDT set to 46000000
   Loading Ramdisk to fe462000, end fe71f700 ... OK
   Loading Device Tree to 00000000fe3ef000, end 00000000fe461fff ... OK
Working FDT set to fe3ef000


Starting kernel ...

debugfs: Directory '16008000.dma-controller' with parent 'dmaengine' already present!
imx219 6-0010: Error reading reg 0x   0: -121
imx219 6-0010: failed to read chip id 219
Successfully mounted device UUID=32539e08-a5c0-4084-9f32-0932043d95e3
No kernel modules for Linux 6.6.16
INIT: version 3.08 booting
The system is coming up.  Please wait.
udevd[138]: specified group 'sgx' unknown
linuxroot: clean, 112848/3769920 files, 1912311/15112960 blocks
boot: clean, 34/76912 files, 48313/307200 blocks
hostname: visionfive-2
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
font: default
Couldn't get a file descriptor referring to the console.
keyboard: us
Couldn't get a file descriptor referring to the console.
INIT: Entering runlevel: 2
INIT: version 3.08 reloadinglo net[ERROR] sshd crond firstrun
 alsa dbus elogind lightdm


irradium  (visionfive-2) (ttyS0)

Last edited by sndwvs; 02-12-2024 at 11:47 AM.
 
Old 02-10-2024, 02:46 AM   #8
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,900

Original Poster
Rep: Reputation: Disabled
Installation README.TXT
kernel 6.1.77

This image does not have a bootloader, so the boot switch must be set to 0 0.

irradium-3.7-riscv64-core-visionfive_2-6.1.77-build-20240210.img.zst
irradium-3.7-riscv64-core-visionfive_2-6.1.77-build-20240210.img.zst.sha256
irradium-3.7-riscv64-xfce-visionfive_2-6.6.16-build-20240210.img.zst
irradium-3.7-riscv64-xfce-visionfive_2-6.6.16-build-20240210.img.zst.sha256

Last edited by sndwvs; 02-12-2024 at 11:47 AM.
 
  


Reply

Tags
irradium, riscv64, slackware, slarm64, starfive


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu Is Now Officially Supported on StarFive’s VisionFive RISC-V Single-Board Computers LXer Syndicated Linux News 0 08-17-2022 05:38 PM
StarFive VisionFive V1 JH7100 (riscv64) sndwvs slarm64 0 12-16-2021 10:55 PM
[SOLVED] Slackware RISC-V (riscv64) sndwvs Slackware - ARM 20 12-16-2021 06:18 AM
RISC V Based project with Xilinx Vivado on Ubuntu Linux(riscv64-unknown-elf-gcc: error: unrecognized command line option '-V') sagarkasrung Linux - Newbie 11 06-28-2019 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration