Hi all,

    Hi all, I am trying to run openwrt on rk3328, but the kernel 
hanged when booting, below is the log.
Any hints will be appreciated.

U-Boot 2020.01 (Apr 07 2020 - 11:55:14 +0000) Model: Radxa Rockpi E DRAM:  1022 
MiB PMIC:  RK8050 (on=0x40, off=0x00) MMC:   rksdmmc@ff500000: 1, 
rksdmmc@ff520000: 0 Loading Environment from MMC... *** Warning - bad CRC, 
using default environment In:    serial@ff130000 Out:   serial@ff130000 Err:   
serial@ff130000 Model: Radxa Rockpi E Net:   eth0: ethernet@ff540000 Hit any 
key to stop autoboot:  0  Card did not respond to voltage select! switch to 
partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found 
/extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 205 bytes read 
in 7 ms (28.3 KiB/s) 1:      kernel-5.4 Retrieving file: /Image 7485448 bytes 
read in 330 ms (21.6 MiB/s) append: earlycon=uart8250,mmio32,0xff130000 
console=ttyS2,1500000n8 rw root=PARTUUID=b921b045-1d rootwait rootfstype=ext4 
init=/sbin/init Retrieving file: /rk3328-rockpi-e.dtb 33554 bytes read in 8 ms 
(4 MiB/s) ## Flattened Device Tree blob at 01f00000    Booting using the fdt 
blob at 0x1f00000    Loading Device Tree to 000000003df1d000, end 
000000003df28311 ... OK Starting kernel ... [    0.000000] Booting Linux on 
physical CPU 0x0000000000 [0x410fd034] [    0.000000] Linux version 5.4.28 
(rockpi@rockpi-dev) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r12776-437eb41f23)) 
#0 SMP Tue Apr 7 11:55:14 2020 [    0.000000] Machine model: Radxa ROCK Pi E [  
  0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '') [    
0.000000] printk: bootconsole [uart8250] 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: 
MIGRATE_INFO_TYPE not supported. [    0.000000] psci: SMC Calling Convention 
v1.0 [    0.000000] percpu: Embedded 19 pages/cpu s38424 r8192 d31208 u77824 [  
  0.000000] Detected VIPT I-cache on CPU0 [    0.000000] Built 1 zonelists, 
mobility grouping on.  Total pages: 257544 [    0.000000] Kernel command line: 
earlycon=uart8250,mmio32,0xff130000 console=ttyS2,1500000n8 rw 
root=PARTUUID=b921b045-1d rootwait rootfstype=ext4 init=/sbin/init [    
0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, 
linear) [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 
bytes, linear) [    0.000000] mem auto-init: stack:off, heap alloc:off, heap 
free:off [    0.000000] Memory: 1018444K/1046528K available (5054K kernel code, 
334K rwdata, 1244K rodata, 640K init, 281K bss, 28084K reserved, 0K 
cma-reserved) [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 
Nodes=1 [    0.000000] rcu: Hierarchical RCU implementation. [    0.000000] 
rcu:     CONFIG_RCU_FANOUT set to non-default value of 32. [    0.000000] rcu:  
   RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [    0.000000] rcu: 
RCU calculated value of scheduler-enlistment delay is 25 jiffies. [    
0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [    
0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [    0.000000] GIC: 
Using split EOI/Deactivate mode [    0.000000] random: get_random_bytes called 
from start_kernel+0x2dc/0x450 with crng_init=0 [    0.000000] arch_timer: 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, 
wraps every 4398046511097ns [    0.001345] Calibrating delay loop (skipped), 
value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [    
0.002323] pid_max: default: 32768 minimum: 301 [    0.002957] Mount-cache hash 
table entries: 2048 (order: 2, 16384 bytes, linear) [    0.003632] 
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [    
0.006152] ASID allocator initialised with 32768 entries [    0.006805] rcu: 
Hierarchical SRCU implementation. [    0.008023] smp: Bringing up secondary 
CPUs ... [    0.009010] Detected VIPT I-cache on CPU1 [    0.009084] CPU1: 
Booted secondary processor 0x0000000001 [0x410fd034] [    0.009735] Detected 
VIPT I-cache on CPU2 [    0.009789] CPU2: Booted secondary processor 
0x0000000002 [0x410fd034] [    0.010386] Detected VIPT I-cache on CPU3 [    
0.010435] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [    
0.010530] smp: Brought up 1 node, 4 CPUs [    0.013785] SMP: Total of 4 
processors activated. [    0.014213] CPU features: detected: 32-bit EL0 Support 
[    0.014680] CPU features: detected: CRC32 instructions [    0.015226] CPU 
features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [   
 0.015980] CPU: All CPU(s) started at EL2 [    0.016372] alternatives: patching 
kernel code [    0.027185] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns [    0.028128] futex hash table 
entries: 1024 (order: 4, 65536 bytes, linear) [    0.028981] pinctrl core: 
initialized pinctrl subsystem [    0.029940] NET: Registered protocol family 16 
[    0.030855] DMA: preallocated 256 KiB pool for atomic allocations [    
0.057761] clocksource: Switched to clocksource arch_sys_counter [    0.059496] 
NET: Registered protocol family 2 [    0.060488] tcp_listen_portaddr_hash hash 
table entries: 512 (order: 1, 8192 bytes, linear) [    0.061344] TCP 
established hash table entries: 8192 (order: 4, 65536 bytes, linear) [    
0.062174] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [  
  0.063013] TCP: Hash tables configured (established 8192 bind 8192) [    
0.063764] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [    
0.064403] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [    
0.065286] NET: Registered protocol family 1 [    0.067377] workingset: 
timestamp_bits=46 max_order=18 bucket_order=0 [    0.074878] squashfs: version 
4.0 (2009/01/31) Phillip Lougher [    0.075589] jffs2: version 2.2 (NAND) 
(SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [    
0.078456] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [    
0.080981] sdhci: Secure Digital Host Controller Interface driver [    0.081556] 
sdhci: Copyright(c) Pierre Ossman [    0.082014] Synopsys Designware Multimedia 
Card Interface Driver [    0.083364] dwmmc_rockchip ff500000.dwmmc: IDMAC 
supports 32-bit address mode. [    0.084043] dwmmc_rockchip ff500000.dwmmc: 
Using internal DMA controller. [    0.084667] dwmmc_rockchip ff500000.dwmmc: 
Version ID is 270a [    0.085256] dwmmc_rockchip ff500000.dwmmc: DW MMC 
controller at irq 24,32 bit host data width,256 deep fifo [    0.097901] 
mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 
400000HZ div = 0) [    0.110764] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 
32-bit address mode. [    0.111450] dwmmc_rockchip ff520000.dwmmc: Using 
internal DMA controller. [    0.112100] dwmmc_rockchip ff520000.dwmmc: Version 
ID is 270a [    0.112696] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at 
irq 25,32 bit host data width,256 deep fifo [    0.113667] mmc_host mmc1: card 
is non-removable. [    0.125850] mmc_host mmc1: Bus speed (slot 0) = 400000Hz 
(slot req 400000Hz, actual 400000HZ div = 0) [    0.137979] sdhci-pltfm: SDHCI 
platform and OF driver helper [    0.139566] NET: Registered protocol family 10 
[    0.141313] Segment Routing with IPv6 [    0.141838] NET: Registered 
protocol family 17 [    0.142310] 8021q: 802.1Q VLAN Support v1.8


content of the config file is:


label kernel-5.4     kernel /Image     fdt /rk3328-rockpi-e.dtb     append 
earlycon=uart8250,mmio32,0xff130000 console=ttyS2,1500000n8 rw 
root=PARTUUID=b921b045-1d rootwait rootfstype=ext4 init=/sbin/init
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to