[ELDK] [DNX#2009093042159] Question for eth0: pause enabled with Canyonlands Board
camel joe
camel4joe at gmail.com
Thu Oct 1 07:01:29 CEST 2009
On Wed, Sep 30, 2009 at 6:11 PM, camel joe <camel4joe at gmail.com> wrote:
> On Wed, Sep 30, 2009 at 4:17 AM, DENX Support System <support at denx.de> wrote:
>> Dear Joe,
>>
>> Thank you for your request.
>>
>> You wrote:
>>
>>> I just got this new Canyonlands board and cannot make the network
>>> working with my normal LAN setup. I have narrowed down the cause (I
>>> hope) to "eth0: pause enabled".
>>>
>>> Can someone there explain to me why?
>>
>> Are you sure you have valid MAC addresses set for your board?
>
> I am not sure. But I have not modified the value of MAC address at
> all and I supose it should be good. (see the log file for the MAC
> address)
>
>
>>
>> Can you please send me a full log including all console messages from
>> power-on (i. e. the full U-Boot startup including all commands you
>> enter to boot linux [please also include the output of the "printenv"
>> command for your board], followed by the complete log of all Linux
>> kernel boot messages).
The boot log is as follows:
preintenv
Unknown command 'preintenv' - try 'help'
=> printenv
bootdelay=5
baudrate=115200
loads_echo=1
netdev=eth0
hostname=canyonlands
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
addip=setenv bootargs ${bootargs}
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
panic=1
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
rootpath=/opt/eldk/ppc_4xxFP
bootfile=canyonlands/uImage
fdt_file=canyonlands/canyonlands.dtb
initrd_high=30000000
load=tftp 200000 canyonlands/u-boot.bin
update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;cp.b
${fileaddr} fffa0000 ${filesize};setenv filesize;saveenv
upd=run load update
nload=tftp 200000 canyonlands/u-boot-nand.bin
nupdate=nand erase 0 60000;nand write 200000 0 60000;setenv filesize;saveenv
nupd=run nload nupdate
pciconfighost=1
pcie_mode=RP:RP
ipaddr=192.168.1.62
ramargs=setenv bootargs ramdisk_size=65536 root=/dev/ram rw
dynip=setenv autoload n;dhcp
fixedip=echo Using ip address ${ipaddr}
flash_self_old=run ramargs addip addtty;bootm ${kernel_addr} ${ramdisk_addr}
flash_self=run ramargs setip addip addtty;bootm ${kernel_addr}
${ramdisk_addr} ${fdt_addr}
flash_nfs_old=run nfsargs addip addtty;bootm ${kernel_addr}
flash_nfs=run nfsargs setip addip addtty;bootm ${kernel_addr} - ${fdt_addr}
preboot=echo;echo Type 'run flash_nfs' to mount root filesystem over NFS;echo
setip=echo Using ip address ${ipaddr}
bootcmd=run flash_self
kernel_addr=0xfc000000
ramdisk_addr=0xfc200000
fdt_addr=0xfc1e0000
net_nfs_old=tftp 200000 ${bootfile};run nfsargs addip addtty;bootm 200000
net_nfs=tftp 200000 ${bootfile};tftp ${fdt_addr} ${fdt_file};run
nfsargs addip addtty;bootm 200000 - ${fdt_addr}
ethaddr=00:10:ec:01:21:03
eth1addr=00:10:ec:81:21:03
stdin=serial
stdout=serial
stderr=serial
ethact=ppc_4xx_eth0
ver=U-Boot 2009.08-rc1 (Aug 27 2009 - 17:02:42)
Environment size: 1807/16379 bytes
=> reset
U-Boot 2009.08-rc1 (Aug 27 2009 - 17:02:42)
CPU: AMCC PowerPC 460EX Rev. B at 1000 MHz (PLB=200, OPB=100, EBC=100 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter disabled
32 kB I-Cache 32 kB D-Cache
Board: Canyonlands - AMCC PPC460EX Evaluation Board, 2*PCIe, Rev. 16
I2C: ready
DRAM: 512 MB (ECC not enabled, 400 MHz, CL3)
FLASH: 64 MB
NAND: 128 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: link is not up.
PCIE1: initialization as root-complex failed
In: serial
Out: serial
Err: serial
DTT: 1 is 48 C
Net: ppc_4xx_eth0, ppc_4xx_eth1
Type run flash_nfs to mount root filesystem over NFS
Hit any key to stop autoboot: 5 4 3 2 1 0
Using ip address 192.168.1.62
## Booting kernel from Legacy Image at fc000000 ...
Image Name: Linux-2.6.30.3
Created: 2009-07-30 14:31:36 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1627908 Bytes = 1.6 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at fc200000 ...
Image Name: canyonlands ramdisk rev. 004
Created: 2009-08-03 15:53:02 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 20745524 Bytes = 19.8 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at fc1e0000
Booting using the fdt blob at 0xfc1e0000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 1ea83000, end 1fe4bd34 ... OK
Loading Device Tree to 00ffa000, end 00fff78f ... OK
Using PowerPC 44x Platform machine description
Linux version 2.6.30.3 (stefan at stefan-desktop) (gcc version 4.2.2) #1
Thu Jul 30 16:31:32 CEST 2009
Found initrd at 0xdea83000:0xdfe4bd34
Zone PFN ranges:
DMA 0x00000000 -> 0x00020000
Normal 0x00020000 -> 0x00020000
HighMem 0x00020000 -> 0x00020000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00020000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
Kernel command line: ramdisk_size=65536 root=/dev/ram rw
ip=192.168.1.62::::canyonlands:eth0:off panic=1 console=ttyS0,115200
NR_IRQS:512
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
UIC3 (32 IRQ sources) at DCR 0xf0
PID hash table entries: 2048 (order: 11, 8192 bytes)
clocksource: timebase mult[400000] shift[22] registered
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 495616k/524288k available (3196k kernel code, 28308k reserved,
136k data, 130k bss, 156k init)
Kernel virtual memory layout:
* 0xfffef000..0xfffff000 : fixmap
* 0xffc00000..0xffe00000 : highmem PTEs
* 0xffa00000..0xffc00000 : consistent mem
* 0xffa00000..0xffa00000 : early ioremap
* 0xe1000000..0xffa00000 : vmalloc & ioremap
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 1998.84 BogoMIPS (lpj=3997696)
Mount-cache hash table entries: 512
net_namespace: 296 bytes
NET: Registered protocol family 16
256k L2-cache enabled
PCIE0: Checking link...
PCIE0: No device detected.
PCI host bridge /plb/pciex at d00000000 (primary) ranges:
MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
Removing ISA hole at 0x0000000f00000000
4xx PCI DMA offset set to 0x00000000
/plb/pciex at d00000000: Legacy ISA memory support enabled
PCIE0: successfully set as root-complex
PCIE1: Checking link...
PCIE1: No device detected.
PCI host bridge /plb/pciex at d20000000 (primary) ranges:
MEM 0x0000000e80000000..0x0000000effffffff -> 0x0000000080000000
MEM 0x0000000f00100000..0x0000000f001fffff -> 0x0000000000000000
IO 0x0000000f80010000..0x0000000f8001ffff -> 0x0000000000000000
Removing ISA hole at 0x0000000f00100000
4xx PCI DMA offset set to 0x00000000
/plb/pciex at d20000000: Legacy ISA memory support enabled
PCIE1: successfully set as root-complex
PCI host bridge /plb/pci at c0ec00000 (primary) ranges:
MEM 0x0000000d80000000..0x0000000dffffffff -> 0x0000000080000000
MEM 0x0000000c0ee00000..0x0000000c0eefffff -> 0x0000000000000000
IO 0x0000000c08000000..0x0000000c0800ffff -> 0x0000000000000000
Removing ISA hole at 0x0000000c0ee00000
4xx PCI DMA offset set to 0x00000000
/plb/pci at c0ec00000: Legacy ISA memory support enabled
PCI: Probing PCI hardware
PCI: Hiding 4xx host bridge resources 0000:40:00.0
PCI: Hiding 4xx host bridge resources 0001:80:00.0
pci 0000:40:00.0: PCI bridge, secondary bus 0000:41
pci 0000:40:00.0: IO window: disabled
pci 0000:40:00.0: MEM window: disabled
pci 0000:40:00.0: PREFETCH window: disabled
pci 0001:80:00.0: PCI bridge, secondary bus 0001:81
pci 0001:80:00.0: IO window: disabled
pci 0001:80:00.0: MEM window: disabled
pci 0001:80:00.0: PREFETCH window: disabled
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
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 20259k freed
JFFS2 version 2.2. (NAND) ?2001-2006 Red Hat, Inc.
msgmni has been set to 1008
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x4ef600400 (irq = 20) is a 16550A
serial8250.0: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A
serial8250.0: ttyS3 at MMIO 0x4ef600600 (irq = 21) is a 16550A
4ef600300.serial: ttyS0 at MMIO 0x4ef600300 (irq = 19) is a 16550A
4ef600400.serial: ttyS1 at MMIO 0x4ef600400 (irq = 20) is a 16550A
4ef600500.serial: ttyS2 at MMIO 0x4ef600500 (irq = 29) is a 16550A
4ef600600.serial: ttyS3 at MMIO 0x4ef600600 (irq = 21) is a 16550A
brd: module loaded
Driver 'sd' needs updating - please use bus_type methods
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 16 RX channels
ZMII /plb/opb/emac-zmii at ef600d00 initialized
RGMII /plb/opb/emac-rgmii at ef601500 initialized with MDIO support
TAH /plb/opb/emac-tah at ef601350 initialized
TAH /plb/opb/emac-tah at ef601450 initialized
/plb/opb/emac-rgmii at ef601500: input 0 in RGMII mode
eth0: EMAC-0 /plb/opb/ethernet at ef600e00, MAC 00:10:ec:01:21:03
eth0: found Generic MII PHY (0x00)
/plb/opb/emac-rgmii at ef601500: input 1 in RGMII mode
eth1: EMAC-1 /plb/opb/ethernet at ef600f00, MAC 00:10:ec:81:21:03
eth1: found Generic MII PHY (0x01)
4cc000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
4cc000000.nor_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Creating 7 MTD partitions on "4cc000000.nor_flash":
0x000000000000-0x0000001e0000 : "kernel"
0x0000001e0000-0x000000200000 : "dtb"
0x000000200000-0x000001600000 : "ramdisk"
0x000001600000-0x000001a00000 : "jffs2"
0x000001a00000-0x000003f60000 : "user"
0x000003f60000-0x000003fa0000 : "env"
0x000003fa0000-0x000004000000 : "u-boot"
NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND
128MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 2 MTD partitions on "4e0000000.ndfc.nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000000000-0x000003f00000 : "user"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ppc-of-ohci 4bffd0000.usb: OF OHCI
ppc-of-ohci 4bffd0000.usb: new USB bus registered, assigned bus number 1
ppc-of-ohci 4bffd0000.usb: irq 33, io mem 0x4bffd0000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OF OHCI
usb usb1: Manufacturer: Linux 2.6.30.3 ohci_hcd
usb usb1: SerialNumber: PPC-OF USB
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
i2c /dev entries driver
rtc-m41t80 0-0068: chip found, driver version 0.05
rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
ibm-iic 4ef600800.i2c: using standard (100 kHz) mode
ad7414 0-0048: chip found
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-m41t80 0-0068: hctosys: invalid date/time
eth0: link is down
eth0: link is up, 100 FDX, pause enabled
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.62, mask=255.255.255.0, gw=255.255.255.255,
host=canyonlands, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing unused kernel memory: 156k init
mount: Mounting /dev/root on / failed: Invalid argument
Startup utility found. Executing...
AMCC Startup utility launched.
BusyBox v1.2.1 (2009.08.03-15:43+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # uname -a
Linux canyonlands 2.6.30.3 #1 Thu Jul 30 16:31:32 CEST 2009 ppc unknown
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 63461 48354 15107 76% /
/dev/mtdblock3 4096 2560 1536 63% /mnt/jffs2
tmpfs 258196 32 258164 0% /tmp
~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:EC:01:21:03
inet addr:192.168.1.62 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:27
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
~ # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:EC:01:21:03
inet addr:192.168.1.62 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:27
eth1 Link encap:Ethernet HWaddr 00:10:EC:81:21:03
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:31
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
~ #
More information about the eldk
mailing list