Jump to content

Recommended Posts

Posted (edited)

i also have issues to move the system to the nvme ssd 😞 

my base is the 
Armbian 25.5.1 with 6.1.115 (vendor kernel) image .... 
"copied" (usbimager) it to the sdcard and its booting ... 🙂 

so I upgraded the system on the sdcard, still running 🙂 

I read some posts and advices .... 

so I partioned the nvme with one big partition (/dev/nvme0n1p1) 

running armbian-install 
choosing option 7, (loading/upgrading bootloader to mtd ) 
after this i choose option 4 (boot from mtd, system on sata, usb ... )  

only possible selection was /dev/nvme0n1 ... looked ok
said yes to everything  

no Error 

system goes to shutdown /power off 

removed power, removed sdcard

plugin power again .... and ... no boot 😞 

serial console saying: 

 

DDR 9fa84341ce typ 24/09/06-09:51:11,fwver: v1.18
ch0 ttot10
ch1 ttot10
ch2 ttot10
ch3 ttot10
ch0 ttot18
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
ch1 ttot18
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
ch2 ttot18
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
ch3 ttot18
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
Manufacturer ID:0xff
DQS rds:h1,h1
CH0 RX Vref:27.1%, TX Vref:21.8%,22.8%
DQ rds:h1 l0 h2 l0 h1 h5 l0 l0, l0 h3 l0 h3 h7 h2 l0 h1

DQS rds:l0,h1
CH1 RX Vref:28.5%, TX Vref:23.8%,23.8%
DQ rds:h1 h2 h1 h3 h1 h3 l0 h1, h1 h4 h1 h4 h1 h3 l0 h4

DQS rds:l0,h1
CH2 RX Vref:27.5%, TX Vref:23.8%,22.8%
DQ rds:h1 h3 h2 h1 h1 h6 h4 h1, h1 h2 h6 l0 h6 h2 h6 h3

DQS rds:h1,l0
CH3 RX Vref:29.7%, TX Vref:21.8%,20.8%
DQ rds:h5 h3 h2 h1 h3 h2 h2 h2, h5 h2 h1 h2 h4 l0 l0 h5

stride=0x2, ddr_config=0x4
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
change to F1: 528MHz
ch0 ttot10
ch1 ttot10
ch2 ttot10
ch3 ttot10
change to F2: 1068MHz
ch0 ttot14
ch1 ttot14
ch2 ttot14
ch3 ttot14
change to F3: 1560MHz
ch0 ttot16
ch1 ttot16
ch2 ttot16
ch3 ttot16
change to F0: 2112MHz
ch0 ttot18
ch1 ttot18
ch2 ttot18
ch3 ttot18
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian-2017.09-S3e40-P187d-He5fc-Ve691-Bb703-R448a (May 30 2025 - 10:51:06)
sfc cmd=03H(6BH-x4)
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MTD2
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(7612223b82...) + OK
## Checking uboot 0x00200000 ... sha256(11a994b967...) + OK
## Checking fdt 0x00354c30 ... sha256(e3b0c44298...) + OK
fdt_record_loadable: FDT_ERR_BADMAGIC
## Checking atf-2 0xff100000 ... sha256(70505bb764...) + OK
fdt_record_loadable: FDT_ERR_BADMAGIC
## Checking atf-3 0x000f0000 ... sha256(b2af21b504...) + OK
fdt_record_loadable: FDT_ERR_BADMAGIC
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 496.285/765.931 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-868-g040d2de11:derrick.huang, fwver: v1.48
NOTICE:  BL31: Built : 15:02:44, Dec 19 2024
INFO:    spec: 0x1
INFO:    code: 0x88
INFO:    ext 32k is valid
INFO:    ddr: stride-en 4CH
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO:    l3 cache partition cfg-0
INFO:    system boots from cpu-hwid-0
INFO:    disable memory repair
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO:    BL31: Initialising Exception Handling Framework
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 = 0x200000
INFO:    SPSR = 0x3c9
No valid device tree binary found - please append one to U-Boot binary, use u-boot-dtb.bin or define CONFIG_OF_EMBED. For sandbox, use -d <file.dtb>
initcall sequence 00000000002d2af8 failed at call 00000000002c502c (err=-1)
### ERROR ### Please RESET the board ###


if im boot with sdcard in the system and mount /dev/nvm0n1p1 there is the whole system .... 
inklusive /boot und boot/dtb ..... 

what didd I miss ? 

Does anyone hav a link to a working  tutorial ? 
 

Edited by H_Berger
Posted
3 hours ago, H_Berger said:

what didd I miss ? 

You are running with a broken firmware:

 

3 hours ago, H_Berger said:
## Checking fdt 0x00354c30 ... sha256(e3b0c44298...) + OK
fdt_record_loadable: FDT_ERR_BADMAGIC

 

3 hours ago, H_Berger said:
No valid device tree binary found

Your version is also quite outdated:

 

3 hours ago, H_Berger said:
U-Boot SPL 2017.09

A current firmware log looks like this:

Spoiler
DDR ff1a08bde6 typ 25/03/13-15:39:39,fwver: v1.19
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
ch0 ttot7
LPDDR5, 2400MHz
channel[0] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch1 ttot7
channel[1] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch2 ttot7
channel[2] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
ch3 ttot7
channel[3] BW=16 Col=10 Bk=16 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
Manufacturer ID:0x1
DQS rds:h1,h2,.
CH0 RX Vref:29.3%, TX Vref:22.0%,21.0%
DQ rds:h2 l0 h5 h2 h3 h2 h2 h5 ., h1 h1 h3 h5 h2 h1 h4 h2

DQS rds:h1,l0,.
CH1 RX Vref:28.9%, TX Vref:22.0%,22.0%
DQ rds:h3 h2 l1 h3 h4 l0 h3 h1 ., h3 l0 h5 h1 h1 l0 h1 l0

DQS rds:l0,l0,.
CH2 RX Vref:28.5%, TX Vref:22.0%,22.0%
DQ rds:h1 h1 h1 h4 l0 h1 h2 h1 ., h7 h5 h2 h1 h3 h1 l0 l0

DQS rds:l0,h1,.
CH3 RX Vref:29.3%, TX Vref:22.0%,21.0%
DQ rds:h6 h4 h2 h6 h2 h2 h3 h1 ., h5 h6 h4 h1 h7 h5 h2 h2

stride=0x2, ddr_config=0x6
hash ch_mask0-1 0x20 0x40, bank_mask0-3 0x0 0x2400 0x44800 0x89000, rank_mask0 0x2000
change to F1: 534MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F2: 1320MHz
ch0 ttot8
ch1 ttot8
ch2 ttot8
ch3 ttot8
change to F3: 1968MHz
ch0 ttot6
ch1 ttot6
ch2 ttot6
ch3 ttot6
change to F0: 2400MHz
ch0 ttot7
ch1 ttot7
ch2 ttot7
ch3 ttot7
out

U-Boot SPL 2025.07 (Jul 11 2025 - 00:00:00 +0000)
Trying to boot from MMC2
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
NOTICE:  BL31: v2.13.0(release):
NOTICE:  BL31: Built : 00:00:00, May 22 2025

U-Boot 2025.07 (Jul 11 2025 - 00:00:00 +0000)

Model: Hardkernel ODROID-M2
SoC:   RK3588S2
DRAM:  16 GiB
PMIC:  RK806 (on=0x80, off=0x08)
Core:  382 devices, 35 uclasses, devicetree: separate
MMC:   mmc@fe2c0000: 1, mmc@fe2e0000: 0
Loading Environment from nowhere... OK
In:    serial@feb50000
Out:   serial@feb50000
Err:   serial@feb50000
Model: Hardkernel ODROID-M2
SoC:   RK3588S2
Net:   eth0: ethernet@fe1c0000
starting USB...
USB EHCI 1.00
USB OHCI 1.0
USB EHCI 1.00
USB OHCI 1.0
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@fc800000: 1 USB Device(s) found
Bus usb@fc840000: 1 USB Device(s) found
Bus usb@fc880000: 5 USB Device(s) found
Bus usb@fc8c0000: 1 USB Device(s) found
Bus usb@fcd00000: 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Cannot persist EFI variables without system partition
*** U-Boot Boot Menu ***
Press UP/DOWN to move, ENTER to select, ESC to quit
 Standard Boot
 NVME USB Mass Storage
 eMMC USB Mass Storage
 microSD USB Mass Storage
 Power Off
 mmc 1
 mmc 0
 nvme 0
 Exit
Hit any key to stop autoboot: 2 1 0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 1' failed
Loading Boot0001 'mmc 0' failed
Loading Boot0002 'nvme 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@fe2c0000.bootdev':
  1  extlinux     ready   mmc          1  mmc@fe2c0000.bootdev.part /extlinux/extlinux.conf
** Booting bootflow 'mmc@fe2c0000.bootdev.part_1' with extlinux
Jumpstart Boot Options
1:      ODROID-M1/M2 default
2:      ODROID-M1/M2 previous kernel
3:      ODROID-M1/M2 verbose
4:      Odroid-N2/N2+ default
5:      Odroid-N2/N2+ previous kernel
Enter choice: 1:        ODROID-M1/M2 default
Retrieving file: /usr/lib/modules/linux/vmlinuz
append: loglevel=7 root=PARTUUID=75235836-01 consolee=ttyS02,1500000 console=tty0 rootwait rootfstype=ext4
Retrieving file: /usr/lib/modules/linux/dtb/rockchip/rk3588s-odroid-m2.dtb
   Uncompressing Kernel Image to 0
## Flattened Device Tree blob at 12000000
   Booting using the fdt blob at 0x12000000
Working FDT set to 12000000
   Loading Device Tree to 00000000ece60000, end 00000000ece779b7 ... OK
Working FDT set to ece60000

Starting kernel ...

 

 

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