Any news on nvme direct boot?
Alternatively, can you suggest me some guide to follow to move the system to nvme?
Rock 3A NVME boot
You can install u-boot into the spi flash refering to this guide: https://wiki.radxa.com/Rock3/install/spi
Thanks, it worked (using windows).
Notes:
As stated by the Spi flash page, usb-a to usb-c cable didn’t worked for me. I grab the infamous old cables box, cut two old broken mouses usb cables, joined them together without too much effort (no soldering, just splice, twist and electrical tape insulation) and it worked.
I added jumper like in the picture,
sudo snap connect rkdeveloptool:raw-usb
rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=104 Maskrom
rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin Downloading bootloader succeeded.
rkdeveloptool wl 0 spi_image_20220210.img
Write LBA failed!
any ideas what I’m doing wrong here?
rkdeveloptool ppt
Partition Info(GPT)
NO LBA Name
00 00000040 idbloader
01 00001C00 vnvm
02 00001E00 reserved_space
03 00001F80 reserved1
04 00001FC0 uboot_env
05 00002000 reserved2
06 00004000 uboot`
You should remove the jumper after entering maskrom mode because that jumper is added to disable spi flash so that you can get into maskrom mode.
sudo snap connect rkdeveloptool:raw-usb
rkdeveloptool ld DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=104 Maskrom
Remove the jumper then:
rkdeveloptool db rk356x_spl_loader_ddr1056_v1.10.111.bin Downloading
that did the trick thanks for the help!
I still need to have the SD card in the slot in order to boot from the nvme… Is anyone confirming otherwise?
I’ve installed according to that guide but still need an SD card inserted to boot from nvme.
I can’t reproduce it.
I installed u-boot on multiple 3a boards and can start using nvme only.
Maybe your nvme is not bootable by itself?
else maybe post the output from each step?
Hi Dominik,
as I am new to the RockPi-3A (1.31) and also trying to get an NVMe running, I would very much appreciate if you could share a detailed description to how to get the NVMe working.
So far, I have a well running Ubuntu “Linux rock-3a 4.19.193-51-rockchip-gb2c01b3d79f2” running which is booting from a uSD card.
After snapping in a Kingston NVMe 500G I can do
sudo parted -l
… which gives me …
Error: /dev/nvme0n1: unrecognised disk label
Model: KINGSTON SNVS500G (nvme)
Disk /dev/nvme0n1: 500GB
Sector size (logical/physical): 512B/512B
[…]
Looks like it’s already up and ready to be formatted.
What I now struggle with is what @jack replied to your post in Oct’21. This stuff seems to be related to this URL: https://wiki.radxa.com/Rock3/install/spi, right?
Can I apply that stuff to get my RockPi to boot from NVMe?
How do I have to wire the cable (also wiring the +5Vcc or only GND, D+ and D-) ?
I would be very thankful for further advice here
Hans
You need to install u-boot to spi to be able to boot from nvme only, just follow steps from wiki and burn image directly to nvme via USB on different computer (like for SD card).
Also You should be able to start boot from small sd card and then from nvme (that don’t require spi installation)
What cables You want to connect? UART? this is also described on wiki but not every uart module works (also after update my uart module break boot process)
Good luck
did you make it work?
I managed to install u-boot on spi as below
but I still can’t boot from nvme, actually the blue LED turns on after a couple of seconds and stays on.
I can boot from micro SD and nvme disk is listed in lsblk
You need to have right version of u-boot, sometimes different for other distro
If You have UART then it’s easier to check what is going on console.
Coming back here after some months.
In the end, after my previous tentative (may 2022), where i got to flash spi and successfully boot to nvme, i put the board back in the box because i never got it working stable.
The board hanged after a couple of days with “PCIe link fail” or something like this.
After investigations, the kingston nvme was faulty (was not working correctly under windows either, after some time windows was hanging too).
Today i retried with a brand new samsung 870EVO, flashedwith the latest ubuntu available now.
This time i didn’g get it even to get to the nvme, it hangs with “PCIe link fail”, and a prompt to initramfs sohows up.
Powering it using a 12V 4A power supply soldered to a usb-c connector.
I don’t want to say it but i’m starting to get a little bit disappointed.
Any suggestion/reference on how to fix the pcie stuff?
Not every nvme is supported and that depends on SoC. I had similar issues with Rock5b with HP EX900 when it was working perfectly with Rock3A and Rock4C. Easiest way to solve that issue is to swap nvme to something different, I don’t expect that SOC will be updated to handle more drives soon, maybe for RK3588.
I cant boot from NVME.
I compiled U-boot for rock 3a from the latest source and flashed that to my device and it is unable to boot the latest ubuntu image.
If I keep the sd card in, it will boot from SD card but use the nvme as root fs, so the device has no problems accessing the nvme. As you can see below, the board has booted from sdcard with nvme as root fs
root@rock-3a:~# blkid
/dev/nvme0n1p2: LABEL="rootfs" UUID="147db13c-92fc-42ea-9e28-c815ad767e3c" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="9899f1e4-9d15-44e1-9f8f-45949e548489"
/dev/mmcblk1p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="39A5-F3E7" TYPE="vfat" PARTLABEL="boot" PARTUUID="cb3e335e-9b51-4b09-9399-34ae6a53d886"
/dev/mmcblk1p2: LABEL="rootfs" UUID="4356bf16-3f61-4abe-a4f0-9c78ca329280" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="3fcda367-2187-4986-a437-fc199dd522bb"
/dev/nvme0n1p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="7935-9F5A" TYPE="vfat" PARTLABEL="boot" PARTUUID="d6d2fadd-df82-4a80-b69e-ff6a0744140a"
root@rock-3a:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mtdblock0 31:0 0 16M 0 disk
mmcblk1 179:0 0 14.6G 0 disk
├─mmcblk1p1 179:1 0 512M 0 part
└─mmcblk1p2 179:2 0 14.1G 0 part
nvme0n1 259:0 0 477G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot
└─nvme0n1p2 259:2 0 476.4G 0 part /
root@rock-3a:~#
However, if I remove the sd card, u-boot does this;
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB
tdqss: cs0 dqs0: 48ps, dqs1: -96ps, dqs2: -72ps, dqs3: -144ps,
tdqss: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -120ps,
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61
change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x36
cs 0:
the read training result:
DQS0:0x3a, DQS1:0x3d, DQS2:0x41, DQS3:0x3a,
min : 0x8 0x8 0xa 0x8 0x1 0x2 0x6 0x1 , 0xa 0x8 0x4 0x2 0xd 0xa 0xb 0x8 ,
0xe 0xd 0xb 0xa 0x5 0x1 0x3 0x5 , 0x9 0x6 0x6 0x1 0xe 0xb 0x9 0xd ,
mid :0x25 0x25 0x27 0x25 0x1e 0x20 0x22 0x1f ,0x26 0x25 0x20 0x21 0x2a 0x27 0x29 0x25 ,
0x2c 0x2c 0x2a 0x28 0x23 0x20 0x21 0x22 ,0x27 0x23 0x23 0x20 0x2b 0x29 0x28 0x2a ,
max :0x42 0x42 0x44 0x43 0x3b 0x3e 0x3e 0x3d ,0x42 0x42 0x3c 0x40 0x48 0x45 0x47 0x43 ,
0x4a 0x4b 0x49 0x46 0x42 0x3f 0x40 0x40 ,0x45 0x41 0x40 0x3f 0x48 0x48 0x47 0x48 ,
range:0x3a 0x3a 0x3a 0x3b 0x3a 0x3c 0x38 0x3c ,0x38 0x3a 0x38 0x3e 0x3b 0x3b 0x3c 0x3b ,
0x3c 0x3e 0x3e 0x3c 0x3d 0x3e 0x3d 0x3b ,0x3c 0x3b 0x3a 0x3e 0x3a 0x3d 0x3e 0x3b ,
the write training result:
DQS0:0x3c, DQS1:0x2a, DQS2:0x2d, DQS3:0x23,
min :0x63 0x65 0x67 0x64 0x5b 0x5d 0x61 0x62 0x60 ,0x4f 0x4f 0x4a 0x4b 0x52 0x50 0x53 0x51 0x4f ,
0x54 0x55 0x50 0x50 0x4b 0x49 0x4c 0x4f 0x50 ,0x4b 0x4a 0x48 0x46 0x4e 0x4e 0x4c 0x51 0x48 ,
mid :0x7f 0x81 0x83 0x80 0x76 0x79 0x7c 0x7d 0x7a ,0x6c 0x6b 0x66 0x67 0x6f 0x6b 0x6e 0x6d 0x6b ,
0x71 0x72 0x6d 0x6d 0x65 0x63 0x66 0x6a 0x6b ,0x67 0x63 0x62 0x60 0x69 0x6a 0x67 0x6c 0x61 ,
max :0x9c 0x9d 0x9f 0x9d 0x92 0x95 0x98 0x98 0x95 ,0x8a 0x87 0x82 0x84 0x8c 0x87 0x89 0x89 0x87 ,
0x8f 0x90 0x8a 0x8a 0x80 0x7d 0x81 0x86 0x87 ,0x84 0x7d 0x7d 0x7a 0x85 0x86 0x83 0x88 0x7b ,
range:0x39 0x38 0x38 0x39 0x37 0x38 0x37 0x36 0x35 ,0x3b 0x38 0x38 0x39 0x3a 0x37 0x36 0x38 0x38 ,
0x3b 0x3b 0x3a 0x3a 0x35 0x34 0x35 0x37 0x37 ,0x39 0x33 0x35 0x34 0x37 0x38 0x37 0x37 0x33 ,
cs 1:
the read training result:
DQS0:0x3a, DQS1:0x3e, DQS2:0x41, DQS3:0x3a,
min : 0x8 0x8 0xa 0x8 0x1 0x2 0x5 0x1 , 0x8 0x6 0x1 0x1 0xb 0x9 0x9 0x7 ,
0xe 0xd 0xb 0xa 0x4 0x1 0x2 0x5 , 0x8 0x6 0x6 0x1 0xd 0xb 0x9 0xc ,
mid :0x24 0x25 0x27 0x25 0x1d 0x1f 0x21 0x1e ,0x25 0x24 0x1f 0x21 0x2a 0x27 0x28 0x25 ,
0x2b 0x2b 0x29 0x28 0x22 0x20 0x20 0x22 ,0x26 0x24 0x23 0x20 0x2a 0x29 0x28 0x2a ,
max :0x41 0x42 0x44 0x43 0x3a 0x3d 0x3e 0x3c ,0x43 0x43 0x3d 0x41 0x49 0x46 0x48 0x43 ,
0x49 0x4a 0x48 0x46 0x40 0x3f 0x3f 0x40 ,0x45 0x42 0x40 0x3f 0x48 0x48 0x47 0x48 ,
range:0x39 0x3a 0x3a 0x3b 0x39 0x3b 0x39 0x3b ,0x3b 0x3d 0x3c 0x40 0x3e 0x3d 0x3f 0x3c ,
0x3b 0x3d 0x3d 0x3c 0x3c 0x3e 0x3d 0x3b ,0x3d 0x3c 0x3a 0x3e 0x3b 0x3d 0x3e 0x3c ,
the write training result:
DQS0:0x3c, DQS1:0x2a, DQS2:0x2d, DQS3:0x23,
min :0x64 0x66 0x67 0x65 0x5b 0x5e 0x62 0x63 0x61 ,0x52 0x52 0x4c 0x4e 0x56 0x53 0x56 0x56 0x52 ,
0x55 0x56 0x52 0x51 0x4c 0x4a 0x4d 0x50 0x51 ,0x4f 0x4e 0x4c 0x4a 0x52 0x52 0x50 0x55 0x4c ,
mid :0x81 0x83 0x84 0x82 0x78 0x7a 0x7e 0x7e 0x7c ,0x6f 0x6e 0x68 0x6a 0x72 0x6f 0x71 0x71 0x6d ,
0x73 0x73 0x6f 0x6e 0x67 0x65 0x67 0x6b 0x6d ,0x6c 0x69 0x67 0x66 0x6e 0x6e 0x6b 0x71 0x66 ,
max :0x9e 0xa0 0xa1 0x9f 0x95 0x97 0x9a 0x9a 0x97 ,0x8d 0x8a 0x85 0x87 0x8f 0x8b 0x8c 0x8d 0x89 ,
0x91 0x91 0x8c 0x8c 0x83 0x80 0x82 0x87 0x89 ,0x89 0x84 0x82 0x82 0x8a 0x8a 0x87 0x8d 0x81 ,
range:0x3a 0x3a 0x3a 0x3a 0x3a 0x39 0x38 0x37 0x36 ,0x3b 0x38 0x39 0x39 0x39 0x38 0x36 0x37 0x37 ,
0x3c 0x3b 0x3a 0x3b 0x37 0x36 0x35 0x37 0x38 ,0x3a 0x36 0x36 0x38 0x38 0x38 0x37 0x38 0x35 ,
CA Training result:
cs:0 min :0x47 0x4a 0x41 0x40 0x40 0x3f 0x48 ,0x46 0x45 0x40 0x40 0x40 0x40 0x46 ,
cs:0 mid :0x87 0x88 0x80 0x7e 0x7f 0x7d 0x79 ,0x87 0x84 0x7f 0x7d 0x7f 0x7e 0x77 ,
cs:0 max :0xc8 0xc6 0xc0 0xbd 0xbf 0xbb 0xaa ,0xc8 0xc4 0xbf 0xba 0xbf 0xbc 0xa8 ,
cs:0 range:0x81 0x7c 0x7f 0x7d 0x7f 0x7c 0x62 ,0x82 0x7f 0x7f 0x7a 0x7f 0x7c 0x62 ,
cs:1 min :0x46 0x4e 0x40 0x44 0x40 0x43 0x47 ,0x44 0x49 0x40 0x41 0x3f 0x41 0x45 ,
cs:1 mid :0x88 0x89 0x82 0x80 0x81 0x7f 0x7a ,0x87 0x85 0x81 0x7d 0x81 0x7e 0x78 ,
cs:1 max :0xcb 0xc5 0xc4 0xbd 0xc3 0xbb 0xae ,0xca 0xc1 0xc3 0xb9 0xc3 0xbb 0xab ,
cs:1 range:0x85 0x77 0x84 0x79 0x83 0x78 0x67 ,0x86 0x78 0x83 0x78 0x84 0x7a 0x66 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-g15c53b0f04-211223 #ubuntu (Mar 18 2023 - 00:33:50)
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
spl: mmc init failed with error: -95
Trying to boot from MMC1
MMC error: The cmd index is 0, ret is -110
mmc_init: -110, time 5
spl: mmc init failed with error: -110
Trying to boot from MTD2
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(efe8f997da...) + OK
## Checking uboot 0x00a00000 ... sha256(588ea7f0ca...) + OK
## Checking fdt 0x00b2e718 ... sha256(4bdde2de3f...) + OK
## Checking atf-2 0x00068000 ... sha256(c74277be28...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(47ed527f15...) + OK
## Checking atf-4 0xfdcc9000 ... sha256(990c53fc01...) + OK
## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 654.441 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-181-gc9a647cae-dirty:xsf
NOTICE: BL31: Built : 11:30:09, Oct 18 2022
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2017.09-g15c53b0f04-211223 #ubuntu (Mar 18 2023 - 00:33:50 -0500)
Model: Radxa ROCK3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: ed34a000
Relocation fdt: eb9f73e0 - eb9fecc8
CR: M/C/I
Using default environment
Hotkey: ctrl+s
SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
## Unknown partition table type 0
PartType: <NULL>
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Headerd to get kernel dtb, ret=-19
I2c0 speed: 100000Hz
vsel-gpios- not found! Error: -2
vdd_cpu init 900000 uV
PMIC: RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
Model: Radxa ROCK3 Model A
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
rockchip_set_ethaddr: vendor_storage_write failed -5
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 1200000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 200000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 100000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 100000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 100000 KHz
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
No misc partition
Net: eth1: ethernet@fe010000
Hit key to stop autoboot('CTRL+C'): 0
Device 0: Vendor: 0x1987 Rev: SR3B47.1 Prod: 48790459800994
Type: Hard Disk
Capacity: 488386.3 MB = 476.9 GB (1000215216 x 512)
... is now current device
Scanning nvme 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
900 bytes read in 1 ms (878.9 KiB/s)
1: kernel-4.19.193-67-rockchip-g450948183988
Retrieving file: /initrd.img-4.19.193-67-rockchip-g450948183988
reading /initrd.img-4.19.193-67-rockchip-g450948183988
9040177 bytes read in 14 ms (615.8 MiB/s)
Retrieving file: /vmlinuz-4.19.193-67-rockchip-g450948183988
reading /vmlinuz-4.19.193-67-rockchip-g450948183988
20987912 bytes read in 34 ms (588.7 MiB/s)
append: root=UUID=147db13c-92fc-42ea-9e28-c815ad767e3c earlyprintk console=ttyFIQ0,1500000n8 console=tty1 consoleblank=0 loglevel=7 panic=10 rootwait rw init=/sbin/init rootfstype=ext4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 switolb=1 coherent_pool=1m
Retrieving file: /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/rk3568-rock-3a.dtb
reading /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/rk3568-rock-3a.dtb
150853 bytes read in 2 ms (71.9 MiB/s)
Retrieving file: /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-fiq-debugger-uart2m0.dtbo
reading /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-fiq-debugger-uart2m0.dtbo
513 bytes read in 1 ms (501 KiB/s)
Retrieving file: /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-can1-m0.dtbo
reading /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-can1-m0.dtbo
515 bytes read in 2 ms (251 KiB/s)
Retrieving file: /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-pwm8-m0-fan.dtbo
reading /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-pwm8-m0-fan.dtbo
382 bytes read in 1 ms (373 KiB/s)
Retrieving file: /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-disable-npu.dtbo
reading /dtbs/4.19.193-67-rockchip-g450948183988/rockchip/overlay/rk3568-disable-npu.dtbo
648 bytes read in 1 ms (632.8 KiB/s)
Fdt Ramdisk skip relocation
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645
No misc partition
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
reserving fdt memory region: addr=a100000 size=27000
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a129fff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 4675.556 ms
Starting kernel ...
=>
If I do “nvme part” in uboot, it clearly has no issues reading the partitions, but still it will not boot. It gets to “Starting Kernel” and then falls back to uboot shell. Any ideas???
=> nvme part
Partition Map for NVMe device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00008000 0x00107fff "boot"
attrs: 0x0000000000000000
type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
guid: d6d2fadd-df82-4a80-b69e-ff6a0744140a
2 0x00108000 0x3b9e0b0f "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 9899f1e4-9d15-44e1-9f8f-45949e548489
=>