ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.04k stars 1.93k forks source link

rock5b启动失败 #1240

Closed bigmangos closed 1 year ago

bigmangos commented 1 year ago

Standard chat template, no routine, no chat. 标准聊天模板,无套路不聊天。

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 Describe the problem in detail and attach screenshots if necessary. 详细描述问题,并在必要时附上屏幕截图。

NVME启动,然后绿灯和蓝灯同时常亮,连不上网络进不去系统。 打印日志如下:

[2023-04-02 11:06:43.868] DDR Version V1.07 20220412
[2023-04-02 11:06:43.977] LPDDR4X, 2112MHz
[2023-04-02 11:06:43.977] channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 11:06:43.977] channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 11:06:43.977] channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 11:06:43.977] channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 11:06:43.977] change to F1: 528MHz
[2023-04-02 11:06:43.977] change to F2: 1068MHz
[2023-04-02 11:06:44.071] change to F3: 1560MHz
[2023-04-02 11:06:44.102] change to F0: 2112MHz
[2023-04-02 11:06:44.134] out
[2023-04-02 11:06:44.712] INFO:    Preloader serial: 2
[2023-04-02 11:06:44.716] NOTICE:  BL31: v2.3():v2.3-371-g07caf6d56:derrick.huang
[2023-04-02 11:06:44.716] NOTICE:  BL31: Built : 12:33:59, May 30 2022
[2023-04-02 11:06:44.716] INFO:    ext 32k is not valid
[2023-04-02 11:06:44.716] INFO:    GICv3 without legacy support detected.
[2023-04-02 11:06:44.716] INFO:    ARM GICv3 driver initialized in EL3
[2023-04-02 11:06:44.716] INFO:    system boots from cpu-hwid-0
[2023-04-02 11:06:44.716] INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
[2023-04-02 11:06:44.716] INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
[2023-04-02 11:06:44.716] INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
[2023-04-02 11:06:44.716] INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
[2023-04-02 11:06:44.716] INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
[2023-04-02 11:06:44.716] INFO:    BL31: Initialising Exception Handling Framework
[2023-04-02 11:06:44.716] INFO:    BL31: Initializing runtime services
[2023-04-02 11:06:44.716] WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
[2023-04-02 11:06:44.716] ERROR:   Error initializing runtime service opteed_fast
[2023-04-02 11:06:44.716] INFO:    BL31: Preparing for EL3 exit to normal world
[2023-04-02 11:06:44.716] INFO:    Entry point address = 0x200000
[2023-04-02 11:06:44.716] INFO:    SPSR = 0x3c9

换官网Armbian系统正常。 Armbian_23.02.0-trunk.0254_Rock-5b_jammy_legacy_5.10.110_minimal.img.xz

[2023-04-02 14:29:04.039] DDR Version V1.07 20220412
[2023-04-02 14:29:04.149] LPDDR4X, 2112MHz
[2023-04-02 14:29:04.149] channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 14:29:04.164] channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 14:29:04.164] channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 14:29:04.164] channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
[2023-04-02 14:29:04.164] change to F1: 528MHz
[2023-04-02 14:29:04.196] change to F2: 1068MHz
[2023-04-02 14:29:04.259] change to F3: 1560MHz
[2023-04-02 14:29:04.290] change to F0: 2112MHz
[2023-04-02 14:29:04.321] out
[2023-04-02 14:29:04.899] INFO:    Preloader serial: 2
[2023-04-02 14:29:04.899] NOTICE:  BL31: v2.3():v2.3-371-g07caf6d56:derrick.huang
[2023-04-02 14:29:04.899] NOTICE:  BL31: Built : 12:33:59, May 30 2022
[2023-04-02 14:29:04.899] INFO:    ext 32k is not valid
[2023-04-02 14:29:04.899] INFO:    GICv3 without legacy support detected.
[2023-04-02 14:29:04.899] INFO:    ARM GICv3 driver initialized in EL3
[2023-04-02 14:29:04.899] INFO:    system boots from cpu-hwid-0
[2023-04-02 14:29:04.899] INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
[2023-04-02 14:29:04.899] INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
[2023-04-02 14:29:04.899] INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
[2023-04-02 14:29:04.899] INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
[2023-04-02 14:29:04.899] INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
[2023-04-02 14:29:04.899] INFO:    BL31: Initialising Exception Handling Framework
[2023-04-02 14:29:04.899] INFO:    BL31: Initializing runtime services
[2023-04-02 14:29:04.899] WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
[2023-04-02 14:29:04.899] ERROR:   Error initializing runtime service opteed_fast
[2023-04-02 14:29:04.899] INFO:    BL31: Preparing for EL3 exit to normal world
[2023-04-02 14:29:04.899] INFO:    Entry point address = 0x200000
[2023-04-02 14:29:04.899] INFO:    SPSR = 0x3c9
[2023-04-02 14:29:11.462] [-1;-1fdone.
[2023-04-02 14:29:11.462] 
[2023-04-02 14:29:11.462] Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
[2023-04-02 14:29:11.462] 
[2023-04-02 14:29:11.524] Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
[2023-04-02 14:29:11.524] 
[2023-04-02 14:29:11.540] done.
[2023-04-02 14:29:11.540] 
[2023-04-02 14:29:11.555] Begin: Will now check root file system ... fsck from util-linux 2.37.2
[2023-04-02 14:29:11.555] 
[2023-04-02 14:29:11.571] [/usr/sbin/fsck.ext4 (1) -- /dev/nvme0n1p2] fsck.ext4 -a -C0 /dev/nvme0n1p2 
[2023-04-02 14:29:11.571] 
[2023-04-02 14:29:11.571] armbi_root: clean, 51282/120720 files, 361794/482299 blocks
[2023-04-02 14:29:11.571] 
[2023-04-02 14:29:11.587] done.
[2023-04-02 14:29:11.587] 
[2023-04-02 14:29:11.587] done.
[2023-04-02 14:29:11.587] 
[2023-04-02 14:29:11.587] Begin: Running /scripts/local-bottom ... done.
[2023-04-02 14:29:11.587] 
[2023-04-02 14:29:11.649] Begin: Running /scripts/init-bottom ... done.
[2023-04-02 14:29:11.649] 
[2023-04-02 14:29:11.915] 
[2023-04-02 14:29:11.915] 
[2023-04-02 14:29:11.915] Welcome to Armbian 23.02.0-trunk.0252 Jammy!
[2023-04-02 14:29:11.915] 
ophub commented 1 year ago

我的rock5b用的是这里下载的,spi必须刷我仓库里的,刷官方的不行。我是从tf卡启动后dd镜像到nvme的。

电源使用30 W以上的,我之前使用ipad的20 w电源时只能拔电重插启动,reboot不行。我正好昨天买了官方30 w的电源测试了一下可以正常reboot了。

IMG_2462

bigmangos commented 1 year ago

我刷的armbian的spi,官方的spi启动不了armbian,请问下大佬的spi和官方armbian的不一样吗? 关于供电,我现在是用诱骗直接18V,官方armbian可以启动,boot和官方有什么不同吗?

ophub commented 1 year ago

我用了半年了,一直不能正常reboot,执行完了要等5分钟才能启动,之前换过一个第三方的20w的也不行,周五我问了下TB客服,他说功率不够,要30W以上才可以,我周五下单的官方70块的那个黑色的电源,昨天周六到了我换上reboot了很多次都顺利快速启动了,所以NVME可能真的是需要30W以上。使用tf或者emmc的使用18w的也可以,我ipad电源是20w的使用tf卡也可以。

我的这个spi是f大在5b刚上市那会开发的,增加了一些特殊优化。我大概2周也测试过换成官方为armbian开发的spi,结果无法启动,又换回了这个f大开发的。

我昨天刚新刷了rock5b

Snip20230402_7