嵌入式爱好者

查看: 6219|回复: 0

[已解决] Uboot使用tftp的问题

[复制链接]

2

主题

2

帖子

23

积分

XX18通行证

扫一扫,手机访问本帖
发表于 2017-9-15 15:29:42 | 显示全部楼层 |阅读模式
我按照“Linux用户手册V2.5-2016-09-28”的文档做“uboot使用用tftp”实验时,内核起动一直卡在同一个地方,不知道是什么原因。如果重新上电,通过nand启动就可以。
请帮忙分析一下原因,谢谢!打印信息如下:
OK335X# tftp 0x80000000 uImage
link up on port 0, speed 1000, full duplex
Using cpsw device
TFTP from server 192.168.0.20; our IP address is 192.168.0.232
Filename 'uImage'.
Load address: 0x80000000
Loading: #################################################################
         #################################################################
         #################################################################
         ###########################################################
done
Bytes transferred = 3723688 (38d1a8 hex)
OK335X# bootm
## Booting kernel from Legacy Image at 80000000 ...
   Image Name:   Linux-3.2.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3723624 Bytes = 3.6 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #18 Thu Sep 14 19:15:24 CST 2017
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO0,115200
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512MB = 512MB total
[    0.000000] Memory: 511960k/511960k available, 12328k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06bb000   (6860 kB)
[    0.000000]       .init : 0xc06bb000 - 0xc06f7000   ( 240 kB)
[    0.000000]       .data : 0xc06f8000 - 0xc0768210   ( 449 kB)
[    0.000000]        .bss : 0xc0768234 - 0xc079bf78   ( 208 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000185] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.057154] pid_max: default: 32768 minimum: 301
[    0.057287] Security Framework initialized
[    0.057389] Mount-cache hash table entries: 512
[    0.057776] CPU: Testing write buffer coherency: ok
[    0.058522] devtmpfs: initialized
[    0.078502] omap_hwmod: pruss: failed to hardreset
[    0.079618] print_constraints: dummy:
[    0.079977] NET: Registered protocol family 16
[    0.082096] OMAP GPIO hardware version 0.1
[    0.084690] omap_mux_init: Add partition: #1: core, flags: 0
[    0.086500]  omap_i2c.1: alias fck already exists
[    0.087631]  omap_hsmmc.0: alias fck already exists
[    0.087896]  omap_hsmmc.1: alias fck already exists
[    0.088477]  da8xx_lcdc.0: alias fck already exists
[    0.088753]  omap_i2c.2: alias fck already exists
[    0.090390]  d_can.0: alias fck already exists
[    0.090674]  davinci-mcasp.1: alias fck already exists
[    0.091906]  omap2_mcspi.1: alias fck already exists
[    0.092130]  omap2_mcspi.2: alias fck already exists
[    0.092401]  edma.0: alias fck already exists
[    0.092422]  edma.0: alias fck already exists
[    0.092441]  edma.0: alias fck already exists
[    0.128004] bio: create slab <bio-0> at 0
[    0.130206] SCSI subsystem initialized
[    0.132179] usbcore: registered new inte**ce driver usbfs
[    0.132510] usbcore: registered new inte**ce driver hub
[    0.132704] usbcore: registered new device driver usb
[    0.133016] registerd cppi-dma Intr @ IRQ 17
[    0.133031] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[    0.133041] Cppi41 Init Done
[    0.133068] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.133352] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.147221] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.148962] tps65217 1-0024: TPS65217 ID 0xe version 1.2
[    0.150933] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
[    0.152956] print_constraints: DCDC2: 900 <--> 3300 mV at 1100 mV
[    0.154951] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[    0.156919] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[    0.158951] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[    0.160934] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
[    0.162926] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[    0.177224] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[    0.178837] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.179567] Bluetooth: Core ver 2.16
[    0.179756] NET: Registered protocol family 31
[    0.179769] Bluetooth: HCI device and connection manager initialized
[    0.179785] Bluetooth: HCI socket layer initialized
[    0.179797] Bluetooth: L2CAP socket layer initialized
[    0.179825] Bluetooth: SCO socket layer initialized
[    0.180408] cfg80211: Calling CRDA to update world regulatory domain
[    0.181599] Switching to clocksource gp timer
[    0.199471] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.199680] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.200014] MUSB0 controller's USBSS revision = 4ea20800
[    0.200048] musb0: Enabled SW babble control
[    0.200977] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083e000 using DMA, IRQ 18
[    0.201148] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.201455] MUSB1 controller's USBSS revision = 4ea20800
[    0.201485] musb1: Enabled SW babble control
[    0.201991] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.202084] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.202227] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.202243] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.202257] usb usb1: Product: MUSB HDRC host driver
[    0.202267] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.202278] usb usb1: SerialNumber: musb-hdrc.1
[    0.203236] hub 1-0:1.0: USB hub found
[    0.203265] hub 1-0:1.0: 1 port detected
[    0.203871] musb-hdrc musb-hdrc.1: USB Host mode controller at e084a800 using DMA, IRQ 19
[    0.204311] NET: Registered protocol family 2
[    0.204514] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.204832] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.205128] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.205302] TCP: Hash tables configured (established 16384 bind 16384)
[    0.205315] TCP reno registered
[    0.205328] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.205362] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.205542] NET: Registered protocol family 1
[    0.205795] RPC: Registered named UNIX socket transport module.
[    0.205809] RPC: Registered udp transport module.
[    0.205818] RPC: Registered tcp transport module.
[    0.205827] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.206053] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.206280] omap-gpmc omap-gpmc: --GPMC revision-- 6.0
[    0.206790] omap-gpmc omap-gpmc: --GPMC-DEVICE-NAND-- 1
[    0.207056] omap-gpmc omap-gpmc: --GPMC-DEVICE-FRAM-- 64
[    0.226106] VFS: Disk quotas dquot_6.5.2
[    0.226179] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.226734] msgmni has been set to 999
[    0.229842] alg: No test for stdrng (krng)
[    0.229913] io scheduler noop registered
[    0.229923] io scheduler deadline registered
[    0.230021] io scheduler cfq registered (default)
[    0.231590] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-5.0-ATXI#-T-1 panel
[    0.242070] Console: switching to colour frame buffer device 100x30
[    0.249174] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.979444] console [ttyO0] enabled
[    0.983824] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.991728] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.999540] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    1.007389] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    1.015225] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    1.033263] brd: module loaded
[    1.041580] loop: module loaded
[    1.045513] i2c-core: driver [tsl2550] using legacy suspend method
[    1.051992] i2c-core: driver [tsl2550] using legacy resume method
[    1.058729] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.069668] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.077068] omap2-nand driver initializing
[    1.081423] info->phys_base 8000000
[    1.085155] ONFI flash detected
[    1.088554] ONFI param page 0 valid
[    1.092208] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08ABABAWP)
[    1.100552] omap2-nand: detected x8 NAND flash
[    1.105283] Page size 4096 Select ECC BCH16
[    1.109640] Nand ECC BCH16 HW
[    1.113094] Creating 8 MTD partitions on "omap2-nand.0":
[    1.118650] 0x000000000000-0x000000200000 : "SPL"
[    1.125280] 0x000000200000-0x000000400000 : "SPL.backup1"
[    1.132407] 0x000000400000-0x000000600000 : "SPL.backup2"
[    1.139395] 0x000000600000-0x000000800000 : "SPL.backup3"
[    1.146482] 0x000000800000-0x000000a00000 : "U-Boot"
[    1.153124] 0x000000a00000-0x000000c00000 : "U-Boot Env"
[    1.160089] 0x000000c00000-0x000001400000 : "Kernel"
[    1.167083] 0x000001400000-0x000040000000 : "File System"
[    1.227847] OneNAND driver initializing
[    1.233975] CAN device driver inte**ce
[    1.237977] CAN bus driver for Bosch D_CAN controller 1.0
[    1.244500] d_can d_can.0: device registered (irq=52, irq_obj=53)
[    1.281695] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    1.301647] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.308091] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    1.315539] davinci_mdio.0: probed
[    1.319088] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    1.326630] PPP generic driver version 2.4.2
[    1.331527] PPP BSD Compression module registered
[    1.336456] PPP Deflate Compression module registered
[    1.341735] RTL871X: module init start version:v4.1.7_9024.20130916
[    1.348454] RTL871X: module init ret=0
[    1.352577] usbcore: registered new inte**ce driver zd1201
[    1.358602] usbcore: registered new inte**ce driver cdc_ether
[    1.364862] usbcore: registered new inte**ce driver cdc_eem
[    1.370917] usbcore: registered new inte**ce driver dm9601
[    1.376797] cdc_ncm: 04-Aug-2011
[    1.380343] usbcore: registered new inte**ce driver cdc_ncm
[    1.386258] Initializing USB Mass Storage driver...
[    1.391566] usbcore: registered new inte**ce driver usb-storage
[    1.397844] USB Mass Storage support registered.
[    1.403224] usbcore: registered new inte**ce driver usbserial
[    1.409464] USB Serial support registered for generic
[    1.421877] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    1.428865] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.437201] hub 1-1:1.0: USB hub found
[    1.441184] hub 1-1:1.0: 4 ports detected
[    1.446458] usbcore: registered new inte**ce driver usbserial_generic
[    1.453302] usbserial: USB Serial Driver core
[    1.458001] USB Serial support registered for GSM modem (1-port)
[    1.464703] usbcore: registered new inte**ce driver option
[    1.470513] option: v0.7.2:USB Driver for GSM modems
[    1.475857] USB Serial support registered for Vizzini USB serial port
[    1.482763] usbcore: registered new inte**ce driver vizzini
[    1.488660] USB Driver for Vizzini USB serial port: v.1.1
[    1.494880] mousedev: PS/2 mouse device common for all mice
[    1.501332] [wds tsc probe]x.min=140,x.max=3946,y.min=319,y.max=3865,x.inverted=0,y.inverted=1
[    1.510749] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
[    1.519190] rtc-ds1307: probe of 1-0068 failed with error -5
[    1.525350] forlinx rx8010_probe
[    1.530623] rtc-rx8010 1-0032: Update timer was detected
[    1.538219] rtc-rx8010 1-0032: rtc core: registered rx8010 as rtc0
[    1.545036] i2c /dev entries driver
[    1.549571] Linux video capture inte**ce: v2.00
[    1.554772] usbcore: registered new inte**ce driver uvcvideo
[    1.560759] USB Video Class driver (1.1.1)
[    1.565987] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.572488] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[    1.579044] usbcore: registered new inte**ce driver bcm203x
[    1.584967] Bluetooth: Generic Bluetooth USB driver ver 0.6
[    1.590953] usbcore: registered new inte**ce driver btusb
[    1.597938] cpuidle: using governor ladder
[    1.602715] cpuidle: using governor menu
[    1.613147] usbcore: registered new inte**ce driver usbhid
[    1.618972] usbhid: USB HID core driver
[    1.623946] tiadc tiadc: attached adc driver
[    1.631178] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[    1.639009] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[    1.646697] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[    1.654365] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[    1.664977] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[    1.708285] ALSA device list:
[    1.711385]   #0: AM335X EVM
[    1.714424] oprofile: hardware counters not available
[    1.719692] oprofile: using timer interrupt.
[    1.724175] nf_conntrack version 0.5.0 (7999 buckets, 31996 max)
[    1.731011] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.736700] TCP cubic registered
[    1.740068] NET: Registered protocol family 17
[    1.744727] can: controller area network core (rev 20090105 abi 8)
[    1.751258] NET: Registered protocol family 29
[    1.755927] can: raw protocol (rev 20090105)
[    1.760380] can: broadcast manager protocol (rev 20090105 t)
[    1.766433] Bluetooth: RFCOMM TTY layer initialized
[    1.771547] Bluetooth: RFCOMM socket layer initialized
[    1.776936] Bluetooth: RFCOMM ver 1.11
[    1.780843] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.786391] Bluetooth: BNEP filters: protocol multicast
[    1.791847] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[    1.798511] Registering the dns_resolver key type
[    1.803525] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.811518] ThumbEE CPU extension supported.
[    1.816049] mux: Failed to setup hwmod io irq -22
[    1.821670] Power Management for AM33XX family
[    1.826527] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    1.833206] Copied the M3 firmware to UMEM
[    1.837553] Cortex M3 Firmware Version = 0x181
[    1.847319] clock: disabling unused clocks to save power
[    1.854977] Detected MACID=38:d2:69:65:15:2d
[    1.860566] cpsw: Detected MACID = 38:d2:69:65:15:2f
[    1.867130] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    1.875825] rtc-rx8010 1-0032: setting system clock to 2017-09-15 15:02:03 UTC (1505487723)
[    1.885134] Waiting for root device /dev/mmcblk0p2...



回复

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 20:15

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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