<?xml version="1.0"?>
<rss version="2.0"><channel><title>RISC-V Latest Topics</title><link>https://forum.armbian.com/forum/210-risc-v/</link><description>RISC-V Latest Topics</description><language>en</language><item><title>Orange Pi RV2</title><link>https://forum.armbian.com/topic/56846-orange-pi-rv2/</link><description><![CDATA[<p>
	Hey! Got it up and running - I have an Armbian SD card image based on the source trees found on <a href="https://github.com/orangepi-xunlong" rel="external nofollow">https://github.com/orangepi-xunlong. </a>Since I am a newbie to Armbian, please accept my apologies for beginner errors. Here's what I currently got on my UART:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@orangepirv2:~# uname -a
Linux orangepirv2 6.6.63-current-ky #1 SMP PREEMPT Tue Mar 18 02:29:27 UTC 2025 riscv64 GNU/Linux
root@orangepirv2:~# cat /etc/os-release 
PRETTY_NAME="Armbian-unofficial 26.02.0-trunk trixie"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.2
ID=debian
HOME_URL="https://www.armbian.com/"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian-unofficial 26.02.0-trunk trixie"</span></pre>

<p>
	 
</p>

<p>
	This is not ready for prime time now. Needs a bit cleanup b/c I pulled in binaries and private project stuff not meant for armbian-build. Currently resides in this fork <a href="https://github.com/sven-ola/armbian-build/tree/orangepi-rv2" rel="external nofollow">https://github.com/sven-ola/armbian-build/tree/orangepi-rv2</a>. If you want to give it a try: it's <strong>compile.sh opirv2</strong> after checkout. I've also managed to boot from the top 2230 M.2 SSD but this is also handmade (I'm pretty sure there is a script in here that copies the SD card boot blobs to SPI flash, will try before doing the MR).
</p>

<p>
	 
</p>

<p>
	Best // Sven-Ola
</p>
]]></description><guid isPermaLink="false">56846</guid><pubDate>Sun, 21 Dec 2025 22:25:42 +0000</pubDate></item><item><title>Summary of Pending Issues on OrangePi RV2 Riscv Board Running with Ubuntu 24.04.4</title><link>https://forum.armbian.com/topic/59363-summary-of-pending-issues-on-orangepi-rv2-riscv-board-running-with-ubuntu-24044/</link><description><![CDATA[<p>
	My initial testing at the Orange Pi RV2 board detected a list of errors, missing features, driver issues and instabilities: <br />
	. Not able to run Py5 3D geometry on basis of Jogl, JavaFx3D and Py5 API and packages. The error relates due to missing RISC64 architecture support in the Java APIs and will require platform adjustments for additional drivers.  There is yet no <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr> acceleration available for this board.
</p>

<p>
	 
</p>

<p>
	Issues:  <br />
	. Missing Wacom tablet driver support at opening of the Ubuntu GNOME environment, the Stylus pen was not detected as pointer device.  <br />
	. Instability at the Firefox Web browser when opening of the start screen.<br />
	. Chrome browser also shows issues with Google page display. My bypass solution is to use the startpage.com as default entry portal.  <br />
	. Slowness and strange blockings when switching the login to GNOME on Xorg. Xorg mode on Ubuntu. It could give support  to the xinput setup commands.  
</p>

<p>
	 
</p>

<p>
	I appreciate some guidance how to activate those missing features at the Orange Pi RV2 board. Further test reports are welcome. 
</p>
]]></description><guid isPermaLink="false">59363</guid><pubDate>Mon, 27 Apr 2026 14:12:40 +0000</pubDate></item><item><title>4/8 GB ram on VisionFive2</title><link>https://forum.armbian.com/topic/28372-48-gb-ram-on-visionfive2/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I'm testing a visionfive2 board with 8GB ram and I can only see 4GB in the armbian installed system.
</p>

<p>
	As far as I understand, the official image by StarFive has a extra u-boot partition on SD that tricks something to make the ram fully visible to the system.
</p>

<p>
	In fact I can see 8GB when using the official debian image but only 4 under armbian.
</p>

<p>
	 
</p>

<p>
	Is there any way to fix this? I'd like to use the armbian environment while using the full ram available. I'm trying to mashup the two partition schemas but I'm probably doing someting wrong... <span><img alt=":D" data-emoticon="" height="20" src="https://forum.armbian.com/uploads/emoticons/default_biggrin.png" srcset="https://forum.armbian.com/uploads/emoticons/biggrin@2x.png 2x" title=":D" width="20" /></span>
</p>

<p>
	 
</p>

<p>
	<span>Thank you in advance for any (very appreciated) help!</span>
</p>

<p>
	 
</p>

<p>
	<span>-psi</span>
</p>
]]></description><guid isPermaLink="false">28372</guid><pubDate>Sun, 21 May 2023 20:09:45 +0000</pubDate></item><item><title>Armbian image and build support for RISC-V.</title><link>https://forum.armbian.com/topic/21465-armbian-image-and-build-support-for-risc-v/</link><description><![CDATA[<p>
	Added alpha version of image build support for RISC-V.
</p>

<p>
	So far, this is an early version and some of the functions do not work in it.
</p>

<p>
	Currently, support has been added for the StarFive model.
</p>

<p>
	 
</p>

<p>
	<a href="https://rvspace.org/" rel="external nofollow">https://rvspace.org/</a>
</p>

<p>
	 
</p>

<p>
	Details can be seen in this topic.
</p>

<p>
	 
</p>

<p>
	<a href="https://forum.rvspace.org/t/armbian-for-starfive-build-system-ubuntu-debian/468" rel="external nofollow">https://forum.rvspace.org/t/armbian-for-starfive-build-system-ubuntu-debian/468</a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Added support for Nezha D1 and Lichee RV (Dock) with Allwinner D1 RISC-V chip. To start the system. Download the image, unpack it, burn it to the SD card.  Connect the SD card to the device and turn on the power. Further steps for initial setup are similar for all Armbian systems.
</p>

<p>
	 
</p>

<p>
	For the Nezha D1 model, HDMI, LAN, USB, analog audio via 3.5 jack works.
</p>

<p>
	For Lichee RV Dock  works HDMI WiFi USB USB-LAN
</p>

<p>
	 
</p>

<p>
	Link to download images.
</p>

<p>
	<a href="https://disk.yandex.ru/d/da8qJ8wyE1hhcQ" rel="external nofollow">https://disk.yandex.ru/d/da8qJ8wyE1hhcQ</a>
</p>

<p>
	 
</p>

<p>
	<a href="https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-risc-v-module-gets-5-carrier-board-with-hdmi-and-usb-ports-optional-wifi/" rel="external nofollow">https://www.cnx-software.com/2021/12/30/sipeed-lichee-rv-risc-v-module-gets-5-carrier-board-with-hdmi-and-usb-ports-optional-wifi/</a>
</p>

<p>
	 
</p>

<p>
	forum MangoPI
</p>

<p>
	<a href="https://forum.mangopi.org/" rel="external nofollow">https://forum.mangopi.org/</a>
</p>
]]></description><guid isPermaLink="false">21465</guid><pubDate>Mon, 13 Jun 2022 09:57:52 +0000</pubDate></item><item><title>Lichee PI 4A : Are all projects closed?</title><link>https://forum.armbian.com/topic/50430-lichee-pi-4a-are-all-projects-closed/</link><description><![CDATA[<p>
	Is anyone still playing with this board? When the CPU microcode bur came out, interest in this board immediately died down and in my opinion it's a real shame. I can understand in operational and production scenarios that if malicious code is injected the attacker can take control of the machine but it's a pretty difficult scenario to implement.
</p>

<p>
	 
</p>

<p>
	I tried to load the latest armbian builds but I couldn't boot. As for performance, I have to say that with the official sipeed image I'm not bad even if it's not a distro but a debian image optimized by the sipeed team. I also believe in this case that there are no maintainers who can follow the armbian community release of this board, what a pity.
</p>

<p>
	 
</p>

<p>
	What other image could I use? Thanks to everyone
</p>
]]></description><guid isPermaLink="false">50430</guid><pubDate>Tue, 11 Mar 2025 09:36:41 +0000</pubDate></item><item><title>StarFive VisionFive2: What's New in 2025?</title><link>https://forum.armbian.com/topic/50429-starfive-visionfive2-whats-new-in-2025/</link><description><![CDATA[<p>
	I open a new 3d because I would like to take stock of the situation regarding this interesting riscv board. Currently I use the official debian image of the riscv team but I would really like to play with armbian. I understand that there are very few interested users and no maintainers to update the community build. I think one of the problems was the continuous updating by the riscv team of uboot and spl which made it impossible to run the old armbian images because the boot dip switches always had to be set to 0.0 QSPI Nor Flash so the image was required to have uboot and spl on it. 
</p>

<p>
	 
</p>

<p>
	I would like to know if anyone is still playing with this board and what image they are using and if starting from an old armbian image I can restart somehow.
</p>

<p>
	I know that the graphics without hardware acceleration are really poor and the packages should not be updated at the risk of losing optimizations or serious problems such as turning off the video interface on hdmi.
</p>

<p>
	 
</p>

<p>
	Sorry for the long rant but I'm sorry I can't play on this board, thanks everyone.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">50429</guid><pubDate>Tue, 11 Mar 2025 09:28:18 +0000</pubDate></item><item><title>Enable I2C on a Banana Pi BPI-F3</title><link>https://forum.armbian.com/topic/49822-enable-i2c-on-a-banana-pi-bpi-f3/</link><description><![CDATA[<p>
	Armbian Version<br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">BOARD=bananapif3
BOARD_NAME="BananaPi BPI-F3"
BOARDFAMILY=spacemit
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=2f1fa5f40
LINUXFAMILY=spacemit
ARCH=riscv
BOOT_SOC=
IMAGE_TYPE=nightly
BOARD_TYPE=csc
INITRD_ARCH=riscv
KERNEL_IMAGE_TYPE=Image
KERNEL_TARGET=current
KERNEL_TEST_TARGET=
FORCE_BOOTSCRIPT_UPDATE=
FORCE_UBOOT_UPDATE=
OVERLAY_DIR=""
VENDOR="Armbian"
VENDORDOCS="https://docs.armbian.com"
VENDORURL="https://www.armbian.com/"
VENDORSUPPORT="https://forum.armbian.com"
VENDORBUGS="https://www.armbian.com/bugs"
VERSION=25.5.0-trunk.52
REVISION=25.5.0-trunk.52
BRANCH=current</span></pre>

<p>
	<br />
	I tried to enbale the I2C bus according followig documentation - but it didn't work for me.<br />
	 
</p>

<p>
	<a href="https://forum.banana-pi.org/t/bananapif3-gpio-wiringpi-gpiod-python3-periphery-adafruit-blinka-and-luma-examples/18948" rel="external nofollow">https://forum.banana-pi.org/t/bananapif3-<abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr>-wiringpi-gpiod-python3-periphery-adafruit-blinka-and-luma-examples/18948</a><br />
	<br />
	<a href="https://paste.armbian.de/furuzimipu" rel="external nofollow">https://paste.armbian.de/furuzimipu</a><br />
	<br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[    0.535367] /soc/i2c@d401d800/spm8821@41: Fixed dependency cycle(s) with /soc/i2c@d401d800/spm8821@41/regulators/DCDC_REG5
[    0.558741] raid6: int64x8  gen()  1179 MB/s
[    0.559346] spacemit-regulator spacemit-regulator@spm8821: DMA mask not set
[    0.599031] /soc/i2c@d401d800/spm8821@41: Fixed dependency cycle(s) with /soc/i2c@d401d800/spm8821@41/regulators</span></pre>

<p>
	<br />
	 
</p>
]]></description><guid isPermaLink="false">49822</guid><pubDate>Thu, 13 Feb 2025 19:22:23 +0000</pubDate></item><item><title>How do I become the VisionFive2 maintainer?</title><link>https://forum.armbian.com/topic/35987-how-do-i-become-the-visionfive2-maintainer/</link><description><![CDATA[<p>
	Hello there!
</p>

<p>
	 
</p>

<p>
	Over the past month and more I have been making many experiments - and right now, I am waiting for a finished product; a Docker container with musl-libc and gcc to serve as a "clean slate build environment". Initially, I had intended for this to be the environment for Alpine Linux - because I want the `alpine:3.19` container so half my software, including k3s, stops complaining xD - but figured, I made all those configs and have gathered all of this experience AND have a board right here - which is where I am putting my container together, too. Yep, those four cores are working overtime, since a month straight, between dozen revisions and rebuilds.
</p>

<p>
	 
</p>

<p>
	I still have to finalize my U-Boot and OpenSBI config; but this is what my kernel has right now:
</p>

<p>
	```
</p>

<p>
	# cat /boot/config-6.6.0-g076ede06c00a | grep -E "JH7110|JH7100|SIFIVE|STARFIVE|VISIONFIVE"<br />
	# CONFIG_SOC_SIFIVE is not set<br />
	CONFIG_ARCH_STARFIVE=y<br />
	CONFIG_SOC_STARFIVE=y<br />
	CONFIG_ERRATA_SIFIVE=y<br />
	CONFIG_ERRATA_SIFIVE_CIP_453=y<br />
	CONFIG_ERRATA_SIFIVE_CIP_1200=y<br />
	CONFIG_PCIE_STARFIVE_HOST=y<br />
	CONFIG_DWMAC_STARFIVE=y<br />
	CONFIG_SERIAL_SIFIVE=y<br />
	CONFIG_SERIAL_SIFIVE_CONSOLE=y<br />
	CONFIG_HW_RANDOM_JH7110=y<br />
	CONFIG_SPI_SIFIVE=m<br />
	CONFIG_PINCTRL_STARFIVE_JH7100=y<br />
	CONFIG_PINCTRL_STARFIVE_JH7110=y<br />
	CONFIG_PINCTRL_STARFIVE_JH7110_SYS=y<br />
	CONFIG_PINCTRL_STARFIVE_JH7110_AON=y<br />
	# CONFIG_GPIO_SIFIVE is not set<br />
	CONFIG_STARFIVE_WATCHDOG=y<br />
	CONFIG_DRM_VERISILICON_STARFIVE_HDMI=y<br />
	CONFIG_SND_SOC_STARFIVE=y<br />
	CONFIG_SND_SOC_JH7110_PWMDAC=y<br />
	CONFIG_SND_SOC_JH7110_TDM=y<br />
	CONFIG_USB_CDNS3_STARFIVE=y<br />
	CONFIG_MMC_DW_STARFIVE=y<br />
	CONFIG_VIDEO_STARFIVE_CAMSS=y<br />
	CONFIG_CLK_STARFIVE_JH71X0=y<br />
	CONFIG_CLK_STARFIVE_JH7100=y<br />
	CONFIG_CLK_STARFIVE_JH7100_AUDIO=y<br />
	CONFIG_CLK_STARFIVE_JH7110_PLL=y<br />
	CONFIG_CLK_STARFIVE_JH7110_SYS=y<br />
	CONFIG_CLK_STARFIVE_JH7110_AON=y<br />
	CONFIG_CLK_STARFIVE_JH7110_STG=y<br />
	CONFIG_CLK_STARFIVE_JH7110_ISP=y<br />
	CONFIG_CLK_STARFIVE_JH7110_VOUT=y<br />
	CONFIG_STARFIVE_JH7110_TIMER=y<br />
	CONFIG_SIFIVE_CCACHE=y<br />
	# CONFIG_PWM_SIFIVE is not set<br />
	CONFIG_SIFIVE_PLIC=y<br />
	CONFIG_RESET_STARFIVE_JH71X0=y<br />
	# CONFIG_RESET_STARFIVE_JH7100 is not set<br />
	CONFIG_RESET_STARFIVE_JH7110=y<br />
	CONFIG_PHY_STARFIVE_JH7110_DPHY_RX=y<br />
	CONFIG_PHY_STARFIVE_JH7110_PCIE=y<br />
	CONFIG_PHY_STARFIVE_JH7110_USB=y<br />
	CONFIG_CRYPTO_DEV_JH7110=y
</p>

<p>
	```
</p>

<p>
	 
</p>

<p>
	And those are required. There is a porting page about the currently outstanding patches that have yet to be accepted into mainline, so I am just effectively living on this: <a href="https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream" rel="external nofollow">https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream</a> (note the branch). This is Linux 6.6.0. I am also working on merging Imaginary's <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr> drivers - currently based on 6.6.0-rc1 - into this tree, but Github won't let me post it... Oh well; the merge is just four files.
</p>

<p>
	 
</p>

<p>
	Aside from that, there are also repos for MESA and the linux-firmware; constituting two packages specific to this board - or rather, this <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr>. I wish they had made the driver itself a DKIM one... would've been more portable, I suppose.
</p>

<p>
	 
</p>

<p>
	Anyway; with all of this said, I have a few questions:
</p>

<p>
	 
</p>

<p>
	1. Where does one apply for maintainership? The VF2 currently has none.
</p>

<p>
	2. How, in the automated build process (`compile.sh` in the `armbian/build` repo), do I specify config snippets for this specific <abbr title="System On a Chip">soc</abbr>/board for kernel, u-boot and openspi?
</p>

<p>
	3. Anything else I need?
</p>

<p>
	 
</p>

<p>
	Kind regards,
</p>

<p>
	Ingwie
</p>
]]></description><guid isPermaLink="false">35987</guid><pubDate>Mon, 11 Mar 2024 22:30:41 +0000</pubDate></item><item><title>Star64 (jh7110)</title><link>https://forum.armbian.com/topic/28912-star64-jh7110/</link><description><![CDATA[<p>
	Test version of images 20230622-legacy for star64.
</p>

<p>
	 
</p>

<p>
	<a href="https://disk.yandex.ru/d/eEC4riP1jBWCeg" rel="external nofollow">https://disk.yandex.ru/d/eEC4riP1jBWCeg</a>
</p>

<p>
	 
</p>

<p>
	Important. For the system to work correctly, you need to update the bootloader once. To do this, download the image from the link
</p>

<p>
	 
</p>

<p>
	<a href="https://disk.yandex.ru/d/zsqznfa1ySI2gw" rel="external nofollow">https://disk.yandex.ru/d/zsqznfa1ySI2gw</a>
</p>

<p>
	 
</p>

<p>
	 burn it to the SD card, connect it to Star64 and turn on the power, wait 2 minutes and turn off the power.
</p>

<p>
	 
</p>

<p>
	After that, you can write an ArmbianTV image to the SD card, connect it to Star64 and the system will start automatically. The next steps are usually the initial setup of Armbian. In versions with DE (IceWM XFCE). even video playback in the window works (fullscreen mode does not work) through the Parole player. Analog audio output is enabled by default, to switch to HDMI audio, use the settings via Volume Control as usual.
</p>

<p>
	 
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@192.168.1.51's password: 
 ____  _              __   _  _   
/ ___|| |_ __ _ _ __ / /_ | || |  
\___ \| __/ _` | '__| '_ \| || |_ 
 ___) | || (_| | |  | (_) |__   _|
|____/ \__\__,_|_|   \___/   |_|  
                                  
Welcome to Armbian 23.06 Jammy with Linux 5.15.115-star64

System load:   3%           	Up time:       3 min	
Memory usage:  3% of 3.80G  	IP:	       192.168.1.51
CPU temp:      39°C           	Usage of /:    17% of 7.1G   	
RX today:      19.4 KiB  	

[ 10 security updates available, 12 updates total: apt upgrade ]
Last check: 2023-06-22 12:32

[ General system configuration (beta): armbian-config ]

Last login: Thu Jun 22 12:32:24 2023
root@star64:~# cat /proc/cpuinfo 
processor	: 0
hart		: 1
isa		: rv64imafdc
mmu		: sv39
isa-ext		: 
uarch		: sifive,u74-mc

processor	: 1
hart		: 2
isa		: rv64imafdc
mmu		: sv39
isa-ext		: 
uarch		: sifive,u74-mc

processor	: 2
hart		: 3
isa		: rv64imafdc
mmu		: sv39
isa-ext		: 
uarch		: sifive,u74-mc

processor	: 3
hart		: 4
isa		: rv64imafdc
mmu		: sv39
isa-ext		: 
uarch		: sifive,u74-mc

root@star64:~# neofetch 
            .-/+oossssoo+/-.               root@star64 
        `:+ssssssssssssssssss+:`           ----------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.2 LTS riscv64 
    .ossssssssssssssssssdMMMNysssso.       Host: Pine64 Star64 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 5.15.115-star64 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 4 mins 
 /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    Packages: 509 (dpkg) 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.   Shell: bash 5.1.16 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Resolution: 1920x1080 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Terminal: /dev/pts/0 
ossyNMMMNyMMhsssssssssssssshmmmhssssssso   CPU: (4) @ 1.500GHz 
+sssshhhyNMMNyssssssssssssyNMMMysssssss+   Memory: 118MiB / 3893MiB 
.ssssssssdMMMNhsssssssssshNMMMdssssssss.
 /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/                            
  +sssssssssdmydMMMMMMMMddddyssssssss+                             
   /ssssssssssshdmNNNNmyNMMMMhssssss/
    .ossssssssssssssssssdMMMNysssso.
      -+sssssssssssssssssyyyssss+-
        `:+ssssssssssssssssss+:`
            .-/+oossssoo+/-.

root@star64:~# </span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">28912</guid><pubDate>Thu, 22 Jun 2023 12:49:47 +0000</pubDate></item><item><title>VisionFive-2 (jh7110)</title><link>https://forum.armbian.com/topic/29675-visionfive-2-jh7110/</link><description><![CDATA[<p>
	Images for Visionfive-2.
</p>

<p>
	 
</p>

<p>
	<a href="https://disk.yandex.ru/d/YDBZD53WnCk1Ig" rel="external nofollow">https://disk.yandex.ru/d/YDBZD53WnCk1Ig</a>
</p>

<p>
	 
</p>

<p>
	Important. For the system to work correctly, you need to update the bootloader in SPI\flash once (the switch for selecting the device to run should be set to “qspi” 0,0 , this is the default state when delivered from the factory). To do this, download the image from the link
</p>

<p>
	 
</p>

<p>
	<a href="https://disk.yandex.ru/d/zsqznfa1ySI2gw" rel="external nofollow">https://disk.yandex.ru/d/zsqznfa1ySI2gw</a>
</p>

<p>
	 
</p>

<p>
	 burn it to the SD card, connect it to VF2 and turn on the power, wait 2 minutes and turn off the power.
</p>

<p>
	 
</p>

<p>
	After that, you can write an ArmbianTV image to the SD card, connect it to VF2 and the system will start automatically. The next steps are usually the initial setup of Armbian. In versions with DE (IceWM XFCE). even video playback in the window works (fullscreen mode does not work) through the Parole player. Analog audio output is enabled by default, to switch to HDMI audio, use the settings via Volume Control as usual.
</p>
]]></description><guid isPermaLink="false">29675</guid><pubDate>Mon, 14 Aug 2023 08:14:20 +0000</pubDate></item><item><title>visionfive2 only 4GB ram seen</title><link>https://forum.armbian.com/topic/37709-visionfive2-only-4gb-ram-seen/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Visionfive2 booting spi version starfive 5.11.3 firmware.  U-boot sees the 8GB RAM.  I am using Armbian_community_24.5.0-trunk.433_Visionfive2_jammy_edge_5.15.0_xfce_desktop.img.
</p>

<p>
	I suspect there is something broken with the <abbr title="Device tree blob">dtb</abbr> file.  I am loading this <abbr title="Device tree blob">dtb</abbr>:
</p>

<p>
	load nvme 0:1 ${fdt_addr_r} /boot/<abbr title="Device tree blob">dtb</abbr>/starfive/jh7110-visionfive-v2.<abbr title="Device tree blob">dtb</abbr>
</p>

<p>
	When I use OpenBSD 7.5  the 8GB is seen, but that is a different <abbr title="Device tree blob">dtb</abbr> file and EFI boot process.<br />
	Is there a different <abbr title="Device tree blob">dtb</abbr> file to use?
</p>
]]></description><guid isPermaLink="false">37709</guid><pubDate>Sat, 20 Apr 2024 12:29:28 +0000</pubDate></item><item><title>Linux, RiscV and the BeagleV-Ahead/Armbian</title><link>https://forum.armbian.com/topic/37497-linux-riscv-and-the-beaglev-aheadarmbian/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	hastebin - iqolofuzis (armbian.com)
</p>

<p>
	 
</p>

<p>
	That is my hastebin paste made from a recently built BeagleV-Ahead board that has a four core, RISCV processor. The TH1520 or four c910 processors make up the bulk of the board with some extra functionality. I have been trying to build for this board recently and again.
</p>

<p>
	 
</p>

<p>
	Anyway, there is a u-boot function in the mix of building an Armbian Jammy image that is called /dev/loop.
</p>

<p>
	 
</p>

<p>
	It seems this is where my current errors are located in the build. Please send some advice.
</p>

<p>
	 
</p>

<p>
	Seth
</p>

<p>
	 
</p>

<p>
	P.S. Here is what I think makes up the main issue:
</p>

<p>
	 
</p>

<p>
	[<span class="ipsEmoji">💲</span>|<span class="ipsEmoji">🌱</span>] Writing u-boot bootloader [ /dev/loop2 ]<br />
	/home/karlth/build_armbian/lib/functions/image/loop.sh: line 89: write_uboot_platform: command not found
</p>
]]></description><guid isPermaLink="false">37497</guid><pubDate>Sun, 14 Apr 2024 02:53:27 +0000</pubDate></item><item><title>BeagleV-Ahead and Armbian Support</title><link>https://forum.armbian.com/topic/29298-beaglev-ahead-and-armbian-support/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	There is a new BeagleV-Ahead I would like to see have Armbian support. 
</p>

<p>
	* T-Head TH1520 (quad-core Xuantie C910 processor) and etc...
</p>

<p>
	 
</p>

<p>
	I was trying to get support and I wanted to reach out. So, here I am. I am making a .<abbr title="Community supported Chip - no official support">csc</abbr> file now which hopefully one day will be a full-blown .conf file w/ xxx_defconfig support.
</p>

<p>
	 
</p>

<p>
	Seth
</p>

<p>
	 
</p>

<p>
	P.S. Please let me know what steps I need to take to get support. 
</p>
]]></description><guid isPermaLink="false">29298</guid><pubDate>Wed, 19 Jul 2023 03:39:20 +0000</pubDate></item><item><title>Star64 aka Starfive2 from Pine64 is there USB support?</title><link>https://forum.armbian.com/topic/37228-star64-aka-starfive2-from-pine64-is-there-usb-support/</link><description><![CDATA[<p>
	Finally was able to boot from:
</p>

<p>
	 
</p>

<p>
	Armbian_23.09_Starfive2_lunar_current_6.1.31.img.xz
</p>

<p>
	Which is from <a href="https://disk.yandex.ru/d/YDBZD53WnCk1Ig/ArmbianTV/20231123-current" rel="external nofollow">https://disk.yandex.ru/d/YDBZD53WnCk1Ig/ArmbianTV/20231123-current</a>
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="12082" href="https://forum.armbian.com/uploads/monthly_2024_04/starfive2.png.1c2aa705ab779026d344bed986fb17b1.png" rel=""><img alt="starfive2.thumb.png.7981a46356d68361451e6eccdf377f4e.png" class="ipsImage ipsImage_thumbnailed" data-fileid="12082" data-ratio="115.03" width="652" src="https://forum.armbian.com/uploads/monthly_2024_04/starfive2.thumb.png.7981a46356d68361451e6eccdf377f4e.png" /></a>
</p>

<p>
	 
</p>

<p>
	So the board works, but there seems to be no USB support?
</p>

<p>
	I tried to boot from the image from the Armbian site <a href="https://www.armbian.com/star64/" rel="external nofollow">https://www.armbian.com/star64/</a>
</p>

<p>
	But it will not boot at all. What am I doing wrong?
</p>
]]></description><guid isPermaLink="false">37228</guid><pubDate>Thu, 04 Apr 2024 14:18:51 +0000</pubDate></item><item><title>Can't install kernel-headers on Armbian Linux nezha 5.19.17-d1</title><link>https://forum.armbian.com/topic/33240-cant-install-kernel-headers-on-armbian-linux-nezha-51917-d1/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	 
</p>

<p>
	I have compiled a boot image for MangoPi Pro D1 from the source code at the link
</p>

<p>
	<a href="https://github.com/chainsx/armbian-riscv-build" rel="external nofollow">https://github.com/chainsx/armbian-riscv-build</a>
</p>

<p>
	 
</p>

<p>
	these sources, as I understand it, are based on:<br />
	<a href="https://github.com/150balbes/build" rel="external nofollow">https://github.com/150balbes/build</a>
</p>

<p>
	 
</p>

<p>
	The image is working, but I can't install Kernel Headers
</p>

<p>
	 
</p>

<p>
	Console displays me the following message:
</p>

<p>
	max@nezha:~$ sudo apt install linux-headers-$(uname -r)<br />
	Reading package lists... Done<br />
	Building dependency tree... Done<br />
	Reading state information... Done<br />
	E: Unable to locate package linux-headers-5.19.17-d1<br />
	E: Couldn't find any package by glob 'linux-headers-5.19.17-d1'
</p>

<p>
	 
</p>

<p>
	Which way should we move and dig to resolve the issue?
</p>

<p>
	 
</p>

<p>
	cat /proc/version
</p>

<p>
	Linux version 5.19.17-d1 (root@jammy-vm) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #riscv Sun Jan 14 14:33:15 +04 2024
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">33240</guid><pubDate>Mon, 15 Jan 2024 13:14:39 +0000</pubDate></item><item><title>RISC-V Topi images</title><link>https://forum.armbian.com/topic/32224-risc-v-topi-images/</link><description><![CDATA[<p>
	I wanted to ask you why the RISC-V images are missing and in particular in one case the previous ones are also missing, e.g. <a href="https://imola.armbian.com/archive/mangopi-mq/archive" rel="external nofollow">https://imola.armbian.com/archive/mangopi-mq/archive</a>
</p>
]]></description><guid isPermaLink="false">32224</guid><pubDate>Sun, 03 Dec 2023 22:55:56 +0000</pubDate></item><item><title>How to compile RNNoise for RISC-V 64</title><link>https://forum.armbian.com/topic/31347-how-to-compile-rnnoise-for-risc-v-64/</link><description><![CDATA[<p>
	The RNNoise code and instructions for compiling it are located at <a href="https://gitlab.xiph.org/xiph/rnnoise" rel="external nofollow">https://gitlab.xiph.org/xiph/rnnoise</a> and highlight the latest addition of Jean-Marc Valin, a developer who I can never thank enough for the work he has done. Two years have passed since the highlighted addition and therefore updated instructions on how to complete the compilation would be useful in general and not just for the hardware we have.
</p>

<p>
	 
</p>

<p>
	This is the sequence of commands:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">sudo atp update
sudo apt install autogen
sudo apt install configure-debian
sudo apt install dh-autoreconf
./autogen.sh
./configure
make -j36
sudo make install -j36</span></pre>

<p>
	 
</p>

<p>
	You will now have the RNNoise libraries installed on your system and the demo program to try them in the examples folder.
</p>

<p>
	RNNoise is an audio noise suppression library based on a recurrent neural network and it cannot be missing on the hardware used to record the human voice. Those who don’t know it yet can find the <a href="https://arxiv.org/pdf/1709.08243.pdf" rel="external nofollow">documentation on Archiv website</a> and further information on the <a href="https://hacks.mozilla.org/2017/09/rnnoise-deep-learning-noise-suppression/" rel="external nofollow">Mozilla</a> and <a href="https://jmvalin.ca/demo/rnnoise/" rel="external nofollow">Jean-Marc Valin's website</a>.
</p>

<p>
	 
</p>

<p>
	I’m sure someone will appreciate it.
</p>
]]></description><guid isPermaLink="false">31347</guid><pubDate>Sun, 05 Nov 2023 02:27:31 +0000</pubDate></item><item><title>Plans for RISC-V boards like BeagleV, Nezha RISC-V SBC and Allwinner D1 SBC?</title><link>https://forum.armbian.com/topic/18185-plans-for-risc-v-boards-like-beaglev-nezha-risc-v-sbc-and-allwinner-d1-sbc/</link><description><![CDATA[<p>
	Now that affordable RISC-V <abbr title="Single board computer">SBC</abbr>'s are appearing, are there plans to investigate and possibly support them from Armbian?
</p>

<p>
	 
</p>

<ul>
	<li>
		BeagleV: Beta version has been delivered to developers. Now runs Fedora. Price: 150 USD.
	</li>
	<li>
		Nezha RISC-V <abbr title="Single board computer">SBC</abbr>: Seems available, see <a href="https://www.cnx-software.com/2021/05/20/nezha-risc-v-linux-sbc/" rel="external nofollow">https://www.cnx-software.com/2021/05/20/nezha-risc-v-linux-<abbr title="Single board computer">sbc</abbr>/</a> . 99 USD. OS: "Tina, a fork of OpenWrt, officially supported by Allwinner, " ...
	</li>
	<li>
		D1 Linux RISC-V <abbr title="Single board computer">SBC</abbr>: promised for May, but we have to wait and see. <a href="https://www.cnx-software.com/2021/04/13/allwinner-d1-linux-risc-v-sbc-processor/" rel="external nofollow">https://www.cnx-software.com/2021/04/13/allwinner-d1-linux-risc-v-<abbr title="Single board computer">sbc</abbr>-processor/</a>
	</li>
</ul>

<p>
	 
</p>

<p>
	If it helps, I'm willing to do a small donation.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">18185</guid><pubDate>Sat, 22 May 2021 06:14:21 +0000</pubDate></item><item><title>Mango pi mq-pro fails to boot</title><link>https://forum.armbian.com/topic/28682-mango-pi-mq-pro-fails-to-boot/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I've been trying MangoPi MQ Pro images for a couple weeks now, it always fails booting with same behaviour, with the same error message.
</p>

<p>
	To me, the most important lines are those:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...</span></pre>

<p>
	 
</p>

<p>
	With my limited knowledge, my understanding is that the memory where the devicetree file is loaded gets overwritten by something else, or is loaded in memory address higher than the 512MB available on this device.
</p>

<p>
	I understand that MangoPi MQ Pro images are based on the Nezha D1 board witch is comes with 1GB of memory.
</p>

<p>
	 
</p>

<p>
	So I decided to mess a little bit with u-boot variables to confirm my assumptions. (Again I am not a developer and I'm a bit clueless on how to deal with these numbers correctly.)
</p>

<p>
	Booting this image <a href="https://github.com/armbian-beta/os/releases/download/23.8.0-trunk.52/Armbian_23.8.0-trunk.52_Mangopi-mq_lunar_edge_6.1.0-rc3.img.xz" rel="external nofollow">Armbian_23.8.0-trunk.52_Mangopi-mq_lunar_edge_6.1.0-rc3.img</a> with the default settings, I get the same invalid devicetree error.
</p>

<p>
	 
</p>

<p>
	But with the following parameters I manage to boot the kernel, well not really but the kernel at least try to start.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">etenv 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
setenv distro_bootpart 1
run mmc_boot</span></pre>

<p>
	 
</p>

<p>
	Result:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">=&gt; run mmc_boot
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
1:      Armbian
Retrieving file: /boot/uInitrd
Retrieving file: /boot/Image
append: root=UUID=6aabfef8-4a9a-4cc5-8504-710ab6b18516 console=ttyS0,115200n8 console=tty0 earlycon=sbi cma=96M rootflags=data=writeback stmmaceth=chain_mode:1 rw rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnams
Retrieving file: /boot/dtb/allwinner/sun20i-d1-nezha.dtb
## Loading init Ramdisk from Legacy Image at 88300000 ...
   Image Name:   uInitrd
   Image Type:   RISC-V Linux RAMDisk Image (gzip compressed)
   Data Size:    20125415 Bytes = 19.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
sun4i_usb_phy phy@4100400: PHY: Failed to power off phy@4100400: -38.
device_remove: Device 'usb@4200400' failed to remove, but children are gone
   Using Device Tree in place at 0000000088000000, end 0000000088009963

Starting kernel ...

[    0.000000] Linux version 6.1.0-rc3-d1 (armbian@next) (riscv64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 Thu Nov  3 04:50:15 UTC 2022
[    0.000000] Machine model: Allwinner D1 Nezha
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] INITRD: 0x88300000+0x01332000 is not a memory region - disabling initrd
[    0.000000] Unable to handle kernel paging request at virtual address ffffffd80186cae8
[    0.000000] Oops [#1]
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.1.0-rc3-d1 #1
[    0.000000] Hardware name: Allwinner D1 Nezha (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 : ffffffff8185da58 tp : ffffffff8160aac0 t0 : ffffffff80008e22
[    0.000000]  t1 : ffffffff80e002b0 t2 : ffffffff80e00330 s0 : ffffffff81603d30
[    0.000000]  s1 : ffffffd77c000001 a0 : ffffffff8185d2a8 a1 : ffffffff811c0970
[    0.000000]  a2 : ffffffff8186cae8 a3 : 0000000000000000 a4 : 0000000000000ae8
[    0.000000]  a5 : ffffffd80186cae8 a6 : 0000000000000000 a7 : 0000000000000018
[    0.000000]  s2 : ffffffff81603db0 s3 : 000000000000000d s4 : 0000000000000000
[    0.000000]  s5 : ffffffff8160aac0 s6 : 0000000000000000 s7 : 0000000000000000
[    0.000000]  s8 : 000000007ff1d180 s9 : 000000007ffb69c0 s10: 0000000000000001
[    0.000000]  s11: 0000000000000002 t3 : 7000000000000000 t4 : ffffffff80c117a0
[    0.000000]  t5 : ffffffff80c117a0 t6 : ffffffff80c117d0
[    0.000000] status: 0000000200000100 badaddr: ffffffd80186cae8 cause: 000000000000000f
[    0.000000] [</span><span class="tag">&lt;ffffffff80008e82&gt;</span><span class="pln">] do_page_fault+0x60/0x39e
[    0.000000] [</span><span class="tag">&lt;ffffffff800037c8&gt;</span><span class="pln">] 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! ]---</span></pre>

<p>
	 
</p>

<p>
	I hope this can help someone more knowledgeable than me to figure out better numbers that could lead to a fully booting MangoPI MQ Pro.
</p>
]]></description><guid isPermaLink="false">28682</guid><pubDate>Thu, 08 Jun 2023 00:10:12 +0000</pubDate></item><item><title>Mango pi mq-pro fails to boot lunar edge</title><link>https://forum.armbian.com/topic/27720-mango-pi-mq-pro-fails-to-boot-lunar-edge/</link><description><![CDATA[<p>
	Hi everyone! I tried to boot both Lunar and Sid and got similar UART-console output:
</p>

<p>
	<a class="ipsAttachLink" data-fileid="10150" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=10150&amp;key=81a7508cd80c07fa13be5449c342db35" data-fileext="log" rel="">Armbian_23.05.0-trunk-e33842ef2_Mangopi-mq_lunar_edge_6.1.0-rc3.boot.log</a>
</p>

<p>
	 I noticed that "/boot/<abbr title="Device tree blob">dtb</abbr>/allwinner/sun20i-d1-nezha.<abbr title="Device tree blob">dtb</abbr>" is wrong choise, found it in extlinux.conf and changed it like this(hope commenting out strings works here):
</p>

<pre class="ipsCode">label Armbian
  kernel /boot/Image
  initrd /boot/uInitrd
#  fdt /boot/dtb/allwinner/sun20i-d1-nezha.dtb
  fdt /boot/dtb/allwinner/sun20i-d1-mangopi-mq-pro.dtb
  append root=UUID=5e7413f7-b308-4843-b9a9-063d99cb1700 console=ttyS0,115200n8 console=tty0 earlycon=sbi cma=96M rootflags=data=writeback stmmaceth=chain_mode:1 rw rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles</pre>

<p>
	 
</p>

<p>
	the result was like this(this is just a tail of log):
</p>

<p>
	<a class="ipsAttachLink" data-fileid="10149" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=10149&amp;key=3e394f985f5a496807847dca0ddc6e03" data-fileext="log" rel="">lunar_edge_tail.log</a>
</p>

<p>
	 
</p>

<p>
	Am I on the right path?
</p>
]]></description><guid isPermaLink="false">27720</guid><pubDate>Mon, 03 Apr 2023 15:36:12 +0000</pubDate></item><item><title>MCP2515 CAN Controller on Allwinner D1 (MangoPi Mqpro)</title><link>https://forum.armbian.com/topic/29617-mcp2515-can-controller-on-allwinner-d1-mangopi-mqpro/</link><description><![CDATA[<p>
	Hi Guys!
</p>

<p>
	 
</p>

<p>
	This is my fist post on this forum. I have been spending a lot of time these days to make the MCP2515 CAN Controller on the RISCV computer, but I am not able to make it work even if everything seems to be on place. It is obvious that I am not understanding something correclty and that is why is not working. I am using the <a href="https://mangopi.org/mqpro" rel="external nofollow">MangoPi Mqpro</a> that has the SPI port on the 40 pin connector.<br />
	<br />
	Right now is not possible to add overlays on mangopi with the arbiam, but I managed to upload my custom overlays using the grub and Ubuntu, that part is not relevant for the topic. Let's assume for the topic that I am able to upload overlays and they are correctly applied on device tree.
</p>

<p>
	 
</p>

<p>
	### Connections
</p>

<p>
	 
</p>

<p>
	The SPI interface is defined as follows, extracted from /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">pin 106 (PD10): device 4026000.spi function spi1 group PD10
pin 107 (PD11): device 4026000.spi function spi1 group PD11
pin 108 (PD12): device 4026000.spi function spi1 group PD12
pin 109 (PD13): device 4026000.spi function spi1 group PD13
pin 110 (PD14): device 4026000.spi function spi1 group PD14
pin 111 (PD15): device 4026000.spi function spi1 group PD15
pin 112 (PD16): device 2000c00.pwm function pwm group PD16
pin 113 (PD17): device spi1.0 function irq group PD17</span></pre>

<p>
	<br />
	 
</p>

<p>
	Basically is connected to the SPI interface of the MCP2515, and the interrupt is connected to PD17.
</p>

<p>
	 
</p>

<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
	<tbody>
		<tr>
			<td>
				SPI_INT
			</td>
			<td>
				PD17
			</td>
		</tr>
		<tr>
			<td>
				SPI_SCK
			</td>
			<td>
				PD11
			</td>
		</tr>
		<tr>
			<td>
				SPI_SI
			</td>
			<td>
				PD12
			</td>
		</tr>
		<tr>
			<td>
				SPI_SO
			</td>
			<td>
				PD13
			</td>
		</tr>
		<tr>
			<td>
				SPI_CS
			</td>
			<td>
				PD10
			</td>
		</tr>
	</tbody>
</table>

<p>
	 
</p>

<p>
	The overlay that I am applying is the next one:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,d1-nezha\0allwinner,sun20i-d1";

	fragment@0 {
		target-path = "/clocks";
		__overlay__ {
			#address-cells = &lt;1&gt;;
			#size-cells = &lt;1&gt;;
            /* External crystal oscillator on the board */
			can0_osc_fixed: can0_osc_fixed {
				compatible = "fixed-clock";
                #clock-cells = &lt;0&gt;;
                clock-frequency  = &lt;8000000&gt;;
                phandle = &lt;0x81&gt;;
			};
		};
	};

	fragment@1 {
		target = &lt;&amp;pinctrl&gt;; // pinctrl@2000000
		__overlay__ {
			can0_pin_irq: can0_pin_irq {
				pins = "PD17";
                function = "irq";
                phandle = &lt;0x85&gt;;
			};
		};
	};

	fragment@2 {
		target = &lt;&amp;spi&gt;;   //spi@4026000
		__overlay__ {
			#address-cells = &lt;1&gt;;
			#size-cells = &lt;0&gt;;
			status = "okay";
			mcp2515 {
				reg = &lt;0&gt;;		// SPI 1
                compatible = "microchip,mcp2515";
                pinctrl-names = "default";
                pinctrl-0 = &lt;0x85&gt;;
                spi-max-frequency = &lt;10000000&gt;;
                interrupt-parent = &lt;0x22&gt;; // pinctrl@2000000
                interrupts = &lt;0 113 2&gt;; // IRQ LINE, try with &lt;0 65 2&gt;
                clocks = &lt;0x81&gt;;
                status = "okay";
			};
		};
	};
};</span></pre>

<p>
	 
</p>

<p>
	However when I boot up I look to the interrupts and there is nothing related to the irq line for the CAN/spi, output of /proc/interrupts:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">           CPU0       
  2:      79503  sun20i-intc  75 Edge      timer@2050000
  3:          0  sun20i-intc 109 Edge      5500000.hdmi, dw-hdmi-cec
  4:          0  sun20i-intc  25 Edge      mv64xxx_i2c
  5:          0  RISC-V INTC   5 Edge      riscv-timer
  6:         14  sun20i-intc  68 Edge      sun8i-ce-ns
  7:          0  sun20i-intc  47 Edge      ohci_hcd:usb3
 74:          0  sun20i-intc  31 Edge      sun6i-spi
 78:       5926  sun20i-intc  74 Edge      ths
 79:          0  sun20i-intc  50 Edge      ohci_hcd:usb4
 80:          0  sun20i-intc  46 Edge      ehci_hcd:usb1
 81:       1336  sun20i-intc  18 Edge      ttyS1
 82:     189890  sun20i-intc  57 Edge      sunxi-mmc
 83:          0  sun20i-intc  82 Edge      1c0e000.video-codec
 84:          0  sun20i-intc  80 Edge      2010000.iommu
 85:          0  sun20i-intc 107 Edge      5470000.lcd-controller
 88:          0  sun20i-intc  49 Edge      ehci_hcd:usb2
 89:          0  sun20i-intc 160 Edge      7090000.rtc
 90:          2  sun20i-intc  27 Edge      mv64xxx_i2c
 98:          0  sun20i-intc  45 Edge      musb-hdrc.2.auto
101:       8630  sun20i-intc  56 Edge      sunxi-mmc
109:          0  sun20i-intc  66 Edge      3002000.dma-controller
111:          4  sun20i-intc  32 Edge      sun6i-spi
112:          0  sun20i-intc  77 Edge      sun4i-a10-lradc-keys
113:          0  sun20i-intc 106 Edge      5461000.lcd-controller
114:          7  sun20i-intc 167 Edge      sunxi-ir
119:          0  sun20i-intc  36 Edge      2008000.led-controller
204:          1  sunxi_pio_edge  84 Edge      usb0-vbus-det
205:          1  sunxi_pio_edge  85 Edge      usb0-id-det
254:          1  sunxi_pio_edge 134 Edge      4020000.mmc cd
IPI0:         0  Rescheduling interrupts
IPI1:         0  Function call interrupts
IPI2:         0  CPU stop interrupts
IPI3:         0  IRQ work interrupts
IPI4:         0  Timer broadcast interrupts</span></pre>

<p>
	<br />
	Some outputs from the Kernel:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[   52.133406] CAN device driver interface
[   52.918270] mcp251x spi1.0 can0: MCP2515 successfully initialized.
[ 1163.417322] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
[ 1182.919088] can: controller area network core
[ 1182.919249] NET: Registered PF_CAN protocol family
[ 1183.000429] can: raw protocol</span></pre>

<p>
	 
</p>

<p>
	And after booting I run the next:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ sudo ip link set can0 up type can bitrate 500000
$ sudo ifconfig can0 up
$ sudo cansend can0 5A1#00.01.02.03.04</span></pre>

<p>
	 
</p>

<p>
	This configuration is not working because when I try to connect, I am not receiving anything.
</p>

<p>
	 
</p>

<p>
	I suppose that I am not configuring correctly the interrupt line of the IRQ of SPI. My knowledge on this is very narrow, and I am not able to understand what is failing. All the feedback is totally welcome. I can give more documentation if my explanation is not complete enought.
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">29617</guid><pubDate>Wed, 09 Aug 2023 12:54:31 +0000</pubDate></item><item><title>Mango Pi MQ-Pro (D1) Device Tree. Try to "okay" serial</title><link>https://forum.armbian.com/topic/29626-mango-pi-mq-pro-d1-device-tree-try-to-okay-serial/</link><description><![CDATA[<p>
	Hello everyone <span><img alt=":)" data-emoticon="" height="20" src="https://forum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://forum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>

<p>
	<span>I have some trouble with device tree from Mango Pi. There is no overlays in Mango Pi D1: armbian-add-overlay file.<abbr title="Device tree source">dts</abbr> =&gt; output: D1 is not support for overlays.</span>
</p>

<p>
	When start board, command <strong>dmesg | grep serial</strong> output: @2500000.serial and @2500400.serial. It's okay.
</p>

<p>
	When I decompiled sun20i-d1-nezha.<abbr title="Device tree blob">dtb</abbr> file I saw that serial@2500000 and serial@2500400 status = "okay", other serials status = "disable". There are serials: 2500000,2500400,2500800,2500c00,2501000,2501400.
</p>

<p>
	So I try, for example, to change status for serial@2500800 from disable to okay. After <strong><abbr title="Device tree compiler">dtc</abbr> -I <abbr title="Device tree source">dts</abbr> -O <abbr title="Device tree blob">dtb</abbr></strong> to the /boot/<abbr title="Device tree blob">dtb</abbr>/allwiner then I did reboot and <strong>dmesg | grep serial</strong> output only serial@2500000 and serial@2500400, there is no 2500800.
</p>

<p>
	What's the problem?:(
</p>
]]></description><guid isPermaLink="false">29626</guid><pubDate>Thu, 10 Aug 2023 04:42:59 +0000</pubDate></item><item><title>Armbian 23.8 Lunar CLI does not boot on MangoPi MQ-Pro, Can't seem to find a valid device tree.</title><link>https://forum.armbian.com/topic/28850-armbian-238-lunar-cli-does-not-boot-on-mangopi-mq-pro-cant-seem-to-find-a-valid-device-tree/</link><description><![CDATA[<p>
	Downloaded Armina 23.8 Lunar CLI version and used the Raspberry Pi imager to push it to a 32G SD card. (I use a mac).
</p>

<p>
	 
</p>

<p>
	It still does not boot, here is the log file that it produces.... 
</p>

<p>
	 
</p>

<p>
	Can't find a valid device tree.
</p>

<p>
	 
</p>
<p>
<a class="ipsAttachLink" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=10448&amp;key=195af75bf2a2ee1f2a504c0d2de38f10" data-fileExt='txt' data-fileid='10448' data-filekey='195af75bf2a2ee1f2a504c0d2de38f10'>MangoPiBootlog.txt</a></p>]]></description><guid isPermaLink="false">28850</guid><pubDate>Sat, 17 Jun 2023 15:03:27 +0000</pubDate></item><item><title>RISC V Mango Pie Pink V1.4 Use for power monitoring system?</title><link>https://forum.armbian.com/topic/28720-risc-v-mango-pie-pink-v14-use-for-power-monitoring-system/</link><description><![CDATA[<p>
	I have recently taken on the somewhat challenging task of creating a power monitoring system similar to an IoTaWatt. I have been doing research on the topic and have concluded that a RISC V Mango Pi Pink V1.4 would be a viable board to get the job done. However I still need some assistance from people with more knowledge than me on the topic.<br />
	I have several questions that i would greatly appreciate if answered.<br />
	Is the RISC V Mango Pi Pink V1.4 capable of running Armbian with processing power to spare?<br />
	Is the RISC V Mango Pi Pink V1.4 a powerful enough computer to take several inputs and graph them?<br />
	Does anyone have any tips on how you would go about making a system similar to IoTaWatt?
</p>

<p>
	Can anyone explain what is really being said on the git hub? I have never used it and have on idea what is what.<br />
	<br />
	IoTaWatt Homepage - <a href="https://iotawatt.com/" rel="external nofollow">https://iotawatt.com/</a>
</p>

<p>
	IoTaWatt Github - <a href="https://github.com/boblemaire/IoTaWatt" rel="external nofollow">https://github.com/boblemaire/IoTaWatt</a><br />
	<br />
	 
</p>

<p>
	 
</p>

<p>
	Thank you to anyone who can help. <span><img alt=":)" data-emoticon="" height="20" src="https://forum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://forum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>
]]></description><guid isPermaLink="false">28720</guid><pubDate>Sun, 11 Jun 2023 10:06:42 +0000</pubDate></item><item><title>VisionFive 2: Chrony doesn't run - kernel missing seccomp?</title><link>https://forum.armbian.com/topic/28142-visionfive-2-chrony-doesnt-run-kernel-missing-seccomp/</link><description><![CDATA[<p>
	On Armbian_23.5.0-trunk.140_Visionfive2_lunar_edge_5.15.0.img.xz <strong>chrony</strong> fails to start:
</p>

<p>
	 
</p>

<p>
	May 02 23:24:48 visionfive2 systemd[1]: Starting chrony.service - chrony, an NTP client/server...<br />
	May 02 23:24:48 visionfive2 chronyd[1874]: chronyd version 4.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGN&gt;<br />
	May 02 23:24:48 visionfive2 chronyd[1874]: Using right/UTC timezone to obtain leap second data<br />
	May 02 23:24:48 visionfive2 chronyd[1874]: Fatal error : Failed to load seccomp rules<br />
	May 02 23:24:48 visionfive2 chronyd-starter.sh[1872]: Failed to load seccomp rules<br />
	May 02 23:24:48 visionfive2 systemd[1]: chrony.service: Control process exited, code=exited, status=1/FAILURE<br />
	May 02 23:24:48 visionfive2 systemd[1]: chrony.service: Failed with result 'exit-code'.<br />
	May 02 23:24:48 visionfive2 systemd[1]: Failed to start chrony.service - chrony, an NTP client/server.<br />
	 
</p>

<p>
	So I am using <strong>ntpdate</strong> (from ntpsec-ntpdate) at boot.
</p>
]]></description><guid isPermaLink="false">28142</guid><pubDate>Wed, 03 May 2023 08:47:36 +0000</pubDate></item><item><title>Armbian_23.05.0.0027_Visionfive2_lunar_edge_5.15.0_minimal.img not booting from microSD</title><link>https://forum.armbian.com/topic/27866-armbian_230500027_visionfive2_lunar_edge_5150_minimalimg-not-booting-from-microsd/</link><description><![CDATA[<p>
	Works with flash boot select, switches            00 Flash
</p>

<p>
	won't boot directly from microSD, switches   01 SD
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">27866</guid><pubDate>Thu, 13 Apr 2023 00:40:56 +0000</pubDate></item><item><title>Building the Armbian for MangoPi Pro (D1)</title><link>https://forum.armbian.com/topic/25613-building-the-armbian-for-mangopi-pro-d1/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	 
</p>

<p>
	I'm trying to build <span><a contenteditable="false" data-ipshover="" data-ipshover-target="https://forum.armbian.com/profile/1215-balbes150/?do=hovercard" data-mentionid="1215" href="https://forum.armbian.com/profile/1215-balbes150/" rel="">@balbes150</a>'s <a href="https://github.com/150balbes/build/tree/risc-v" rel="external nofollow">risc-v branch</a> of Armbian and put it into /dev/sdb 32GB SD card.</span>
</p>

<p>
	<span>I'm using Ubuntu 22.04.</span>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">./compile.sh BOARD=nezha BRANCH=current RELEASE=sid BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no CARD_DEVICE="/dev/sdb"</span></pre>

<p>
	 
</p>

<p>
	It went well, the card seems OK to me.
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda       8:0    0 931,5G  0 disk
└─sda1    8:1    0 931,5G  0 part
sdb       8:16   1  28,9G  0 disk
├─sdb1    8:17   1   256M  0 part
└─sdb2    8:18   1   2,7G  0 part /media/slavek/c4be3c21-ec0c-4ccb-a9ec-f310583febf9</span></pre>

<p>
	 
</p>

<p>
	When I try to boot my Mang<abbr title="Orange Pi"><abbr title="Orange Pi">oPi</abbr></abbr> Pro (D1) from it, I see no output on HDMI.
</p>

<p>
	I might need to add a bootloader to the card? How do I do it?
</p>

<p>
	Could some of Armbian gurus help me please?
</p>

<p>
	 
</p>

<p>
	Thank you, JP
</p>
]]></description><guid isPermaLink="false">25613</guid><pubDate>Thu, 05 Jan 2023 20:00:27 +0000</pubDate></item></channel></rss>
