Hello:
my host computer: Ubuntu12.04
Kernel:linux-3.2.0-psp04.06.00.10
I confiremed that NFS and TFTP service are normal.
I got the source code ti-sdk-am335x-evm-05.07.00.00-Linux-x86-Install from http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/AM335xSDK/latest/index_FDS.html,
then following the instructions http://processors.wiki.ti.com/index.php/AMSDK_Linux_User%27s_Guide,:
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- mrproper
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- am335x_evm_defconfig
make ARCH=arm CROSS_COMPILE=arm-arago-linux-gnueabi- uImage
I got the uImage file. then power on the board.
I can boot the board through NFS use the older files.
When I just replace the uImage use the latest , I cannnot boot it, the log file as below:
=============================================
U-Boot SPL 2011.09 (May 14 2013 - 14:29:41)
Texas Instruments Revision detection unimplemented
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
read_eeprom() failure
U-Boot 2011.09 (May 14 2013 - 14:29:41)
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
U-Boot#
U-Boot# setenv serverip 192.168.1.91
U-Boot# setenv ipaddr 192.168.1.92
U-Boot# setenv gatewayip 192.168.1.1
U-Boot# setenv netmask 255.255.255.0
U-Boot# setenv nfsip 192.168.1.91
U-Boot# setenv nfsdir /opt/nfs
U-Boot# setenv bootcmd 'run bootargs_defaults;tftp ${kloadaddr} ${bootfile};bootm ${kloadaddr}'
U-Boot# setenv bootargs_defaults 'setenv bootargs console=${console} noinitrd rw ip=${ipaddr}:${serverip}:${gatewayip}:${netmask} root=/dev/nfs nfsroot=$
{nfsip}:${nfsdir},nolock mem=64M'
U-Boot# saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x260000 -- 100% complete.
Writing to Nand... done
U-Boot#
U-Boot SPL 2011.09 (May 14 2013 - 14:29:41)
Texas Instruments Revision detection unimplemented
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
read_eeprom() failure
U-Boot 2011.09 (May 14 2013 - 14:29:41)
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
Net: cpsw
Hit any key to stop autoboot: 0
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.91; our IP address is 192.168.1.92
Filename 'uImage'.
Load address: 0x80007fc0
Loading: #################################################################
#################################################################
#################################################################
#####################
done
Bytes transferred = 3169312 (305c20 hex)
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3169248 Bytes = 3 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 (alex@alex-virtual-machine) (gcc version 4.5.
3 20110311 (prerelease) (GCC) ) #1 Tue May 21 17:22:12 CST 2013
[ 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] AM335X ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 16256
[ 0.000000] Kernel command line: console=ttyO0,115200n8 noinitrd rw ip=192.16
8.1.92:192.168.1.91:192.168.1.1:255.255.255.0 root=/dev/nfs nfsroot=192.168.1.91
:/opt/nfs,nolock mem=64M
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 58324k/58324k available, 7212k 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 : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05a0000 (5728 kB)
[ 0.000000] .init : 0xc05a0000 - 0xc05de000 ( 248 kB)
[ 0.000000] .data : 0xc05de000 - 0xc0646448 ( 418 kB)
[ 0.000000] .bss : 0xc064646c - 0xc0673324 ( 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_dm_timer_switch_src: Switching to HW default clocksource(sys
_clkin_ck) for timer1, this may impact timekeeping in low power state
[ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 17895
6ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000271] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
[ 0.116345] pid_max: default: 32768 minimum: 301
[ 0.116514] Security Framework initialized
[ 0.116655] Mount-cache hash table entries: 512
[ 0.117199] CPU: Testing write buffer coherency: ok
[ 0.139486] omap_hwmod: pruss: failed to hardreset
[ 0.141076] print_constraints: dummy:
[ 0.141595] NET: Registered protocol family 16
[ 0.144654] OMAP GPIO hardware version 0.1
[ 0.148445] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.151267] omap_i2c.1: alias fck already exists
[ 0.152532] omap2_mcspi.1: alias fck already exists
[ 0.152869] omap2_mcspi.2: alias fck already exists
[ 0.154218] edma.0: alias fck already exists
[ 0.154250] edma.0: alias fck already exists
[ 0.154278] edma.0: alias fck already exists
[ 0.192717] bio: create slab <bio-0> at 0
[ 0.195882] SCSI subsystem initialized
[ 0.198280] usbcore: registered new interface driver usbfs
[ 0.198724] usbcore: registered new interface driver hub
[ 0.199010] usbcore: registered new device driver usb
[ 0.199219] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.199609] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.201185] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.203618] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.206230] print_constraints: VRTC:
[ 0.207891] print_constraints: VIO: at 1800 mV
[ 0.210371] print_constraints: VDD1: 600 <--> 1500 mV at 1100 mV normal
[ 0.212834] print_constraints: VDD2: 600 <--> 1500 mV at 1100 mV normal
[ 0.213960] print_constraints: VDD3: 5000 mV
[ 0.215499] print_constraints: VDIG1: at 1800 mV
[ 0.217068] print_constraints: VDIG2: at 1800 mV
[ 0.218623] print_constraints: VPLL: at 1800 mV
[ 0.220169] print_constraints: VDAC: at 1800 mV
[ 0.221729] print_constraints: VAUX1: at 1800 mV
[ 0.223308] print_constraints: VAUX2: at 3300 mV
[ 0.224871] print_constraints: VAUX33: at 3300 mV
[ 0.226423] print_constraints: VMMC: at 3300 mV
[ 0.227138] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.228898] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.230518] Switching to clocksource gp timer
[ 0.252683] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.252941] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.253393] MUSB0 controller's USBSS revision = 4ea20800
[ 0.254308] musb-hdrc musb-hdrc.0: USB OTG mode controller at c483c000 using
PIO, IRQ 18
[ 0.254541] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.254987] MUSB1 controller's USBSS revision = 4ea20800
[ 0.255239] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.255347] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
r 1
[ 0.255540] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.255564] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[ 0.255583] usb usb1: Product: MUSB HDRC host driver
[ 0.255599] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.255615] usb usb1: SerialNumber: musb-hdrc.1
[ 0.256746] hub 1-0:1.0: USB hub found
[ 0.256792] hub 1-0:1.0: 1 port detected
[ 0.257550] musb-hdrc musb-hdrc.1: USB Host mode controller at c483e800 using
PIO, IRQ 19
[ 0.258167] NET: Registered protocol family 2
[ 0.258432] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.258855] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.258932] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.258981] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.259000] TCP reno registered
[ 0.259017] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.259054] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.259300] NET: Registered protocol family 1
[ 0.259667] RPC: Registered named UNIX socket transport module.
[ 0.259687] RPC: Registered udp transport module.
[ 0.259701] RPC: Registered tcp transport module.
[ 0.259713] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.260059] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.267512] VFS: Disk quotas dquot_6.5.2
[ 0.267614] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.268376] msgmni has been set to 113
[ 0.273064] alg: No test for stdrng (krng)
[ 0.274027] io scheduler noop registered
[ 0.274050] io scheduler deadline registered
[ 0.274150] io scheduler cfq registered (default)
[ 0.275736] Could not set LED4 to fully on
[ 0.278067] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.922569] console [ttyO0] enabled
[ 0.927119] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.935243] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.943307] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.951349] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.959365] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.968089] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.988649] brd: module loaded
[ 0.998833] loop: module loaded
[ 1.002498] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.009002] i2c-core: driver [tsl2550] using legacy resume method
[ 1.015539] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.080581] No daughter card found
[ 1.084224] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.150577] AM335X: EVM Config read fail: -110
[ 1.157964] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.165358] omap2-nand driver initializing
[ 1.169892] OneNAND driver initializing
[ 1.175745] CAN device driver interface
[ 1.179757] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.186606] usbcore: registered new interface driver zd1201
[ 1.192779] usbcore: registered new interface driver cdc_ether
[ 1.199134] usbcore: registered new interface driver cdc_eem
[ 1.205335] usbcore: registered new interface driver dm9601
[ 1.211283] cdc_ncm: 04-Aug-2011
[ 1.214933] usbcore: registered new interface driver cdc_ncm
[ 1.220914] Initializing USB Mass Storage driver...
[ 1.226366] usbcore: registered new interface driver usb-storage
[ 1.232707] USB Mass Storage support registered.
[ 1.238199] mousedev: PS/2 mouse device common for all mice
[ 1.245376] i2c /dev entries driver
[ 1.249583] Linux video capture interface: v2.00
[ 1.254965] usbcore: registered new interface driver uvcvideo
[ 1.261036] USB Video Class driver (1.1.1)
[ 1.267813] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.276869] cpuidle: using governor ladder
[ 1.281922] cpuidle: using governor menu
[ 1.286919] omap4_aes_mod_init: loading AM33X AES driver
[ 1.292662] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.299393] omap4_aes_probe: probe() done
[ 1.303932] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.310125] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.323757] omap4_sham_probe: probe() done
[ 1.331647] usbcore: registered new interface driver usbhid
[ 1.337514] usbhid: USB HID core driver
[ 1.342410] usbcore: registered new interface driver snd-usb-audio
[ 1.351326] ALSA device list:
[ 1.354456] No soundcards found.
[ 1.358028] oprofile: hardware counters not available
[ 1.363372] oprofile: using timer interrupt.
[ 1.367899] nf_conntrack version 0.5.0 (911 buckets, 3644 max)
[ 1.374689] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.380433] TCP cubic registered
[ 1.383876] NET: Registered protocol family 17
[ 1.388563] can: controller area network core (rev 20090105 abi 8)
[ 1.395225] NET: Registered protocol family 29
[ 1.399903] can: raw protocol (rev 20090105)
[ 1.404413] can: broadcast manager protocol (rev 20090105 t)
[ 1.410418] Registering the dns_resolver key type
[ 1.415490] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 1.423579] ThumbEE CPU extension supported.
[ 1.428146] mux: Failed to setup hwmod io irq -22
[ 1.433987] Power Management for AM33XX family
[ 1.438956] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.445709] Copied the M3 firmware to UMEM
[ 1.450926] sr_init: platform driver register failed
[ 1.461164] clock: disabling unused clocks to save power
[ 1.484951] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 13.611975] VFS: Unable to mount root fs via NFS, trying floppy.
[ 13.618903] VFS: Cannot open root device "nfs" or unknown-block(2,0)
[ 13.625652] Please append a correct "root=" boot option; here are the availab
le partitions:
[ 13.634499] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno
wn-block(2,0)
[ 13.643206] Backtrace:
[ 13.645829] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c0423c5c>] (dump_s
tack+0x18/0x1c)
[ 13.654722] r6:c3855000 r5:c05cf3ac r4:c0647488 r3:c0600788
[ 13.660724] [<c0423c44>] (dump_stack+0x0/0x1c) from [<c0423ccc>] (panic+0x6c/
0x1a0)
[ 13.668790] [<c0423c60>] (panic+0x0/0x1a0) from [<c05a0cb4>] (mount_block_roo
t+0x184/0x228)
[ 13.677586] r3:00000000 r2:00000000 r1:c381df58 r0:c0500a10
[ 13.683577] r7:00008000
[ 13.686249] [<c05a0b30>] (mount_block_root+0x0/0x228) from [<c05a0f1c>] (moun
t_root+0xd8/0xe0)
[ 13.695329] [<c05a0e44>] (mount_root+0x0/0xe0) from [<c05a10bc>] (prepare_nam
espace+0x198/0x1d4)
[ 13.704582] r4:c06464e0
[ 13.707272] [<c05a0f24>] (prepare_namespace+0x0/0x1d4) from [<c05a090c>] (ker
nel_init+0x124/0x130)
[ 13.716705] r5:c05dd654 r4:c05dd654
[ 13.720506] [<c05a07e8>] (kernel_init+0x0/0x130) from [<c0041724>] (do_exit+0
x0/0x67c)
[ 13.728844] r5:c05a07e8 r4:00000000
but I can run the board normal if I use the older uImage.
The problem looks like beacuse the uImage cannot got the "root" value , I change it through U-Boot commond line to "root=/dev/mmcblk0p2", but I got the same result.
Please help!
TKS, Best regards.
