旭日x3派无法启动操作系统求助

用户您好,请详细描述您所遇到的问题:

  1. 系统软件版本:x3pi_ubuntu_desktop_disk_20230225032350
  2. 问题涉及的技术领域: 操作系统
  3. 问题描述:系统无法正常启动,已烧录系统到tf卡,并已多次重复烧录后仍然无法重启(64g tf卡),已尝试通过升级工具1.3升级到最新的固件(disk_nand_minimum_boot_4GB_20220913141512.img)
  4. 复现概率:必现
  5. 提供必要的问题日志:

U-Boot 2018.09-gafbe43f7 (Sep 01 2022 - 16:21:36 +0800)

Model: Hobot XJ3 Soc Board

DRAM: system DDR size: 0xffe00000

4 GiB

MMC: dwmmc@A5010000: 0, dwmmc@A5011000: 1, dwmmc@A5012000: 2 (SD)

Loading Environment from UBI… GigaDevice SPI NAND was found.

128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64

*** Warning - bad CRC, using default environment

In: serial@a5000000

Out: serial@a5000000

Err: serial@a5000000

Net: x3 sdb reset eth phy done

Warning: ethernet@A5014000 (eth0) using random MAC address - e2:10:8e:30:be:a6

eth0: ethernet@A5014000

Disable cnn cores ..

dtb_name:hobot-x3-pi.dtb

base board type: X3 SDB

bootmode: NAND

board_id = 31540334

hb_boot_args_cmd_set custom_bootargs 0 ubuntu_boot 1

Hit any key to stop autoboot: 0

enable watchdog success !

switch to partitions #0, OK

mmc2 is current device

Scanning mmc 2:1…

Found U-Boot script /boot/boot.scr

674 bytes read in 1 ms (658.2 KiB/s)

## Executing script at 03c10000

Boot script loaded from devtype:mmc devnum:2 devplist:1

bootargs = console=ttyS0,921600 raid=noautodetect hobotboot.reson=POWER_RESET rootfstype=ext4 rw rootwait ubi.mtd=2,2048 mtdparts=hr_nand.0:6291456@0x0(miniboot),2097152@0x600000(env),26214400@0x800000(boot),57671680@0x2000000(system),-@0x5700000(userdata) root=/dev/mmcblk2p1

Loading fdt file: /boot/hobot/hobot-x3-pi.dtb

69633 bytes read in 6 ms (11.1 MiB/s)

Loading kernel: /boot/vmlinuz-4.14.87

19163144 bytes read in 844 ms (21.7 MiB/s)

## Flattened Device Tree blob at 03c00000

Booting using the fdt blob at 0x3c00000

Loading Device Tree to 0000000003c00000, end 0000000003c1ffff … OK

chip_id: ab36300

The address of the fdt is 0x3c00000

Changed status Done

Can’t get fdt_addr !!!Orign(MAX) bpu model Reserve Mem Size to 64M!!

Starting kernel …

[ 0.000000] OF: reserved mem: OVERLAP DETECTED!

[ 0.000000] image_r5_mem (0x0000000080000000–0x0000000080010000) overlaps with msg_r5_mem (0x000000008000f000–0x0000000080010000)

[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000004000000, size 672 MiB

[ 0.000000] OF: reserved mem: initialized node ion_cma, compatible id shared-dma-pool

[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000

[ 0.000000] On node 0 totalpages: 1047808

[ 0.000000] DMA zone: 8180 pages used for memmap

[ 0.000000] DMA zone: 0 pages reserved

[ 0.000000] DMA zone: 523520 pages, LIFO batch:31

[ 0.000000] Normal zone: 8192 pages used for memmap

[ 0.000000] Normal zone: 524288 pages, LIFO batch:31

[ 0.000000] psci: probing for conduit method from DT.

[ 0.000000] psci: PSCIv1.1 detected in firmware.

[ 0.000000] psci: Using standard PSCI v0.2 function IDs

[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.

[ 0.000000] psci: SMC Calling Convention v1.1

[ 0.000000] percpu: Embedded 25 pages/cpu @ffffffc17ff2a000 s65176 r8192 d29032 u102400

[ 0.000000] pcpu-alloc: s65176 r8192 d29032 u102400 alloc=25*4096

[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3

[ 0.000000] Detected VIPT I-cache on CPU0

[ 0.000000] CPU features: enabling workaround for ARM erratum 845719

[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1031436

[ 0.000000] Kernel command line: earlycon loglevel=8 kgdboc=ttyS0 video=hobot:x3sdb-hdmi console=ttyS0,921600 raid=noautodetect hobotboot.reson=POWER_RESET rootfstype=ext4 rw rootwait ubi.mtd=2,2048 “mtdparts=hr_nand.0:6291456@0x0(miniboot),2097152@0x600000(env),26214400@0x800000(boot),57671680@0x2000000(system),-@0x5700000(userdata)” root=/dev/mmcblk2p1

[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)

[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)

[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)

[ 0.000000] software IO TLB [mem 0x7afff000-0x7efff000] (64MB) mapped at [ffffffc07afff000-ffffffc07effefff]

[ 0.000000] Memory: 3319580K/4191232K available (10494K kernel code, 1306K rwdata, 5756K rodata, 1088K init, 9553K bss, 167140K reserved, 704512K cma-reserved)

[ 0.000000] Virtual kernel memory layout:

[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)

[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)

[ 0.000000] .text : 0xffffff8008000000 - 0xffffff8008a40000 ( 10496 KB)

[ 0.000000] .rodata : 0xffffff8008a40000 - 0xffffff8008ff0000 ( 5824 KB)

[ 0.000000] .init : 0xffffff8008ff0000 - 0xffffff8009100000 ( 1088 KB)

[ 0.000000] .data : 0xffffff8009100000 - 0xffffff8009246808 ( 1307 KB)

[ 0.000000] .bss : 0xffffff8009246808 - 0xffffff8009b9aed8 ( 9554 KB)

[ 0.000000] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)

[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)

[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)

[ 0.000000] 0xffffffbf00008000 - 0xffffffbf06000000 ( 95 MB actual)

[ 0.000000] memory : 0xffffffc000200000 - 0xffffffc180000000 ( 6142 MB)

[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[ 0.000000] ftrace: allocating 36277 entries in 142 pages

[ 0.000000] Preemptible hierarchical RCU implementation.

[ 0.000000] Tasks RCU enabled.

[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0

[ 0.000000] parent_rate: 0, dclk->rate:2666000000, pre_ddr_rate:0, res.a0:139716584

[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).

[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns

[ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns

[ 0.001195] clocksource: hobot_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns

[ 0.002969] Console: colour dummy device 80x25

[ 0.003539] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)

[ 0.004845] pid_max: default: 32768 minimum: 301

[ 0.005499] Security Framework initialized

[ 0.006017] AppArmor: AppArmor disabled by boot time parameter

[ 0.006861] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)

[ 0.007730] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)

[ 0.023772] ASID allocator initialised with 65536 entries

[ 0.031770] Hierarchical SRCU implementation.

[ 0.063829] smp: Bringing up secondary CPUs …

[ 0.100038] Detected VIPT I-cache on CPU1

[ 0.100072] CPU1: Booted secondary processor [410fd034]

[ 0.136087] Detected VIPT I-cache on CPU2

[ 0.136108] CPU2: Booted secondary processor [410fd034]

[ 0.172148] Detected VIPT I-cache on CPU3

[ 0.172167] CPU3: Booted secondary processor [410fd034]

[ 0.172220] smp: Brought up 1 node, 4 CPUs

[ 0.176283] SMP: Total of 4 processors activated.

[ 0.176878] CPU features: detected feature: 32-bit EL0 Support

[ 0.177698] CPU: All CPU(s) started at EL1

[ 0.178225] alternatives: patching kernel code

[ 0.179817] devtmpfs: initialized

[ 0.188984] random: get_random_u32 called from bucket_table_alloc+0x108/0x270 with crng_init=0

[ 0.190624] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[ 0.191869] futex hash table entries: 1024 (order: 5, 131072 bytes)

[ 0.208477] xor: automatically using best checksumming function 32regs

[ 0.209398] pinctrl core: initialized pinctrl subsystem

[ 0.210634] NET: Registered protocol family 16

[ 0.212077] vdso: 2 pages (1 code @ ffffff8008a46000, 1 data @ ffffff8009104000)

[ 0.213023] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.

[ 0.214616] DMA: preallocated 256 KiB pool for atomic allocations

[ 0.217527] pstore: using zlib compression

[ 0.218353] console [pstore-1] enabled

[ 0.218949] pstore: Registered ramoops as persistent store backend

[ 0.219734] ramoops: attached 0x40000@0x3fc0000, ecc: 0/0

[ 0.224725] hobot_dma a1005000.dma: Hobot DMA Engine Driver Probed!!

[ 0.238597] SCSI subsystem initialized

[ 0.239217] media: Linux media interface: v0.10

[ 0.239810] Linux video capture interface: v2.00

[ 0.240469] pps_core: LinuxPPS API ver. 1 registered

[ 0.241097] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it

[ 0.242271] PTP clock support registered

[ 0.243402] ion_dummy: not reserve carveout memory, try to alloc from cma

NOTICE: fast_boot:0

S

F

L

O

NOTICE: efuse cpu_cfg = 0

W

NOTICE: Booting Trusted Firmware

NOTICE: BL1: v1.4(release):HR-ROM-Rel-v1.1-141-ga91d4dd-dirty

NOTICE: BL1: Built : 11:24:44, Oct 23 2019

NOTICE: Waiting connect …

NOTICE: boot src: 2

NOTICE: GigaDev SPI NAND was found.

NOTICE: Block size: 128 KiB, page size: 2048

NOTICE: BL1: Booting BL2

Auth pass

NOTICE: bl1_main exit

SPL cold boot flow

check_reset_state (0): wakeup address = 0x0, hw wakeup status = 0x0, wakeup src=0x100

patch for sys_pll 1200 with 100M eth

SFLOW_INIT

CHIP ID:PCC835/WAFER: W17/ X: X34/ Y: Y20

secondary_jump_to_spl: secure chip flow

X3 SPL : secondary core wake up and jump to spl done (cpu_core_cfg=0)

SFLOW_FIN_HW_A

U-Boot SPL 2018.09-g685ea0924d (Jul 07 2022 - 16:15:50 +0800)

SPACC Init - ID: (00000061)

SPL nand boot mode (from strap)

GigaDev SPI NAND was found.

Block size: 128 KiB, page size: 2048

ddr_type = 1 (LPDDR4)

hb_chip_package_type:3

load ddr header src_addr: 100000, load_addr: 802ca020, src_len: a00

find valid ddr image

ddr_hdr.ecc_gran: 0x0

ddr_hdr.ecc_map: 0x0

ddr_hdr.sbr_pattern0: 0x0

ddr_hdr.sbr_pattern1: 0x0

ddr_freq = 05

board id = 31540334

ddr datarate: 3200

### SAMSUNG DDR ###

no ddr pin set

detect part number: 108

detect ddr freq: c80

board id alternative:0x3

index is 12

index is 15

index is 19

hb_ddr_index: 19

ddr_type = 1, ddr_vendor=3, ddr_freq=3200

dram_pll_init

sscg disabled

control load ddrc src_addr: 15a800, load_addr: 802caa20, src_len: 920

[DDR INFO] ==ddr_release_info==

[DDR INFO] VERSION: develop

[DDR INFO] BUILD: 2022-07-07-16:15

[DDR INFO] GIT COMMIT: 685ea0924d581ca988bce42c579b18c25bd53c4c

[DDR INFO] GIT TIME: Thu, 7 Jul 2022 16:14:13 +0800

[DDR INFO] ==ddr_features==

[DDR INFO] RDBI: 0

[DDR INFO] WDBI: 1

[DDR INFO] InlineECC: 0

[DDR INFO] DM: 1

[DDR INFO] DDC: 1

[DDR INFO] SSCG: 0

[DDR INFO] BOARD: XS_ENABLE

[DDR INFO] ddr_controller_cfg done

load ddr phy src_addr: 15b200, load_addr: 802caa20, src_len: 420

ATxSlewRate : 15f

ATxImpedance : 7f

TxSlewRate : 19f

TxOdtDrvStren : 600

TxImpedanceCtrl : e3f

CalDrvStr0 : 11

VrefInGlobal : 104

board_type = 4 (CUSTOMER_BOARD)

load dqmap src addr: 15d000, load_addr: 802caa20, src_len: 20

[DDR INFO] dwc_ddrphy_train start

magic = 544f4248

load imem1 src_addr: 11ce00, load_addr: 802caa20, src_len: 8000

load dmem1 src_addr: 159a00, load_addr: 802caa20, src_len: 684

executing 1D fw

load imem2 src_addr: 124e00, load_addr: 802caa20, src_len: 8000

load dmem2 src_addr: 15a200, load_addr: 802caa20, src_len: 564

*******************************************************

p_dmem_lpddr4_2d_16b->MR11_A0:54

p_dmem_lpddr4_2d_16b->MR14_A0:54

p_dmem_lpddr4_2d_16b->MR12_A0:51

p_dmem_lpddr4_2d_16b->MR22_A0:14

p_dmem_lpddr4_2d_16b->MR3_A0:b3

p_dmem_lpddr4_2d_16b->Reserved00:40

p_dmem_lpddr4_2d_16b->Reserved0E:4

p_dmem_lpddr4_2d_16b->Delay_Weight2D:20

p_dmem_lpddr4_2d_16b->Voltage_Weight2D:80

*******************************************************

executing 2D fw

load pie src_addr: 15b800, load_addr: 802caa20, src_len: 11f0

Set QoS.

get_ddr_mr_info:cs_num=1, mr5=0x1, mr8=0x10

no magic in efuse file,bypass efuse

total_sz = 4096

SPL_VERSION:7

uboot partition is uboot_A

load u-boot: src_addr=0x380000, dest_addr=0x4000000, len=2097152

load warm boot spl: addr=0x800, dest_addr=0x80000000, len=31232

load bl31: addr=0x300000, dest_addr=0x0, len=524288

SFLOW_AUTH_BL31

verify signature of header: verify ok!

verify signature of image: verify ok!

bypass bpu image

clear keybank!!!

SFLOW_DBG_EN

Trying to boot from RAM

SPL: bl31 will jump to u-boot or other entry (0x4000000)

SFLOW_CLR_KEY

SFLOW_REG_LD

install_portal copy portal

install_portal call smc and jump to bl31 cold entry(0x0)

hb som type: 5

X3 PI reset VDD_SD done

软件上是否有做自定义修改:未作修改

log3_20230405232548.txt

换个好一点的充电器试试 最好10W以上

感谢回复,已解决。用的5V2.1A的不行,用了手机的有5V3A的输出规格就可以正常启动了。