最近在弄国科微GK7102的芯片,uboot可以跑起来,但是网口加载内核之后就卡死了,具体打印如下:
- U-Boot 2012.10 (Jan 19 2017 - 04:19:58) for GK7102 rb-jxh42-v2.0 (GOKE)
- HAL: 20160913
- DRAM: 64 MiB
- Flash: [4X mode] 16 MiB
- NAND: [No SPI nand]
- SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (MX25L12845)
- *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- Net: Int PHY
- Hit any key to stop autoboot: 0
- [PROCESS_SEPARATORS] run tftpboot
- [PROCESS_SEPARATORS] setenv bootargs root=/dev/nfs nfsroot=${nfsserver}:${rootpath},proto=tcp,nfsvers=3,nolock ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev} mac=${ethaddr} phytype=${phytype} console=${consoledev},${baudrate} mem=${mem};tftpboot ${bootfile};bootm
- TFTP from server 11.1.4.19; our IP address is 11.1.4.200
- Filename 'zImage'.
- Load address: 0xc1000000
- Loading: #################################################################
- #################################################################
- #################################################################
- #################################################################
- #########
- done
- Bytes transferred = 1373832 (14f688 hex)
- put param to memory
- mem size (36)
- total mem size (64)
- bsb size (2)
- usr size (0)
- the kernel image is zImage or Image
- entry = 0xc1000000
- ## Transferring control to Linux (at address c1000000)...
- Starting kernel ...
- machid = 3988 r2 = 0xc0000100
- 下面是我uboot的配置:
- [PROCESS_SEPARATORS] printenv
- arm_freq=0x00112032
- baudrate=115200
- bootcmd=run tftpboot
- bootdelay=5
- bootfile=zImage
- bsbsize=2M
- consoledev=ttySGK0
- ethact=gk7101
- ethaddr=3C:97:0E:22:E1:14
- gatewayip=11.1.4.1
- hostname="gk7102"
- ipaddr=11.1.4.200
- loadaddr=0xC1000000
- mem=36M
- netdev=eth0
- netmask=255.255.255.0
- nfsserver=11.1.4.19
- phytype=0
- rootfstype=ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs
- rootpath=/opt/work
- serverip=11.1.4.19
- sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev} mac=${ethaddr} phytype=${phytype};sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
- sfkernel=0x50000
- stderr=serial
- stdin=serial
- stdout=serial
- tftpboot=setenv bootargs root=/dev/nfs nfsroot=${nfsserver}:${rootpath},proto=tcp,nfsvers=3,nolock ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev} mac=${ethaddr} phytype=${phytype} console=${consoledev},${baudrate} mem=${mem};tftpboot ${bootfile};bootm
- Environment size: 1060/65532 bytes
麻烦有认识的人帮忙看看,有偿感谢
|