DHDAXCW / lede-rockchip

This source code builds openwrt for Rockchip Soc from upstream source code https://github.com/coolsnowwolf/lede
Other
152 stars 92 forks source link

为什么我编译出来的镜像会提示找不到设备树 #38

Closed FCL256 closed 1 year ago

FCL256 commented 1 year ago

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:编译完出来的系统刷入板子后没法正常开机

(2) 路由器型号和固件版本

A:firefly_station-p2 openwrt-rockchip-armv8-firefly_station-p2-ext4-sysupgrade 源码采用的是最新的

(3) 详细日志

A:U-Boot SPL board init U-Boot SPL 2017.09-gaaca6ffec1-211203 #zzz (Dec 03 2021 - 18:42:16) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 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 9 spl: mmc init failed with error: -95 Trying to boot from MMC1 No misc partition Trying fit image at 0x4000 sector

Verified-boot: 0

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

Checking uboot 0x00a00000 ... sha256(6969f8468a...) + OK

Checking fdt 0x00b4ae48 ... sha256(dbcc8ef6d0...) + OK

Checking atf-2 0x00068000 ... sha256(8d44036095...) + OK

Checking atf-3 0xfdcd0000 ... sha256(e410275b51...) + OK

Checking atf-4 0xfdcc9000 ... sha256(990c53fc01...) + OK

Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK

Checking optee 0x08400000 ... sha256(66bbd17352...) + OK

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

INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-181-gc9a647cae:cl NOTICE: BL31: Built : 10:55:41, Oct 18 2021 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= 1560MHz 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 INFO: BL31: Initializing BL32 I/TC: I/TC: OP-TEE version: 3.13.0-641-g4167319d3 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #8 Wed Mar 16 15:14:56 CST 2022 aarch64 I/TC: Primary CPU initializing I/TC: Primary CPU switching to normal world boot INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0xa00000 INFO: SPSR = 0x3c9

U-Boot 2017.09(u-boot commit id: 66a8f8f26a283e35a8ece98fe867e10aafed9fbc)(sdk version: rk356x_linux_next.xml)-g66a8f8f26a-dirty #huangjf (Jul 09 2022 - 14:20:27 +0800)

Model: Firefly RK3568 Board PreSerial: 2, raw, 0xfe660000 DRAM: 4 GiB Sysmem: init Relocation Offset: ed32e000 Relocation fdt: eb9f8b20 - eb9fecd8 CR: M/C/I Using default environment

dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Bootdev(atags): mmc 0 MMC0: HS200, 200Mhz PartType: EFI DM: v1 No misc partition boot mode: None FIT: No boot partition File not found rk-kernel.dtb No resource partition No resource partition Failed to load DTB, ret=-19 No find valid DTB, ret=-22 Failed to get kernel dtb, ret=-22 io-domain: OK Model: Firefly RK3568 Board 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 780000 KHz gpll 1188000 KHz cpll 1000000 KHz npll 24000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 50000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 50000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz No misc partition Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 Could not find misc partition ANDROID: reboot reason: "(none)" optee api revision: 2.0 TEEC: Waring: Could not find security partition Not AVB images, AVB skip android_image_load_by_partname: Can't find part: boot Android image load failed Android boot failed, error -1.

Booting FIT Image FIT: No boot partition

FIT: No fit blob FIT: No FIT image Could not find rootfs part Card did not respond to voltage select! mmc_init: -95, time 9 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:2... Found U-Boot script /boot.scr =================begin=================== 365 bytes read in 1 ms (356.4 KiB/s)

Executing script at 00c00000

File not found rockchip.dtb =================begin=================== 4600920 bytes read in 27 ms (162.5 MiB/s) Fdt Ramdisk skip relocation No misc partition Bad Linux ARM64 Image magic! SCRIPT FAILED: continuing...

Error: "mtd_boot" not defined

Error: "mtd_boot" not defined

Error: "mtd_boot" not defined

starting USB... Bus dwc3@fcc00000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3@fd000000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus dwc3@fcc00000 for devices... 1 USB Device(s) found scanning bus dwc3@fd000000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-rockchip No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. =>

DHDAXCW commented 1 year ago

station-p2 不鸟了

gaopangyu commented 3 months ago

遇到同样问题了,楼主解决了吗

DHDAXCW commented 3 months ago

不支持了