uefi使用咨询
试了几个都不行,包括今天刚买的海康的2.0也不行。
或者能否告知如何制作uefi镜像,就不用通过u盘去安装iso了
- 已编辑
针对4G DDR大小的, 如下修改:
--- a/uefi/edk2-platforms/Platform/Rockchip/RK3588/RK3588.dsc
+++ b/uefi/edk2-platforms/Platform/Rockchip/RK3588/RK3588.dsc
@@ -124,7 +124,7 @@
# System Memory (1GB)
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000
- gRK3588TokenSpaceGuid.PcdTotalMemorySize|0x200000000
+ gRK3588TokenSpaceGuid.PcdTotalMemorySize|0x100000000
# RK3588 CPU profile
gArmPlatformTokenSpaceGuid.PcdCoreCount|4
Linx 再请教下。比如我用公版的内核版本5.10.160的版本(客户指定的版本,已移植部分内核修改进来), 该如何替换。
我按照如下操作
0,vmlinuz替换为sdk编译出的Image
1, 重新打包initrd.gz 将内核中编译出的modules放进来
内核models按照rk文档进行编译出的
2, 同时按照文档生成kernel deb
3, 替换u盘里面的deb,删除原先的linux-headers等文件
cp linux-headers-5.10.160_5.10.160-1_arm64.deb udisk/pool/main/l/linux/
cp linux-libc-dev_5.10.160-1_arm64.deb udisk/pool/main/l/linux/
cp linux-image-5.10.160_5.10.160-1_arm64.deb udisk/pool/main/l/linux-signed-arm64/
并在md5sum.txt中加入相应的md5
重新安装发现提示未找到内核或者内核版本不匹配,请问我是否哪里忘记了修改?
不能简单地替换文件, 参考这个链接:https://wiki.debian.org/DebianInstaller/Modify/CustomKernel
请教下 安装完 进不了系统提示如下
SdhciSendCommand(746): MMC_CMD17 completion TIMEOUT PresState 0x3F702F7 MmcStatus 0x18000,0x1
MMCReadBlockData(1186): bad cmd 113A0010
MMCSendCommand(947): MMC_CMD12 ERRI MmcStatus 0x18000,0x1
MMC_CMD REG:0xCDB0000 0x0
MmcIoBlocks(): Failed to transfer block and Statusevice Error
Loading driver at 0x0002D2C0000 EntryPoint=0x0002E7938B0
Loading driver at 0x0002D2C0000 EntryPoint=0x0002E7938B0
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
[ 32.634535] fiq_debugger fiq_debugger.0: IRQ fiq not found
[ 32.634551] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 32.634560] fiq_debugger_probe: could not install nmi irq handler
[ 33.269046] rk-pcie fe170000.pcie: IRQ msi not found
[ 33.269095] rk-pcie fe170000.pcie: Missing config reg space
[ 33.269233] rk-pcie fe170000.pcie: Missing config reg space
[ 33.269278] rk-pcie fe170000.pcie: invalid resource
[ 33.273917] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[ 33.275577] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[ 33.275595] rkvdec2_init:707: No niu aclk reset resource define
[ 33.275602] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[ 33.275608] rkvdec2_init:710: No niu hclk reset resource define
[ 33.276369] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found!
[ 33.276381] rkvdec2_init:707: No niu aclk reset resource define
[ 33.276388] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found!
[ 33.276394] rkvdec2_init:710: No niu hclk reset resource define
[ 33.318289] dw-mipi-dsi2 fde30000.dsi: [drm:dw_mipi_dsi2_bind] ERROR Failed to find panel or bridge: -517
[ 33.352019] rk806 spi2.0: no sleep-setting state
[ 33.352039] rk806 spi2.0: no reset-setting pinctrl state
[ 33.352047] rk806 spi2.0: no dvs-setting pinctrl state
[ 33.354915] spi-nor spi5.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[ 33.356337] rk_gmac-dwmac fe1b0000.ethernet: no regulator found
[ 33.356363] rk_gmac-dwmac fe1b0000.ethernet: Can not read property: rx_delay.
[ 33.356372] rk_gmac-dwmac fe1b0000.ethernet: set rx_delay to 0xffffffff
[ 33.356397] rk_gmac-dwmac fe1b0000.ethernet: cannot get clock mac_clk_rx
[ 33.356407] rk_gmac-dwmac fe1b0000.ethernet: cannot get clock mac_clk_tx
[ 33.356425] rk_gmac-dwmac fe1b0000.ethernet: cannot get clock clk_mac_speed
[ 33.356801] rk_gmac-dwmac fe1b0000.ethernet: rk_get_eth_addr: rk_vendor_read eth mac address failed (-1)
[ 33.356815] rk_gmac-dwmac fe1b0000.ethernet: rk_get_eth_addr: generate random eth mac address: f2:7e:d9:e4:c6:5a
[ 33.356827] rk_gmac-dwmac fe1b0000.ethernet: rk_get_eth_addr: rk_vendor_write eth mac address failed (-1)
[ 33.356837] rk_gmac-dwmac fe1b0000.ethernet: rk_get_eth_addr: id: 0 rk_vendor_read eth mac address failed (-1)
[ 33.356848] rk_gmac-dwmac fe1b0000.ethernet: rk_get_eth_addr: mac address: f2:7e:d9:e4:c6:5a
[ 33.773273] dwmmc_rockchip fe2c0000.mmc: could not set regulator OCR (-22)
[ 33.773322] dwmmc_rockchip fe2c0000.mmc: failed to enable vmmc regulator
[ 33.774509] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[ 33.856380] ES8323 7-0011: i2c recv Failed
[ 33.912559] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[ 33.912641] rockchip-dmc dmc: failed to get vop pn to msch rl
[ 33.918348] rockchip-dmc dmc: could not find power_model node
[ 33.995590] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[ 33.995679] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[ 33.995721] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[ 34.026547] RKNPU fdab0000.npu: failed to find power_model node
[ 34.026618] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[ 34.026646] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[ 35.281498] rockchip-vop2 fdd90000.vop: [drm:vop2_wait_power_domain_off] ERROR wait pd7 off timeout power_ctrl: 0x0
/dev/sda2: recovering journal
/dev/sda2: clean, 142869/877824 files, 1040155/3509760 blocks
[ 35.805967] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[ 36.701004] systemd[1]: Failed to find module 'autofs4'
- 已编辑
从log看, Kernel没有完全驱动完, 与正常启动的kernel, 对比一下kernel里的驱动。