- 积分
- 22
贡献110
飞刀30 FD
注册时间2017-8-5
在线时间4 小时
扫一扫,手机访问本帖
|
我已经按照手册正常从sd卡写入到了nandflash,但是会程序会自己运行到一半卡住不动了,
U-Boot 2011.09 (Aug 22 2016 - 11:37:17)
I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
NAND: HW ECC BCH16 Selected
ONFI flash detected
ONFI param page 0 valid
HW ECC BCH8 Selected
Detect MT29F2G08
256 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
reading logo.bmp
385078 bytes read
Net: cpsw
Hit any key to stop autoboot: 3 2 1 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 **
0 bytes read
reading uImage
3742672 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0-g096dc68
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3742608 Bytes = 3.6 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0-g096dc68 (root@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Oct 13 19:04:26 PDT 2016
[ 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: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none screentype=R screensize=800x480-7 calibrate=Y laohua=N
[ 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: 511924k/511924k available, 12364k 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 - 0xc06c2000 (6888 kB)
[ 0.000000] .init : 0xc06c2000 - 0xc06ff000 ( 244 kB)
[ 0.000000] .data : 0xc0700000 - 0xc0770818 ( 451 kB)
[ 0.000000] .bss : 0xc077083c - 0xc07a4678 ( 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.000190] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.057153] pid_max: default: 32768 minimum: 301
[ 0.057291] Security Framework initialized
[ 0.057396] Mount-cache hash table entries: 512
[ 0.057792] CPU: Testing write buffer coherency: ok
[ 0.058558] devtmpfs: initialized
[ 0.078581] omap_hwmod: pruss: failed to hardreset
[ 0.079683] print_constraints: dummy:
[ 0.080044] NET: Registered protocol family 16
[ 0.082167] OMAP GPIO hardware version 0.1
[ 0.084736] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.086550] omap_i2c.1: alias fck already exists
[ 0.087719] omap_hsmmc.0: alias fck already exists
[ 0.087983] omap_hsmmc.1: alias fck already exists
[ 0.088565] da8xx_lcdc.0: alias fck already exists
[ 0.088845] omap_i2c.2: alias fck already exists
[ 0.090377] d_can.0: alias fck already exists
[ 0.090664] davinci-mcasp.1: alias fck already exists
[ 0.091902] omap2_mcspi.1: alias fck already exists
[ 0.092125] omap2_mcspi.2: alias fck already exists
[ 0.092396] edma.0: alias fck already exists
[ 0.092417] edma.0: alias fck already exists
[ 0.092436] edma.0: alias fck already exists
[ 0.128734] bio: create slab <bio-0> at 0
[ 0.130947] SCSI subsystem initialized
[ 0.132919] usbcore: registered new inte**ce driver usbfs
[ 0.133238] usbcore: registered new inte**ce driver hub
[ 0.133441] usbcore: registered new device driver usb
[ 0.133751] registerd cppi-dma Intr @ IRQ 17
[ 0.133766] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[ 0.133775] Cppi41 Init Done
[ 0.133801] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.134089] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.147216] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.148950] tps65217 1-0024: TPS65217 ID 0xe version 1.2
[ 0.150916] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
[ 0.152944] print_constraints: DCDC2: 900 <--> 3300 mV at 1100 mV
[ 0.154938] print_constraints: DCDC3: 900 <--> 1500 mV at 1100 mV
[ 0.156931] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[ 0.158940] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[ 0.160922] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
[ 0.162907] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[ 0.177222] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
[ 0.178835] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.179580] Bluetooth: Core ver 2.16
[ 0.179764] NET: Registered protocol family 31
[ 0.179776] Bluetooth: HCI device and connection manager initialized
[ 0.179792] Bluetooth: HCI socket layer initialized
[ 0.179804] Bluetooth: L2CAP socket layer initialized
[ 0.179831] Bluetooth: SCO socket layer initialized
[ 0.180398] cfg80211: Calling CRDA to update world regulatory domain
[ 0.181574] Switching to clocksource gp timer
[ 0.199265] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.199477] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.199805] MUSB0 controller's USBSS revision = 4ea20800
[ 0.199840] musb0: Enabled SW babble control
[ 0.200786] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083e000 using DMA, IRQ 18
[ 0.200947] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.201244] MUSB1 controller's USBSS revision = 4ea20800
[ 0.201271] musb1: Enabled SW babble control
[ 0.201778] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.201873] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.202022] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.202038] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.202052] usb usb1: Product: MUSB HDRC host driver
[ 0.202062] usb usb1: Manufacturer: Linux 3.2.0-g096dc68 musb-hcd
[ 0.202074] usb usb1: SerialNumber: musb-hdrc.1
[ 0.203019] hub 1-0:1.0: USB hub found
[ 0.203050] hub 1-0:1.0: 1 port detected
[ 0.203670] musb-hdrc musb-hdrc.1: USB Host mode controller at e084a800 using DMA, IRQ 19
[ 0.204101] NET: Registered protocol family 2
[ 0.204296] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.204614] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.204910] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.205084] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.205097] TCP reno registered
[ 0.205110] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.205146] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.205324] NET: Registered protocol family 1
[ 0.205594] RPC: Registered named UNIX socket transport module.
[ 0.205609] RPC: Registered udp transport module.
[ 0.205617] RPC: Registered tcp transport module.
[ 0.205626] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.205852] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.206079] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.225572] VFS: Disk quotas dquot_6.5.2
[ 0.225648] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.226207] msgmni has been set to 999
[ 0.229332] alg: No test for stdrng (krng)
[ 0.229406] io scheduler noop registered
[ 0.229417] io scheduler deadline registered
[ 0.229517] io scheduler cfq registered (default)
[ 0.231077] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-7.0-ATXI#-T-1 panel
[ 0.241512] Console: switching to colour frame buffer device 100x30
[ 0.248670] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.976758] console [ttyO0] enabled
[ 0.981124] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.989033] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.996882] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.004715] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.012558] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.030553] brd: module loaded
[ 1.039007] loop: module loaded
[ 1.042938] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.049396] i2c-core: driver [tsl2550] using legacy resume method
[ 1.056140] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.066600] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.074143] omap2-nand driver initializing
[ 1.078496] info->phys_base 8000000
[ 1.082229] ONFI flash detected
[ 1.085618] ONFI param page 0 valid
[ 1.089260] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
[ 1.097618] omap2-nand: detected x8 NAND flash
[ 1.102347] Page size 2048 Select ECC BCH8
[ 1.106616] Nand ECC BCH8 HW
[ 1.109839] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.115407] 0x000000000000-0x000000200000 : "SPL"
[ 1.122327] 0x000000200000-0x000000400000 : "SPL.backup1"
[ 1.129602] 0x000000400000-0x000000600000 : "SPL.backup2"
[ 1.136997] 0x000000600000-0x000000800000 : "SPL.backup3"
[ 1.144336] 0x000000800000-0x000000a00000 : "U-Boot"
[ 1.151186] 0x000000a00000-0x000000c00000 : "U-Boot Env"
[ 1.158431] 0x000000c00000-0x000001400000 : "Kernel"
[ 1.166412] 0x000001400000-0x000010000000 : "File System"
[ 1.213508] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 1.222137] OneNAND driver initializing
[ 1.228201] CAN device driver inte**ce
[ 1.232244] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.238756] d_can d_can.0: device registered (irq=52, irq_obj=53)
[ 1.291620] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.298074] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.305528] davinci_mdio.0: probed
[ 1.309087] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.316623] PPP generic driver version 2.4.2
[ 1.321538] PPP BSD Compression module registered
[ 1.326467] PPP Deflate Compression module registered
[ 1.331746] RTL871X: module init start version:v4.1.7_9024.20130916
[ 1.338580] RTL871X: module init ret=0
[ 1.342748] usbcore: registered new inte**ce driver zd1201
[ 1.348767] usbcore: registered new inte**ce driver cdc_ether
[ 1.355020] usbcore: registered new inte**ce driver cdc_eem
[ 1.361064] usbcore: registered new inte**ce driver dm9601
[ 1.366937] cdc_ncm: 04-Aug-2011
[ 1.370618] usbcore: registered new inte**ce driver cdc_ncm
[ 1.376547] Initializing USB Mass Storage driver...
[ 1.381896] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 1.388884] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.396536] usbcore: registered new inte**ce driver usb-storage
[ 1.402820] USB Mass Storage support registered.
[ 1.408731] usbcore: registered new inte**ce driver usbserial
[ 1.415049] hub 1-1:1.0: USB hub found
[ 1.419091] hub 1-1:1.0: 4 ports detected
[ 1.423334] USB Serial support registered for generic
[ 1.429716] usbcore: registered new inte**ce driver usbserial_generic
[ 1.436554] usbserial: USB Serial Driver core
[ 1.441246] USB Serial support registered for GSM modem (1-port)
[ 1.447935] usbcore: registered new inte**ce driver option
[ 1.453770] option: v0.7.2:USB Driver for GSM modems
[ 1.459086] USB Serial support registered for Vizzini USB serial port
[ 1.465993] usbcore: registered new inte**ce driver vizzini
[ 1.471905] USB Driver for Vizzini USB serial port: v.1.1
[ 1.477722] gadget: Mass Storage Function, version: 2009/09/11
[ 1.483912] gadget: Number of LUNs=1
[ 1.487731] lun0: LUN: removable file: (no medium)
[ 1.492848] gadget: Mass Storage Gadget, version: 2009/09/11
[ 1.498845] gadget: userspace failed to provide iSerialNumber
[ 1.504943] gadget: g_mass_storage ready
[ 1.509135] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.514734] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 1.522570] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.529647] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.537193] usb usb2: Product: MUSB HDRC host driver
[ 1.542374] usb usb2: Manufacturer: Linux 3.2.0-g096dc68 musb-hcd
[ 1.548726] usb usb2: SerialNumber: musb-hdrc.0
[ 1.554691] hub 2-0:1.0: USB hub found
[ 1.558627] hub 2-0:1.0: 1 port detected
[ 1.563988] mousedev: PS/2 mouse device common for all mice
[ 1.570495] [wds tsc probe]x.min=140,x.max=3946,y.min=319,y.max=3865,x.inverted=0,y.inverted=1
[ 1.579920] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
[ 1.588351] rtc-ds1307: probe of 1-0068 failed with error -5
[ 1.594510] forlinx rx8010_probe
[ 1.599784] rtc-rx8010 1-0032: Update timer was detected
[ 1.607405] rtc-rx8010 1-0032: rtc core: registered rx8010 as rtc0
[ 1.614032] i2c /dev entries driver
[ 1.618336] Linux video capture inte**ce: v2.00
[ 1.623534] usbcore: registered new inte**ce driver uvcvideo
[ 1.629530] USB Video Class driver (1.1.1)
[ 1.634720] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.641177] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[ 1.647747] usbcore: registered new inte**ce driver bcm203x
[ 1.653667] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 1.659647] usbcore: registered new inte**ce driver btusb
[ 1.666682] cpuidle: using governor ladder
[ 1.671425] cpuidle: using governor menu
[ 1.682665] usbcore: registered new inte**ce driver usbhid
[ 1.688479] usbhid: USB HID core driver
[ 1.693483] tiadc tiadc: attached adc driver
[ 1.700684] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
[ 1.708498] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
[ 1.716172] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
[ 1.723870] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
[ 1.734476] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 1.768703] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.779029] mmc0: new high speed SD card at address 0002
[ 1.785323] mmcblk0: mmc0:0002 N/A 961 MiB
[ 1.791423] mmcblk0: p1
[ 1.801920] ALSA device list:
[ 1.805023] #0: AM335X EVM
[ 1.808030] oprofile: hardware counters not available
[ 1.813314] oprofile: using timer interrupt.
[ 1.817789] nf_conntrack version 0.5.0 (7998 buckets, 31992 max)
[ 1.824645] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.830299] TCP cubic registered
[ 1.833701] NET: Registered protocol family 17
[ 1.838342] can: controller area network core (rev 20090105 abi 8)
[ 1.844886] NET: Registered protocol family 29
[ 1.849538] can: raw protocol (rev 20090105)
[ 1.854001] can: broadcast manager protocol (rev 20090105 t)
[ 1.860290] Bluetooth: RFCOMM TTY layer initialized
[ 1.865405] Bluetooth: RFCOMM socket layer initialized
[ 1.870762] Bluetooth: RFCOMM ver 1.11
[ 1.874687] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.880224] Bluetooth: BNEP filters: protocol multicast
[ 1.885680] Bluetooth: HIDP (Human Inte**ce Emulation) ver 1.2
[ 1.892369] Registering the dns_resolver key type
[ 1.897348] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.905378] ThumbEE CPU extension supported.
[ 1.909893] mux: Failed to setup hwmod io irq -22
[ 1.915495] Power Management for AM33XX family
[ 1.920345] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.927036] Copied the M3 firmware to UMEM
[ 1.931381] Cortex M3 Firmware Version = 0x181
[ 1.944448] clock: disabling unused clocks to save power
[ 1.952271] Detected MACID=b0:d5:cc:ec:e1:99
[ 1.957958] cpsw: Detected MACID = b0:d5:cc:ec:e1:9b
[ 1.965496] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 1.975397] rtc-rx8010 1-0032: setting system clock to 2017-08-05 22:29:25 UTC (1501972165)
[ 1.984836] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2)
[ 1.992237] Please append a correct "root=" boot option; here are the available partitions:
[ 2.000972] 1f00 2048 mtdblock0 (driver?)
[ 2.006262] 1f01 2048 mtdblock1 (driver?)
[ 2.011534] 1f02 2048 mtdblock2 (driver?)
[ 2.016815] 1f03 2048 mtdblock3 (driver?)
[ 2.022097] 1f04 2048 mtdblock4 (driver?)
[ 2.027366] 1f05 2048 mtdblock5 (driver?)
[ 2.032645] 1f06 8192 mtdblock6 (driver?)
[ 2.037917] 1f07 241664 mtdblock7 (driver?)
[ 2.043196] b300 984064 mmcblk0 driver: mmcblk
[ 2.048746] b301 984032 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
[ 2.057108] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 2.065913] Backtrace:
[ 2.068498] [<c0017d68>] (dump_backtrace+0x0/0x110) from [<c05110f0>] (dump_stack+0x18/0x1c)
[ 2.077314] r6:df024000 r5:c06f24ec r4:c0773490 r3:c0723108
[ 2.083251] [<c05110d8>] (dump_stack+0x0/0x1c) from [<c0511160>] (panic+0x6c/0x1a0)
[ 2.091247] [<c05110f4>] (panic+0x0/0x1a0) from [<c06c2cb4>] (mount_block_root+0x184/0x228)
[ 2.099962] r3:c0723108 r2:00000000 r1:df02df58 r0:c0614c80
[ 2.105886] r7:00008001
[ 2.108533] [<c06c2b30>] (mount_block_root+0x0/0x228) from [<c06c2f1c>] (mount_root+0xd8/0xe0)
[ 2.117528] [<c06c2e44>] (mount_root+0x0/0xe0) from [<c06c30bc>] (prepare_namespace+0x198/0x1e0)
[ 2.126693] r4:c07708a0
[ 2.129343] [<c06c2f24>] (prepare_namespace+0x0/0x1e0) from [<c06c290c>] (kernel_init+0x124/0x130)
[ 2.138688] r5:c06fe76c r4:c06fe76c
[ 2.142451] [<c06c27e8>] (kernel_init+0x0/0x130) from [<c0041780>] (do_exit+0x0/0x67c)
[ 2.150701] r5:c06c27e8 r4:00000000
串口也没有没有任何反应,请问是怎么回事? |
|