Joshua-Riek / ubuntu-rockchip

Ubuntu for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
2.56k stars 276 forks source link

orangepi 5plus sd 不能正常启动 #585

Open iamqiqi1017 opened 10 months ago

iamqiqi1017 commented 10 months ago

使用了5plus的1.32版本的desktop镜像,刷入sd后 不能正常启动,板子的指示灯是正常的 但是无法连接ssh, hdmi链接也没有反应,使用orangepi官方镜像是正常的

Joshua-Riek commented 10 months ago

Are you able to connect a serial console and prove the bootloader logs? If you used the Orange Pi OS and flashed the SPI you could have incompatable SPL and DDR blobs causing memory to be unstable.

iamqiqi1017 commented 10 months ago

这是完整 的输出日志 [ OK ] Started Show Plymouth Power Off Screen. plymouth-poweroff.service [ OK ] Stopped LSB: set CPUFreq kernel parameters. [ OK ] Stopped User Manager for UID 0. [ OK ] Stopped User Manager for UID 1000. Stopping LSB: Load kernel …d to enable cpufreq scaling... Stopping User Runtime Directory /run/user/0... Stopping User Runtime Directory /run/user/1000... [ OK ] Unmounted /run/user/1000. [ OK ] Stopped User Runtime Directory /run/user/1000. [ OK ] Unmounted /run/user/0. [ OK ] Stopped User Runtime Directory /run/user/0. [ OK ] Removed slice User Slice of UID 0. [ OK ] Removed slice User Slice of UID 1000. Stopping Permit User Sessions... [ OK ] Stopped LSB: Load kernel m…ded to enable cpufreq scaling. [ OK ] Stopped User Login Management. [ OK ] Stopped Permit User Sessions. [ OK ] Stopped target Network. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped target Preparation for Remote File Systems. [ OK ] Stopped target NFS client services. Stopping Network Manager... Stopping Raise network interfaces... Stopping Network Name Resolution... Stopping WPA supplicant... [ OK ] Stopped WPA supplicant. [ OK ] Stopped Network Name Resolution. [ OK ] Stopped Raise network interfaces. [ OK ] Stopped Network Manager. [ OK ] Stopped target Basic System. [ OK ] Stopped Forward Password R…s to Plymouth Directory Watch. [ OK ] Stopped target Preparation for Network. [ OK ] Stopped target Path Units. [ OK ] Stopped resolvconf-pull-resolved.path. [ OK ] Stopped target Slice Units. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Socket Units. [ OK ] Closed Docker Socket for the API. [ OK ] Stopped target System Initialization. [ OK ] Stopped target Local Encrypted Volumes. [ OK ] Stopped Forward Password R…uests to Wall Directory Watch. [ OK ] Stopped target Local Verity Protected Volumes. [ OK ] Closed Syslog Socket. Stopping Restore / save the current clock... Stopping Entropy Daemon based on the HAVEGE algorithm... Stopping Orange Pi memory supported logging... Stopping Load/Save Screen …ness of backlight:backlight... Stopping Set Up Additional Binary Formats... [ OK ] Stopped Platform Persistent Storage Archival. [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped Load Kernel Modules. Stopping Record System Boot/Shutdown in UTMP... [ OK ] Stopped Entropy Daemon based on the HAVEGE algorithm. [ OK ] Stopped Restore / save the current clock. [ OK ] Stopped Load/Save Screen B…htness of backlight:backlight. [ OK ] Stopped Set Up Additional Binary Formats. [ OK ] Removed slice Slice /system/systemd-backlight. [ OK ] Unset automount Arbitrary …s File System Automount Point. [ OK ] Stopped Record System Boot/Shutdown in UTMP. [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Unmounted /var/log. [ OK ] Unmounted /var/log.hdd. [ OK ] Stopped Orange Pi memory supported logging. Stopping Orange Pi ZRAM config... [ OK ] Stopped Orange Pi ZRAM config. [ OK ] Stopped target Local File Systems. Unmounting /boot... Unmounting /run/credentials/systemd-sysusers.service... Unmounting /tmp... [ OK ] Unmounted /run/credentials/systemd-sysusers.service. [FAILED] Failed unmounting /tmp. [ OK ] Stopped target Swaps. tmp.mount Deactivating swap /dev/zram0... [ OK ] Unmounted /boot. [ OK ] Stopped File System Check on /dev/disk/by-uuid/D9B4-3A2B. [ OK ] Removed slice Slice /system/systemd-fsck. [ OK ] Stopped target Preparation for Local File Systems. [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Stopped Create System Users. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Reached target System Shutdown. [ OK ] Deactivated swap /dev/zram0. [ OK ] Reached target Unmount All Filesystems. [ OK ] Reached target Late Shutdown Services. [ OK ] Finished System Power Off. [ OK ] Reached target System Power Off. [ 322.880040] rk806-pinctrl rk806-pinctrl.7.auto: not freeing pin 1 (gpio_pwrctrl2) as part of deactivating group gpio_pwrctrl2 - it is already used for some other setting [ 322.882192] rockchip-i2s-tdm fddf8000.i2s: failed to clear 1 on slave mode [ 322.886761] reboot: Power down DDR Version V1.08 20220617 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB Manufacturer ID:0x6 CH0 RX Vref:30.7%, TX Vref:21.8%,20.8% CH1 RX Vref:30.7%, TX Vref:19.8%,19.8% CH2 RX Vref:28.7%, TX Vref:21.8%,20.8% CH3 RX Vref:29.7%, TX Vref:21.8%,20.8% change to F1: 528MHz change to F2: 1068MHz change to F3: 1560MHz change to F0: 2112MHz out U-Boot SPL board init U-Boot SPL 2017.09-orangepi (Aug 15 2023 - 14:05:58) Trying to boot from MMC1 spl: mmc init failed with error: -123 Trying to boot from MMC2 Card did not respond to voltage select! spl: mmc init failed with error: -95 Trying to boot from MTD2 Trying fit image at 0x400 sector

Verified-boot: 0

Checking atf-1 0x00040000 ... sha256(806278dba1...) + OK

Checking uboot 0x00200000 ... sha256(448e929bd1...) + OK

Checking fdt 0x003267e0 ... sha256(a325b2f06e...) + OK

Checking atf-2 0x000f0000 ... sha256(c00c7fd75b...) + OK

Checking atf-3 0xff100000 ... sha256(71c3a5841b...) + OK

Checking atf-4 0xff001000 ... sha256(2301cf73be...) + OK

Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000) Total: 507.374 ms

INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-405-gb52c2eadd:derrick.huang NOTICE: BL31: Built : 11:23:47, Aug 15 2022 INFO: spec: 0x1 INFO: ext 32k is valid INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: system boots from cpu-hwid-0 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

U-Boot 2017.09-orangepi (Aug 15 2023 - 14:05:58 +0800)

Model: RK3588 Orange Pi 5 Plus PreSerial: 2, raw, 0xfeb50000 DRAM: 15.7 GiB Sysmem: init Relocation Offset: eda50000 Relocation fdt: eb9f74b8 - eb9fecd8 CR: M/C/I Using default environment

PCIe-0 Link Fail mmc@fe2c0000: 0, mmc@fe2e0000: 1

Device 0: unknown device switch to partitions #0, OK mmc1(part 0) is current device Boot from SDcard Bootdev(scan): mmc 1 MMC1: HS200, 200Mhz PartType: EFI DM: v2 boot mode: None get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts Model: RK3588 Orange Pi 5 Plus Read u-boot logo: devtype = mtd, devnum = 2, logo_name = logo.bmp

Device 2: SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB 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

mtd read: device 2 block # 8192, count 4096 ... 4096 blocks read: OK gpio: pin 102 (gpio 102) value is 1 Read u-boot logo: devtype = mtd, devnum = 2, logo_name = logo.bmp

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

mtd read: device 2 block # 8192, count 4096 ... 4096 blocks read: OK gpio: pin 102 (gpio 102) value is 1 Rockchip UBOOT DRM driver version: v1.0.1 vp0 have layer nr:2[0 2 ], primary plane: 2 vp1 have layer nr:2[1 3 ], primary plane: 3 vp2 have layer nr:2[6 8 ], primary plane: 8 vp3 have layer nr:2[7 9 ], primary plane: 9 hdmi@fde80000 disconnected CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A) b0pll 24000 KHz b1pll 24000 KHz lpll 24000 KHz v0pll 24000 KHz aupll 786431 KHz cpll 1500000 KHz gpll 1188000 KHz npll 850000 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 594000 KHz pclk_top_root 100000 KHz aclk_low_top_root 396000 KHz Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 mmc@fe2c0000: 0 mmc@fe2e0000: 1 (eMMC) switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot.scr reading /boot.scr 1608 bytes read in 1 ms (1.5 MiB/s)

Executing script at 00500000

Boot script loaded from mmc 1 reading /ubuntuEnv.txt 338 bytes read in 0 ms reading /dtbs/rockchip/rk3588-orangepi-5-plus.dtb 278673 bytes read in 5 ms (53.2 MiB/s) reading /vmlinuz 38269440 bytes read in 210 ms (173.8 MiB/s) reading /initrd.img 14665676 bytes read in 81 ms (172.7 MiB/s) Fdt Ramdisk skip relocation

Flattened Device Tree blob at 0x0a100000

Booting using the fdt blob at 0x0a100000 reserving fdt memory region: addr=a100000 size=55000 'reserved-memory' cma: addr=10000000 size=10000000 'reserved-memory' ramoops@110000: addr=110000 size=f0000 Using Device Tree in place at 000000000a100000, end 000000000a157fff Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000) Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000) Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000) Total: 1730.365 ms

Starting kernel ...

[ 3.575397] fiq_debugger fiq_debugger.0: IRQ fiq not found [ 3.575411] fiq_debugger fiq_debugger.0: IRQ wakeup not found [ 3.575418] fiq_debugger_probe: could not install nmi irq handler [ 3.634850] debugfs: Directory 'vcc_mipicsi1' with parent 'regulator' already present! [ 3.634868] debugfs: Directory 'vcc_mipicsi1' with parent 'vcc_mipicsi1' already present! [ 4.471940] rk-pcie fe190000.pcie: IRQ msi not found [ 4.471960] rk-pcie fe190000.pcie: Missing config reg space [ 4.472022] rk-pcie fe180000.pcie: IRQ msi not found [ 4.472038] rk-pcie fe190000.pcie: Missing config reg space [ 4.472060] rk-pcie fe180000.pcie: Missing config reg space [ 4.472065] rk-pcie fe190000.pcie: invalid resource [ 4.472189] rk-pcie fe180000.pcie: Missing config reg space [ 4.472229] rk-pcie fe180000.pcie: invalid resource [ 4.482862] mpp-iep2 fdbb0000.iep: allocate roi buffer failed [ 4.484549] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found! [ 4.484563] rkvdec2_init:1022: No niu aclk reset resource define [ 4.484571] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found! [ 4.484577] rkvdec2_init:1025: No niu hclk reset resource define [ 4.485301] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found! [ 4.485309] rkvdec2_init:1022: No niu aclk reset resource define [ 4.485316] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found! [ 4.485322] rkvdec2_init:1025: No niu hclk reset resource define [ 4.486302] mpp_rkvenc2 fdbd0000.rkvenc-core: dev_pm_opp_set_regulators: no regulator (venc) found: -19 [ 4.486340] rkvenc_init:1859: failed to add venc devfreq [ 4.486883] mpp_rkvenc2 fdbe0000.rkvenc-core: dev_pm_opp_set_regulators: no regulator (venc) found: -19 [ 4.486902] rkvenc_init:1859: failed to add venc devfreq [ 4.489429] rk-pcie fe150000.pcie: IRQ msi not found [ 4.489441] rk-pcie fe150000.pcie: Missing config reg space [ 4.489505] rk-pcie fe150000.pcie: Missing config reg space [ 4.489532] rk-pcie fe150000.pcie: invalid resource [ 4.533958] rk-pcie fe170000.pcie: IRQ msi not found [ 4.533979] rk-pcie fe170000.pcie: Missing config reg space [ 4.534415] rk-pcie fe170000.pcie: Missing config reg space [ 4.534476] rk-pcie fe170000.pcie: invalid resource [ 4.562081] rk806 spi2.0: no sleep-setting state [ 4.562104] rk806 spi2.0: no reset-setting pinctrl state [ 4.562112] rk806 spi2.0: no dvs-setting pinctrl state [ 4.733325] Error: Driver 'Goodix-TS' is already registered, aborting... [ 4.733564] .. rk pwm remotectl v2.0 init [ 4.889813] Goodix-TS 7-0014: i2c test failed attempt 1: -6 [ 4.916478] Goodix-TS 7-0014: i2c test failed attempt 2: -6 [ 4.942995] Goodix-TS 7-0014: I2C communication failure: -6 [ 5.016150] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [ 5.038971] debugfs: File 'Capture' in directory 'dapm' already present! [ 5.045024] debugfs: File 'Capture' in directory 'dapm' already present! [ 5.067703] ES8323 7-0011: ASoC: error at soc_component_write_no_lock on ES8323.7-0011: -5 [ 5.167807] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present! [ 5.174951] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate [ 5.175015] rockchip-dmc dmc: failed to get vop pn to msch rl [ 5.175839] rockchip-dmc dmc: could not find power_model node [ 5.185081] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff] [ 5.185133] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff] [ 5.185157] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff] [ 5.192107] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present! [ 5.221591] RKNPU fdab0000.npu: failed to find power_model node [ 5.221660] RKNPU fdab0000.npu: RKNPU: failed to initialize power model [ 5.221686] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient [ 7.383018] rk-pcie fe150000.pcie: PCIe Link Fail [ 7.383042] rk-pcie fe150000.pcie: failed to initialize host [ 7.449670] rk-pcie fe170000.pcie: PCIe Link Fail [ 7.449689] rk-pcie fe170000.pcie: failed to initialize host

iamqiqi1017 commented 10 months ago

我目前是将镜像刷入emmc启动的 也不可以正常启动,电源是官方电源,我使用armbian对应内核镜像的gnome版本是可以正常启动的 但是它那个镜像会不时的崩溃