Firefly开源社区

打印 上一主题 下一主题

[Linux] 重刷板子ubantu固件后,机器无法启动

10

积分

0

威望

0

贡献

技术小白

积分
10

重刷板子ubantu固件后,机器无法启动

发表于 2021-7-12 09:55:14      浏览:8671 | 回复:8        打印      只看该作者   [复制链接] 楼主
调试信息如下:
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2021-7-12 10:01:11        只看该作者  沙发
请问是哪个型号的板子,刷的什么版本固件,板子刚到手时能正常开机启动吗?
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-7-12 10:02:22        只看该作者  板凳
麻烦发一下完整的log
回复

使用道具 举报

10

积分

0

威望

0

贡献

技术小白

积分
10
发表于 2021-7-12 10:13:33        只看该作者  地板
RX DQS Train result:
cs0, DQS0:cyc:2,oph:3,dll:14
cs0, DQS1:cyc:2,oph:3,dll:23
cs0, DQS2:cyc:2,oph:3,dll:12
cs0, DQS3:cyc:2,oph:3,dll:24
cs1, DQS0:cyc:2,oph:3,dll:1
cs1, DQS1:cyc:2,oph:3,dll:8
cs1, DQS2:cyc:2,oph:3,dll:4
cs1, DQS3:cyc:2,oph:3,dll:16
change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
PHY drv:clk:0x1a,0x1a,ca:0x1a,0x1a,DQ:0x1e,0x1e,odt:0x0,0xa
vrefinner:0x55, vrefout:0x100
dram drv:40,odt:80
vref_ca:00000071
minca:0x7d,ck:0x80,ab:0x80,0x80, min_ck:0x3
get_clk_dqs_def_val: tdqs2dq:434
clk:0x43, clk_delta:-61,max_freq:1056
skew.dqs[0][0]:0x3d
skew.dqs[0][1]:0x30
skew.dqs[0][2]:0x37
skew.dqs[0][3]:0x26
skew.dqs[1][0]:0x3d
skew.dqs[1][1]:0x33
skew.dqs[1][2]:0x37
skew.dqs[1][3]:0x2a
cs 0:
U-Boot SPL board init
U-Boot SPL 2017.09-ga1f6fc00a0-210413 #ldq (Apr 13 2021 - 11:35:00)

[09:59:38.264]收←◆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
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK

[09:59:38.311]收←◆## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b1da90 ... sha256+ OK
## Checking atf-2 0xfdcc9000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking optee 0x08400000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 536.289 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-126-g6b10c1bb5:zwx
NOTICE:  BL31: Built : 13:56:18, May  8 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= 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
INFO:    BL31: Initializing BL32

[09:59:38.423]收←◆I/TC:
I/TC: Start rockchip platform init
I/TC: Rockchip release version: 1.0
I/TC: OP-TEE version: 3.6.0-307-g0b06ae94 #1 Fri May  7 01:52:27 UTC 2021 aarch64
I/TC: Initialized
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9

[09:59:38.500]收←◆

U-Boot 2017.09-g46559b16d4 #liuth (Jun 24 2021 - 16:17:07 +0800)

Model: Firefly RK3568 Board
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed35b000, fdt: eb9f8778

[09:59:38.549]收←◆Using default environment

SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2
PartType: EFI
boot mode: recovery (misc)
FIT: No fdt blob
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Firefly RK3568 Board
rockchip_set_ethaddr: vendor_storage_write failed -5
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 24000 KHz
  vpll 24000 KHz
  hpll 24000 KHz
  ppll 100000 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 50000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
ANDROID: reboot reason: "recovery"
optee api revision: 2.0
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
No valid android hdr
Android image load failed
Android boot failed, error -1.
no mmc device at slot 1
no mmc device at slot 0
starting USB...
Bus dwc3@fcc00000: usb maximum-speed not found

[09:59:38.972]收←◆Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3@fd000000: usb maximum-speed not found

[09:59:39.372]收←◆Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@fcc00000 for devices...
[09:59:40.489]收←◆1 USB Device(s) found
scanning bus dwc3@fd000000 for devices...
[09:59:41.611]收←◆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
[09:59:41.630]收←◆.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.
=>
回复

使用道具 举报

10

积分

0

威望

0

贡献

技术小白

积分
10
发表于 2021-7-12 10:16:42        只看该作者  5#
BootLoader 模式下无法刷板子 只能在MaskRom模式下刷固件
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2021-7-12 10:29:16        只看该作者  6#
请尝试在切换emmc存储步骤前,把spi flash擦除
回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2021-7-12 10:29:57        只看该作者  7#
使用附件loader,记得解压
使用最新ubuntu固件https://www.t-firefly.com/doc/download/106.html
参考https://wiki.t-firefly.com/zh_CN ... are_with_flash.html
先进入maskrom模式,高级功能,下载loader
然后读取存储列表,切换到spinor,擦除所有
再切换到emmc,擦除所有
最后回到升级固件页面,升级固件

rk356x_spl_loader_v1.07.111.zip

303.86 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

10

积分

0

威望

0

贡献

技术小白

积分
10
发表于 2021-7-12 10:48:20        只看该作者  8#
已完成,主要是spinor没擦除
回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2021-7-12 10:53:40        只看该作者  9#
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表