打印
[嵌入式linux]

LTIB编译成功后,下载到开发板出现奇怪现象?

[复制链接]
1996|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
YDCMAN|  楼主 | 2016-9-23 10:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
LTIB编译成功,将u-booot.bin和ulmage拷贝后,用MFG工具烧写后,启动超级终端下出现以下:
U-Boot 2009.08 ( 9月 22 2016 - 17:49:50)
                                       
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 175            
Temperature:   34 C, calibration data 0x5554d669
mx6q pll1: 792MHz                              
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz  
emi_slow clock: 132000000Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63015 [POR ]
Boot Device: MMC                                          
I2C:   ready   
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
*** Warning - bad CRC or MMC, using default environment   
                                                      
In:    serial
Out:   serial
Err:   serial
Found PFUZE100! deviceid=10,revid=21
Net:   got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]                                      
Hit any key to stop autoboot:  0
MX6Q SABRESD U-Boot > pri        
bootdelay=3              
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000  
rd_loadaddr=(0x1300000)
netdev=eth0            
ethprime=FEC0
uboot=u-boot.bin
kernel=uImage   
nfsroot=/opt/eldk/arm
bootargs_base=setenv bootargs console=ttymxc0,115200
bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm                  
bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp root=/dev/mmcblk0p1 rootwait   
bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2000; bootm
bootcmd=run bootcmd_net                                                                        
stdin=serial           
stdout=serial
stderr=serial
ethact=FEC0  
           
Environment size: 704/8188 bytes
MX6Q SABRESD U-Boot [3~ setenv bootcmd run bootcmd_mmc
Unknown command '' - try 'help'
MX6Q SABRESD U-Boot [3~ setenv bootcmd run bootcmd_mmc
Unknown command '' - try 'help'
MX6Q SABRESD U-Boot >  setenv bootcmd run bootcmd_mmc
MX6Q SABRESD U-Boot >  setenv bootargs_mmc ‘setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1
MX6Q SABRESD U-Boot > rootwait’                                                                    
Unknown command 'rootwait’' - try 'help'
MX6Q SABRESD U-Boot > setenv bootargs_mmc ‘setenv bootargs ${bootargs} ip=none root=/dev/mmcblk0p1 rootwait’
MX6Q SABRESD U-Boot > saveenv                                                                                 
Saving Environment to MMC...
Writing to MMC(3)... done   
MX6Q SABRESD U-Boot > reset     
resetting ...              
MX           
  
U-Boot 2009.08 ( 9月 22 2016 - 17:49:50)
                                       
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 175            
Temperature:   36 C, calibration data 0x5554d669
mx6q pll1: 792MHz                              
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock     : 66000000Hz
ipg per clock : 66000000Hz
uart clock    : 80000000Hz
cspi clock    : 60000000Hz
ahb clock     : 132000000Hz
axi clock   : 264000000Hz  
emi_slow clock: 132000000Hz
ddr clock     : 528000000Hz
usdhc1 clock  : 198000000Hz
usdhc2 clock  : 198000000Hz
usdhc3 clock  : 198000000Hz
usdhc4 clock  : 198000000Hz
nfc clock     : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63015 [WDOG ]
Boot Device: MMC                                          
I2C:   ready   
DRAM:   1 GB
MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
In:    serial                                             
Out:   serial
Err:   serial
Found PFUZE100! deviceid=10,revid=21
Net:   got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]                                      
Hit any key to stop autoboot:  0
Unknown command '‘setenv' - try 'help'
mmc3(part 0) is current device         
                              
MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK
## Booting kernel from Legacy Image at 10800000 ...                 
   Image Name:   Linux-3.0.35-2666-gbdde708        
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3942480 Bytes =  3.8 MB              
   Load Address: 10008000               
   Entry Point:  10008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK                           
  
Starting kernel ...
                  
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-2666-gbdde708 (ydc@ydc-virtual-machine) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Thu Sep 22 16:21:00 CST 2016
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, unknown revision
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 194560
Kernel command line: console=ttymxc0,115200
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 512MB 256MB = 768MB total
Memory: 765608k/765608k available, 282968k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
    vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x8003d000   ( 212 kB)
      .text : 0x8003d000 - 0x80ab5798   (10722 kB)
      .data : 0x80ab6000 - 0x80b1a580   ( 402 kB)
       .bss : 0x80b1a5a4 - 0x80b68a0c   ( 314 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x2020000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs

。。。。。
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
mag3110 2-000e: check mag3110 chip ID
mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!
mag3110: probe of 2-000e failed with error -22
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
input: mma845x as /devices/virtual/input/input1
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
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
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
Thermal calibration data is 0x5554d669
Thermal sensor with ratio = 175
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
Cirrus Logic CS42888 ALSA SoC Codec Driver
i2c-core: driver [cs42888] using legacy suspend method
i2c-core: driver [cs42888] using legacy resume method
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
mmc0: new high speed DDR MMC card at address 0001
mmcblk0: mmc0:0001 SEM08G 7.28 GiB
mmcblk0boot0: mmc0:0001 SEM08G partition 1 2.00 MiB
usb 2-1.3: new high speed USB device number 3 using fsl-ehci
mmcblk0boot1: mmc0:0001 SEM08G partition 2 2.00 MiB
mmcblk0: p1
mmcblk0boot1: unknown partition table
mmcblk0boot0: unknown partition table
wm8962 0-001a: customer id 0 revision D
input: WM8962 Beep Generator as /devices/platform/imx-i2c.0/i2c-0/0-001a/input/input2
asoc: wm8962 <-> imx-ssi.1 mapping ok
input: wm8962-audio DMIC as /devices/platform/soc-audio.5/sound/card0/input3
input: wm8962-audio Ext Spk as /devices/platform/soc-audio.5/sound/card0/input4
hub 2-1.3:1.0: USB hub found
hub 2-1.3:1.0: 4 ports detected
imx_3stack asoc driver
Initialize HDMI-audio failed. Load HDMI-video first!
ALSA device list:
  #0: wm8962-audio
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
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
regulator_init_complete: PFUZE100_VGEN6: incomplete constraints, leaving on
usb 2-1.4: new low speed USB device number 4 using fsl-ehci
regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on
regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 01:23:56 UTC (5036)
VFS: Cannot open root device "(null)" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
b300         7634944 mmcblk0  driver: mmcblk
  b301         7624704 mmcblk0p1 00000000-0000-0000-0000-000000000000
b310            2048 mmcblk0boot1  (driver?)
b308            2048 mmcblk0boot0  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<80049e34>] (unwind_backtrace+0x0/0xf8) from [<805220cc>] (panic+0x74/0x18c)
[<805220cc>] (panic+0x74/0x18c) from [<80008ce8>] (mount_block_root+0x170/0x224)
[<80008ce8>] (mount_block_root+0x170/0x224) from [<80008e84>] (mount_root+0xe8/0x108)
[<80008e84>] (mount_root+0xe8/0x108) from [<80008fc4>] (prepare_namespace+0x120/0x178)
[<80008fc4>] (prepare_namespace+0x120/0x178) from [<800089b0>] (kernel_init+0x108/0x13c)
[<800089b0>] (kernel_init+0x108/0x13c) from [<80043aa4>] (kernel_thread_exit+0x0/0x8)
CPU3: stopping
[<80049e34>] (unwind_backtrace+0x0/0xf8) from [<8003d324>] (do_IPI+0x150/0x17c)
[<8003d324>] (do_IPI+0x150/0x17c) from [<80042a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbff01eb8 to 0xbff01f00)
1ea0:                                                       00000000 8c020648
1ec0: 00000000 8c020660 8c020648 80ae4f40 8003b634 00000000 80b20200 00000003
1ee0: 80ab8040 00000009 00000000 bff01f00 800b138c 800b13cc 60000113 ffffffff
[<80042a0c>] (__irq_svc+0x4c/0xe8) from [<800b13cc>] (__rcu_process_callbacks+0x84/0x374)
[<800b13cc>] (__rcu_process_callbacks+0x84/0x374) from [<800b16fc>] (rcu_process_callbacks+0x40/0x74)
[<800b16fc>] (rcu_process_callbacks+0x40/0x74) from [<8007d030>] (__do_softirq+0xac/0x140)
[<8007d030>] (__do_softirq+0xac/0x140) from [<8007d56c>] (irq_exit+0x94/0x9c)
[<8007d56c>] (irq_exit+0x94/0x9c) from [<8003d1b4>] (do_local_timer+0x70/0x90)
[<8003d1b4>] (do_local_timer+0x70/0x90) from [<80042a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbff01f90 to 0xbff01fd8)
1f80:                                     80b21b60 80000093 00000001 00000000
1fa0: bff00000 80b1a664 80acba70 8052a928 80acef4c 412fc09a 00000000 00000000
1fc0: 00000000 bff01fd8 80051e2c 80043b04 40000013 ffffffff
[<80042a0c>] (__irq_svc+0x4c/0xe8) from [<80043b04>] (default_idle+0x24/0x28)
[<80043b04>] (default_idle+0x24/0x28) from [<80043d20>] (cpu_idle+0xe0/0x124)
[<80043d20>] (cpu_idle+0xe0/0x124) from [<1051e594>] (0x1051e594)
CPU1: stopping
[<80049e34>] (unwind_backtrace+0x0/0xf8) from [<8003d324>] (do_IPI+0x150/0x17c)
[<8003d324>] (do_IPI+0x150/0x17c) from [<80042a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffadf90 to 0xbffadfd8)
df80:                                     80b21b60 80000093 00000001 00000000
dfa0: bffac000 80b1a664 80acba70 8052a928 80acef4c 412fc09a 00000000 00000000
dfc0: 00000000 bffadfd8 80051e2c 80043b04 40000013 ffffffff
[<80042a0c>] (__irq_svc+0x4c/0xe8) from [<80043b04>] (default_idle+0x24/0x28)
[<80043b04>] (default_idle+0x24/0x28) from [<80043d20>] (cpu_idle+0xe0/0x124)
[<80043d20>] (cpu_idle+0xe0/0x124) from [<1051e594>] (0x1051e594)
CPU2: stopping
[<80049e34>] (unwind_backtrace+0x0/0xf8) from [<8003d324>] (do_IPI+0x150/0x17c)
[<8003d324>] (do_IPI+0x150/0x17c) from [<80042a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffb5ef0 to 0xbffb5f38)
5ee0:                                     bffb5f38 0000000a 00000000 00000002
5f00: 00000202 bffb4000 bffb4000 00000000 80b20200 00000002 80ab8040 00000000
5f20: 80049734 bffb5f38 8007d56c 8007cfd0 20000113 ffffffff
[<80042a0c>] (__irq_svc+0x4c/0xe8) from [<8007cfd0>] (__do_softirq+0x4c/0x140)
[<8007cfd0>] (__do_softirq+0x4c/0x140) from [<8007d56c>] (irq_exit+0x94/0x9c)
[<8007d56c>] (irq_exit+0x94/0x9c) from [<8003d2e0>] (do_IPI+0x10c/0x17c)
[<8003d2e0>] (do_IPI+0x10c/0x17c) from [<80042a0c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xbffb5f90 to 0xbffb5fd8)
5f80:                                     80b21b60 80000093 00000001 00000000
5fa0: bffb4000 80b1a664 80acba70 8052a928 80acef4c 412fc09a 00000000 00000000
5fc0: 00000000 bffb5fd8 80051e2c 80043b04 40000013 ffffffff
[<80042a0c>] (__irq_svc+0x4c/0xe8) from [<80043b04>] (default_idle+0x24/0x28)
[<80043b04>] (default_idle+0x24/0x28) from [<80043d20>] (cpu_idle+0xe0/0x124)
[<80043d20>] (cpu_idle+0xe0/0x124) from [<1051e594>] (0x1051e594)


然后便一直停在这里,不往下执行,望高手能帮分析以下,谢谢!

相关帖子

沙发
YDCMAN|  楼主 | 2016-9-23 10:36 | 只看该作者
本帖最后由 YDCMAN 于 2016-9-23 10:37 编辑

我使用的虚拟机安装Ubuntu12.04操作系统(预装PYTHON),然后按照《iMx6 LTIB编译手册_V2.0》进行编译,编译后的U-BOOT.BIN和ulmage文件拷贝出来,用MFG工具下载到开发板中,开发板是IMX6Q。
问过技术支持,让我用他们的系统进行编译(预装QT等UBUNTU),就可以了。但按照手册编译也出现各种现象,最好找出原因吧?

使用特权

评论回复
板凳
13272401534| | 2016-10-8 19:35 | 只看该作者
你可以去恩智浦的i.mx6的专区发表,有人会来解答  https://bbs.21ic.com/iclist-192-1.html

使用特权

评论回复
评分
参与人数 1威望 +3 收起 理由
YDCMAN + 3 淡定
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

15

主题

1378

帖子

6

粉丝