Skip to content

Starting kernel ... hang #21

Closed
Closed

Description

@Pillar1989

你好,我使用RK3229 echo板。
557798052
启动的时候到Starting kernel ...就挂了。下面是具体的log:

SPL Inittimer init done
rk322x_dmc_probe
ddr clk dpll
ret=600000000
sdram_all_config bw 2 col 10
sdram_all_config reg 110005d0 6281
Returning to boot ROM...

U-Boot 2017.05-g6c615f4-dirty (Jul 10 2017 - 10:03:48 +0800)

Model: Rockchip RK3229 Evaluation board
DRAM:  rk322x_dmc_probe
rockchip_sdram_size 110005d0 6281
rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
size 40000000                                                                   
SDRAM base=60000000, size=40000000                                              
992 MiB                                                                         
MMC:   dwmmc@30020000: 0                                                        
*** Warning - bad CRC, using default environment                                
                                                                                
In:    serial@11030000                                                          
Out:   serial@11030000                                                          
Err:   serial@11030000                                                          
Net:   Net Initialization Skipped                                               
No ethernet found.                                                              
Hit any key to stop autoboot:  0                                                
                                                                                
MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK         
Wrong Image Format for bootm command                                            
ERROR: can't get kernel image!                                                  
=> run bootcmd_mmc0                                                             
switch to partitions #0, OK                                                     
mmc0(part 0) is current device                                                  
Scanning mmc 0:6...                                                             
Found /extlinux/extlinux.conf                                                   
Retrieving file: /extlinux/extlinux.conf                                        
reading /extlinux/extlinux.conf                                                 
170 bytes read in 8 ms (20.5 KiB/s)                                             
1:      kernel-4.4                                                              
Retrieving file: /zImage                                                        
reading /zImage                                                                 
7340608 bytes read in 5229 ms (1.3 MiB/s)                                       
append: earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=t
Retrieving file: /rk3229-echo-v10.dtb                                           
reading /rk3229-echo-v10.dtb                                                    
26513 bytes read in 28 ms (923.8 KiB/s)                                         
## Flattened Device Tree blob at 61f00000                                       
   Booting using the fdt blob at 0x61f00000                                     
   Loading Device Tree to 683f6000, end 683ff790 ... OK                         
                                                                                
Starting kernel ...  

这是我的extlinux.conf

baozhu@server:~/studio/rockchip/rk-linux$ cat boot/extlinux/extlinux.conf 
label kernel-4.4
    kernel /zImage
    fdt /rk3229-echo-v10.dtb
    append  earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init

请帮忙看看这个问题,谢谢

Activity

  1. eddiecailinux commented on Jul 10, 2017

    @eddiecailinux

    Hi, 请使用Rockchip提供的echo SDK for RK3229

  2. Pillar1989 commented on Jul 10, 2017

    @Pillar1989
    Author

    我们之前在debian上面做了大量应用,目前我们急需在rk3229运行debian,快速验证软件和测试性能。而且我们团队对echo SDK的buildroot开发环境不熟悉,学习成本太高。
    还是请你们帮忙看下这个问题,谢谢!

  3. eddiecailinux commented on Jul 10, 2017

    @eddiecailinux

    请通过业务正式提出需求

  4. keveryang commented on Jul 12, 2017

    @keveryang
    Collaborator

    kernel使用的是什么配置?
    config试一下下面的内容,主要是把波特率更新一下.
    append earlyprintk console=ttyS2,1500000n8 rw root=/dev/sda rootwait rootfstype=ext4 init=/sbin/init

  5. Pillar1989 commented on Jul 13, 2017

    @Pillar1989
    Author

    @keveryang
    更新了config,目前的extlinux.conf为:

    label kernel-4.4
        kernel /zImage
        fdt /rk3229-echo-v10.dtb
        append  earlyprintk console=ttyS2,1500000n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
    
    

    启动的时候还是卡在这里:

    U-Boot 2017.05-g6c615f4-dirty (Jul 13 2017 - 09:38:33 +0800)
    
    Model: Rockchip RK3229 Evaluation board
    DRAM:  rk322x_dmc_probe
    rockchip_sdram_size 110005d0 6281
    rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
    size 40000000
    SDRAM base=60000000, size=40000000
    992 MiB
    MMC:   dwmmc@30020000: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial@11030000
    Out:   serial@11030000
    Err:   serial@11030000
    Net:   Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot:  0 
    
    MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    => run bootcmd_mmc0 
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Scanning mmc 0:6...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    reading /extlinux/extlinux.conf
    169 bytes read in 6 ms (27.3 KiB/s)
    1:      kernel-4.4
    Retrieving file: /zImage
    reading /zImage
    7340608 bytes read in 5228 ms (1.3 MiB/s)
    append: earlyprintk console=ttyS2,1500000n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
    Retrieving file: /rk3229-echo-v10.dtb
    reading /rk3229-echo-v10.dtb
    26513 bytes read in 26 ms (995.1 KiB/s)
    ## Flattened Device Tree blob at 61f00000
       Booting using the fdt blob at 0x61f00000
       Loading Device Tree to 683f6000, end 683ff790 ... OK
    
    Starting kernel ...
    
    

    下面是我用的https://github.com/rockchip-linux/build 脚本的配置信息,kernel用的是rockchip_linux_defconfig.

    	"echo")
    		DEFCONFIG=rockchip_linux_defconfig
    		UBOOT_DEFCONFIG=evb-rk3229_defconfig
    		DTB=rk3229-echo-v10.dts
    		CHIP="rk3229"
    		;;
    
    
  6. keveryang commented on Jul 13, 2017

    @keveryang
    Collaborator

    kernel下面这几个配置尝试更新一下,原来是STRONG
    232 # CONFIG_CC_STACKPROTECTOR is not set
    233 CONFIG_CC_STACKPROTECTOR_NONE=y
    234 # CONFIG_CC_STACKPROTECTOR_REGULAR is not set
    235 # CONFIG_CC_STACKPROTECTOR_STRONG is not set

  7. Pillar1989 commented on Jul 13, 2017

    @Pillar1989
    Author

    @keveryang
    我添加你说的配置:

    baozhu@server:~/studio/rockchip/rk-linux/kernel$ git diff arch/arm/configs/rockchip_linux_defconfig
    diff --git a/arch/arm/configs/rockchip_linux_defconfig b/arch/arm/configs/rockchip_linux_defconfig
    index 0c7ec9e..e59ecb0 100644
    --- a/arch/arm/configs/rockchip_linux_defconfig
    +++ b/arch/arm/configs/rockchip_linux_defconfig
    @@ -479,3 +479,8 @@ CONFIG_CRC7=y
     # CONFIG_XZ_DEC_POWERPC is not set
     # CONFIG_XZ_DEC_IA64 is not set
     # CONFIG_XZ_DEC_SPARC is not set
    +
    +# CONFIG_CC_STACKPROTECTOR is not set
    +CONFIG_CC_STACKPROTECTOR_NONE=y
    +# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
    +# CONFIG_CC_STACKPROTECTOR_STRONG is not set
    
    

    但是还是卡在Starting kernel ...
    能否提供一个测试过的config ?

  8. wzyy2 commented on Jul 13, 2017

    @wzyy2

    ttyfiq

  9. Pillar1989 commented on Jul 13, 2017

    @Pillar1989
    Author

    是调试串口不对吗??具体的是啥,这个串口是uart2

  10. wzyy2 commented on Jul 13, 2017

    @wzyy2

    console=ttyFIQ0,1500000n8
    ttyS2被wrap成了ttyFIQ0 所以你会没串口输出

  11. Pillar1989 commented on Jul 13, 2017

    @Pillar1989
    Author

    我现在换回了ttyFIQ0:

    baozhu@server:~/studio/rockchip/rk-linux$ cat tmp/extlinux/extlinux.conf 
    label kernel-4.4
        kernel /zImage
        fdt /rk3229-echo-v10.dtb
        append  earlyprintk console=ttyFIQ0,1500000n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
    
    

    还是一样,卡在Starting kernel ..

    
    U-Boot 2017.05-g6c615f4-dirty (Jul 13 2017 - 09:38:33 +0800)
    
    Model: Rockchip RK3229 Evaluation board
    DRAM:  rk322x_dmc_probe
    rockchip_sdram_size 110005d0 6281
    rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
    size 40000000
    SDRAM base=60000000, size=40000000
    992 MiB
    MMC:   dwmmc@30020000: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial@11030000
    Out:   serial@11030000
    Err:   serial@11030000
    Net:   Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot:  0 
    
    MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    => 
    => run  bootcmd_mmc0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Scanning mmc 0:6...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    reading /extlinux/extlinux.conf
    171 bytes read in 6 ms (27.3 KiB/s)
    1:      kernel-4.4
    Retrieving file: /zImage
    reading /zImage
    7340192 bytes read in 5227 ms (1.3 MiB/s)
    append: earlyprintk console=ttyFIQ0,1500000n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
    Retrieving file: /rk3229-echo-v10.dtb
    reading /rk3229-echo-v10.dtb
    26513 bytes read in 27 ms (958 KiB/s)
    ## Flattened Device Tree blob at 61f00000
       Booting using the fdt blob at 0x61f00000
       Loading Device Tree to 683f6000, end 683ff790 ... OK
    
    Starting kernel ...
    
    
  12. wzyy2 commented on Jul 13, 2017

    @wzyy2

    试了下 可以起到一半 uart没输出主要是那个rk322x-android.dtsi里同时enable了FIQ和uart2 你花下功夫配dts
    应该可以起来
    https://github.com/rockchip-linux/build/commit/746290ca0e3335d19336f182d0f4d429253f6057

  13. wzyy2 commented on Jul 13, 2017

    @wzyy2

    但这个是没正式支持的,
    pm, gpu, vpu这些都不能工作

    如果你只是验证cpu性能, 你还得确保下cpufreq和thermal在正常工作

  14. Pillar1989 commented on Jul 13, 2017

    @Pillar1989
    Author

    @wzyy2
    谢谢,我这边也可以启动到一半:

    U-Boot 2017.05-g6c615f4-dirty (Jul 13 2017 - 09:38:33 +0800)
    
    Model: Rockchip RK3229 Evaluation board
    DRAM:  rk322x_dmc_probe
    rockchip_sdram_size 110005d0 6281
    rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
    size 40000000
    SDRAM base=60000000, size=40000000
    992 MiB
    MMC:   dwmmc@30020000: 0
    *** Warning - bad CRC, using default environment
    
    In:    serial@11030000
    Out:   serial@11030000
    Err:   serial@11030000
    Net:   Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot:  0 
    
    MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    => run bootcmd_mmc0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    Scanning mmc 0:6...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    reading /extlinux/extlinux.conf
    200 bytes read in 6 ms (32.2 KiB/s)
    1:      kernel-4.4
    Retrieving file: /zImage
    reading /zImage
    7340192 bytes read in 5228 ms (1.3 MiB/s)
    append: earlycon=uart8250,mmio32,0x11030000 console=ttyS2,1500000n8 rw root=/dev/mmcblk2p7 rootfstype=ext4 init=/sbin/init rootwait
    Retrieving file: /rk3229-echo-v10.dtb
    reading /rk3229-echo-v10.dtb
    26537 bytes read in 25 ms (1 MiB/s)
    ## Flattened Device Tree blob at 61f00000
       Booting using the fdt blob at 0x61f00000
       Loading Device Tree to 683f6000, end 683ff7a8 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0xf00
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.70 (baozhu@server) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #3 SMP Thu Jul 13 11:15:7
    [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: RK3229 Echo Board V1.0
    [    0.000000] earlycon: Early serial console at MMIO32 0x11030000 (options '')
    [    0.000000] bootconsole [uart0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 13 pages/cpu @ef7a8000 s24408 r8192 d20648 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11030000 console=ttyS2,1500000n8 rw root=/dev/mmcblk2p7 rootfstype=ext4 init=/sbint
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1021364K/1048576K available (11264K kernel code, 852K rwdata, 3040K rodata, 1024K init, 598K bss, 27212K reserved, 0K cma-)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
    [    0.000000]       .init : 0xc1000000 - 0xc1100000   (1024 kB)
    [    0.000000]       .data : 0xc1100000 - 0xc11d53f0   ( 853 kB)
    [    0.000000]        .bss : 0xc11d7000 - 0xc126cbb0   ( 599 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000000] Switching to timer-based delay loop, resolution 41ns
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    0.000000] pid_max: default: 32768 minimum: 301
    [    0.000000] Security Framework initialized
    [    0.000000] Yama: becoming mindful.
    [    0.000000] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Initializing cgroup subsys devices
    [    0.000000] Initializing cgroup subsys freezer
    [    0.000000] CPU: Testing write buffer coherency: ok
    [    0.000000] ftrace: allocating 41232 entries in 121 pages
    [    0.000000] /cpus/cpu@f00 missing clock-frequency property
    [    0.000000] /cpus/cpu@f01 missing clock-frequency property
    [    0.000000] /cpus/cpu@f02 missing clock-frequency property
    [    0.000000] /cpus/cpu@f03 missing clock-frequency property
    [    0.000000] CPU0: update cpu_capacity 430
    [    0.000000] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
    [    0.000000] Setting up static identity map for 0x60100000 - 0x60100058
    [    0.000000] Brought up 1 CPUs
    [    0.000000] SMP: Total of 1 processors activated (48.00 BogoMIPS).
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] devtmpfs: initialized
    [    0.000000] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    0.000000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.000000] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.000000] pinctrl core: initialized pinctrl subsystem
    [    0.000000] NET: Registered protocol family 16
    [    0.000000] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.000000] cpuidle: using governor ladder
    [    0.000000] cpuidle: using governor menu
    [    0.000000] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.000000] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.000000] iommu: Adding device 20050000.vop to group 0
    [    0.000000] SCSI subsystem initialized
    [    0.000000] usbcore: registered new interface driver usbfs
    [    0.000000] usbcore: registered new interface driver hub
    [    0.000000] usbcore: registered new device driver usb
    [    0.000000] Linux video capture interface: v2.00
    [    0.000000] pps_core: LinuxPPS API ver. 1 registered
    [    0.000000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.000000] PTP clock support registered
    [    0.000000] Advanced Linux Sound Architecture Driver Initialized.
    [    0.000000] Bluetooth: Core ver 2.21
    [    0.000000] NET: Registered protocol family 31
    [    0.000000] Bluetooth: HCI device and connection manager initialized
    [    0.000000] Bluetooth: HCI socket layer initialized
    [    0.000000] Bluetooth: L2CAP socket layer initialized
    [    0.000000] Bluetooth: SCO socket layer initialized
    [    0.000000] clocksource: Switched to clocksource arch_sys_counter
    [    0.000000] NET: Registered protocol family 2
    [    0.000000] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
    [    0.000000] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.000000] UDP hash table entries: 512 (order: 2, 24576 bytes)
    [    0.000000] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
    [    0.000000] NET: Registered protocol family 1
    [    0.000000] RPC: Registered named UNIX socket transport module.
    [    0.000000] RPC: Registered udp transport module.
    [    0.000000] RPC: Registered tcp transport module.
    [    0.000000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.000000] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
    [    0.000000] Initialise system trusted keyring
    [    0.000000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.000000] NFS: Registering the id_resolver key type
    [    0.000000] Key type id_resolver registered
    [    0.000000] Key type id_legacy registered
    [    0.000000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [    0.000000] fuse init (API version 7.23)
    [    0.000000] jitterentropy: Initialization failed with host not compliant with requirements: 1
    [    0.000000] NET: Registered protocol family 38
    [    0.000000] Key type asymmetric registered
    [    0.000000] Asymmetric key parser 'x509' registered
    [    0.000000] bounce: pool size: 64 pages
    [    0.000000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    [    0.000000] io scheduler noop registered
    [    0.000000] io scheduler deadline registered
    [    0.000000] io scheduler cfq registered (default)
    [    0.000000] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
    [    0.000000] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    0.000000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    0.000000] 11020000.serial: ttyS1 at MMIO 0x11020000 (irq = 27, base_baud = 1500000) is a 16550A
    [    0.000000] [drm:drm_core_init] Initialized drm 1.1.0 20060810
    [    0.000000] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xc0c52dac)
    [    0.000000] dwhdmi-rockchip 200a0000.hdmi: failed to get phy: -517
    [    0.000000] rockchip-drm display-subsystem: failed to bind 200a0000.hdmi (ops 0xc0c4f904): -517
    [    0.000000] rockchip-drm display-subsystem: master bind failed: -517
    [    0.000000] usbcore: registered new interface driver udl
    [    0.000000] brd: module loaded
    [    0.000000] loop: module loaded
    [    0.000000] zram: Added device: zram0
    [    0.000000] lkdtm: No crash points registered, enable through debugfs
    [    0.000000] tun: Universal TUN/TAP device driver, 1.6
    [    0.000000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    0.000000] PPP generic driver version 2.4.2
    [    0.000000] usbcore: registered new interface driver rndis_wlan
    [    0.000000] usbcore: registered new interface driver rt2800usb
    [    0.000000] Rockchip WiFi SYS interface (V1.00) ... 
    [    0.000000] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
    [    0.000000] usbcore: registered new interface driver pegasus
    [    0.000000] usbcore: registered new interface driver rtl8150
    [    0.000000] usbcore: registered new interface driver r8152
    [    0.000000] usbcore: registered new interface driver asix
    [    0.000000] usbcore: registered new interface driver ax88179_178a
    [    0.000000] usbcore: registered new interface driver cdc_ether
    [    0.000000] usbcore: registered new interface driver dm9601
    [    0.000000] usbcore: registered new interface driver smsc75xx
    [    0.000000] usbcore: registered new interface driver smsc95xx
    [    0.000000] usbcore: registered new interface driver net1080
    [    0.000000] usbcore: registered new interface driver rndis_host
    [    0.000000] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    [    0.000000] usbcore: registered new interface driver cdc_ncm
    [    0.000000] usbcore: registered new interface driver cdc_mbim
    [    0.000000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.000000] ehci-platform: EHCI generic platform driver
    [    0.000000] usbcore: registered new interface driver cdc_acm
    [    0.000000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    0.000000] usbcore: registered new interface driver cdc_wdm
    [    0.000000] usbcore: registered new interface driver usb-storage
    [    0.000000] usbcore: registered new interface driver usbserial
    [    0.000000] usbcore: registered new interface driver usbserial_generic
    [    0.000000] usbserial: USB Serial support registered for generic
    [    0.000000] usbcore: registered new interface driver cp210x
    [    0.000000] usbserial: USB Serial support registered for cp210x
    [    0.000000] usbcore: registered new interface driver ftdi_sio
    [    0.000000] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    0.000000] usbcore: registered new interface driver keyspan
    [    0.000000] usbserial: USB Serial support registered for Keyspan - (without firmware)
    [    0.000000] usbserial: USB Serial support registered for Keyspan 1 port adapter
    [    0.000000] usbserial: USB Serial support registered for Keyspan 2 port adapter
    [    0.000000] usbserial: USB Serial support registered for Keyspan 4 port adapter
    [    0.000000] usbcore: registered new interface driver option
    [    0.000000] usbserial: USB Serial support registered for GSM modem (1-port)
    [    0.000000] usbcore: registered new interface driver oti6858
    [    0.000000] usbserial: USB Serial support registered for oti6858
    [    0.000000] usbcore: registered new interface driver pl2303
    [    0.000000] usbserial: USB Serial support registered for pl2303
    [    0.000000] usbcore: registered new interface driver qcserial
    [    0.000000] usbserial: USB Serial support registered for Qualcomm USB modem
    [    0.000000] usbcore: registered new interface driver sierra
    [    0.000000] usbserial: USB Serial support registered for Sierra USB modem
    [    0.000000] usbcore: registered new interface driver iforce
    [    0.000000] usbcore: registered new interface driver xpad
    [    0.000000] usbcore: registered new interface driver usbtouchscreen
    [    0.000000] i2c /dev entries driver
    [    0.000000] rk808 0-0018: Pmic Chip id: 0x8050
    [    0.000000] rk808 0-0018: source: on=0x10, off=0x00
    [    0.000000] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0
    [    0.000000] rk3x-i2c 11050000.i2c: Initialized RK3xxx I2C bus at f0882000
    [    0.000000] usbcore: registered new interface driver uvcvideo
    [    0.000000] USB Video Class driver (1.1.1)
    
    
  15. eddiecailinux commented on Jul 13, 2017

    @eddiecailinux

    3229没有正式的linux支持。需要正式的linux支持的话请联系业务部提出正式需求

  16. 14 remaining items

  17. Wall-ee commented on Oct 21, 2019

    @Wall-ee

    你好,我使用RK3229 echo板。
    557798052
    启动的时候到Starting kernel ...就挂了。下面是具体的log:

    SPL Inittimer init done
    rk322x_dmc_probe
    ddr clk dpll
    ret=600000000
    sdram_all_config bw 2 col 10
    sdram_all_config reg 110005d0 6281
    Returning to boot ROM...
    
    U-Boot 2017.05-g6c615f4-dirty (Jul 10 2017 - 10:03:48 +0800)
    
    Model: Rockchip RK3229 Evaluation board
    DRAM:  rk322x_dmc_probe
    rockchip_sdram_size 110005d0 6281
    rank 1 col 10 bk 3 cs0_row 15 bw 2 row_3_4 0
    size 40000000                                                                   
    SDRAM base=60000000, size=40000000                                              
    992 MiB                                                                         
    MMC:   dwmmc@30020000: 0                                                        
    *** Warning - bad CRC, using default environment                                
                                                                                    
    In:    serial@11030000                                                          
    Out:   serial@11030000                                                          
    Err:   serial@11030000                                                          
    Net:   Net Initialization Skipped                                               
    No ethernet found.                                                              
    Hit any key to stop autoboot:  0                                                
                                                                                    
    MMC read: dev # 0, block # 32768, count 20480 ... 20480 blocks read: OK         
    Wrong Image Format for bootm command                                            
    ERROR: can't get kernel image!                                                  
    => run bootcmd_mmc0                                                             
    switch to partitions #0, OK                                                     
    mmc0(part 0) is current device                                                  
    Scanning mmc 0:6...                                                             
    Found /extlinux/extlinux.conf                                                   
    Retrieving file: /extlinux/extlinux.conf                                        
    reading /extlinux/extlinux.conf                                                 
    170 bytes read in 8 ms (20.5 KiB/s)                                             
    1:      kernel-4.4                                                              
    Retrieving file: /zImage                                                        
    reading /zImage                                                                 
    7340608 bytes read in 5229 ms (1.3 MiB/s)                                       
    append: earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=t
    Retrieving file: /rk3229-echo-v10.dtb                                           
    reading /rk3229-echo-v10.dtb                                                    
    26513 bytes read in 28 ms (923.8 KiB/s)                                         
    ## Flattened Device Tree blob at 61f00000                                       
       Booting using the fdt blob at 0x61f00000                                     
       Loading Device Tree to 683f6000, end 683ff790 ... OK                         
                                                                                    
    Starting kernel ...  
    

    这是我的extlinux.conf

    baozhu@server:~/studio/rockchip/rk-linux$ cat boot/extlinux/extlinux.conf 
    label kernel-4.4
        kernel /zImage
        fdt /rk3229-echo-v10.dtb
        append  earlyprintk console=ttyFIQ0,115200n8 rw root=/dev/mmcblk0p7 rootfstype=ext4 init=/sbin/init
    

    请帮忙看看这个问题,谢谢

    兄弟,你的烧录步骤根据的是什么手册?另外 你的 loader 用的是哪个?我们也想快速验证一下想法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions