LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-14-2023, 12:59 PM   #1
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Rep: Reputation: Disabled
Lichee Pi 4A TH1520 (XuanTie C910) (slarm64, riscv64)


information board:

https://www.sipeed.com
specifications
wiki
buy
slarm64.org
image_build_kit slarm64 (Slackware riscv64 unofficial port)

Specifications:
  • CPU TH1520 RISC-V 64GCV C910*4@2GHz
    Each core contains 64KB I cache amd 64KB D Cache
    Shared 1MB L2 Cache
    Support TEE and REE, configered at core booting
    Support multi-core debugging framework of custom and RISC-V compatible interface
    Independent power domain, supports DVFS
  • Memory 4, 8, 16 GB 64-bit LPDDR4X-3733
  • Storage MicroSD card OR
    16, 32, 64, or 128 GB eMMC flash
  • GPU Imagination BXM-4-64 GPU
    OpenCL 1.1/1.2/2.0
    OpenGL ES 3.0/3.1/3.2
    Vulkan 1.1/1.2
    Android NN HAL
    50.7GFLOPS, Fill 3168M pixels/s
  • NPU 4 TOPS @ INT8 (1GHz)
    Supports Tensorflow, ONNX, Caffe
  • Display 1x HDMI 2.0 up to 4Kp60
    4-lane MIPI DSI up to 4Kp50
  • Camera 1x 4-lane MIPI CSI
    1x 2-lane MIPI CSI
  • Video H.265 & H.264 @ 4Kp75 decode
    H.265 & H.264 @ 4Kp40 encode
  • Audio Headphone jack
    Stereo Speaker
    PDM MIC
  • Network 2x Gigabit Ethernet
  • WiFi 4 or 6 + Bluetooth 5.0
  • USB 4x USB 3.0 Type-A
    1x USB 2.0 Type-C
  • I/Os header 20-pin GPIO header
  • Power 12V 2A via 5.5mm DC jack or USB Type-C
  • External PoE
Attached Thumbnails
Click image for larger version

Name:	Lichee-Pi-4A-front.jpg
Views:	15
Size:	108.5 KB
ID:	41055   Click image for larger version

Name:	Lichee-Pi-4A-TH1520-single-board-computer.jpg
Views:	17
Size:	103.2 KB
ID:	41056  
 
Old 06-07-2023, 12:41 PM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Original Poster
Rep: Reputation: Disabled
installation README.TXT
kernel 5.10.113

slarm64-current-riscv64-core-lichee_pi_4a-5.10.113-build-20230607.img.zst
slarm64-current-riscv64-core-lichee_pi_4a-5.10.113-build-20230607.img.zst.sha256
slarm64-current-riscv64-server-lichee_pi_4a-5.10.113-build-20230607.img.zst
slarm64-current-riscv64-server-lichee_pi_4a-5.10.113-build-20230607.img.zst.sha256
slarm64-current-riscv64-xfce-lichee_pi_4a-5.10.113-build-20230607.img.zst
slarm64-current-riscv64-xfce-lichee_pi_4a-5.10.113-build-20230607.img.zst.sha256

Code:
U-Boot SPL 2020.01-th1520 (Jun 04 2023 - 01:23:13 +0300)
FM[1] lpddr4x dualrank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header


U-Boot 2020.01-th1520 (Jun 04 2023 - 01:23:13 +0300)

CPU:   rv64imafdcvsu
Model: T-HEAD c910 light
DRAM:  8 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC:   sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 15 ms
In:    serial
Out:   serial
Err:   serial
Net:   ethernet@ffe7070000 (eth0) using MAC address - 9e:7b:99:0b:45:11
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000.  Reconnecting to ethernet@ffe7060000
ethernet@ffe7060000 (eth1) using MAC address - 12:10:24:d3:fa:b2
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot:  0 
254 bytes read in 1 ms (248 KiB/s)
50340 bytes read in 2 ms (24 MiB/s)
16388 bytes read in 1 ms (15.6 MiB/s)
85856 bytes read in 2 ms (40.9 MiB/s)
69022 bytes read in 3 ms (21.9 MiB/s)
20506112 bytes read in 165 ms (118.5 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Using Device Tree in place at 0000000001f00000, end 0000000001f13d9d

Starting kernel ...

[    0.000000] Linux version 5.10.113 (root@firefly-rk3399) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Sat Jun 3 18:27:22 EEST 2023
[    0.000000] OF: fdt: Ignoring memory range 0x0 - 0x200000
[    0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: bypass linux,cma node, using cmdline CMA params instead
[    0.000000] OF: reserved mem: node linux,cma compatible matching fail


=======================================================================

if you want to transfer the system to SDcard to internal memory (eMMC or NAND),
follow transfer-to-disk

=======================================================================

slarm64 GNU/Linux (ttyS0)
Kernel 5.10.113 (riscv64)

lichee-pi-4a login:
 
Old 10-17-2023, 12:34 AM   #3
Mukti
LQ Newbie
 
Registered: Oct 2023
Location: India
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Questions:

1) Can Lichee Pi 4A run containers ? If yes, which ones (Docker, Podman, OpenVZ, KVM, etc.) ?
2) Which Languages work/have been tested on Lichee Pi 4A (Golang, Python, PHP, Javascript/node.js, Rust, etc.) ?
 
Old 10-17-2023, 11:47 AM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Mukti View Post
Questions:

1) Can Lichee Pi 4A run containers ? If yes, which ones (Docker, Podman, OpenVZ, KVM, etc.) ?
2) Which Languages work/have been tested on Lichee Pi 4A (Golang, Python, PHP, Javascript/node.js, Rust, etc.) ?
Everything is the same as for aarch64, lxc, lxd, docker (I work with lxc). kvm, openvz this is also possible, but very slow.

All the same languages as in slackware64, the languages you listed are present in slarm64 (riscv64)

This board is very efficient relative to the CPU.

Last edited by sndwvs; 10-17-2023 at 11:48 AM.
 
  


Reply

Tags
c910, riscv64, sipeed, slarm64, th1520



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
Nezha D1 (slarm64, riscv64) sndwvs slarm64 13 03-15-2024 03:12 PM
Lichee Rv Dock D1 (slarm64, riscv64) sndwvs slarm64 14 03-15-2024 03:10 PM
slarm64 (aarch64 / riscv64 unofficial slackware linux port) sndwvs Linux - Distributions 14 12-15-2021 01:45 PM

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

All times are GMT -5. The time now is 02:00 PM.

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