打印
[i.MX]

mfgtool烧写mx28的板子没有看到utp starting

[复制链接]
2733|6
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
freelike|  楼主 | 2015-12-8 15:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci: irq 93, io base 0x80080000
fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.0: irq 92, io base 0x80090000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
check_parameters:UTP settings are in place now, overriding defaults
g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=1
fsl-usb2-udc: bind to driver g_file_storage
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
input: MXS touchscreen as /devices/virtual/input/input1
MXS RTC driver v1.0 hardware v2.3.0
mxs-rtc mxs-rtc.0: rtc core: registered mxs-rtc as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
This is 5V only build.
mxs-mmc: MXS SSP Controller MMC Interface driver
__mxs_reset_block(f0010000): timeout when resetting
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
leds-gpio: probe of leds-gpio failed with error -16
dcp dcp.0: DCP crypto enabled.!
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
regulator_init_complete: incomplete constraints, leaving vbus5v on
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:59 UTC (59)
Freeing init memory: 180K
init started: BusyBox v1.15.0 ()
starting pid 1090, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Setting the hostname to freescale
Mounting filesystems
mount: mounting shm on /dev/shm failed: No such file or directory
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
Starting inetd:
starting pid 1117, tty '': '/sbin/getty -L ttyAM0 115200 vt100'
process '/sbin/getty -L ttyAM0 115200 vt100' (pid 1117) exited. Scheduling for restart.
starting pid 1118, tty '': '/sbin/getty -L ttyAM0 115200 vt100'
process '/sbin/getty -L ttyAM0 115200 vt100' (pid 1118) exited. Scheduling for restart.
starting pid 1119, tty '': '/sbin/getty -L ttyAM0 115200 vt100

至此结束,一直循环打印/sbin/getty,没有看到starting utp等,烧写工具也异常退出了,下面的是我拷贝的一个正常板子的烧写日志,可以对比下:
mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:26 UTC (26)
Freeing init memory: 124K
mxs-kbd mxs-kbd.0: Invalid button: raw = 1085, normalized = 1104, vddio = 3687
Starting UTP
disable turn off display
uuc 0.4 [built Feb 21 2014 08:19:00]
UTP: Waiting for device to appear
utp_mk_devnode: creating node '/dev/utp' with 10+222
cpu_id is 28
mxs-kbd mxs-kbd.0: Invalid button: raw = 1099, normalized = 1132, vddio = 3643
mxs-kbd mxs-kbd.0: Invalid button: raw = 1112, normalized = 1140, vddio = 3661
mxs-kbd mxs-kbd.0: Invalid button: raw = 1125, normalized = 1159, vddio = 3641
g_file_storage gadget: high speed config #1
UTP: received command 'mknod class/mtd,mtd0,/dev/mtd0'
class = 'class/mtd'
item = 'mtd0'
node = /dev/mtd0
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd0,/dev/mtd0,0x2000)
utp_mk_devnode: creating node '/dev/mtd0' with 90+0
UTP: sending Success

相关帖子

沙发
freelike|  楼主 | 2015-12-8 16:40 | 只看该作者
仿照正常的板子,关闭usb host侧的驱动,重新编译了并烧写,有了一些前进,
Tuesday, December 08, 2015 16:33:20
1 - Panel B Start processing SPI-NOR (kernel only) <LIST/>.

Panel B Start <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware.".

1 - Panel B Finished <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.

Panel B Start <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware.".

1 - Panel B Finished <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.

Panel B Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".

Panel B UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE

Panel B UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE

1 - Panel B Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.

Panel B Start <CMD/> type="push" body="mknod class/mtd,mtd1,/dev/mtd1" file="" timeout="10" onError="" text="".

1 - Panel B Finished <CMD/> type="push" body="mknod class/mtd,mtd1,/dev/mtd1" file="" timeout="10" onError="" text="" FAIL code=0xffffffff.

Panel B: Operation is not completed.,failed to run command: type="push" body="mknod class/mtd,mtd1,/dev/mtd1" file="" timeout="10" onError="" text=""  

2 - Panel B Finished processing SPI-NOR (kernel only) <LIST/> : FAIL code=-1.

Panel B: Reason is unknown,
之前的工具日志是在find处超时失败,现在终于到达mknod了,现在感觉就是因为utp没有,所以命令执行失败。UTP是谁拉起来的?内核代码搜索Starting UTP找不见

使用特权

评论回复
板凳
freelike|  楼主 | 2015-12-8 17:33 | 只看该作者
为啥每次都会启动busybox,而不会启动utp

使用特权

评论回复
地板
freelike|  楼主 | 2015-12-9 13:51 | 只看该作者
自己解决了,重新编译了下updater,修改传入参数后,一切ok!

使用特权

评论回复
5
freelike|  楼主 | 2015-12-9 13:52 | 只看该作者
居然没有结贴按钮

使用特权

评论回复
6
yorick06| | 2017-11-27 16:29 | 只看该作者
freelike 发表于 2015-12-9 13:51
自己解决了,重新编译了下updater,修改传入参数后,一切ok!

你好,如何重新编译,传入参数?修改ucl.xml里的东西?

使用特权

评论回复
7
wenfengshuzhai| | 2018-5-4 17:36 | 只看该作者
Kernel command line: console=ttyAM0,115200 rdinit=/linuxrc rw gpmi


以上是内核启动,在烧录的时候的内核启动时输出的内核启动参数,将这个参数写入修改bootloader/imx-bootlets-src-2.6.35.3-1.1.0/linux_prep/cmdlines/iMX28_EVK.txt

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

7

主题

29

帖子

1

粉丝