slarm64 This forum is for the discussion of slarm64. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-02-2022, 04:40 PM
|
#1
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Rep: 
|
Lichee Rv Dock D1 (slarm64, riscv64)
information board:
https://www.sipeed.com
Specifications
wiki
buy
allwinner wiki
slarm64.org
image_build_kit slarm64 (Slackware riscv64 unofficial port)
Specifications:- SoC – Allwinner D1 single-core XuanTie C906 64-bit RISC-V processor @ 1.0 GHz with HiFi4 DSP, G2D 2D graphics accelerators
- Memory – 512MB DDR3 memory @ 792 MHz
Reserved a SOP8 pad, and the connection protocol is the SPI;
Consult for the customer service staff for more information
- Storage – MicroSD card slot
- Display port - Onboard HDMI output interface;
RGB and MIPI screen interface connect to 2x20 Pins Header and
(We provide this screen converter board t)
- Network - ONboard 2.4G WIFI+BT module, 2.4G Patch antenna and IPEX connector
- USB - Onboard USB type-A host
- Audio - On-board speaker driver circuit (supports 4Ω 3W speakers) and speaker; connector
On-board electret microphone circuit
- Extra connector - Onborad 30P FPC connector,supports our Mic Array R6 microphone array
- GPIO connector - Reserved 2x20P 2.54mm pads(Default welding pin headers)
- LED - An onboard WS2812 RGB LED
An onboard power LED
- KEY - An onboard reset key
An user's key
- Power Supply – 5V/0.5A via USB-C port
- Dimensions – 43.2 x 25mm
Last edited by sndwvs; 07-02-2022 at 04:43 PM.
|
|
|
07-05-2022, 01:17 PM
|
#2
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
11-04-2022, 03:21 PM
|
#3
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
01-14-2023, 02:39 PM
|
#4
|
LQ Newbie
Registered: Jan 2023
Posts: 4
Rep:
|
Thanks for providing those images but unfortunately at least server-lichee_rv_dock fails to boot properly (kernel panic log below).
Also, from the full log it appears that boot0 is used as SPL. boot0 can be fully omitted when using latest OpenSBI v1.2 (upgrade from OpenSBI v1.0-104-ge6793dc).
Good reference about latest versions and image layout can be found from buildroot (I'm not allowed to post full urls)
- buildroot/tree/configs/sipeed_lichee_rv_dock_defconfig
- buildroot/tree/board/sipeed/lichee_rv_dock/genimage.cfg
Best regards,
Indrek
Starting kernel ...
[ 0.000000] INITRD: 0x4977b000+0x00885000 is not a memory region - disabling initrd
[ 0.000000] Unable to handle kernel paging request at virtual address ffffffd80186daf0
[ 0.000000] Oops [#1]
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.1.0-rc3 #1
[ 0.000000] Hardware name: Sipeed Lichee RV Dock (DT)
[ 0.000000] epc : vmalloc_fault.constprop.0+0x64/0x168
[ 0.000000] ra : do_page_fault+0x60/0x39e
[ 0.000000] epc : ffffffff80008d1e ra : ffffffff80008e82 sp : ffffffff81603d10
[ 0.000000] gp : ffffffff8185e8b8 tp : ffffffff8160aac0 t0 : ffffffff80008e22
[ 0.000000] t1 : ffffffff80e002c0 t2 : ffffffff80e00340 s0 : ffffffff81603d30
[ 0.000000] s1 : ffffffd7bfe00001 a0 : ffffffff8185e108 a1 : ffffffff811cab70
[ 0.000000] a2 : ffffffff8186daf0 a3 : 0000000000000000 a4 : 0000000000000af0
[ 0.000000] a5 : ffffffd80186daf0 a6 : 0000000000000000 a7 : 0000000000000018
[ 0.000000] s2 : ffffffff81603db0 s3 : 000000000000000d s4 : 0000000000000000
[ 0.000000] s5 : ffffffff8160aac0 s6 : 0000000000000000 s7 : 0000000000000000
[ 0.000000] s8 : 000000005ff710b0 s9 : 0000000000000000 s10: 0000000000000000
[ 0.000000] s11: 0000000000000000 t3 : 7000000000000000 t4 : ffffffff80c117a0
[ 0.000000] t5 : ffffffff80c117a0 t6 : ffffffff80c117d0
[ 0.000000] status: 0000000200000100 badaddr: ffffffd80186daf0 cause: 000000000000000f
[ 0.000000] [<ffffffff80008e82>] do_page_fault+0x60/0x39e
[ 0.000000] [<ffffffff800037c8>] ret_from_exception+0x0/0xc
[ 0.000000] ---[ end trace 0000000000000000 ]---
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
|
|
|
02-04-2023, 06:14 PM
|
#5
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
you can try to change to a more detailed conclusion in /boot/uEnv.txt verbosity=4 -> verbosity=8
|
|
|
02-19-2023, 03:26 AM
|
#6
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
02-21-2023, 01:17 PM
|
#7
|
LQ Newbie
Registered: Jan 2023
Posts: 4
Rep:
|
Hi! Thanks for the new version!
I tried to boot slarm64-current-riscv64-core-lichee_rv_dock-6.1.12-build-20230219.img.zst on my Lichee RV dock and it ends with the kernel panic.
I grabbed some lines from serial console output, with comments:
[27]HELLO! BOOT0 is starting! <----------------- boot0 is obsolete for newer u-boot, you can easily just drop it
[30]BOOT0 commit : d21a737
...
OpenSBI v1.0-265-gc8ea836 <---------------- upgrade from version v1.0 to v1.2
...
U-Boot 2022.01-sun20iw1p1 (Feb 19 2023 - 05:45:24 +0200) <--------- upgrade from 2022.01 to 2022.10
...
Starting kernel ...
[ 0.000000] INITRD: 0x49a0b000+0x005f5000 is not a memory region - disabling initrd <-------- could it be that its beyond the 512MB RAM limit?
[ 0.000000] Unable to handle kernel paging request at virtual address ffffffd801874af0
[ 0.000000] Oops [#1]
...
You could share your boot log if you have one.
Another image I'm working with boots correctly with newer u-boot/opensbi (not related to the slarm64):
U-Boot SPL 2022.10 (Feb 20 2023 - 14:30:14 +0200)
...
OpenSBI v1.2
...
U-Boot 2022.10 (Feb 20 2023 - 14:30:14 +0200) Allwinner Technology
...
Best regards,
Indrek
|
|
|
02-21-2023, 02:26 PM
|
#8
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
Hi ikruusa,
I don't have Lichee Rv Dock D1, only Nezha
u-boot memory settings:
Code:
/ {
// FIXME: this is temporary.
memory {
device_type = "memory";
//reg = <0x40000000 0x80000000>; /* 2 GB */
//reg = <0x40000000 0x40000000>; /* 1 GB */
reg = <0x40000000 0x20000000>; /* 512 MB */
};
};
in the first log with U-Boot 2022.01-sun20iw1p1, the loading goes to the kernel and breaks there, it seems due to the fact that the memory size is not strictly specified in dts.
for test in file /boot/uEnv.txt replace
fdtfile=allwinner/sun20i-d1-lichee-rv-dock.dtb
with
fdtfile=allwinner/sun20i-d1-nezha-512m.dtb
|
|
|
02-22-2023, 01:43 PM
|
#9
|
LQ Newbie
Registered: Jan 2023
Posts: 4
Rep:
|
Yes, with fdtfile=allwinner/sun20i-d1-nezha-512m.dtb Lichee RV dock boots and I can log in (tested with core image).
|
|
|
02-22-2023, 02:28 PM
|
#10
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
Quote:
Originally Posted by ikruusa
Yes, with fdtfile=allwinner/sun20i-d1-nezha-512m.dtb Lichee RV dock boots and I can log in (tested with core image).
|
I made an addition and will post new images
|
|
|
02-23-2023, 11:59 AM
|
#11
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
02-23-2023, 02:39 PM
|
#12
|
LQ Newbie
Registered: Jan 2023
Posts: 4
Rep:
|
This time I run slarm64-current-riscv64-xfce-lichee_rv_dock-6.1.13-build-20230223.img.zst and it boots without the problem on Lichee RV dock. Although it takes ca. 4 minutes to boot into graphical env, so its a bit overkill for this board. But it works. Thanks!
|
|
|
06-10-2023, 02:50 PM
|
#13
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
Last edited by sndwvs; 06-10-2023 at 02:51 PM.
|
|
|
09-18-2023, 12:54 PM
|
#14
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
03-15-2024, 03:10 PM
|
#15
|
Senior Member
Registered: Aug 2014
Posts: 2,174
Original Poster
Rep: 
|
|
|
|
All times are GMT -5. The time now is 04:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|