Jump to content

Armbian Armbian 23.02.2 Jammy with Linux 5.15.93-rockchip64 on (rockpi-4b plus v.1.72)


Recommended Posts

Posted (edited)

Опубликовано: только что · Hidden - This content must be approved before it can be edited.

HOT NEWS!!!

With Armbian Armbian 23.02.2 Jammy with Linux 5.15.93-rockchip64 on (rockpi-4b plus v.1.72)
Add (do it elso on all booting fevices = MMC, NVME, MPD, SD) the following lines to /boot/armbianEnv.txt

overlays=spi-jedec-nor

param_spinor_spi_bus=1

Reboot

If you shorted 23-25 pins in 1.) then:

disconnect them after the ROCK Pi 4 fully boot's 

enable spi-nor by executing (as root):
echo spi1.0 > /sys/bus/spi/drivers/spi-nor/bind

verify that the SPI mtd interface is enabled by running
ls /dev/mtdblock0

if the last command does not list any file then something went wrong between 3.) and 5.)

Run sudo nand-sata-install

choose option: "Boot from SPI or MPD - system on SATA, USB or NVMe"

choose NVMe partition, eg. /dev/nvme0n1p1

accept erasing of the choosen partition with "Yes"

choose fs type (tested with ext4)

wait a few minutes for rootfs transfer to chosen partition

choose writing SPI bootloader with "Yes"

confirm that you want to flash it with "Yes"

wait ~60 seconds for writing

choose Exit

IN /boot/armbianEnv.txt choose your needing booting UUID, use command:

sudo blkid

it look like this:

/dev/nvme0n1p1: UUID="ca927a6a-b2f0-4184-ab0f-5719e34172db" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="19354531-01"
/dev/mmcblk1p1: LABEL="armbi_root" UUID="cfd67d21-5d00-4032-823e-b68830ca3543" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="22fbd54f-01"
/dev/zram0: UUID="de7c0efa-e9cc-11ed-885d-c3fae5811b14" TYPE="swap"
/dev/zram1: LABEL="log2ram" UUID="906b40da-e43c-4971-bff5-e9e402eada77" BLOCK_SIZE="4096" TYPE="ext4"

in /boot/armbianEnv.txt look like it: sudo nano /boot/armbianEnv.txt

verbosity=1
bootlogo=true
overlay_prefix=rockchip
fdtfile=rockchip/rk3399-rock-pi-4b.dtb
rootdev=UUID=ca927a6a-b2f0-4184-ab0f-5719e34172db
rootfstype=ext4
overlays=spi-jedec-nor
param_spinor_spi_bus=1

usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

Reboot

Enjoy Armbian booting with SPI / NVMe

sudo curl https://raw.githubusercontent.com/TheRemote/PiBenchmarks/master/Storage.sh | sudo bash

without pci2.0 in /boot/armbianEnv.txt

verbosity=1


     Category                  Test                      Result
HDParm                    Disk Read                 609.77 MB/s
HDParm                    Cached Disk Read          726.72 MB/s
DD                        Disk Write                232 MB/s
FIO                       4k random read            54613 IOPS (218453 KB/s)
FIO                       4k random write           16151 IOPS (64605 KB/s)
IOZone                    4k read                   132479 KB/s
IOZone                    4k write                  79127 KB/s
IOZone                    4k random read            54327 KB/s
IOZone                    4k random write           89006 KB/s

                           Score: 19365

and with pci2.0 in sudo nano /boot/armbianEnv.txt

verbosity=1
bootlogo=true
overlay_prefix=rockchip
fdtfile=rockchip/rk3399-rock-pi-4b.dtb
rootdev=UUID=ca927a6a-b2f0-4184-ab0f-5719e34172db
rootfstype=ext4
overlays=pcie-gen2 spi-jedec-nor
param_spinor_spi_bus=1
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 


     Category                  Test                      Result
HDParm                    Disk Read                 579.83 MB/s
HDParm                    Cached Disk Read          695.44 MB/s
DD                        Disk Write                225 MB/s
FIO                       4k random read            57206 IOPS (228826 KB/s)
FIO                       4k random write           18720 IOPS (74881 KB/s)
IOZone                    4k read                   131620 KB/s
IOZone                    4k write                  79301 KB/s
IOZone                    4k random read            65461 KB/s
IOZone                    4k random write           117974 KB/s

                          Score: 22989

 

All it tested on

Brand:Samsung M.2 NVMe 980 Pro

Board: Radxa ROCK Pi 4B plus v.1.72 hardware

Device: Samsung SSD 980 PRO 1TB

Class:SSD (M.2 NVMe)

Изменено только что пользователем Cyrill

PS. Создано с использованием материала от пользователя Igor, на этом же сайте и танцев с бубнами с материали RADXA.
За что и благодарю, чем могу, сообщество и его верных пользователей.... на базе данного решения настроен NAS на базе urbackup server/client 2.5.31 - но это отдельная песня...

Edited by Cyrill
дополнил
<

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