This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
root@am335x-evm:~# dmesg
[ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #3 S
un Sep 2 01:57:55 PDT 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c0613374, node_mem_map c064900
0
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] AM335X ES1.0 (sgx neon )
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 65024
[ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO0,1
15200
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253420k/253420k available, 8724k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0580000 (5600 kB)
[ 0.000000] .init : 0xc0580000 - 0xc05bf000 ( 252 kB)
[ 0.000000] .data : 0xc05c0000 - 0xc061c088 ( 369 kB)
[ 0.000000] .bss : 0xc061c0ac - 0xc0648d30 ( 180 kB)
[ 0.000000] NR_IRQS:396
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
ts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 13
1071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.058532] pid_max: default: 32768 minimum: 301
[ 0.058654] Security Framework initialized
[ 0.058776] Mount-cache hash table entries: 512
[ 0.059143] CPU: Testing write buffer coherency: ok
[ 0.079162] omap_hwmod: gfx: failed to hardreset
[ 0.095428] omap_hwmod: pruss: failed to hardreset
[ 0.096588] print_constraints: dummy:
[ 0.096954] NET: Registered protocol family 16
[ 0.099243] OMAP GPIO hardware version 0.1
[ 0.101928] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.104217] omap_i2c.1: alias fck already exists
[ 0.105163] omap2_mcspi.1: alias fck already exists
[ 0.105407] omap2_mcspi.2: alias fck already exists
[ 0.105682] edma.0: alias fck already exists
[ 0.105682] edma.0: alias fck already exists
[ 0.105712] edma.0: alias fck already exists
[ 0.131378] bio: create slab <bio-0> at 0
[ 0.133636] SCSI subsystem initialized
[ 0.135345] usbcore: registered new interface driver usbfs
[ 0.135650] usbcore: registered new interface driver hub
[ 0.135864] usbcore: registered new device driver usb
[ 0.136016] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.136322] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.148620] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.150482] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.152893] print_constraints: VRTC:
[ 0.154357] print_constraints: VIO: at 1800 mV
[ 0.156677] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
[ 0.158996] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.160034] print_constraints: VDD3: 5000 mV
[ 0.161437] print_constraints: VDIG1: at 1800 mV
[ 0.162872] print_constraints: VDIG2: at 1800 mV
[ 0.164306] print_constraints: VPLL: at 1800 mV
[ 0.165740] print_constraints: VDAC: at 1800 mV
[ 0.167175] print_constraints: VAUX1: at 1800 mV
[ 0.168609] print_constraints: VAUX2: at 3300 mV
[ 0.170043] print_constraints: VAUX33: at 3300 mV
[ 0.171478] print_constraints: VMMC: at 3300 mV
[ 0.171997] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.172943] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.174102] Switching to clocksource gp timer
[ 0.190185] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.190368] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.190704] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk
split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.190734] musb-hdrc: MHDRC RTL version 2.0
[ 0.190734] musb-hdrc: setup fifo_mode 4
[ 0.190765] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.191253] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using
PIO, IRQ 18
[ 0.191406] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.191711] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk
split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.191741] musb-hdrc: MHDRC RTL version 2.0
[ 0.191772] musb-hdrc: setup fifo_mode 4
[ 0.191802] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.191833] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.191894] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
r 1
[ 0.192047] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.192077] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[ 0.192077] usb usb1: Product: MUSB HDRC host driver
[ 0.192108] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.192108] usb usb1: SerialNumber: musb-hdrc.1
[ 0.192901] hub 1-0:1.0: USB hub found
[ 0.192932] hub 1-0:1.0: 1 port detected
[ 0.193481] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using
PIO, IRQ 19
[ 0.193908] NET: Registered protocol family 2
[ 0.194091] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.194519] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.194671] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.194763] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.194793] TCP reno registered
[ 0.194793] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.194824] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.195007] NET: Registered protocol family 1
[ 0.195281] RPC: Registered named UNIX socket transport module.
[ 0.195281] RPC: Registered udp transport module.
[ 0.195312] RPC: Registered tcp transport module.
[ 0.195312] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.195587] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.207824] VFS: Disk quotas dquot_6.5.2
[ 0.207885] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.208435] msgmni has been set to 494
[ 0.209228] io scheduler noop registered
[ 0.209228] io scheduler deadline registered
[ 0.209289] io scheduler cfq registered (default)
[ 0.210632] Could not set LED4 to fully on
[ 0.212432] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.816650] console [ttyO0] enabled
[ 0.820922] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.828796] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.836608] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.844390] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.852172] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.869537] brd: module loaded
[ 0.877716] loop: module loaded
[ 0.881195] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.887695] i2c-core: driver [tsl2550] using legacy resume method
[ 0.894104] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.954681] No daughter card found
[ 0.958282] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.973449] AM335X: wrong header 0xffffffff, expected 0xee3355aa
[ 0.979888] The board is windycore EVM in profile 0
[ 0.984985] ===============windycore=========================
[ 0.990966] Found invalid GP EVM revision, falling back to Rev1.1A
[ 0.997650] omap_hsmmc.0: alias fck already exists
[ 1.003417] omap_hsmmc.2: alias fck already exists
[ 1.008911] Configure Bluetooth Enable pin...
[ 1.015747] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.022888] omap2-nand driver initializing
[ 1.028533] CAN device driver interface
[ 1.032562] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.084808] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.091278] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.098571] davinci_mdio.0: probed
[ 1.102142] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.109863] usbcore: registered new interface driver zd1201
[ 1.115905] usbcore: registered new interface driver cdc_ether
[ 1.122131] usbcore: registered new interface driver cdc_eem
[ 1.128234] usbcore: registered new interface driver dm9601
[ 1.134094] cdc_ncm: 04-Aug-2011
[ 1.137634] usbcore: registered new interface driver cdc_ncm
[ 1.143554] Initializing USB Mass Storage driver...
[ 1.148864] usbcore: registered new interface driver usb-storage
[ 1.155151] USB Mass Storage support registered.
[ 1.160430] mousedev: PS/2 mouse device common for all mice
[ 1.167388] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.174041] omap_rtc: already running
[ 1.178100] i2c /dev entries driver
[ 1.182128] Linux video capture interface: v2.00
[ 1.187316] usbcore: registered new interface driver uvcvideo
[ 1.193328] USB Video Class driver (1.1.1)
[ 1.199645] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.208282] cpuidle: using governor ladder
[ 1.213073] cpuidle: using governor menu
[ 1.223083] usbcore: registered new interface driver usbhid
[ 1.228942] usbhid: USB HID core driver
[ 1.233551] usbcore: registered new interface driver snd-usb-audio
[ 1.241912] ALSA device list:
[ 1.245056] No soundcards found.
[ 1.248596] oprofile: hardware counters not available
[ 1.253875] oprofile: using timer interrupt.
[ 1.258361] nf_conntrack version 0.5.0 (3959 buckets, 15836 max)
[ 1.265136] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.270812] TCP cubic registered
[ 1.274200] NET: Registered protocol family 17
[ 1.278869] can: controller area network core (rev 20090105 abi 8)
[ 1.285400] NET: Registered protocol family 29
[ 1.290039] can: raw protocol (rev 20090105)
[ 1.294494] can: broadcast manager protocol (rev 20090105 t)
[ 1.300476] Registering the dns_resolver key type
[ 1.305450] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 1.313476] ThumbEE CPU extension supported.
[ 1.317993] mux: Failed to setup hwmod io irq -22
[ 1.323577] Power Management for AM33XX family
[ 1.328460] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.335144] Copied the M3 firmware to UMEM
[ 1.339416] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not su
pport st_shift
[ 1.351928] clock: disabling unused clocks to save power
[ 1.359710] Detected MACID=0:18:31:e3:8:88
[ 1.365478] omap_rtc omap_rtc: setting system clock to 2012-04-11 10:22:23 UT
C (1334139743)
[ 1.374816] Waiting for root device /dev/mmcblk0p2...
[ 1.417724] mmc0: new high speed SDHC card at address 1234
[ 1.424102] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 1.431152] mmcblk0: p1 p2 p3
[ 9.062103] kjournald starting. Commit interval 5 seconds
[ 9.067962] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, runnin
g e2fsck is recommended
[ 9.761108] EXT3-fs (mmcblk0p2): using internal journal
[ 9.766601] EXT3-fs (mmcblk0p2): recovery complete
[ 9.775482] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 9.782745] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 9.789398] Freeing init memory: 252K
[ 10.290100] udevd (625): /proc/625/oom_adj is deprecated, please use /proc/62
5/oom_score_adj instead.
[ 13.705230] kjournald starting. Commit interval 5 seconds
[ 13.711120] EXT3-fs (mmcblk0p3): warning: maximal mount count reached, runnin
g e2fsck is recommended
[ 14.458404] EXT3-fs (mmcblk0p3): using internal journal
[ 14.463867] EXT3-fs (mmcblk0p3): recovery complete
[ 14.468902] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
[ 14.543487] alignment: ignoring faults is unsafe on this CPU. Defaulting to
fixup mode.
[ 24.234497]
[ 24.234497] CPSW phy found : id is : 0x4dd074
[ 24.241455] PHY 0:01 not found
[ 27.226196] PHY: 0:00 - Link is Up - 100/Full
[ 40.637054] gadget: Mass Storage Function, version: 2009/09/11
[ 40.643280] gadget: Number of LUNs=2
[ 40.647186] lun0: LUN: removable file: /dev/mmcblk0p1
[ 40.652526] lun1: LUN: removable file: /dev/mmcblk0p3
[ 40.657958] gadget: Mass Storage Gadget, version: 2009/09/11
[ 40.663940] gadget: userspace failed to provide iSerialNumber
[ 40.670074] gadget: g_mass_storage ready
[ 40.674285] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 40.679870] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numbe
r 2
[ 40.687744] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 40.694824] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[ 40.702392] usb usb2: Product: MUSB HDRC host driver
[ 40.707733] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[ 40.713287] usb usb2: SerialNumber: musb-hdrc.0
[ 40.718627] hub 2-0:1.0: USB hub found
[ 40.722595] hub 2-0:1.0: 1 port detected
[ 87.127746] nand: exports duplicate symbol nand_default_bbt (owned by kernel)
root@am335x-evm:~#
这是我的dmesg,没有关于nand初始化的信息,我在启动之后cat /proc/mtd也捕捉不到设备,menuconfig里面该选的都选了,而且就是官方的config。
WPI的板子,我看了下原理图PCB,和TI的EVM一样。元器件也没有更换。
目前我用了一个新的内核在尝试,这个内核我朋友那边已经驱动起nand了。我这边跑到一半就停下来了。具体信息如下
U-Boot SPL 2011.09 (May 02 2012 - 20:17:18)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09 (Apr 17 2012 - 19:19:12)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
No daughter card present
NAND: HW ECC Hamming Code selected
256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 **
reading uImage
3061680 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3061616 Bytes = 2.9 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 (jack@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #2 Sun May 13 17:50:32 PDT 2012
[ 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 ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253468k/253468k available, 8676k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0575000 (5556 kB)
[ 0.000000] .init : 0xc0575000 - 0xc05b2000 ( 244 kB)
[ 0.000000] .data : 0xc05b2000 - 0xc060fb58 ( 375 kB)
[ 0.000000] .bss : 0xc060fb7c - 0xc063c824 ( 180 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 clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.058929] pid_max: default: 32768 minimum: 301
[ 0.059051] Security Framework initialized
[ 0.059173] Mount-cache hash table entries: 512
[ 0.059539] CPU: Testing write buffer coherency: ok
[ 0.079528] omap_hwmod: gfx: failed to hardreset
[ 0.095794] omap_hwmod: pruss: failed to hardreset
[ 0.096893] print_constraints: dummy:
[ 0.097259] NET: Registered protocol family 16
[ 0.099426] OMAP GPIO hardware version 0.1
[ 0.102050] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.104217] omap_i2c.1: alias fck already exists
[ 0.105133] omap2_mcspi.1: alias fck already exists
[ 0.105346] omap2_mcspi.2: alias fck already exists
[ 0.105590] edma.0: alias fck already exists
[ 0.105621] edma.0: alias fck already exists
[ 0.105621] edma.0: alias fck already exists
[ 0.130371] bio: create slab <bio-0> at 0
[ 0.132537] SCSI subsystem initialized
[ 0.134185] usbcore: registered new interface driver usbfs
[ 0.134490] usbcore: registered new interface driver hub
[ 0.134704] usbcore: registered new device driver usb
[ 0.134857] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.135131] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.136260] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.138122] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.140533] print_constraints: VRTC:
[ 0.141998] print_constraints: VIO: at 1800 mV
[ 0.144317] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
[ 0.146606] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.147613] print_constraints: VDD3: 5000 mV
[ 0.149017] print_constraints: VDIG1: at 1800 mV
[ 0.150451] print_constraints: VDIG2: at 1800 mV
[ 0.151855] print_constraints: VPLL: at 1800 mV
[ 0.153289] print_constraints: VDAC: at 1800 mV
[ 0.154693] print_constraints: VAUX1: at 1800 mV
[ 0.156158] print_constraints: VAUX2: at 3300 mV
[ 0.157562] print_constraints: VAUX33: at 3300 mV
[ 0.158996] print_constraints: VMMC: at 3300 mV
[ 0.159484] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.160400] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.161529] Switching to clocksource gp timer
[ 0.177124] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.177276] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.178161] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[ 0.178314] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.178710] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.178802] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.178924] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.178924] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.178955] usb usb1: Product: MUSB HDRC host driver
[ 0.178955] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.178985] usb usb1: SerialNumber: musb-hdrc.1
[ 0.179779] hub 1-0:1.0: USB hub found
[ 0.179809] hub 1-0:1.0: 1 port detected
[ 0.180328] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[ 0.180755] NET: Registered protocol family 2
[ 0.180969] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.181274] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.181427] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.181518] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.181549] TCP reno registered
[ 0.181549] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.181640] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.181823] NET: Registered protocol family 1
[ 0.182098] RPC: Registered named UNIX socket transport module.
[ 0.182128] RPC: Registered udp transport module.
[ 0.182128] RPC: Registered tcp transport module.
[ 0.182128] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.182403] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.194519] VFS: Disk quotas dquot_6.5.2
[ 0.194610] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.195129] msgmni has been set to 495
[ 0.195922] io scheduler noop registered
[ 0.195953] io scheduler deadline registered
[ 0.196014] io scheduler cfq registered (default)
[ 0.197296] Could not set LED4 to fully on
[ 0.199035] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.807800] console [ttyO0] enabled
[ 0.812072] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.819915] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.827728] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.835510] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.843292] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.860412] brd: module loaded
[ 0.868530] loop: module loaded
[ 0.872009] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.878509] i2c-core: driver [tsl2550] using legacy resume method
[ 0.884918] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.952087] No daughter card found
[ 0.955688] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.968811] AM335X: wrong header 0xffffffff, expected 0xee3355aa
[ 0.975097] The error message above indicates that there is an issue with
[ 0.975097] the EEPROM or the EEPROM contents. After verifying the EEPROM
[ 0.975097] contents, if any, refer to the am335x_evm_setup function in the
[ 0.975128] arch/arm/mach-omap2/board-am335xevm.c file to modify the board
[ 0.975128] initialization code to match the hardware configuration
到这里就不动了。
我建议你直接跟wpi的人联系下吧,你买了他们的板子,他们应该给你正确的sdk启动板子,我这边没有他们的板子,原理图,仅仅通过board 文件,一下子也找不到问题在哪里
您好 我裁减了AM3359的 EVM板子只保留了baseboard上的sd 串口 usb,去掉了daughterborad。然后用sd启动系统,起不起来了。卡在了这里:Waiting for root device /dev/mmcblk0p2...
下面是启动信息:
请问是什么原因呢?找了好久已然没有解决。急死了
U-Boot SPL 2011.09 (Feb 09 2012 - 15:38:59)
Texas Instruments Revision detection unimplemented
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
read_eeprom() failure
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2011.09 (Feb 09 2012 - 15:11:31)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
NAND: HW ECC Hamming Code selected
256 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
SD/MMC found on device 0
reading uEnv.txt
** Unable to read "uEnv.txt" from mmc 0:1 **
reading uImage
2922160 bytes read
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Arago/3.1.0-psp04.06.00.03.sdk/a
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2922096 Bytes = 2.8 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.1.0 (jenkins@sdit-build01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Feb 9 14:58:49 CST 2012
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: am335xevm
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 253724k/253724k available, 8420k 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] DMA : 0xffa00000 - 0xffe00000 ( 4 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0534000 (5296 kB)
[ 0.000000] .init : 0xc0534000 - 0xc056d000 ( 228 kB)
[ 0.000000] .data : 0xc056e000 - 0xc05c2d80 ( 340 kB)
[ 0.000000] .bss : 0xc05c2da4 - 0xc05fd320 ( 234 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: GPTIMER1 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000252] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.058632] pid_max: default: 32768 minimum: 301
[ 0.058787] Security Framework initialized
[ 0.058911] Mount-cache hash table entries: 512
[ 0.059364] CPU: Testing write buffer coherency: ok
[ 0.064943] print_constraints: dummy:
[ 0.065416] NET: Registered protocol family 16
[ 0.065839] GPMC revision 6.0
[ 0.068434] OMAP GPIO hardware version 0.1
[ 0.071351] omap_l3_smx omap_l3_smx.0: couldn't find resource
[ 0.071983] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.075915] omap_i2c.1: alias fck already exists
[ 0.077914] omap2_mcspi.1: alias fck already exists
[ 0.078202] omap2_mcspi.2: alias fck already exists
[ 0.108230] bio: create slab <bio-0> at 0
[ 0.111092] SCSI subsystem initialized
[ 0.113178] usbcore: registered new interface driver usbfs
[ 0.113610] usbcore: registered new interface driver hub
[ 0.113876] usbcore: registered new device driver usb
[ 0.128784] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
[ 0.131430] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.132799] Switching to clocksource gp timer
[ 0.138702] Switched to NOHz mode on CPU #0
[ 0.153967] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.154198] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.155266] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18
[ 0.155481] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.156394] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19
[ 0.156892] NET: Registered protocol family 2
[ 0.157131] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.157488] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.157712] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.157848] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.157864] TCP reno registered
[ 0.157882] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.157914] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.158159] NET: Registered protocol family 1
[ 0.158508] RPC: Registered named UNIX socket transport module.
[ 0.158527] RPC: Registered udp transport module.
[ 0.158540] RPC: Registered tcp transport module.
[ 0.158553] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.158828] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.172829] VFS: Disk quotas dquot_6.5.2
[ 0.172974] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.173738] JFFS2 version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
[ 0.174130] msgmni has been set to 495
[ 0.175096] io scheduler noop registered
[ 0.175115] io scheduler deadline registered
[ 0.175212] io scheduler cfq registered (default)
[ 0.176327] Could not set LED4 to fully on
[ 0.178344] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.180531] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.659948] console [ttyO0] enabled
[ 0.664342] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.672205] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.680152] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.688026] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.695892] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.715574] brd: module loaded
[ 0.725348] loop: module loaded
[ 0.728881] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.735432] i2c-core: driver [tsl2550] using legacy resume method
[ 0.741921] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.802852] No daughter card found
[ 0.806486] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.872853] AM335X: EVM Config read fail: -110
[ 0.879593] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.886727] omap2-nand driver initializing
[ 0.891289] OneNAND driver initializing
[ 0.897234] CAN device driver interface
[ 0.901246] CAN bus driver for Bosch D_CAN controller 1.0
[ 0.907891] usbcore: registered new interface driver cdc_ether
[ 0.914313] usbcore: registered new interface driver cdc_subset
[ 0.920593] Initializing USB Mass Storage driver...
[ 0.925999] usbcore: registered new interface driver usb-storage
[ 0.932316] USB Mass Storage support registered.
[ 0.937259] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.942944] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.950863] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.958033] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.965645] usb usb1: Product: MUSB HDRC host driver
[ 0.970865] usb usb1: Manufacturer: Linux 3.1.0 musb-hcd
[ 0.976461] usb usb1: SerialNumber: musb-hdrc.1
[ 0.982217] hub 1-0:1.0: USB hub found
[ 0.986231] hub 1-0:1.0: 1 port detected
[ 0.991672] mousedev: PS/2 mouse device common for all mice
[ 0.998981] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.006021] i2c /dev entries driver
[ 1.012538] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.019577] cpuidle: using governor ladder
[ 1.024586] cpuidle: using governor menu
[ 1.032424] usbcore: registered new interface driver usbhid
[ 1.038347] usbhid: USB HID core driver
[ 1.043631] usbcore: registered new interface driver snd-usb-audio
[ 1.052162] ALSA device list:
[ 1.055352] No soundcards found.
[ 1.058926] oprofile: hardware counters not available
[ 1.064248] oprofile: using timer interrupt.
[ 1.068767] nf_conntrack version 0.5.0 (3964 buckets, 15856 max)
[ 1.075696] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.081426] TCP cubic registered
[ 1.084872] NET: Registered protocol family 17
[ 1.089558] can: controller area network core (rev 20090105 abi 8)
[ 1.096188] NET: Registered protocol family 29
[ 1.100864] can: raw protocol (rev 20090105)
[ 1.105372] can: broadcast manager protocol (rev 20090105 t)
[ 1.111369] Registering the dns_resolver key type
[ 1.116414] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.124499] ThumbEE CPU extension supported.
[ 1.129898] _regulator_get: mpu.0 supply mpu not found, using dummy regulator
[ 1.137559] omap2_set_init_voltage: Fail set voltage-dpll_mpu_ck(f=500000000 v=1100000)on vddmpu
[ 1.146822] omap2_set_init_voltage: unable to set vdd_mpu
[ 1.155345] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 1.164733] Waiting for root device /dev/mmcblk0p2...
Hi,alvin
driver下面应该是添加了nandflash的驱动,你检查看看你的board-am335xevm.c文件中是否初始化了nandflash,并且执行了。
Thanks
Best Regards
John
baseboard的确是不能单独启动,我记得是因为串口的一个片子的供电在daughterboard上,这点。。。 我也觉得不爽。你的板子,如果不能启动,您先查查boot config
TI的BSP貌似是直接可以的,在board-am335xevm.c中加入nandflash和管脚的初始化应该是可以的。
我们自己做的板子用的UBIFS跑得很好
http://processors.wiki.ti.com/index.php/UBIFS_Support#Creating_UBIFS_file_system
这里有怎么做文件系统的 ,主要是做UBIFS的工具