[230526] System Release Notice for ROCK 5B

I’ve installed rock-5b_debian_bullseye_kde_b33.img.xz to an nvme ssd with xzcat rock-5b_debian_bullseye_kde_b33.img.xz | sudo dd status=progress of=/dev/nvme0n1 but the image will not boot.

The following is outputted over the serial connection:

U-Boot 2017.09-g77a5f377ab-230203-dirty # (May 10 2023 - 19:09:20 +0000)

Model: Radxa ROCK 5B
PreSerial: 2, raw, 0xfeb50000
DRAM: 15.7 GiB
Sysmem: init
Relocation Offset: eda43000
Relocation fdt: eb9f94c0 - eb9fecb8
CR: M/C/I
Using default environment

SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2

Unknown partition table type 0

PartType:
DM: v2
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
No find valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
In: serial
Out: serial
Err: serial
Model: Radxa ROCK 5B
rockchip_set_ethaddr: vendor_storage_write failed -5
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 24000 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 24000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: No ethernet found.
Hit key to stop autoboot(‘CTRL+C’): 0
pcie@fe150000: PCIe Linking… LTSSM is 0x1
pcie@fe150000: PCIe Linking… LTSSM is 0x210022
pcie@fe150000: PCIe Linking… LTSSM is 0x210022
pcie@fe150000: PCIe Linking… LTSSM is 0x210023
pcie@fe150000: PCIe Link up, LTSSM is 0x230011
pcie@fe150000: PCIE-0: Link up (Gen3-x4, Bus0)
pcie@fe150000: invalid flags type!

Device 0: Vendor: 0x144d Rev: 5B2QGXA7 Prod: S69ENX0T905294H
Type: Hard Disk
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
… is now current device
Scanning nvme 0:2…
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
fs_devread read outside partition 7971496441811425088
Failed to mount ext2 filesystem…
** Unrecognized filesystem type **
Error reading config file
SCRIPT FAILED: continuing…
no mmc device at slot 1
no mmc device at slot 0

Device 2: Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor
Type: Hard Disk
Capacity: 16.0 MB = 0.0 GB (32768 x 512)
… is now current device
** No partition table - mtd 2 **

Device 1:
Device 0: unknown device
starting USB…
No working controllers found
USB is stopped. Please issue ‘usb start’ first.
starting USB…
No working controllers found
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: /boot/extlinux/pxelinux.cfg/00000000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/0000000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/000000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/00000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/0000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/000
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/00
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/0
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm-rockchip
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: /boot/extlinux/pxelinux.cfg/default
No ethernet found.
Config file not found
starting USB…
No working controllers found
No ethernet found.
Could not get mtd 0

Booting FIT Image FIT: No boot partition

FIT: No fit blob
FIT: No FIT image

What must I do to actually boot with this image?

Failed to mount ext2 filesystem…

So it’s better to have fat32 boot partition.

I dd the image to the disk. Why are the image boot files under an ext4 partition? The boot partition of the image file is too small to simple move them there. How was this image supposed to be booted? Since I didn’t create it I’m asking here :slight_smile:

It should be the issue of this image. I don’t know much about it.

The issue is in the SPI bootloader. We should provide an update to it shortly.

1 Like

Please use the latest ROCK 5B SPI image.

Note: https://wiki.radxa.com/Rock5/install/spi

Need this patch to fix Failed to mount ext2 filesystem…

Other commits related to nvme/ext4.

New spi boot-loader.
Is the boot preference now sd-card , usb,nvme ?

How do you enable pwm output with this image? The guide about hardware configuration is not functioning. I need PWM8_M0 to control a 5V pwm fan.

Here is our new documentation. If you want to enable the fan header, you need to change this option.

New spi boot-loader.
Is the boot preference now sd-card , usb,nvme ?

any answer to my question ?

Here is the default boot order.

Subject: Seeking Guidance for CAN Communication with Arduino and MCP2515 Module

Hello everyone,

I’m reaching out to seek guidance regarding my project involving CAN communication with an Arduino using an MCP2515 module. I have successfully enabled the SPI overlay through rsetup on my device a ROCK 5 Model B, but I’m unsure about the next steps to ensure proper functionality.

I would greatly appreciate any insights or suggestions on where I should focus my efforts to make the CAN communication work seamlessly. If you have any experience or knowledge in this area, I would be grateful for your assistance. Specifically, I would like to understand the necessary configurations, libraries, and code examples that could help me establish a reliable CAN communication between the Arduino and the MCP2515 module.

Thank you in advance for your support. I’m eager to learn and make progress on this project, and your expertise would be invaluable to me.

Best regards

This is a known issue, and we are currently working with Rockchip to resolve it.

Thanks for the reply.

What currently the issue ?
And does that means there is, at this moment, no way to enable a CAN communication with ROCK5B ?

Thank you all for your time and any assistance you can provide. I’m really eager to find a solution and make CAN communication work on ROCK5B.

Best regards,

Right now it seems that the included driver for MCP2515 is broken in Rockchip kernel. We tested with upstream Linux 6.1 and it worked fine. We are looking to backport it.

The system I am currently working on is Linux rock-5b 5.10.110-11-rockchip #8c4e8d205.

Quite disappointed with my rock pi’s collecting dust as they are still unstable and not much of functionality is implemented. Even simple things as transferring a larger file over FTP caused network to reset on the rock pi. I recently also had to change my Cardano testnet pool from a rock pi due to stability issues as well. Great hardware on paper but the software support has been very slow.

This is a Rock 5 forum

1 Like

Yeah sorry to be specific my rock 5b boards (all 12) have had stability issues and closest I have had for usecase is simple low i/o operations with the ubuntu server image. Anything more advanced say kodi or as a book library and it fails on for example larger file transfers (suspect not good network driver implementations so far). Good luck booting with nvme+wireless with any regularity either. Just my honest impressions after well over half a year with the boards. Happy if others got it working for them.