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.
|
|
|
10-30-2021, 11:22 PM
|
#1
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Rep:
|
Nezha D1 (slarm64, riscv64)
information board:- SoC – Allwinner D1 single-core XuanTie C906 64-bit RISC-V processor @ 1.0 GHz with HiFi4 DSP, G2D 2D graphics accelerators
- Memory – 1GB DDR3 memory
- Storage – 256MB SPI NAND flash, MicroSD card slot
- Video
Output – HDMI 1.4 port up to 4Kp30, MIPI DSI & touch panel interface up to 1080p60
Decoding – H.265 up to 1080p60 or 4Kp30, H.264 up to 1080p60 or 4Kp24, MPEG-1/2/4, JPEG, VC1 up to 1080p60
Encoding – JPEG/MJPEG up to 1080p60
- Audio – 3.5mm audio jack, digital audio output via HDMI, a connector for microphone board
- Connectivity – Gigabit Ethernet via RTL8211F PHY, 2.4GHz WiFi 4 & Bluetooth module via XR829 module
- USB – 1x USB 2.0 host port, 1x USB Type-C OTG portport
- Expansion – 40-pin GPIO connector
- Debugging – 4-pin UART header, USB ADB debugging supported
- Misc – Power LED, tri-color user LED, OK & FEL buttons
- Power Supply – 5V/2A via one of the two USB-C ports
- Dimensions – 85 x 56 mm (6-layer PCB)
Allwinner D1 specifications:- CPU – Alibaba XuanTie C906 64bit RISC-V core with 32 KB I-cache + 32 KB D-cache
- DSP – HiFi4 DSP 600MH with 32 KB I-cache + 32 KB D-cache, 64 KB I-ram + 64 KB D-ram
- Memory I/F – Up to 2GB DDR2/DDR3
- Storage I/F – SD3.0, eMMC 5.0, SPI Nor/Nand Flash
- Video Engine
- Video decoding
H.265 up to 1080p@60fps, or 4K@30fps
H.264 up to 1080p@60fps, or 4K@24fps
MPEG-1/2/4, JPEG, VC1 up to 1080p@60fps
- Video encoding – JPEG/MJPEG up to 1080p@60fps
Supports input picture scaler up/down
- Video OUT
RGB LCD output interface up to 1920 x 1080@60fps
Dual link LVDS interface up to 1920 x 1080@60fps
4-lane MIPI DSI interface up to 1920 x 1080@60fps
HDMI V1.4 output interface up to 4K@30fps
CVBS OUT interface, supporting NTSC and PAL format
- Video IN
8-bit parallel CSI interface
CVBS IN interface, supporting NTSC and PAL format
- Audio
2x DAC’s and 3x ADC’s
Analog audio interfaces – MICIN1P/N, MICIN2P/N, MICIN3P/N, FMINL/R, LINEINL/R, LINEOUTLP/N, LINEOUTRP/N, HPOUTL/R
Digital audio interfaces – I2S/PCM, DMIC, OWA IN/OUT
- Networking – 10/100/1000M EMAC with RMII and RGMII interfaces
- USB – USB2.0 OTG, USB2.0 Host
- Other peripherals
SDIO 3.0, SPI x 2, UART x 6, TWI x 4
PWM (8-ch), GPADC (2-ch), LRADC (1-ch), TPADC (4-ch), IR TX&RX
- Package – LFBGA BGA13*13/0.35/0.65mm,337 PINS
- Manufacturing process – 22nm
|
|
|
12-12-2021, 06:17 PM
|
#2
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
added support, discussion here
|
|
1 members found this post helpful.
|
12-17-2021, 05:44 PM
|
#3
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
01-06-2022, 09:18 AM
|
#4
|
Member
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 121
Rep:
|
Quote:
Originally Posted by sndwvs
|
There are a couple of things that should be changed to permit the board to boot:
1) Since the CPU does not recognized the amount of memory, you should limit it by device tree:
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x40000000>; /* 1 GB */
};
2) You should pass the parameter "clk_ignore_unused", otherwise the board will hang up.
Attached you can find updated kernel .config, that also allow to boot directly from MMC without an initrd.
For debugging, it will be also better to add "earlyprintk=sunxi-uart,0x02500000 earlycon=sbi" parameters to immediately see where the boot process hangs.
For D1-Nezha, I think it will be better to following Fedora instructions, that allow also to build grub:
https://fedoraproject.org/wiki/Archi...SC-V/Allwinner
The following link contains additional information/resources:
https://ovsienko.info/D1/
|
|
|
01-06-2022, 12:53 PM
|
#5
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
Quote:
Originally Posted by lucabon
There are a couple of things that should be changed to permit the board to boot:
1) Since the CPU does not recognized the amount of memory, you should limit it by device tree:
memory@40000000 {
device_type = "memory";
reg = <0x40000000 0x40000000>; /* 1 GB */
};
2) You should pass the parameter "clk_ignore_unused", otherwise the board will hang up.
Attached you can find updated kernel .config, that also allow to boot directly from MMC without an initrd.
For debugging, it will be also better to add "earlyprintk=sunxi-uart,0x02500000 earlycon=sbi" parameters to immediately see where the boot process hangs.
For D1-Nezha, I think it will be better to following Fedora instructions, that allow also to build grub:
https://fedoraproject.org/wiki/Archi...SC-V/Allwinner
The following link contains additional information/resources:
https://ovsienko.info/D1/
|
Thank you, when the board is on hand, the issue of loading will be better studied with a fix for subsequent builds.
1G memory patch for u-boot is already there, also added boot options.
Last edited by sndwvs; 01-07-2022 at 06:01 AM.
|
|
|
02-12-2022, 07:39 AM
|
#6
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
02-19-2022, 06:00 PM
|
#7
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
07-04-2022, 02:22 PM
|
#8
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
08-13-2022, 11:36 PM
|
#9
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
11-04-2022, 05:55 AM
|
#10
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
02-17-2023, 05:58 AM
|
#11
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
06-10-2023, 01:03 PM
|
#12
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
09-18-2023, 12:38 PM
|
#13
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
03-15-2024, 04:12 PM
|
#14
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
08-08-2024, 02:13 PM
|
#15
|
Senior Member
Registered: Aug 2014
Posts: 2,098
Original Poster
Rep:
|
|
|
|
All times are GMT -5. The time now is 02:43 PM.
|
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
|
|