[嵌入式Linux] GK7102启动

[复制链接]
1830|0
 楼主| pgm_58 发表于 2017-2-9 10:25 | 显示全部楼层 |阅读模式
se, boot, AD, TE, ip
最近在弄国科微GK7102的芯片,uboot可以跑起来,但是网口加载内核之后就卡死了,具体打印如下:
  1. U-Boot 2012.10 (Jan 19 2017 - 04:19:58) for GK7102 rb-jxh42-v2.0 (GOKE)

  2. HAL:   20160913
  3. DRAM:  64 MiB
  4. Flash: [4X mode] 16 MiB
  5. NAND:  [No SPI nand]
  6. SF:    16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (MX25L12845)
  7. *** Warning - bad CRC, using default environment
  8. In:    serial
  9. Out:   serial
  10. Err:   serial
  11. Net:   Int PHY
  12. Hit any key to stop autoboot:  0
  13. [PROCESS_SEPARATORS] run tftpboot
  14. [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
  15. TFTP from server 11.1.4.19; our IP address is 11.1.4.200
  16. Filename 'zImage'.
  17. Load address: 0xc1000000
  18. Loading: #################################################################
  19.          #################################################################
  20.          #################################################################
  21.          #################################################################
  22.          #########
  23. done
  24. Bytes transferred = 1373832 (14f688 hex)
  25. put param to memory
  26. mem size (36)
  27. total mem size (64)
  28. bsb size (2)
  29. usr size (0)

  30. the kernel image is zImage or Image
  31. entry = 0xc1000000
  32. ## Transferring control to Linux (at address c1000000)...

  33. Starting kernel ...

  34. machid = 3988 r2 = 0xc0000100



  35. 下面是我uboot的配置:

  36. [PROCESS_SEPARATORS] printenv
  37. arm_freq=0x00112032
  38. baudrate=115200
  39. bootcmd=run tftpboot
  40. bootdelay=5
  41. bootfile=zImage
  42. bsbsize=2M
  43. consoledev=ttySGK0
  44. ethact=gk7101
  45. ethaddr=3C:97:0E:22:E1:14
  46. gatewayip=11.1.4.1
  47. hostname="gk7102"
  48. ipaddr=11.1.4.200
  49. loadaddr=0xC1000000
  50. mem=36M
  51. netdev=eth0
  52. netmask=255.255.255.0
  53. nfsserver=11.1.4.19
  54. phytype=0
  55. rootfstype=ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs
  56. rootpath=/opt/work
  57. serverip=11.1.4.19
  58. 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
  59. sfkernel=0x50000
  60. stderr=serial
  61. stdin=serial
  62. stdout=serial
  63. 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

  64. Environment size: 1060/65532 bytes


麻烦有认识的人帮忙看看,有偿感谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3

主题

8

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部