×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

220-SOM更新固件失败导致进不去系统 已解决 cxgk2022-04-28 08:42:57 回复 4 查看 使用求助
220-SOM更新固件失败导致进不去系统
分享到:

你好,对220-SOM刷机,刷了一半遇到bug,重启后导致系统文件缺失,请问怎么解决?若用TF卡烧录固件,如何烧录?不是.img文件,是.tar文件。

Warning: ethernet@8000054000 (eth0) using random MAC address - ae:b5:9b:28:f2:aa
eth0: ethernet@8000054000
Hit any key to stop autoboot:  0 
Card did not respond to voltage select!
** Bad device mmc 2 **
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
try to get uenv_extra.txt from emmc...
626 bytes read in 7 ms (86.9 KiB/s)
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
8994824 bytes read in 197 ms (43.5 MiB/s)
3454733 bytes read in 75 ms (43.9 MiB/s)
29666 bytes read in 6 ms (4.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 100c000000 ...
   Image Name:   RAM Disk
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    3454669 Bytes = 3.3 MiB
   Load Address: 09c00000
   Entry Point:  09c00000
## Flattened Device Tree blob at 100b000000
   Booting using the fdt blob at 0x100b000000
   Using Device Tree in place at 000000100b000000, end 000000100b00a3e1

Starting kernel ...

[    0.000000] On node 0 totalpages: 524287
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524287 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:  ded 21 pages/cpu @ffff800087f6e000 s47512 r8192 d30312 u86016
[    0.000000] pcpu-alloc: s47512 r8192 d30312 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 516095
[    0.000000] Kernel command line: /dev/ram0 rw MEM=2048m@65664m coherent_pool=4m console=ttyAMA0 earlycon=pl011,0x8000)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 2031576K/2097148K available (5502K kernel code, 464K rwdata, 2440K rodata, 320K init, 512K bss, 6)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff0000085e0000   (  5504 KB)
[    0.000000]     .rodata : 0xffff0000085e0000 - 0xffff000008850000   (  2496 KB)
[    0.000000]       .init : 0xffff000008850000 - 0xffff0000088a0000   (   320 KB)
[    0.000000]       .data : 0xffff0000088a0000 - 0xffff000008914008   (   465 KB)
[    0.000000]        .bss : 0xffff000008914008 - 0xffff0000089942ac   (   513 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fb000 - 0xffff7dfffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000200000 - 0xffff7e0002200000   (    32 MB actual)
[    0.000000]     memory  : 0xffff800008000000 - 0xffff800088000000   (  2048 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, Min s=0, CPUs=4, Nodes=1
[    0.000000] logbuf-mem status is disable
[    0.000000] logbuf share mem not support
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000008000840000
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 s
[    0.000003] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008266] Console: colour dummy device 80x25
[    0.012762] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.023224] pid_max: default: 32768 minimum: 301
[    0.027923] Security  work initialized
[    0.032082] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.038854] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.046597] ASID allocator initialised with 32768 entries
[    0.132237] Detected VIPT I-cache on CPU1
[    0.132257] GICv3: CPU1: found redistributor 100 region 0:0x0000008000860000
[    0.132277] CPU1: Booted secondary processor [411fd050]
[    0.164266] Detected VIPT I-cache on CPU2
[    0.164282] GICv3: CPU2: found redistributor 200 region 0:0x0000008000880000
[    0.164296] CPU2: Booted secondary processor [411fd050]
[    0.196306] Detected VIPT I-cache on CPU3
[    0.196319] GICv3: CPU3: found redistributor 300 region 0:0x00000080008a0000
[    0.196333] CPU3: Booted secondary processor [411fd050]
[    0.196381] Brought up 4 CPUs
[    0.248693] SMP: Total of 4 processors activated.
[    0.253444] CPU features: detected feature: GIC system register CPU interface
[    0.260654] CPU features: detected feature: Privileged Access Never
[    0.266985] CPU features: detected feature: User Access Override
[    0.273052] CPU features: detected feature: 32-bit EL0 Support
[    0.278944] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.289703] CPU: All CPU(s) started at EL2
[    0.293849] alternatives: patching kernel code
[    0.299202] devtmpfs: initialized
[    0.306422] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.316281] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.322719] pinctrl core: initialized pinctrl subsystem
[    0.328483] NET: Registered protocol family 16
[    0.357000] cpuidle: using governor menu
[    0.361062] vdso: 2 pages (1 code @ ffff0000085e5000, 1 data @ ffff0000088a4000)
[    0.368539] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.375980] DMA: preallocated 4096 KiB pool for atomic allocations
[    0.382330] Serial: AMBA PL011 UART driver
[    0.386707] pstore: using zlib compression
[    0.391111] console [pstore-1] enabled
[    0.394999] pstore: Registered ramoops as persistent store backend
[    0.401251] ramoops: attached 0x100000@0x1000400000, ecc: 0/0
[    0.409535] 8000603000.serial: ttyAMA0 at MMIO 0x8000603000 (irq = 6,  _baud = 0) is a PL011 rev3
[    0.418787] console [ttyAMA0] enabled
[    0.418787] console [ttyAMA0] enabled
[    0.426138] bootconsole [pl11] disabled
[    0.426138] bootconsole [pl11] disabled
[    0.434083] uart-pl011 8000604000.serial: aliased and non-aliased serial devices found in device tree. Serial port en.
[    0.447390] 8000604000.serial: ttyAMA1 at MMIO 0x8000604000 (irq = 7,  _baud = 0) is a PL011 rev3
[    0.456900] cn20_mbox 8000003000.mailbox: io address phy: 0x8000003000, vir: 0xffff000008047000
[    0.465624] cn20_mbox 8000003000.mailbox: mailbox enabled
[    0.472182] gpio_cambr 8000012000.gpio_ctrl: set gpio input debounce clock period to 1
[    0.481505] gpio_cambr 8000012000.gpio_ctrl: driving 89 GPIOs
[    0.489100] uart-pl011 8000010000.serial: aliased and non-aliased serial devices found in device tree. Serial port en.
[    0.502409] 8000010000.serial: ttyAMA2 at MMIO 0x8000010000 (irq = 118,  _baud = 0) is a PL011 rev3
[    0.511949] uart-pl011 8000011000.serial: aliased and non-aliased serial devices found in device tree. Serial port en.
[    0.525256] 8000011000.serial: ttyAMA3 at MMIO 0x8000011000 (irq = 119,  _baud = 0) is a PL011 rev3
[    0.562903] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.569999] vgaarb: loaded
[    0.572877] SCSI subsystem initialized
[    0.576677] libata version 3.00 loaded.
[    0.580654] usbcore: registered new interface driver usbfs
[    0.586166] usbcore: registered new interface driver hub
[    0.591524] usbcore: registered new device driver usb
[    0.597051] Linux video capture interface: v2.00
[    0.601697] pps_core: LinuxPPS API ver. 1 registered
[    0.606665] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.615807] PTP clock support registered
[    0.620676] clocksource: Switched to clocksource arch_sys_counter
[    0.626864] VFS: Disk quotas dquot_6.6.0
[    0.630818] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.642311] NET: Registered protocol family 2
[    0.646968] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.654277] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.661045] TCP: Hash tables configured (established 16384 bind 16384)
[    0.667611] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.673643] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.680197] NET: Registered protocol family 1
[    0.684762] RPC: Registered named UNIX socket transport module.
[    0.690682] RPC: Registered udp transport module.
[    0.695387] RPC: Registered tcp transport module.
[    0.700087] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.706527] PCI: CLS 0 bytes, default 128
[    0.710639] Trying to unpack rootfs image as initramfs...
[    0.813010] Freeing initrd memory: 3368K
[    0.817824] audit: initializing net  subsys (disabled)
[    0.823287] audit: type=2000 audit(0.644:1): initialized
[    0.828871] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.839177] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.845410] NFS: Registering the id_resolver key type
[    0.850483] Key type id_resolver registered
[    0.854674] Key type id_legacy registered
[    0.862311] Block   SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.869717] io scheduler noop registered
[    0.873701] io scheduler cfq registered (default)
[    0.878708] pinctrl-single 800002d000.pinmux_ctrl: 96 pins at pa ffff000008071000 size 24
[    0.887008] pinctrl-single 800002e000.pad_ctrl: 96 pins at pa ffff000008073000 size 384
[    0.895233] cambricon-pcie-host 2400000000.pci: RC not   up, so just ignore
[    0.902482] OF: PCI: host bridge /soc/pci@0x8000b40000 ranges:
[    0.908328] OF: PCI:   MEM 0x2640000000..0x267fffffff -> 0x40000000
[    0.914593] OF: PCI:    IO 0x2680000000..0x268000ffff -> 0x00000000
[    0.920892] cambricon-pcie-host 2600000000.pci: ECAM at [mem 0x2600000000-0x2601ffffff] for [bus 00-1f]
[    0.930373] cambricon-pcie-host 2600000000.pci: PCI host bridge to bus 0001:00
[    0.937599] pci_bus 0001:00: root bus resource [bus 00-1f]
[    0.943084] pci_bus 0001:00: root bus resource [mem 0x2640000000-0x267fffffff] (bus address [0x40000000-0x7fffffff])
[    0.953605] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.959798] pci 0001:00:00.0: [cabc:0220] type 01 class 0x060400
[    0.965867] pci 0001:00:00.0: PME# supported from D0 D3hot
[    0.971532] pci 0001:01:00.0: [1b21:2142] type 00 class 0x0c0330
[    0.977556] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    0.984409] pci 0001:01:00.0: PME# supported from D0
[    0.989473] pci_bus 0001:01: busn_res: [bus 01-1f] end is updated to 01
[    0.996152] pci 0001:00:00.0: BAR 14: assigned [mem 0x2640000000-0x26400fffff]
[    1.003380] pci 0001:01:00.0: BAR 0: assigned [mem 0x2640000000-0x2640007fff 64bit]
[    1.011040] pci 0001:00:00.0: PCI bridge to [bus 01]
[    1.016008] pci 0001:00:00.0:   bridge window [mem 0x2640000000-0x26400fffff]
[    1.023161] pci 0001:00:00.0: enabling device (0000 -> 0002)
[    1.028826] pci 0001:01:00.0: enabling device (0000 -> 0002)
[    1.042196] brd: module loaded
[    1.047946] loop: module loaded
[    1.051703] cambricon-sfc 8000023000.sfc: mx25u12835f (16384 Kbytes)
[    1.058112] 2 cmdlinepart partitions found on MTD device qspi.0
[    1.064035] Creating 2 MTD partitions on "qspi.0":
[    1.068844] 0x000000000000-0x000000200000 : "rsv"
[    1.073713] 0x000000200000-0x000001000000 : "userdata"
[    1.079704] libphy: Fixed MDIO Bus: probed
[    1.084182] cambr-eth-dwmac 8000050000.ethernet: Cannot get CSR clock
[    1.090651] cambr-eth-dwmac 8000050000.ethernet: PTP uses main clock
[    1.097010] cambr-eth-dwmac 8000050000.ethernet: no reset control found
[    1.112682] cambricon-sfc 8000023000.sfc: work start
[    1.117657] cambricon-sfc 8000023000.sfc: Register SPI-NOR sysfs attributes success
[    1.128659] cambr-eth-dwmac 8000050000.ethernet: phy mode is rgmii
[    1.134939] cambr-eth-dwmac 8000050000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    1.142422] cambr-eth-dwmac 8000050000.ethernet:     DWMAC4/5
[    1.147908] cambr-eth-dwmac 8000050000.ethernet: DMA HW capability register supported
[    1.155733] cambr-eth-dwmac 8000050000.ethernet: RX Checksum Offload Engine supported
[    1.163558] cambr-eth-dwmac 8000050000.ethernet: TX Checksum insertion supported
[    1.170948] cambr-eth-dwmac 8000050000.ethernet: Wake-Up On Lan supported
[    1.177759] cambr-eth-dwmac 8000050000.ethernet: TSO supported
[    1.183589] cambr-eth-dwmac 8000050000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.191942] cambr-eth-dwmac 8000050000.ethernet (unnamed net_device) (uninitialized): device MAC address ea:7d:c1:77:e
[    1.202981] cambr-eth-dwmac 8000050000.ethernet: TSO feature enabled
[    1.209385] libphy: stmmac: probed
[    1.213542] cambr-eth-dwmac 8000054000.ethernet: Cannot get CSR clock
[    1.220008] cambr-eth-dwmac 8000054000.ethernet: PTP uses main clock
[    1.226361] cambr-eth-dwmac 8000054000.ethernet: no reset control found
[    1.254011] cambr-eth-dwmac 8000054000.ethernet: phy mode is rgmii
[    1.260274] cambr-eth-dwmac 8000054000.ethernet: User ID: 0x10, Synopsys ID: 0x51
[    1.267756] cambr-eth-dwmac 8000054000.ethernet:     DWMAC4/5
[    1.273242] cambr-eth-dwmac 8000054000.ethernet: DMA HW capability register supported
[    1.281068] cambr-eth-dwmac 8000054000.ethernet: RX Checksum Offload Engine supported
[    1.288892] cambr-eth-dwmac 8000054000.ethernet: TX Checksum insertion supported
[    1.296282] cambr-eth-dwmac 8000054000.ethernet: Wake-Up On Lan supported
[    1.303085] cambr-eth-dwmac 8000054000.ethernet: TSO supported
[    1.308914] cambr-eth-dwmac 8000054000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.317267] cambr-eth-dwmac 8000054000.ethernet (unnamed net_device) (uninitialized): device MAC address a6:f6:5d:4b:9
[    1.328305] cambr-eth-dwmac 8000054000.ethernet: TSO feature enabled
[    1.334704] libphy: stmmac: probed
[    1.338791] usbcore: registered new interface driver rtl8150
[    1.344483] usbcore: registered new interface driver r8152
[    1.349989] usbcore: registered new interface driver lan78xx
[    1.355674] usbcore: registered new interface driver asix
[    1.361093] usbcore: registered new interface driver ax88179_178a
[    1.367207] usbcore: registered new interface driver cdc_ether
[    1.373057] usbcore: registered new interface driver net1080
[    1.378736] usbcore: registered new interface driver cdc_subset
[    1.384677] usbcore: registered new interface driver zaurus
[    1.390277] usbcore: registered new interface driver cdc_ncm
[    1.396033] VFIO - User Level  -driver version: 0.3
[    1.401333] xhci_hcd 0001:01:00.0: xHCI Host Controller
[    1.406574] xhci_hcd 0001:01:00.0: new USB bus registered, assigned bus number 1
[    1.468881] xhci_hcd 0001:01:00.0: hcc params 0x0200ef81 hci version 0x110 quirks 0x00000010
[    1.477921] hub 1-0:1.0: USB hub found
[    1.481688] hub 1-0:1.0: 2 ports detected
[    1.485901] xhci_hcd 0001:01:00.0: xHCI Host Controller
[    1.491132] xhci_hcd 0001:01:00.0: new USB bus registered, assigned bus number 2
[    1.498529] xhci_hcd 0001:01:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[    1.505621] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.513997] hub 2-0:1.0: USB hub found
[    1.517761] hub 2-0:1.0: 2 ports detected
[    1.522031] usbcore: registered new interface driver usb-storage
[    1.528096] usbcore: registered new interface driver usbserial
[    1.533953] usbcore: registered new interface driver option
[    1.539542] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.546688] mousedev: PS/2 mouse device common for all mice
[    1.557448] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[    1.564963] i2c /dev entries driver
[    1.568733] cn_wdt 8000001000.wdt: can't request region for resource [mem 0x8000000000-0x8000000fff]
[    1.577878] cn_wdt: probe of 8000001000.wdt failed with error -16
[    1.584301] sdhci: Secure Digital Host Controller Interface driver
[    1.590481] sdhci: Copyright(c) Pierre Ossman
[    1.594835] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.618647] mmc0: Unknown controller version (5). You may experience problems.
[    1.676690] mmc0: SDHCI controller on 8000040000.sdhci [8000040000.sdhci] using ADMA
[    1.678799] mmc0 hardware reset trigger....
[    1.714013] mmc1: Unknown controller version (5). You may experience problems.
[    1.759700] sdhci: Tuning procedure failed, falling back to fixed sampling clock
[    1.767765] mmc0: new HS200 MMC card at address 0001
[    1.772742] mmc1: SDHCI controller on 8000044000.sdhci [8000044000.sdhci] using ADMA
[    1.772976] mmcblk0: mmc0:0001 HSeMMC 29.1 GiB 
[    1.773096] mmcblk0boot0: mmc0:0001 HSeMMC partition 1 4.00 MiB
[    1.773195] mmcblk0boot1: mmc0:0001 HSeMMC partition 2 4.00 MiB
[    1.773295] mmcblk0rpmb: mmc0:0001 HSeMMC partition 3 4.00 MiB
[    1.773510]  mmcblk0: p1(boot) p2(rootfs) p3(cambricon) p4(neuware) p5(data)
[    1.787404] mmc1: Got command interrupt 0x00000001 even though no command operation was in progress.
[    1.787406] sdhci: =========== REGISTER DUMP (mmc1)===========
[    1.787409] sdhci: Sys addr: 0x00000000 | Version:  0x00000005
[    1.787412] sdhci: Blk size: 0x00000000 | Blk cnt:  0x00000000
[    1.787415] sdhci: Argument: 0x80000c08 | Trn mode: 0x00000000
[    1.787418] sdhci: Present:  0x03ff0000 | Host ctl: 0x00000001
[    1.787420] sdhci: Power:    0x0000000f | Blk gap:  0x00000000
[    1.787422] sdhci: Wake-up:  0x00000000 | Clock:    0x00004007
[    1.787425] sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
[    1.787428] sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00ff0003
[    1.787430] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[    1.787433] sdhci: Caps:     0x2169c899 | Caps_1:   0x08010f77
[    1.787435] sdhci: Cmd:      0x0000341a | Max curr: 0x00000000
[    1.787437] sdhci: Host ctl2: 0x00000000
[    1.787440] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000
[    1.787440] sdhci: ===========================================
[    1.805771] sdhci_cambr 8000044000.sdhci: card claims to support voltages below defined range
[    1.823649] mmc1: new high speed SDIO card at address 0001
[    1.872692] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.928074] gpio_cambr 8000012000.gpio_ctrl: gpio_cambr_request set gpio 12 to default value GPIO_CTRL: 0x80 GPIO_STA0
[    1.939381] sdhci_cambr 8000048000.sdhci: Got CD GPIO
[    1.955458] mmc2: Unknown controller version (5). You may experience problems.
[    2.004751] mmc2: SDHCI controller on 8000048000.sdhci [8000048000.sdhci] using ADMA
[    2.013671] gpio_cambr 8000012000.gpio_ctrl: gpio_cambr_request set gpio 9 to default value GPIO_CTRL: 0x80 GPIO_STAT0
[    2.024956] gpio_cambr 8000012000.gpio_ctrl: gpio_cambr_request set gpio 8 to default value GPIO_CTRL: 0x80 GPIO_STAT0
[    2.036392] usbcore: registered new interface driver usbhid
[    2.041968] usbhid: USB HID core driver
[    2.045941] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.051614] NET: Registered protocol family 10
[    2.056567] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.062787] NET: Registered protocol family 17
[    2.067278] Key type dns_resolver registered
[    2.071942] registered taskstats version 1
[    2.077863] gpio_cambr 8000012000.gpio_ctrl: gpio_cambr_request set gpio 2 to default value GPIO_CTRL: 0x80 GPIO_STAT0
[    2.081113] hub 1-1:1.0: USB hub found
[    2.081220] hub 1-1:1.0: 4 ports detected
[    2.096839] gpio_cambr_debounce: enable line 2 debounce
[    2.102197] input: soc:gpio_keys_test as /devices/platform/soc/soc:gpio_keys_test/input/input0
[    2.111762] random: fast init done
[    2.115206] rtc-pcf8563 0-0051: setting system clock to 2021-06-29 04:25:29 UTC (1624940729)
[    2.124337] Freeing unused kernel memory: 320K
mount: mounting /dev/mmcblk0p2 on /newroot failed: Invalid argument
BusyBox v1.28.3 (2021-04-08 17:15:00 CST) multi-call binary.

Usage: switch_root [-c CONSOLE_DEV] NEW_ROOT NEW_INIT [ARGS]

Free initramfs an[    2.206487] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
d switch to another root fs:
chroot to NEW_ROOT, delete all in /, move NEW_ROOT to /,
execute NEW_INIT. PID must be 1. NEW_ROOT must be a mountpoint.

        -c DEV  Reopen stdio to DEV after switch
[    2.240731] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    2.240731] 
[    2.249863] CPU: 0 PID: 1 Comm: switch_root Not tainted 4.9.112 #14
[    2.256119] Hardware name: Cambricon C20e_edge (DT)
[    2.260987] Call trace:
[    2.263432] [<ffff00000808674c>] dump_backtrace+0x0/0x1ec
[    2.268823] [<ffff00000808694c>] show_stack+0x14/0x1c
[    2.273867] [<ffff0000082e1280>] dump_stack+0x94/0xbc
[    2.278911] [<ffff00000812ac34>] panic+0x124/0x290
[    2.283695] [<ffff00000809dc4c>] do_exit+0x584/0x828
[    2.288651] [<ffff00000809dfb8>] SyS_exit_group+0x0/0x10
[    2.293954] [<ffff00000809dfc8>] __wake_up_parent+0x0/0x28
[    2.299430] [<ffff000008082440>] el0_svc_naked+0x34/0x38
[    2.304733] SMP: stopping secondary CPUs
[    2.308648] Kernel Offset: disabled
[    2.312126] Memory Limit: none
[    2.318123] Rebooting in 5 seconds..
C20E ROM: v1.0(release):ac35090
C20E ROM: Built : 20:20:53, Jun 11 2019
Norflash id: 0x25c2
C20E ROM boot done. 
C20E PREBOOT: Built : 10:46:56, Nov 20 2020
C20E PREBOOT: v111
Norflash id: 0x25c2
Config.bin exists
cal crc of cfg.bin is 024a1848
crc of cfg.bin pass
Read Serial Number From NorFlash
Board Serial Number: 301217010226
ddr ok loop 0
Going to boot the atf bl1
C20E preboot done. 
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.5(release):
NOTICE:  BL1: Built : 15:31:33, Dec  3 2021
NOTICE:  Norflash id: 0x25c2
NOTICE:  BL1: Booting BL2
NOTICE:  Norflash id: 0x25c2
NOTICE:  BL2: v1.5(release):
NOTICE:  BL2: Built : 15:31:33, Dec  3 2021
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v1.5(release):
NOTICE:  BL31: Built : 15:31:33, Dec  3 2021


U-Boot 2017.07-cambricon (Dec 03 2021 - 15:31:28 +0800)

CPU  : Cambricon Technologies C20E
DRAM:  1 GiB
MMC:   sdhci@8000040000: 0, sdhci@8000044000: 1, sdhci@8000048000: 2
In:    serial
Out:   serial
Err:   serial
Card did not respond to voltage select!
** Bad device mmc 2 **
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
try to get uenv_extra.txt from emmc...
626 bytes read in 7 ms (86.9 KiB/s)
## Warning: Input data exceeds 1048576 bytes - truncated
## Info: input data size = 1048578 = 0x100002
Net:   
Warning: ethernet@8000054000 (eth0) using random MAC address - 72:e9:25:cd:e4:36
eth0: ethernet@8000054000
Hit any key to stop autoboot:  0 
CAMBR-C20E#


版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭