[230526] System Release Notice for ROCK 5B

Thank you for the fast reply. It may be a stupid question but how can I enable an overlay in rsetup ?

Thank you very much

Hi all, could you please tell me what is the max CPU freq on this system?

It is 2.4Ghz, just off memory some cores are 1.8 and others 2.4

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,