明远智睿技术论坛

 找回密码
 立即注册
搜索
查看: 3616|回复: 2
打印 上一主题 下一主题

EK200 IMX6S 核心板不能烧录

 关闭 [复制链接]

18

主题

47

帖子

257

积分

中级会员

Rank: 3Rank: 3

积分
257
跳转到指定楼层
楼主
发表于 2016-11-5 09:17:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
之前调试内核,设置了tftp启动。现在想烧到板子上去,发现没法烧录。uboot中也少了destroyenv、saveenv等命令。如下:
Hit any key to stop autoboot:  0
MYIMX6EK200 > ?
?       - alias for 'help'
autoscr - DEPRECATED - use "source" command instead
base    - print or set address offset
bdinfo  - print Board Info structure
bmp     - manipulate BMP image data
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
clk     - Clock sub system
cls     - clear screen
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dhcp    - boot image via network using DHCP/TFTP protocol
echo    - echo args to console
erase   - erase FLASH memory
exit    - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
i2c     - I2C sub-system
iminfo  - print header information for application image
imxotp  - One-Time Programable sub-system
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mmc     - MMC sub system
mmcinfo - display MMC info
mtest   - simple RAM read/write test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
regul   - Regulator sub system
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
setenv  - set environment variables
sf      - SPI flash sub-system
showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
sspi    - SPI utility commands
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
version - print monitor version


打印uboot的参数为:
bootdelay=3
baudrate=115200
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=(0x10800000 + 0x300000)
netdev=eth0
ethprime=FEC0
uboot=uboot-myimx6ek200-6s.bin
kernel=uImage-myimx6ek200
ethaddr=00:01:02:03:04:05
nfsroot=/home/myzr/srv/nfs/rootfs
bootargs_mmc=setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait
bootcmd_tftp=run bootargs_base bootargs_mmc; tftpboot ${loadaddr} ${kernel}; bootm
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 2; mmc read ${loadaddr} 0x800 0x2000; bootm
update_uboot=tftpboot ${loadaddr} ${uboot}; sf probe 1; sf erase 0 0x200000; sf write ${loadaddr} 0 0x80000
update_uImage=tftpboot ${loadaddr} ${kernel}; mmc dev 2; mmc write ${loadaddr} 0x800 0x2000
splashimage=0x1D000000
splashpos=m,m
lvds_num=1
ethact=FEC0
ipaddr=192.168.123.241
serverip=192.168.123.250
bootargs_base=setenv bootargs console=ttymxc0,115200 nosmp video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB240
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait0
bootcmd_net=run bootargs_base bootargs_nfs;bootm
bootargs=console=ttymxc0,115200 nosmp video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB240 root=/dev/mmcblk0p1 rootwait0
bootfile=uImage
bootcmd=tftpboot uImage-asg; run bootcmd_net
stdin=serial
stdout=serial
stderr=serial

现在没法烧录,启动内核还得使用烧录工具才能启动,很奇怪,还请给予帮助,谢谢。
回复

使用道具 举报

18

主题

47

帖子

257

积分

中级会员

Rank: 3Rank: 3

积分
257
沙发
 楼主| 发表于 2016-11-5 09:49:36 | 只看该作者
解决了,虽然不知道为什么这样。
因为上电后,串口没有任何输出,一打开烧录工具,就能显示设备,感觉进入了烧录的状态。于是测试37脚,为高电平,强行拉低后,正常了。之后也断电启动也是正常的。
回复 支持 反对

使用道具 举报

0

主题

146

帖子

432

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
432
板凳
发表于 2016-11-7 15:52:32 | 只看该作者
请勿擅自修改硬件,烧录请参照 http://wiki.myzr.com.cn 中的 MY-IMX6 开发板 MfgTool 烧录指导
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|明远智睿  

GMT+8, 2024-5-19 07:50 , Processed in 0.056915 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表