Jump to content

Solved: No SPI device


scolbeck

Recommended Posts

On a Rock 5B, I installed Armbian 23.11 Bookworm CLI via a SD card and now trying to setup boot via the NVMe drive.  I followed the instructions on https://www.armbian.com/rock-5b/ to create a partition on the NVMe drive, format it, then tried `armbian-install` to boot from SPI.

 

However armbian-install does not list the option to "Boot from SPI".  It shows only the following options:

1 Boot from SD - system on SATA, USB, or NVMe
5 Install/Update the bootloader on SD/eMMC

 

I then noticed I do not have a SPI device.  /dev/mtdblock0 doesn't exist as well as "cat /proc/mtd" is empty.

 

# ls /dev/mtd*
ls: cannot access '/dev/mtd*': No such file or directory

# cat /proc/mtd
dev:    size   erasesize  name

# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk1     179:0    0 29.7G  0 disk
├─mmcblk1p1 179:1    0  256M  0 part /boot
└─mmcblk1p2 179:2    0 29.2G  0 part /var/log.hdd
                                     /
zram0       251:0    0  7.7G  0 disk [SWAP]
zram1       251:1    0   50M  0 disk /var/log
zram2       251:2    0    0B  0 disk
nvme0n1     259:0    0  3.7T  0 disk
└─nvme0n1p1 259:1    0   10G  0 part

 

# dmesg | grep -i spi
[    0.000000] GICv3: 480 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.679958] spi spi0.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/regulators/dcdc-reg7
[    0.679996] spi spi0.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs3-null-pins
[    0.680004] spi spi0.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs2-null-pins
[    0.680011] spi spi0.0: Fixed dependency cycle(s) with /spi@feb20000/pmic@0/dvs1-null-pins

 

Is there something I need to do such as specifying a dtoverlay to enable SPI?  Thanks in advance for your help.

Link to comment
Share on other sites

Looked to be a problem with 6.7.0-rc1-edge-rockchip-rk3588 kernel.  I tried downgrading the kernel to 6.5.0-rc5-edge-rockchip-rk3588 but it wouldn't boot.  However changing to nightly kernel 6.8.0-rc1-edge-rockchip-rk3588 looked to fix the problem.

Link to comment
Share on other sites

  • scolbeck changed the title to Solved: No SPI device

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