Other Parts Discussed in Thread: AM3358
Hi
I am using the am3358.The produce has two ethernet ports.The SDK version is ti-sdk-am335x-evm-05.05.00.When i modified the linux code.The two ethernet port can work.But when the system is reset,it often don't work.the log is like this:
U-Boot SPL 2011.09 (Apr 17 2014 - 05:04:56)
Texas Instruments Revision detection unimplemented
U-Boot 2011.09 (Apr 17 2014 - 05:04:56)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: HW ECC Hamming Code selected
128 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net: cpsw
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
Booting from nand ...
HW ECC BCH8 Selected
NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2693216 Bytes = 2.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 (mxz@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #6 Thu Apr 17 04:37:25 PDT 2014
[ 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=ubi0:rootfs rw ubi.mtd=7,2048 noinitrd rootfstype=ubifs rootwait=1 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: 254244k/254244k available, 7900k 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 - 0xc04be000 (4824 kB)
[ 0.000000] .init : 0xc04be000 - 0xc04f9000 ( 236 kB)
[ 0.000000] .data : 0xc04fa000 - 0xc054ef28 ( 340 kB)
[ 0.000000] .bss : 0xc054ef4c - 0xc057aae4 ( 175 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.058959] pid_max: default: 32768 minimum: 301
[ 0.059082] Security Framework initialized
[ 0.059173] Mount-cache hash table entries: 512
[ 0.059539] CPU: Testing write buffer coherency: ok
[ 0.079406] omap_hwmod: pruss: failed to hardreset
[ 0.080474] print_constraints: dummy:
[ 0.080841] NET: Registered protocol family 16
[ 0.082946] OMAP GPIO hardware version 0.1
[ 0.085266] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.087280] dan_SD card pin init end
[ 0.087371] omap_hsmmc.0: alias fck already exists
[ 0.087677] rmii1_init
[ 0.087707] _omap_mux_get_by_name: Could not find signal gpmc_csn3.rmii2_crs_dv
[ 0.087799] rmii2_init
[ 0.088592] am33xx_cpsw_init,mac:20:cd:39:d9:87:4b
[ 0.089996] edma.0: alias fck already exists
[ 0.090026] edma.0: alias fck already exists
[ 0.090026] edma.0: alias fck already exists
[ 0.108215] bio: create slab <bio-0> at 0
[ 0.110443] SCSI subsystem initialized
[ 0.112884] Switching to clocksource gp timer
[ 0.128234] NET: Registered protocol family 2
[ 0.128417] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.128723] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.128875] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.128967] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.128997] TCP reno registered
[ 0.128997] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.129028] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.129211] NET: Registered protocol family 1
[ 0.129486] RPC: Registered named UNIX socket transport module.
[ 0.129486] RPC: Registered udp transport module.
[ 0.129486] RPC: Registered tcp transport module.
[ 0.129516] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.129730] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.129974] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.129974] Registering NAND on CS0
[ 0.141571] VFS: Disk quotas dquot_6.5.2
[ 0.141632] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.142181] msgmni has been set to 496
[ 0.145355] alg: No test for stdrng (krng)
[ 0.146057] io scheduler noop registered
[ 0.146057] io scheduler deadline registered
[ 0.146118] io scheduler cfq registered (default)
[ 0.147857] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.569610] console [ttyO0] enabled
[ 0.573822] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.581634] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.589416] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.597198] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.604980] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.621887] brd: module loaded
[ 0.629943] loop: module loaded
[ 0.633422] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.639892] i2c-core: driver [tsl2550] using legacy resume method
[ 0.647827] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.654968] omap2-nand driver initializing
[ 0.659545] ONFI flash detected
[ 0.662933] ONFI param page 0 valid
[ 0.666625] NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD S34ML01G1)
[ 0.674285] Creating 8 MTD partitions on "omap2-nand.0":
[ 0.679809] 0x000000000000-0x000000020000 : "SPL"
[ 0.686157] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 0.693054] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 0.700012] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 0.706939] 0x000000080000-0x000000260000 : "U-Boot"
[ 0.714050] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 0.720794] 0x000000280000-0x000000780000 : "Kernel"
[ 0.729217] 0x000000780000-0x000008000000 : "File System"
[ 0.786010] OneNAND driver initializing
[ 0.790679] UBI: attaching mtd7 to ubi0
[ 0.794708] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 0.801239] UBI: logical eraseblock size: 126976 bytes
[ 0.806884] UBI: smallest flash I/O unit: 2048
[ 0.811767] UBI: sub-page size: 512
[ 0.816589] UBI: VID header offset: 2048 (aligned 2048)
[ 0.822845] UBI: data offset: 4096
[ 1.848175] UBI: max. sequence number: 57
[ 1.866729] UBI: attached mtd7 to ubi0
[ 1.870635] UBI: MTD device name: "File System"
[ 1.876403] UBI: MTD device size: 120 MiB
[ 1.881561] UBI: number of good PEBs: 964
[ 1.886383] UBI: number of bad PEBs: 0
[ 1.891021] UBI: number of corrupted PEBs: 0
[ 1.895660] UBI: max. allowed volumes: 128
[ 1.900451] UBI: wear-leveling threshold: 4096
[ 1.905364] UBI: number of internal volumes: 1
[ 1.910003] UBI: number of user volumes: 1
[ 1.914611] UBI: available PEBs: 0
[ 1.919250] UBI: total number of reserved PEBs: 964
[ 1.924346] UBI: number of PEBs reserved for bad PEB handling: 9
[ 1.930603] UBI: max/mean erase counter: 2/0
[ 1.935058] UBI: image sequence number: 1794978710
[ 1.940246] UBI: background thread "ubi_bgt0d" started, PID 456
[ 1.947052] CAN device driver interface
[ 1.951049] CAN bus driver for Bosch D_CAN controller 1.0
[ 2.003540] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 2.009979] davinci_mdio davinci_mdio.0: detected phy mask fffffff6
[ 2.017761] davinci_mdio.0: probed
[ 2.021301] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 2.028656] davinci_mdio davinci_mdio.0: phy[3]: device 0:03, driver unknown
[ 2.036621] mousedev: PS/2 mouse device common for all mice
[ 2.043395] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 2.050079] omap_rtc: already running
[ 2.054077] i2c /dev entries driver
[ 2.058685] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 2.065246] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[ 2.073944] cpuidle: using governor ladder
[ 2.078674] cpuidle: using governor menu
[ 2.084747] omap4_aes_mod_init: loading AM33X AES driver
[ 2.090393] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 2.096923] omap4_aes_probe: probe() done
[ 2.101318] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 2.107452] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 2.118957] omap4_sham_probe: probe() done
[ 2.123626] oprofile: hardware counters not available
[ 2.128906] oprofile: using timer interrupt.
[ 2.133361] nf_conntrack version 0.5.0 (3972 buckets, 15888 max)
[ 2.140106] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.145782] TCP cubic registered
[ 2.149169] NET: Registered protocol family 17
[ 2.153808] can: controller area network core (rev 20090105 abi 8)
[ 2.160369] NET: Registered protocol family 29
[ 2.165008] can: raw protocol (rev 20090105)
[ 2.169464] can: broadcast manager protocol (rev 20090105 t)
[ 2.175415] Registering the dns_resolver key type
[ 2.180358] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.188354] ThumbEE CPU extension supported.
[ 2.192871] mux: Failed to setup hwmod io irq -22
[ 2.198394] Power Management for AM33XX family
[ 2.203216] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 2.209899] Copied the M3 firmware to UMEM
[ 2.214752] sr_init: platform driver register failed
[ 2.223297] clock: disabling unused clocks to save power
[ 2.241302] Detected MACID=20:cd:39:d9:87:4b
[ 2.246795] cpsw: Detected MACID = 20:cd:39:d9:87:4d
[ 2.253021] omap_rtc omap_rtc: setting system clock to 2012-07-27 10:40:41 UTC (1343385641)
[ 2.403961] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 2.410247] UBIFS: file system size: 119357440 bytes (116560 KiB, 113 MiB, 940 LEBs)
[ 2.418518] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[ 2.426147] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 2.432220] UBIFS: default compressor: lzo
[ 2.436492] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.444061] VFS: Mounted root (ubifs filesystem) on device 0:12.
[ 2.450653] Freeing init memory: 236K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
Error opening /dev/fb0: No such device
[ 4.136199] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.
Root filesystem already rw, not remounting
Caching udev devnodes
logger: mount: mount point /proc/bus/usb does not exist
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1625: No soundcards found...
[ 4.830352] PHY 0:01 not found
udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
can you help me