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.

关于AM3358烧录镜像后网口无法获取动态IP的疑问

Other Parts Discussed in Thread: TPS65910

各位大牛,这边在调试板子的时候,发现网口始终无法获取到动态IP,不知道各位大牛可否指点一下。SD卡烧录时串口输出情况:

Welcome to use TQ3358 Board!
boot from SD card...


##### EmbedSky BIOS for TQ3358 #####
This Board: SDRAM is 512MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0

681 bytes read

bootloader=images\\bootloader\\u-boot.bin

37504 bytes read

NAND erase: device 0 offset 0x0, size 0x20000
Erasing at 0x0 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0x9280
Writting at 0x9280 -- 100% complete.
37504 bytes written: OK

451868 bytes read

NAND erase: device 0 offset 0x80000, size 0x1e0000
Erasing at 0x240000 -- 100% complete.
OK

NAND write: device 0 offset 0x80000, size 0x6e51c
Writting at 0xee51c -- 100% complete.
451868 bytes written: OK

logodir=images\\bootloader\\logo_X800Y480.bin

1536000 bytes read

NAND erase: device 0 offset 0x280000, size 0x300000
Erasing at 0x560000 -- 100% complete.
OK

NAND write: device 0 offset 0x280000, size 0x177000
Writting at 0x3f7000 -- 100% complete.
1536000 bytes written: OK

Android uImage=images\\Android\\uImage.bin

** Unable to read "images\Android\uImage.bin" from mmc 0:1 **
run command error!
can not find images\\Android\\uImage.bin in sd card or can not find SD card!
don't download Android uImage

Android rootfs=images\\Android\\root.bin

** Unable to read "images\\Android\\root.bin" from mmc 0:1 **
run command error!
can not find images\\\Android\\\root.bin in sd card or can not find SD card!
don't download Android rootfs
setting bootargs ...
bootargs=console=ttyO0,115200n8 androidboot.console=ttySAC0 root=/dev/mtdblock8 rootfstype=yaffs2 rw rootwait=1 init=/init ip=off lcd=X800Y480 uart1_d_can=uart1 uart2_i2c2=uart2

NAND read: device 0 offset 0x580000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0-EmbedSky
Created: 2013-08-26 11:04:02 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4174816 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.2.0-EmbedSky (root@embedsk-server) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 Mon Aug 26 19:03:58 CST 2013
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: tq3358
Memory policy: ECC disabled, Data cache writeback
AM335X ES1.0 (sgx neon )
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttyO0,115200n8 androidboot.console=ttySAC0 root=/dev/mtdblock8 rootfstype=yaffs2 rw rootwait=1 init=/init ip=off lcd=X800Y480 uart1_d_can=uart1 uart2_i2c2=uart2
user X800Y480 lcd.
uart1_d_can, user select uart1.
uart2_i2c2, user select uart2.
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 509960k/509960k available, 14328k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc07b4000 (7856 kB)
.init : 0xc07b4000 - 0xc07f1000 ( 244 kB)
.data : 0xc07f2000 - 0xc084cb60 ( 363 kB)
.bss : 0xc084cb84 - 0xc098fac8 (1292 kB)
NR_IRQS:396
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
OMAP clockevent source: GPTIMER2 at 24000000 Hz
omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
OMAP clocksource: GPTIMER1 at 24000000 Hz
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
Console: colour dummy device 80x30
Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
omap_hwmod: gfx: failed to hardreset
omap_hwmod: pruss: failed to hardreset
print_constraints: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 0
da8xx_lcdc.0: alias fck already exists
TSC connected to beta GP EVM
omap_i2c.1: alias fck already exists
omap_i2c.2: alias fck already exists
davinci-mcasp.1: alias fck already exists
omap_hsmmc.0: alias fck already exists
omap2_mcspi.1: alias fck already exists
omap2_mcspi.2: alias fck already exists
edma.0: alias fck already exists
edma.0: alias fck already exists
edma.0: alias fck already exists
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
tps65910 1-002d: JTAGREVNUM 0x1
print_constraints: VRTC:
print_constraints: VIO: at 1500 mV
print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
print_constraints: VDD3: 5000 mV
print_constraints: VDIG1: at 1800 mV
print_constraints: VDIG2: at 1800 mV
print_constraints: VPLL: at 1800 mV
print_constraints: VDAC: at 1800 mV
print_constraints: VAUX1: at 1800 mV
print_constraints: VAUX2: at 3300 mV
print_constraints: VAUX33: at 3300 mV
print_constraints: VMMC: at 3300 mV
tps65910 1-002d: No interrupt support, no core IRQ
warn Power up reset detected.
omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource gp timer
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
musb-hdrc musb-hdrc.0: dma type: pio
musb-hdrc musb-hdrc.0: USB OTG mode controller at e081c000 using PIO, IRQ 18
musb-hdrc musb-hdrc.1: dma type: pio
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 3.2.0-EmbedSky musb-hcd
usb usb1: SerialNumber: musb-hdrc.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at e081e800 using PIO, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
omap-gpmc omap-gpmc: GPMC revision 6.0
Registering NAND on CS0
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
yaffs: yaffs built Aug 26 2013 19:03:49 Installing.
msgmni has been set to 996
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found A70_TN92 panel
omap_uart.0: ttySAC0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled
omap_uart.1: ttySAC1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttySAC2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttySAC3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttySAC4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttySAC5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
Register led successfully!
Register beep successfully!
brd: module loaded
loop: module loaded
i2c-core: driver [tsl2550] using legacy suspend method
i2c-core: driver [tsl2550] using legacy resume method
mtdoops: mtd device (mtddev=name/number) must be supplied
omap2-nand driver initializing
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Creating 9 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "SPL"
0x000000020000-0x000000040000 : "SPL.backup1"
0x000000040000-0x000000060000 : "SPL.backup2"
0x000000060000-0x000000080000 : "SPL.backup3"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "LOGO"
0x000000580000-0x000000a80000 : "Kernel"
0x000000a80000-0x000040000000 : "File System"
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask ffffffde
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver zd1201
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_subset
cdc_ncm: 04-Aug-2011
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usb 1-1: new high-speed USB device number 2 using musb-hdrc
usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB 2.0 Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
gadget: Mass Storage Function, version: 2009/09/11
gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
gadget: android_usb ready
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 3.2.0-EmbedSky musb-hcd
usb usb2: SerialNumber: musb-hdrc.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: Resistance_ts as /devices/platform/omap/tsc/input/input0
using rtc device, omap_rtc, for alarms
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1
i2c /dev entries driver
Linux video capture interface: v2.00
i2c-core: driver [tuner] using legacy suspend method
i2c-core: driver [tuner] using legacy resume method
i2c-core: driver [msp3400] using legacy suspend method
i2c-core: driver [msp3400] using legacy resume method
usbcore: registered new interface driver usbvision
USBVision USB Video Device Driver for Linux : 0.9.11
usbcore: registered new interface driver zr364xx
zr364xx: Zoran 364xx
usbcore: registered new interface driver stkwebcam
sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.48
usbcore: registered new interface driver sn9c102
et61x251: V4L2 driver for ET61X[12]51 PC Camera Controllers v1.1.10
usbcore: registered new interface driver et61x251
pwc: Philips webcam module version 10.0.15 loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usbcore: registered new interface driver Philips webcam
gspca_main: v2.14.0 registered
usbcore: registered new interface driver benq
usbcore: registered new interface driver conex
usbcore: registered new interface driver cpia1
usbcore: registered new interface driver etoms
usbcore: registered new interface driver finepix
usbcore: registered new interface driver jeilinj
usbcore: registered new interface driver kinect
usbcore: registered new interface driver konica
usbcore: registered new interface driver mars
usbcore: registered new interface driver mr97310a
usbcore: registered new interface driver nw80x
usbcore: registered new interface driver ov519
usbcore: registered new interface driver ov534
usbcore: registered new interface driver ov534_9
usbcore: registered new interface driver pac207
usbcore: registered new interface driver pac7302
usbcore: registered new interface driver pac7311
usbcore: registered new interface driver se401
usbcore: registered new interface driver sn9c2028
usbcore: registered new interface driver sn9c20x
usbcore: registered new interface driver sonixb
usbcore: registered new interface driver sonixj
usbcore: registered new interface driver spca500
usbcore: registered new interface driver spca501
usbcore: registered new interface driver spca505
usbcore: registered new interface driver spca506
usbcore: registered new interface driver spca508
usbcore: registered new interface driver spca561
usbcore: registered new interface driver spca1528
usbcore: registered new interface driver sq905
usbcore: registered new interface driver sq905c
usbcore: registered new interface driver sq930x
usbcore: registered new interface driver sunplus
usbcore: registered new interface driver stk014
usbcore: registered new interface driver stv0680
usbcore: registered new interface driver t613
usbcore: registered new interface driver gspca_topro
usbcore: registered new interface driver tv8532
usbcore: registered new interface driver vc032x
usbcore: registered new interface driver vicam
usbcore: registered new interface driver xirlink-cit
usbcore: registered new interface driver zc3xx
usbcore: registered new interface driver ALi m5602
usbcore: registered new interface driver STV06xx
usbcore: registered new interface driver gspca_gl860
usbcore: registered new interface driver s2255
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
Linux telephony interface: v1.00
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: BlueFRITZ! USB driver ver 1.2
usbcore: registered new interface driver bfusb
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
wm8960-codec 1-001a: No platform data supplied
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA16G 14.6 GiB
mmcblk0: p1
[Asoc subsystem]:wm8960 init successful ...
asoc: wm8960-hifi <-> davinci-mcasp.1 mapping ok
ALSA device list:
#0: AM335X EVM
oprofile: hardware counters not available
oprofile: using timer interrupt.
nf_conntrack version 0.5.0 (7968 buckets, 31872 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
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
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
ThumbEE CPU extension supported.
mux: Failed to setup hwmod io irq -22
Power Management for AM33XX family
Trying to load am335x-pm-firmware.bin (60 secs timeout)
Copied the M3 firmware to UMEM
omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
clock: disabling unused clocks to save power
Detected MACID=c4:ed:ba:88:d9:c7
input: gpio-keys as /devices/platform/gpio-keys/input/input1
Goodix-TS 2-005d: Install gt811 driver.
Goodix-TS 2-005d: Driver Release Date:2012-02-08
Goodix-TS 2-005d: GT811 Verion:0x2010
Goodix-TS 2-005d: chip_type=0x11
Goodix-TS 2-005d: version=0x1010
Goodix-TS 2-005d: rom_version=0x45
Goodix-TS 2-005d: start_addr=0x4100
Goodix-TS 2-005d: file_size=0x0ef0
Goodix-TS 2-005d: fw_checksum=0x0624ad
Goodix-TS 2-005d: gt811_downloader
Goodix-TS 2-005d: current version 0x2010, target verion 0x1010
Goodix-TS 2-005d: Rom version not match,exidownloader
Goodix-TS 2-005d: GT811 init info:X_MAX=800,Y_MAX=480,TRIG_MODE=RISING EDGE
input: Capacitance_ts as /devices/virtual/input/input2
Goodix-TS 2-005d: GT811 Verion:0x2010
Goodix-TS 2-005d: Create proc entry success!
Goodix-TS 2-005d: Start Capacitance_ts in interrupt mode,Driver Modify Date:2012-01-05
Failed to request GPIO:58, ERRNO:-16
gx801: probe of 2-0055 failed with error -16
omap_rtc omap_rtc: setting system clock to 2012-09-12 17:55:18 UTC (1347472518)
yaffs: dev is 32505864 name is "mtdblock8" rw
yaffs: yaffs: Attempting MTD mount of 31.8,"mtdblock8"
yaffs: yaffs_read_super: is_checkpointed 0
VFS: Mounted root (yaffs2 filesystem) on device 31:8.
Freeing init memory: 244K
init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
init: cannot open '/initlogo.rle'
Disabling lock debugging due to kernel taint
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
android_usb: already disabled
adb_bind_config
adb_open
root@android:/ # warning: `rild' uses 32-bit capabilities (legacy support in use)
request_suspend_state: wakeup (3->0) at 40753010466 (2012-09-12 17:55:55.856687088 UTC)
acc_open
acc_release

CPSW phy found : id is : 0x1cc915
PHY 0:01 not found
ADDRCONF(NETDEV_UP): eth0: link is not ready
PHY: 0:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

烧录完后从nandflash启动的串口打印:

boot from NAND...


##### EmbedSky BIOS for TQ3358 #####
This Board: SDRAM is 512MB; LCD display size is: 800X480
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0x280000, size 0x300000
3145728 bytes read: OK
setting bootargs ...
bootargs=console=ttyO0,115200n8 androidboot.console=ttySAC0 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1 init=/init ip=off lcd=X800Y480 uart1_d_can=uart1 uart2_i2c2=uart2
Booting from nand ...

NAND read: device 0 offset 0x580000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0-EmbedSky
Created: 2013-08-26 11:04:02 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4174816 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 3.2.0-EmbedSky (root@embedsk-server) (gcc version 4.4.6 (for TQ210 EmbedSky Tech) ) #1 Mon Aug 26 19:03:58 CST 2013
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: tq3358
Memory policy: ECC disabled, Data cache writeback
AM335X ES1.0 (sgx neon )
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: console=ttyO0,115200n8 androidboot.console=ttySAC0 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1 init=/init ip=off lcd=X800Y480 uart1_d_can=uart1 uart2_i2c2=uart2
user X800Y480 lcd.
uart1_d_can, user select uart1.
uart2_i2c2, user select uart2.
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 509960k/509960k available, 14328k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc07b4000 (7856 kB)
.init : 0xc07b4000 - 0xc07f1000 ( 244 kB)
.data : 0xc07f2000 - 0xc084cb60 ( 363 kB)
.bss : 0xc084cb84 - 0xc098fac8 (1292 kB)
NR_IRQS:396
IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
Total of 128 interrupts on 1 active controller
OMAP clockevent source: GPTIMER2 at 24000000 Hz
omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
OMAP clocksource: GPTIMER1 at 24000000 Hz
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
Console: colour dummy device 80x30
Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
omap_hwmod: gfx: failed to hardreset
omap_hwmod: pruss: failed to hardreset
print_constraints: dummy:
NET: Registered protocol family 16
OMAP GPIO hardware version 0.1
omap_mux_init: Add partition: #1: core, flags: 0
da8xx_lcdc.0: alias fck already exists
TSC connected to beta GP EVM
omap_i2c.1: alias fck already exists
omap_i2c.2: alias fck already exists
davinci-mcasp.1: alias fck already exists
omap_hsmmc.0: alias fck already exists
omap2_mcspi.1: alias fck already exists
omap2_mcspi.2: alias fck already exists
edma.0: alias fck already exists
edma.0: alias fck already exists
edma.0: alias fck already exists
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
tps65910 1-002d: JTAGREVNUM 0x1
print_constraints: VRTC:
print_constraints: VIO: at 1500 mV
print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
print_constraints: VDD3: 5000 mV
print_constraints: VDIG1: at 1800 mV
print_constraints: VDIG2: at 1800 mV
print_constraints: VPLL: at 1800 mV
print_constraints: VDAC: at 1800 mV
print_constraints: VAUX1: at 1800 mV
print_constraints: VAUX2: at 3300 mV
print_constraints: VAUX33: at 3300 mV
print_constraints: VMMC: at 3300 mV
tps65910 1-002d: No interrupt support, no core IRQ
warn Power up reset detected.
omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource gp timer
musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
musb-hdrc musb-hdrc.0: dma type: pio
musb-hdrc musb-hdrc.0: USB OTG mode controller at e081c000 using PIO, IRQ 18
musb-hdrc musb-hdrc.1: dma type: pio
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 3.2.0-EmbedSky musb-hcd
usb usb1: SerialNumber: musb-hdrc.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at e081e800 using PIO, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
omap-gpmc omap-gpmc: GPMC revision 6.0
Registering NAND on CS0
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
yaffs: yaffs built Aug 26 2013 19:03:49 Installing.
msgmni has been set to 996
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found A70_TN92 panel
omap_uart.0: ttySAC0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled
omap_uart.1: ttySAC1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttySAC2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttySAC3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttySAC4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttySAC5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
Register led successfully!
Register beep successfully!
brd: module loaded
loop: module loaded
i2c-core: driver [tsl2550] using legacy suspend method
i2c-core: driver [tsl2550] using legacy resume method
mtdoops: mtd device (mtddev=name/number) must be supplied
omap2-nand driver initializing
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Creating 9 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "SPL"
0x000000020000-0x000000040000 : "SPL.backup1"
0x000000040000-0x000000060000 : "SPL.backup2"
0x000000060000-0x000000080000 : "SPL.backup3"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000580000 : "LOGO"
0x000000580000-0x000000a80000 : "Kernel"
0x000000a80000-0x000040000000 : "File System"
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 0
UBI error: ubi_read_volume_table: the layout volume was not found
UBI error: ubi_attach_mtd_dev: failed to attach by scanning, error -22
UBI error: ubi_init: cannot attach mtd7
CAN device driver interface
CAN bus driver for Bosch D_CAN controller 1.0
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask ffffffde
usb 1-1: new high-speed USB device number 2 using musb-hdrc
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver zd1201
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver cdc_subset
cdc_ncm: 04-Aug-2011
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB 2.0 Hub
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
gadget: Mass Storage Function, version: 2009/09/11
gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
gadget: android_usb ready
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 3.2.0-EmbedSky musb-hcd
usb usb2: SerialNumber: musb-hdrc.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: Resistance_ts as /devices/platform/omap/tsc/input/input0
using rtc device, omap_rtc, for alarms
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1
i2c /dev entries driver
Linux video capture interface: v2.00
i2c-core: driver [tuner] using legacy suspend method
i2c-core: driver [tuner] using legacy resume method
i2c-core: driver [msp3400] using legacy suspend method
i2c-core: driver [msp3400] using legacy resume method
usbcore: registered new interface driver usbvision
USBVision USB Video Device Driver for Linux : 0.9.11
usbcore: registered new interface driver zr364xx
zr364xx: Zoran 364xx
usbcore: registered new interface driver stkwebcam
sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.48
usbcore: registered new interface driver sn9c102
et61x251: V4L2 driver for ET61X[12]51 PC Camera Controllers v1.1.10
usbcore: registered new interface driver et61x251
pwc: Philips webcam module version 10.0.15 loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
usbcore: registered new interface driver Philips webcam
gspca_main: v2.14.0 registered
usbcore: registered new interface driver benq
usbcore: registered new interface driver conex
usbcore: registered new interface driver cpia1
usbcore: registered new interface driver etoms
usbcore: registered new interface driver finepix
usbcore: registered new interface driver jeilinj
usbcore: registered new interface driver kinect
usbcore: registered new interface driver konica
usbcore: registered new interface driver mars
usbcore: registered new interface driver mr97310a
usbcore: registered new interface driver nw80x
usbcore: registered new interface driver ov519
usbcore: registered new interface driver ov534
usbcore: registered new interface driver ov534_9
usbcore: registered new interface driver pac207
usbcore: registered new interface driver pac7302
usbcore: registered new interface driver pac7311
usbcore: registered new interface driver se401
usbcore: registered new interface driver sn9c2028
usbcore: registered new interface driver sn9c20x
usbcore: registered new interface driver sonixb
usbcore: registered new interface driver sonixj
usbcore: registered new interface driver spca500
usbcore: registered new interface driver spca501
usbcore: registered new interface driver spca505
usbcore: registered new interface driver spca506
usbcore: registered new interface driver spca508
usbcore: registered new interface driver spca561
usbcore: registered new interface driver spca1528
usbcore: registered new interface driver sq905
usbcore: registered new interface driver sq905c
usbcore: registered new interface driver sq930x
usbcore: registered new interface driver sunplus
usbcore: registered new interface driver stk014
usbcore: registered new interface driver stv0680
usbcore: registered new interface driver t613
usbcore: registered new interface driver gspca_topro
usbcore: registered new interface driver tv8532
usbcore: registered new interface driver vc032x
usbcore: registered new interface driver vicam
usbcore: registered new interface driver xirlink-cit
usbcore: registered new interface driver zc3xx
usbcore: registered new interface driver ALi m5602
usbcore: registered new interface driver STV06xx
usbcore: registered new interface driver gspca_gl860
usbcore: registered new interface driver s2255
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
Linux telephony interface: v1.00
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: BlueFRITZ! USB driver ver 1.2
usbcore: registered new interface driver bfusb
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 256K log 'log_main'
logger: created 256K log 'log_events'
logger: created 256K log 'log_radio'
logger: created 256K log 'log_system'
wm8960-codec 1-001a: No platform data supplied
[Asoc subsystem]:wm8960 init successful ...
asoc: wm8960-hifi <-> davinci-mcasp.1 mapping ok
ALSA device list:
#0: AM335X EVM
oprofile: hardware counters not available
oprofile: using timer interrupt.
nf_conntrack version 0.5.0 (7968 buckets, 31872 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
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
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
ThumbEE CPU extension supported.
mux: Failed to setup hwmod io irq -22
Power Management for AM33XX family
Trying to load am335x-pm-firmware.bin (60 secs timeout)
Copied the M3 firmware to UMEM
omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
clock: disabling unused clocks to save power
Detected MACID=c4:ed:ba:88:d9:c7
input: gpio-keys as /devices/platform/gpio-keys/input/input1
Goodix-TS 2-005d: Install gt811 driver.
Goodix-TS 2-005d: Driver Release Date:2012-02-08
Goodix-TS 2-005d: GT811 Verion:0x2010
Goodix-TS 2-005d: chip_type=0x11
Goodix-TS 2-005d: version=0x1010
Goodix-TS 2-005d: rom_version=0x45
Goodix-TS 2-005d: start_addr=0x4100
Goodix-TS 2-005d: file_size=0x0ef0
Goodix-TS 2-005d: fw_checksum=0x0624ad
Goodix-TS 2-005d: gt811_downloader
Goodix-TS 2-005d: current version 0x2010, target verion 0x1010
Goodix-TS 2-005d: Rom version not match,exidownloader
Goodix-TS 2-005d: GT811 init info:X_MAX=800,Y_MAX=480,TRIG_MODE=RISING EDGE
input: Capacitance_ts as /devices/virtual/input/input2
Goodix-TS 2-005d: GT811 Verion:0x2010
Goodix-TS 2-005d: Create proc entry success!
Goodix-TS 2-005d: Start Capacitance_ts in interrupt mode,Driver Modify Date:2012-01-05
Failed to request GPIO:58, ERRNO:-16
gx801: probe of 2-0055 failed with error -16
omap_rtc omap_rtc: setting system clock to 2012-09-12 17:55:16 UTC (1347472516)
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 128 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 128 mtdblock3 (driver?)
1f04 1920 mtdblock4 (driver?)
1f05 128 mtdblock5 (driver?)
1f06 3072 mtdblock6 (driver?)
1f07 5120 mtdblock7 (driver?)
1f08 1037824 mtdblock8 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Backtrace:
[<c00181e0>] (dump_backtrace+0x0/0x10c) from [<c05ada68>] (dump_stack+0x18/0x1c)
r7:c07e3a90 r6:00008000 r5:c084db50 r4:c084db50
[<c05ada50>] (dump_stack+0x0/0x1c) from [<c05adad0>] (panic+0x64/0x198)
[<c05ada6c>] (panic+0x0/0x198) from [<c07b4d8c>] (mount_block_root+0x174/0x228)
r3:00000000 r2:00000000 r1:df82df78 r0:c06fb328
[<c07b4c18>] (mount_block_root+0x0/0x228) from [<c07b4fa0>] (prepare_namespace+0x94/0x1c0)
[<c07b4f0c>] (prepare_namespace+0x0/0x1c0) from [<c07b42f8>] (kernel_init+0xf0/0x124)
r5:c07f0a60 r4:c084cbc0
[<c07b4208>] (kernel_init+0x0/0x124) from [<c003f4f0>] (do_exit+0x0/0x69c)
r5:c07b4208 r4:00000000

  • 请问一下,有没有在U-boot下执行过DHCP去测试动态获取IP的功能?

  • 你好,Jian Zhou,

    有使用dhcptc获取动态ip,该命令在有看过在程序中是存在的,就是无法使用。

    ping网络,ping自己的话是ok的,ping外网是ping不通的。

    而且就是有一段内容是说没找到PHY,然后就设置成默认的网络了,打印内容如下:

    Failed to request GPIO:58, ERRNO:-16
    gx801: probe of 2-0055 failed with error -16
    omap_rtc omap_rtc: setting system clock to 2012-09-12 17:55:16 UTC (1347472516)
    yaffs: dev is 32505864 name is "mtdblock8" rw
    yaffs: yaffs: Attempting MTD mount of 31.8,"mtdblock8"
    yaffs: yaffs_read_super: is_checkpointed 0
    VFS: Mounted root (yaffs2 filesystem) on device 31:8.
    Freeing init memory: 248K
    FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
    Disabling lock debugging due to kernel taint
    rtusb init rt2870 --->
    usbcore: registered new interface driver rt2870
    omap_wdt: init!
    Try to bring net interface up ...
    sh: 1: unknown operand
    ifconfig eth0 hw ether 10:23:45:67:89:ab

    CPSW phy found : id is : 0x1cc915
    PHY 0:01 not found
    ADDRCONF(NETDEV_UP): eth0: link is not ready
    ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
    add default gw 192.168.1.2

  • 如果是Ping不通的话,说明PHY还是没有调通,你用的是哪颗PHY呢?

  • 这个板子之前一直是好的。用了挺久了,中间有一段时间没用,然后现在就不能用了。

    芯片是RTL8211E

  • 软件有改过么?如果软件没有动过,那么很有可能是硬件的问题,建议先用万用表查查看看是不是哪里虚焊了。

  • 软件有改动,后来发现不行后,把原来的软件拿来重新烧录。

    我怀疑会不会是网络芯片坏了?

  • 首先应该回退到最开始没有问题的软件版本,保证软件没有做任何修改。确定之后,测一下PHY的周边电路看看有没有虚焊和短路。最后再换PHY芯片做测试看看是不是PHY本身已经坏掉了

  • HI JIan Zhou,

    这边在使用SD卡烧录的时候遇到一个疑问,如下:

    我参考AM335X UBIFS NandFlash Programming Guide v1.1(如附件)文件使用SD卡手动烧录,使用fatload mmc 0 0x82000000 MLO都能找到文件,但是输入烧肉命令的时候说找不到设备,打印内容如下:

    U-Boot 2013.01.01 (Sep 18 2014 - 15:44:49)

    I2C: ready
    DRAM: 512 MiB
    WARNING: Caches not enabled
    Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
    Could not get board ID.
    NAND: No NAND device found!!!
    0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - readenv() failed, using default environment

    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    musb-hdrc: MHDRC RTL version 2.0
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    U-Boot# mmc rescan
    U-Boot# fatload mmc 0 0x82000000 MLO
    reading MLO
    98497 bytes read in 15 ms (6.3 MiB/s)
    U-Boot# nandecc hw 2
    Unknown command 'nandecc' - try 'help'
    U-Boot# help
    ? - alias for 'help'
    askenv - get environment variables from stdin
    base - print or set address offset
    bdinfo - print Board Info structure
    boot - boot default, i.e., run 'bootcmd'
    bootd - boot default, i.e., run 'bootcmd'
    bootm - boot application image from memory
    bootp - boot image via network using BOOTP/TFTP protocol
    chpart - change active partition
    cmp - memory compare
    coninfo - print console devices and information
    cp - memory copy
    crc32 - checksum calculation
    dfu - Device Firmware Upgrade
    dhcp - boot image via network using DHCP/TFTP protocol
    echo - echo args to console
    editenv - edit environment variable
    eeprom - EEPROM sub-system
    env - environment handling commands
    exit - exit script
    ext2load- load binary file from a Ext2 filesystem
    ext2ls - list files in a directory (default /)
    false - do nothing, unsuccessfully
    fatinfo - print information about filesystem
    fatload - load binary file from a dos filesystem
    fatls - list files in a directory (default /)
    fatwrite- write file into a dos filesystem
    fdt - flattened device tree utility commands
    go - start application at address 'addr'
    help - print command description/usage
    i2c - I2C sub-system
    iminfo - print header information for application image
    imxtract- extract a part of a multi-image
    itest - return true/false on integer compare
    loadb - load binary file over serial line (kermit mode)
    loads - load S-Record file over serial line
    loady - load binary file over serial line (ymodem mode)
    loop - infinite loop on address range
    md - memory display
    mm - memory modify (auto-incrementing address)
    mmc - MMC sub system
    mmcinfo - display MMC info
    mtdparts- define flash/nand partitions
    mtest - simple RAM read/write test
    mw - memory write (fill)
    nand - NAND sub-system
    nboot - boot from NAND device
    nfs - boot image via network using NFS protocol
    nm - memory modify (constant address)
    ping - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    reset - Perform RESET of the CPU
    run - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    setenv - set environment variables
    sf - SPI flash sub-system
    showvar - print local hushshell variables
    sleep - delay execution for some time
    source - run script from memory
    test - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    true - do nothing, successfully
    usb - USB sub-system
    usbboot - boot from USB device
    version - print monitor, compiler and linker version
    U-Boot# nandecc -help
    Unknown command 'nandecc' - try 'help'
    U-Boot# nand erase 0x0 0x20000

    no devices available
    U-Boot# nand write.i 0x82000000 0x0 0x20000
    Unknown command 'nand' - try 'help'
    U-Boot# nand
    nand - NAND sub-system

    Usage:
    nand info - show available NAND devices
    nand device [dev] - show or set current device
    nand read - addr off|partition size
    nand write - addr off|partition size
    read/write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
    nand read.raw - addr off|partition [count]
    nand write.raw - addr off|partition [count]
    Use read.raw/write.raw to avoid ECC and access the flash as-is.
    nand erase[.spread] [clean] off size - erase 'size' bytes from offset 'off'
    With '.spread', erase enough for given file size, otherwise,
    'size' includes skipped bad blocks.
    nand erase.part [clean] partition - erase entire mtd partition'
    nand erase.chip [clean] - erase entire chip'
    nand bad - show bad blocks
    nand dump[.oob] off - dump page
    nand scrub [-y] off size | scrub.part partition | scrub.chip
    really clean NAND erasing bad blocks (UNSAFE)
    nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
    nand biterr off - make a bit error at offset (UNSAFE)
    U-Boot# nand erase 0x0 0x20000

    no devices available
    U-Boot# mmc rescan
    U-Boot# fatload mmc 0 0x82000000 MLO
    reading MLO
    98497 bytes read in 15 ms (6.3 MiB/s)
    U-Boot# nandecc hw 2
    Unknown command 'nandecc' - try 'help'
    U-Boot# mmc rescan
    U-Boot# fatload mmc 0 0x82000000 u-boot.img
    reading u-boot.img
    364376 bytes read in 40 ms (8.7 MiB/s)
    U-Boot#
    U-Boot# nandecc hw 2
    Unknown command 'nandecc' - try 'help'
    U-Boot# mmc dev 1

    而且SD卡通过附件PDF链接无法找到,SD卡烧录有相关文件介绍吗?

    AM335X UBIFS NandFlash Programming Guide v1.1.pdf
  • 看你的log信息,目前SD卡没问题啊,读取image都是正常的。在写入nand的时候出现了问题,因为nandecc命令不过。

    参考下面链接,看一下用nand写有问题吗?

    http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Writing_to_NAND

  • 首先,nand是好的,这个是开发板上的,不过不是TI公司的,是外面买的,如果使用配套程序是可以烧写,可以跑系统的;

    其次,现在烧录的MLO U-BOOT 内核 文件系统都是TI官网上的,而且也按照资料对EEPROM,nand,ddr等进行了修改;

    我上面发出的log上最开始那边就显示不识别nand,所以不存在是否能写进去的问题,因为根本没找到nand。

    想问下,使用SD卡烧录时候有什么主意的,或者相对应的烧录指导吗?比如用SD卡自动或者手动烧录时候是否需要脚本文件什么的。有相关的SD卡烧录指导文件吗?

  • 这种情况,建议你先查一下GPMC的配置,是不是因为根本没初始化NAND的配置。

    在修改EEPROM的时候,需要注意你使用的是哪个板子的profile,这个对应的profile中是否包含了对NAND的初始化操作。

    最简单的办法,使用md 0x44e10800打印出对应的 control module寄存器值,查看nand相关pin脚的pinmux配置是否正确,如果pinmux都没有配对,很显然是没进行nand的初始化。SDK6.0增加初始化的办法可以参考这个帖子的8楼:http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/52381.aspx 

    对于NAND FLASH的修改:这里最常遇到的问题是,选择的板卡并没有对NAND flash进行Pinmux的设置,简单的解决方法是:在uboot/board/ti/am335x/mux.c文件中,在 void enable_board_pin_mux (struct am335x_baseboard_id *header)这个函数实现的第一句中加入

    configure_module_pin_mux(nand_pin_mux); 确保nand的Pinmux配置成功。对于NAND Flash的位宽配置,时序参数配置,可参考TRM中的7.1 GPMC章节。其中,常用的NAND位宽配置(8bit和16bit)在GPMC_CONFIG1的13-12bit位上。

  • 我们按照你上面说的从新调整了下,现在可以识别nand了,而且也都烧录进去了;

    不过,从nand启动的结果调试了很多次,总是在文件系统加载时候不通过,打印如下:


    [ 1.764257] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [ 1.771688] ALSA device list:
    [ 1.774825] #0: AM335X EVM
    [ 1.777835] oprofile: hardware counters not available
    [ 1.783111] oprofile: using timer interrupt.
    [ 1.787599] nf_conntrack version 0.5.0 (8018 buckets, 32072 max)
    [ 1.794319] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.799971] TCP cubic registered
    [ 1.803344] NET: Registered protocol family 17
    [ 1.808018] can: controller area network core (rev 20090105 abi 8)
    [ 1.814559] NET: Registered protocol family 29
    [ 1.819203] can: raw protocol (rev 20090105)
    [ 1.823675] can: broadcast manager protocol (rev 20090105 t)
    [ 1.829618] Registering the dns_resolver key type
    [ 1.834598] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 1.842612] ThumbEE CPU extension supported.
    [ 1.847138] mux: Failed to setup hwmod io irq -22
    [ 1.852572] Power Management for AM33XX family
    [ 1.857415] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 1.864104] Copied the M3 firmware to UMEM
    [ 1.868461] Cortex M3 Firmware Version = 0x181
    [ 1.874782] create_regulator: VDD1: Failed to create debugfs directory
    [ 1.884102] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
    [ 1.897796] clock: disabling unused clocks to save power
    [ 1.912588] Detected MACID=c4:ed:ba:88:d9:c7
    [ 1.918017] cpsw: Detected MACID = c4:ed:ba:88:d9:c9
    [ 1.924689] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [ 1.932129] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 1.941329] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
    [ 1.948722] Please append a correct "root=" boot option; here are the available partitions:
    [ 1.957489] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [ 1.966136] Backtrace:
    [ 1.968724] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c04136bc>] (dump_stack+0x18/0x1c)
    [ 1.977568] r6:00008000 r5:c04f5f70 r4:c063e108 r3:c05f4e0c
    [ 1.983512] [<c04136a4>] (dump_stack+0x0/0x1c) from [<c04138b8>] (panic+0x64/0x194)
    [ 1.991530] [<c0413854>] (panic+0x0/0x194) from [<c0596c88>] (mount_block_root+0x174/0x228)
    [ 2.000266] r3:00000000 r2:00000000 r1:df02df68 r0:c04f5f70
    [ 2.006202] r7:c05c43b8
    [ 2.008857] [<c0596b14>] (mount_block_root+0x0/0x228) from [<c0596fa4>] (prepare_namespace+0x94/0x1c0)
    [ 2.018599] [<c0596f10>] (prepare_namespace+0x0/0x1c0) from [<c05968fc>] (kernel_init+0xf4/0x120)
    [ 2.027880] r5:c05d0688 r4:c05d0688
    [ 2.031635] [<c0596808>] (kernel_init+0x0/0x120) from [<c00415d0>] (do_exit+0x0/0x65c)
    [ 2.039916] r5:c0596808 r4:00000000

    我之前也试过很多烧录方法,都是如上面打印内容显示在文件系统加载时候不过。

  • 从你的log信息看来,这个是和你的bootargs的设置有关系。应该是在加载文件系统的时候,你给的bootargs的设置方面出问题了。

    你用的是ubifs吗?如果是按照这个格式去设置:(别忘了设置分区ID)

    http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Environment_Settings_for_UBIFS_Filesystem