打印
[i.MX]

内核启动时UBOOT阶段打印丢失

[复制链接]
2350|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
大牛眼|  楼主 | 2018-9-12 16:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位好
我司仿照mx6q_sabreasd做的开发板,参考飞凌的mx6x_v1.3开发板
软件版本比较老,uboot-2009-08,内核3.0.35
使用freescale的LTIB工具制作了mfg的引导文件,可以正常烧录
烧录后启动发现一个奇怪的现象,UBOOT阶段的打印丢失,打印从hw-breakpoint这一段开始。最后EMMC的错误请先忽略。
我开始以为是uboot阶段的串口设置有问题,检查了uboot的mx6q_sabresd的相关设置,没有发现异常。
比较悲催的是,如果使用同样的uboot和内核文件去给飞凌开发板烧写,是uboot阶段的打印有,而从hw-breakpoint这一段开始就没有打印了。已经调试了好几天,一直没有头绪。还请帮忙给个排查意见和指导方向。
下面是自制单板的内核打印,直接从hw开始。
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: VDDA: 2500 mV
print_constraints: VDDIO: 3300 mV
machine_constraints_voltage: VDDD: unsupportable voltage constraints
reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
reg-fixed-voltage: probe of reg-fixed-voltage.2 failed with error -22
print_constraints: vmmc: 3300 mV
SCSI subsystem initialized
libata version 3.00 loaded.
spi_imx imx6q-ecspi.3: probed
spi_imx imx6q-ecspi.1: can't get cs gpios
spi_imx: probe of imx6q-ecspi.1 failed with error -16
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
i2c-gpio i2c-gpio.3: using pins 35 (SDA) and 0 (SCL)
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = c0880000 suspend_iram_base=c091c000
PM driver module loaded
IMX usb wakeup probe
the wakeup pdata is 0xbfafe380
add wake up source irq 75
IMX usb wakeup probe
the wakeup pdata is 0xbfafe640
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 1495
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 128x37
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
mxc_sdc_fb mxc_sdc_fb.1: NO mxc display driver found!
mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!
mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver mipi_dsi
mxc_sdc_fb mxc_sdc_fb.3: NO mxc display driver found!
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
loop: module loaded
No sata disk.
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
FEC Ethernet Driver
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
cdc_ncm: 04-Aug-2011
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: 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.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
USB Serial support registered for Vizzini USB serial port
usbcore: registered new interface driver vizzini
USB Driver for Vizzini USB serial port: v.1.1
ARC USBOTG Device Controller driver (1 August 2005)
mousedev: PS/2 mouse device common for all mice
tsc2007 2-0048: i2c io error: -5
msg ft5x06_ts_read_version i2c read error: -5
ft5x0x_ts 2-0038: I2C read failed
<<-GTP-928-INFO->> GTP driver installing...
<<-GTP-928-INFO->> GTP Driver Version: V2.2<2014/01/14>
<<-GTP-928-INFO->> GTP Driver Built@16:35:39, Sep 10 2018
<<-GTP-928-INFO->> GTP I2C Address: 0x5d
<<-GTP-928-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-928-ERROR->> GTP i2c test failed time 1.
<<-GTP-928-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-928-ERROR->> GTP i2c test failed time 2.
<<-GTP-928-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-928-ERROR->> GTP i2c test failed time 3.
<<-GTP-928-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-928-ERROR->> GTP i2c test failed time 4.
<<-GTP-928-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-928-ERROR->> GTP i2c test failed time 5.
<<-GTP-928-ERROR->> I2C read failed.
<<-GTP-911-INFO->> GTP driver installing...
<<-GTP-911-INFO->> GTP Driver Version: V2.2<2014/01/14>
<<-GTP-911-INFO->> GTP Driver Built@16:35:39, Sep 10 2018
<<-GTP-911-INFO->> GTP I2C Address: 0x14
<<-GTP-911-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-911-ERROR->> GTP i2c test failed time 1.
<<-GTP-911-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-911-ERROR->> GTP i2c test failed time 2.
<<-GTP-911-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-911-ERROR->> GTP i2c test failed time 3.
<<-GTP-911-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-911-ERROR->> GTP i2c test failed time 4.
<<-GTP-911-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5!
<<-GTP-911-ERROR->> GTP i2c test failed time 5.
<<-GTP-911-ERROR->> I2C read failed.
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
forlinx rx8010_probe
rtc-rx8010 2-0032: Unable to write register #23
i2c i2c-2: probing for rx8010 failed
rtc-rx8010: probe of 2-0032 failed with error -5
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.1.0)
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
sdhci sdhci-esdhc-imx.1: no write-protect pin available!
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
mxc_asrc registered
Galcore version 4.6.9.6622
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
------------------tef6635 drv for testing!----------------------------------------imx-tef6635 drv for testing !--------------------
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
  No soundcards found.
NET: Registered protocol family 26
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)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
lib80211_crypt: registered algorithm 'TKIP'
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
pwm_id = 0x4

jzw;pwm_backlight_update_status:s_bl_en=1
regulator_init_complete: VDDIO: incomplete constraints, leaving on
regulator_init_complete: VDDA: incomplete constraints, leaving on
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:00:00 UTC (0)
Waiting for root device /dev/mmcblk0p1...
ehci_fsl_bus_suspend begins, DR
ehci_fsl_bus_suspend ends, DR
ehci_fsl_bus_suspend begins, Host 1
ehci_fsl_bus_suspend ends, Host 1
mmc0: Timeout waiting for hardware interrupt.
sdhci: =========== REGISTER DUMP (mmc0)===========
sdhci: Sys addr: 0x00000000 | Version:  0x00000002
sdhci: Blk size: 0x00000200 | Blk cnt:  0x00000001
sdhci: Argument: 0x00000c00 | Trn mode: 0x00000000
sdhci: Present:  0xf7fd8009 | Host ctl: 0x00000001
sdhci: Power:    0x0000000d | Blk gap:  0x00000000
sdhci: Wake-up:  0x00000000 | Clock:    0x000010ff
sdhci: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci: Int enab: 0x007f00c3 | Sig enab: 0x007f00c3
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000003
sdhci: Caps:     0x07eb0000 | Caps_1:   0x00000007
sdhci: Cmd:      0x0000341a | Max curr: 0x00ffffff
sdhci: Host ctl2: 0x00000000
sdhci: ===========================================

相关帖子

沙发
大牛眼|  楼主 | 2018-9-13 08:09 | 只看该作者
没有人遇到过这样的问题么?FAE在不?能不能给个排查的意见。

使用特权

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

本版积分规则

3

主题

5

帖子

1

粉丝