Other Parts Discussed in Thread: DP83822EVM
Hi,
What is the default MAC address of DP83822 EVM? My customer tried to use a processor from Huawei to control the EVM through the RGMII interface. but the log from the processor showed the "link is up",then "link is down." repeatedly. the log is as attached file. please help on this,thanks.
BTW,they used the driver from TI.
U-Boot 2010.06 (Feb 23 2017 - 11:36:57) Check Flash Memory Controller v100 ... Found SPI Nand(cs 0) ID: 0xef 0xaa 0x21 Name:"W25N01GV" Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:4bit/512 SPI Nand total size: 128MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 NAND read: device 0 offset 0x100000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.10.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3228048 Bytes = 3.1 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.10.0 (zjs@CompileSrv) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v400) ) #1 Thu Feb 23 11:38:25 CST 2017 CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: bigfish Memory policy: ECC disabled, Data cache writeback CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=yaffs2 mtdparts=hinand:1M(boot),15M(kernel),100M(rootfs),12M(test) PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 58664k/58664k available, 6872k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc4800000 - 0xff000000 ( 936 MB) lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc05a39c0 (5743 kB) .init : 0xc05a4000 - 0xc05c4a44 ( 131 kB) .data : 0xc05c6000 - 0xc05f98e0 ( 207 kB) .bss : 0xc05f98e0 - 0xc061b728 ( 136 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 GIC CPU mask not found - kernel will fail to boot. GIC CPU mask not found - kernel will fail to boot. sched_clock: 32 bits at 62MHz, resolution 16ns, wraps every 68719ms Console: colour dummy device 80x30 Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer CPU: Testing write buffer coherency: ok Setting up static identity map for 0xc04323d8 - 0xc0432430 NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. hw-breakpoint: maximum watchpoint size is 8 bytes. Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x12080000 (irq = 38) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x12090000 (irq = 39) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x120a0000 (irq = 40) is a PL011 rev2 bio: create slab <bio-0> at 0 SCSI subsystem initialized hi-spi-master hi-spi-master.0: with 2 chip select slaves attached usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer0 NET: Registered protocol family 2 TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) 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) CPU PMU: probing PMU on CPU 0 hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.22) SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled msgmni has been set to 114 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded loop: module loaded hiahci: initializing ahci ahci.0: can't get clock ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp fbs slum part ccc sxs boh scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x11010000-0x1101ffff] port 0x100 irq 49 ata2: SATA max UDMA/133 mmio [mem 0x11010000-0x1101ffff] port 0x180 irq 49 Check Flash Memory Controller v100 ... Found. Can't find a valid spi nor flash chip. SPI Nand ID Table Version 2.2 SPI Nand(cs 0) ID: 0xef 0xaa 0x21 Nand: Winbond W25N01GV Nand(Auto): Block:128KB Page:2KB OOB:64B ECC:4bit/512B Chip:128MB*1 NAND_ECC_NONE selected by board driver. This is not recommended! 4 cmdlinepart partitions found on MTD device hinand 4 cmdlinepart partitions found on MTD device hinand Creating 4 MTD partitions on "hinand": 0x000000000000-0x000000100000 : "boot" 0x000000100000-0x000001000000 : "kernel" 0x000001000000-0x000007400000 : "rootfs" 0x000007400000-0x000008000000 : "test" Higmac dma_sg_phy: 0x83ac0000 libphy: higmac_mdio_bus: probed ETH0: rgmii, phy_addr=1, mii_name=mdio0 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver before uhci_hcd and ohci_hcd, not after hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 51, io mem 0x10040000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 50, io mem 0x10030000 ata1: SATA link down (SStatus 0 SControl 300) hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice i2c /dev entries driver hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed! usbcore: registered new interface driver usbhid usbhid: USB HID core driver oprofile: using timer interrupt. TCP: cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 ata2: SATA link down (SStatus 0 SControl 300) yaffs: dev is 32505858 name is "mtdblock2" rw yaffs: passed flags "" VFS: Mounted root (yaffs2 filesystem) on device 31:2. Freeing unused kernel memory: 128K (c05a4000 - c05c4000) [RCS]: /etc/init.d/S00devs [RCS]: /etc/init.d/S01udev [RCS]: /etc/init.d/S02clearpid [RCS]: /etc/init.d/S100PinCtrl [RCS]: /etc/init.d/S130crash [RCS]: /etc/init.d/S80network [RCS]: /etc/init.d/S90tmpfs [RCS]: /etc/init.d/S99mkdir Welcome. mmz_start: 0x84000000, mmz_size: 448M rmmod: can't unload 'hi3521a_adec': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_aenc': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_ao': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_ai': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_aio': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_ive': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vda': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_rc': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_jpege': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_h264e': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_chnl': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_venc': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_hdmi': unknown symbol in module, or unknown parameter rmmod: can't unload 'hifb': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vou': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vpss': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_viu': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vgs': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_region': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_tde': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_jpegd': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vfmw': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_vdec': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_sys': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi3521a_base': unknown symbol in module, or unknown parameter rmmod: can't unload 'hi_media': unknown symbol in module, or unknown parameter rmmod: can't unload 'hiuser': unknown symbol in module, or unknown parameter rmmod: can't unload 'mmz': unknown symbol in module, or unknown parameter Hisilicon Media Memory Zone Manager Module himedia: init ok hi3521a_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint load sys.ko for Hi3521A...OK! load vdec.ko ....OK load vhd firmware.ko OK Load hi_jpegdec.ko success. (SDK_VERSION:[SDK_VERSION] Build Time:[Jan 13 2017, 18:19:19]) Load hi_tde.ko success. (SDK_VERSION:[SDK_VERSION] Build Time:[Jan 13 2017, 18:19:06]) load region.ko ....OK! load vgs.ko for Hi3521A...OK! load viu.ko ...OK! load vpss.ko ....OK! load vou.ko ....OK! load hdmi.ko ....OK! load rc.ko for Hi3521A...OK! load venc.ko for Hi3521A...OK! load chnl.ko for Hi3521A...OK! load h264e.ko for Hi3521A...OK! load jpege.ko for Hi3521A...OK! load vda.ko ....OK! load ive.ko ... OK! load ai.ko for Hi3521A...OK! load ao.ko for Hi3521A...OK! load aenc.ko for Hi3521A...OK! load adec.ko for Hi3521A...OK! libphy: mdio0:01 - Link is Up - 100/Full gbcmd name_service -t client gbcmd autosearch -t host -s 0 gbcmd gpiokey -r gbcmd ipd2000 gbcmd multicast_monitor -t IPD2000 gbcmd devmaintain gbcmd soipserver gbcmd web -f -I /usr/local/share/1920_1080_yuv420_nosource.yuv gbcmd hardwatchdog hardwatchdog name_service autosearch gpiokey ipd2000 multicast_monitor devmaintain soipserver web Starting GBIH ... Start GBIH ComAgent success, Current Version:MaintainAgentV1.2.B6, Build Date:2015.10.08 libphy: mdio0:01 - Link is Down Start GBIH Upgrade Module success. Current Version:MaintainAgentV1.2.B6, Build Date:2015.10.08 libphy: mdio0:01 - Link is Up - 100/Full (ftpserver:src/ftpserver.c:cuftpd_parse_args:316:1314)debug on (ftpserver:src/ftpserver.c:cuftpd_parse_args:332:1314)srv port:60021 cuftpd_create_srvsrc/ftpserver.c cuftpd_create_srv 426 done Auto login as root ... login[1326]: root login on 'ttyS000' Welcome. / # libphy: mdio0:01 - Link is Down libphy: mdio0:01 - Link is Up - 100/Full libphy: mdio0:01 - Link is Down libphy: mdio0:01 - Link is Up - 100/Full libphy: mdio0:01 - Link is Down libphy: mdio0:01 - Link is Up - 100/Full libphy: mdio0:01 - Link is Down