Firefly开源社区

[Linux] 内核运行到 NET: Registered protocol family 16 停止

35

积分

0

威望

0

贡献

技术小白

积分
35
发表于 2021-2-7 17:54:03     
烧入镜像后,板子上电,当内核运行到 NET: Registered protocol family 16 时停止运行

DDR Version 1.22 20190506
In
channel 0
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
channel 0
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x18
MR4=0x2
MR5=0x1
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
channel 0, cs 0, advanced training done
channel 1, cs 0, advanced training done
change freq to 856MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
OUT
Boot1: 2018-08-06, version: 1.15
CPUId = 0x0
ChipType = 0x10, 225
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=15028MB
FwPartOffset=2000 , 100000
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
SdmmcInit=0 1
StorageInit ok = 67209
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             boot, start:0xa000, size:0x10000
GPT part:  4, name:         recovery, start:0x1a000, size:0x10000
GPT part:  5, name:           backup, start:0x2a000, size:0x10000
GPT part:  6, name:           rootfs, start:0x5a000, size:0x1cfffdf
find partition:uboot OK. first_lba:0x4000.
find partition:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xd22c8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):51f2096
NOTICE:  BL31: Built : 16:24:31, May  6 2019
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1181): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-221-gda2bcfdc #139 Mon Jun 17 03:14:33 UTC 2019 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-02783-g14ce716885 (Mar 11 2020 - 10:48:20 +0800)

Model: Rockchip RK3399 Evaluation Board
PreSerial: 2
DRAM:  2 GiB
Sysmem: init
Relocation Offset is: 7dbf4000
Using default environment

dwmmc@fe320000: 1, sdhci@fe330000: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Bootdev: mmc 0
PartType: EFI
boot mode: None
Load FDT from boot part
DTB: rk-kernel.dtb
I2c speed: 400000Hz
PMIC:  RK8090 (on=0x00, off=0x00)
vdd_center 900000 uV
vdd_cpu_l 900000 uV
Model: RK3399pro-firefly-aiojd4 board
Rockchip UBOOT DRM driver version: v1.0.1
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 24000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz
Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
Fdt Ramdisk skip relocation
FDT load addr 0x10f00000 size 354 KiB
Booting kernel at 0x00280000 with fdt at 0x8300000...


## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 22107 KiB
## Flattened Device Tree blob at 08300000
   Booting using the fdt blob at 0x8300000
   XIP Kernel Image ... OK
  'reserved-memory' region@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000831c5ae
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
Total: 650.657 ms

Starting kernel ...


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.194 (jincheng@jincheng-H310M-H-2-0) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #350 SMP Fri Mar 20 10:39:17 CST 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07fee0000 s46312 r8192 d31512 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 507912
[    0.000000] Kernel command line: storagemedia=emmc androidboot.mode=normal androidboot.slot_suffix= androidboot.serialno=3de224ae869a3b30  rw rootwait earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 con0
[    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] software IO TLB: mapped [mem 0x7fe98000-0x7fed8000] (0MB)
[    0.000000] Memory: 2001576K/2064384K available (13758K kernel code, 1946K rwdata, 5140K rodata, 1216K init, 2013K bss, 62808K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8009300000 - 0xffffff8009430000   (  1216 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008df0000   ( 13760 KB)
[    0.000000]     .rodata : 0xffffff8008df0000 - 0xffffff8009300000   (  5184 KB)
[    0.000000]       .data : 0xffffff8009430000 - 0xffffff8009616808   (  1947 KB)
[    0.000000]     vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000   (     8 GB maximum)
[    0.000000]               0xffffffbdc0008000 - 0xffffffbdc2000000   (    31 MB actual)
[    0.000000]     fixed   : 0xffffffbffe7fb000 - 0xffffffbffec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc080000000   (  2046 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
[    0.000000] ITS: allocated 65536 Devices @a280000 (psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GIC: using LPI property table @0x000000000a210000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] CPU0: using LPI pending table @0x000000000a220000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[    0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[    0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002310] Console: colour dummy device 80x25
[    0.002754] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.003746] pid_max: default: 32768 minimum: 301
[    0.004275] Security Framework initialized
[    0.004741] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.005383] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.006797] Initializing cgroup subsys io
[    0.007207] Initializing cgroup subsys memory
[    0.007651] Initializing cgroup subsys devices
[    0.008083] Initializing cgroup subsys freezer
[    0.008524] Initializing cgroup subsys perf_event
[    0.008980] Initializing cgroup subsys net_prio
[    0.009420] Initializing cgroup subsys pids
[    0.009853] ftrace: allocating 49610 entries in 194 pages
[    0.140995] sched-energy: Sched-energy-costs installed from DT
[    0.141564] CPU0: update cpu_capacity 401
[    0.142010] ASID allocator initialised with 32768 entries
[    0.145897] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.147346] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.149694] Detected VIPT I-cache on CPU1
[    0.149729] CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.149760] CPU1: using LPI pending table @0x000000007ccc0000
[    0.149804] CPU1: update cpu_capacity 401
[    0.149808] CPU1: Booted secondary processor [410fd034]
[    0.150403] Detected VIPT I-cache on CPU2
[    0.150424] CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.150451] CPU2: using LPI pending table @0x000000007cce0000
[    0.150478] CPU2: update cpu_capacity 401
[    0.150482] CPU2: Booted secondary processor [410fd034]
[    0.151028] Detected VIPT I-cache on CPU3
[    0.151049] CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.151076] CPU3: using LPI pending table @0x000000007cd40000
[    0.151103] CPU3: update cpu_capacity 401
[    0.151106] CPU3: Booted secondary processor [410fd034]
[    0.151674] Detected PIPT I-cache on CPU4
[    0.151700] CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.151739] CPU4: using LPI pending table @0x000000007cd70000
[    0.151778] CPU4: update cpu_capacity 1024
[    0.151781] CPU4: Booted secondary processor [410fd082]
[    0.152353] Detected PIPT I-cache on CPU5
[    0.152371] CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.152407] CPU5: using LPI pending table @0x000000007cda0000
[    0.152434] CPU5: update cpu_capacity 1024
[    0.152437] CPU5: Booted secondary processor [410fd082]
[    0.152526] Brought up 6 CPUs
[    0.164896] SMP: Total of 6 processors activated.
[    0.165349] CPU features: detected feature: GIC system register CPU interface
[    0.166038] CPU features: detected feature: 32-bit EL0 Support
[    0.166598] CPU: All CPU(s) started at EL2
[    0.167031] alternatives: patching kernel code
[    0.168885] devtmpfs: initialized
[    0.187583] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.188516] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.189596] xor: measuring software checksum speed
[    0.199777]    8regs     :  2860.000 MB/sec
[    0.209834]    8regs_prefetch:  2564.000 MB/sec
[    0.219888]    32regs    :  3208.000 MB/sec
[    0.229945]    32regs_prefetch:  2844.000 MB/sec
[    0.230380] xor: using function: 32regs (3208.000 MB/sec)
[    0.230904] pinctrl core: initialized pinctrl subsystem
[    0.232182] NET: Registered protocol family 16

请问有没有大佬知道怎么才能正常运行?
回复

使用道具 举报

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

本版积分规则

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