Jump to content

Orange Pi RV2


Go to solution Solved by sven-ola,

Recommended Posts

Posted (edited)

Hello @Eule - what was you solution? When I had to guess: remove SD card to trigger eMMC boot?

 

@Logan There's a real large bunch of reasons, why you where not able to install. That screen shot probably does not show any hints. Copy and paste your terminal session where you hacked in installation commands to a text file. Then post it here as attachment, then I may be able to help. 

 

Best // Sven-Ola

Edited by sven-ola
Posted (edited)

I flashed gnome desktop from your website.
GPU script yields this error:
```

Preparing to unpack .../armbian-firmware_26.2.1_all.deb ...
Unpacking armbian-firmware (26.2.1) over (26.02.0-trunk) ...
dpkg: error processing archive /var/cache/apt/archives/armbian-firmware_26.2.1_all.deb (--unpack):
 unable to open '/lib/firmware/qcom/sm8550/ayn/odin2mini/a740_zap.mbn.dpkg-new': No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/armbian-firmware_26.2.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Edited by VBB
Posted (edited)

To fix that error I removed `/lib/firmware/qcom/sm8550/ayn/odin2mini` and other 2 symlinks. run `ls -la /lib/firmware/qcom/sm8550/ayn/` to show them.
I ran the script and did a reboot. Now I'm in the uboot command line and I see this error:
```

no nvme partition table available
[  10.473] Couldn't find partition nvme 0:1
[  10.477] Couldn't find partition nvme 0:1
[  10.481] Couldn't find partition nvme 0:1
[  10.485] Couldn't find partition nvme 0:1
[  10.489] Couldn't find partition nvme 0:1
```
I only have sd card plugged in.

Also this:
```

[   4.478] Retrieving file: /boot/extlinux/extlinux.conf
[   4.510] 1:    Armbian-unofficial
[   4.510] Retrieving file: /boot/uInitrd
[   5.712] Retrieving file: /boot/Image
[   8.067] append: root=UUID=818a9fb1-4820-445e-9c18-e94a975ca969 earlycon=sbi console=tty1 console=ttyS0,115200 loglevel=1 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
[   8.086] Retrieving file: /boot/dtb/spacemit/k1-orangepi-rv2.dtb
[   8.133] ** File not found /boot/dtb/spacemit/k1-orangepi-rv2.dtb **
[   8.136] Skipping Armbian-unofficial for failure retrieving FDT
[   8.150] pcie_dw_k1x pcie@ca400000: has no power-on-status flag, use default.
[   8.155] Now init Rterm...
[   8.157] pcie prot id = 1, porta_init_done = 0
[   8.161] Now waiting portA resister tuning done...

 

```
In `/boot/extlinux/extlinux.conf` I renamed `k1-orangepi-rv2.dtb` to `k1-x-orangepi-rv2.dtb` and it did let me to boot into DE. Kernel has probably updated incorrectly. `uname -r` and boot log shows 6.6.99-current-spacemit. Wifi module doesn't work either.
```
# inxi -G

Graphics:
  Device-1: saturn-le driver: spacemit_drm_drv v: N/A
  Device-2: hdmi driver: spacemit_hdmi_drv v: N/A
  Device-3: saturn-hdmi driver: spacemit_drm_drv v: N/A
  Display: server: X.Org v: 23.2.6 with: Xwayland v: 23.2.6 driver: N/A
    resolution: 1920x1080~75Hz
  API: EGL v: 1.4,1.5 drivers: pvr,swrast,zink
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 3.3 compat-v: 2.1 vendor: mesa v: 24.0.1 renderer: softpipe
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: N/A
```
I was able to update the kernel by installing `linux-kernel-edge-spacemit` and `linux-headers-edge-spacemit`, but wifi module still doesn't work. `bcmdhd-spacemit-sdio-dkms` is intalled though

Edited by VBB
Posted

Ah - sorry for the confusion. Those Armbian*.img files are pre-installed. Means: the GPU stuff is already there. I am not sure what happens, if you run that GPU install again (I need to investigate, give me an hour). 

Posted (edited)

Aiee! Installed my old "Noble" image. Updating will remove kernel 6.18.18 and install 6.6.99 and also has the error in the firmware package as decribed above by @VBB. Also, that funny "cli.github.com/packages" repo does not work. While that kernel downgrade is probably caused by linux-image-current-spacemit moved from 6.6.99 to 6.18.x recently (and the Armbian repos are out of date somehow) that firmware package should update without any errors. Will need time to sort this out. Anyhow, the "Noble" image works with GPU-activated Gnome desktop as long as you do not update (downgrade)...

Edited by sven-ola
Posted

@sven-ola Hi sven-ola!

Thanks a ton for making RV2 work on Armbian!

I'll go about trying to make an RV2 start for the first time shortly. Interfacing it via the serial port is fine, and equally fine is connecting it via HDMI and USB to screen and keyboard, right?

 

As for boot media, will booting the Armbian Debian image from a USB storage device work out of the box or must I install some image on an onboard flash chip first, if so what's the URL to that?


And then: Do you think it makes any sense for me to use the Armbian Edge which has kernel 6.19 right now, does it seem stable? If so can you provide an URL to it (upload it on armbian.org or mega.nz etc.)

On SpaceMIT's mainlining page https://github.com/spacemit-com/linux/wiki#user-content-K1_SoC I see that the PCI support got an update in 6.19, would this be a reason to use Armbian Edge. This URL is linked: https://lore.kernel.org/all/20251013153526.2276556-1-elder@riscstar.com/ . I have no idea if this update has been backported to the 6.18 kernel used.


The 6.19 and 6.18 kernels used, where are they taken from actually? At least for 6.18 I think the repo is https://github.com/jmontleon/linux-spacemit/ or https://github.com/spacemit-com/linux-k1x , do you use it?

 

And for clarity, there is no Armbian with Linux 7.1 yet right?

Otherwise just downloading the Armbian with 6.18 from https://armbian.com/boards/orangepirv2 . For CLI and packages and no desktop, the Debian flavour is preferable I guess.

At this point do you think PCI and USB interfaces are stable in Armbian or Armbian Edge?

 

Thanks!

Posted (edited)

@Werner Do you think Armbian Edge with Linux 7.1 is available and works on OrangePI RV2 already?  If so I'd love to get that image. As I understand it the SoC's support has been fully mainlined in Linux 7.  

(By the way request to admin to lift my messaging quota. Will edit this request away in a few hours.)


I just checked inside Armbian Imager, and Armbian Edge is not available there - the same two images as are on https://armbian.com/boards/orangepirv2 are in there, that's all.

Edited by armfan

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines