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.
Dears,
Customer use Anyais 3760e can cooperate with dp83826 to make a terminal, now there is no network, Pls kindly help to check the schematic. Thanks
Hi,
Can you give some more detail about the failure signature. Are you able to read/write registers? Do you have link? I am unable to read the screenshot which you have shared.
For schematic, please fill out the attached checklist.
Thanks,
Dear Dacid,
1. If R492 R453 is deleted, the negotiation succeeds, but udhcp cannot obtain the IP address
2. Connect PIN22 to DC3V3D_MAC. The IP address cannot be obtained from udhcp
3. Connect PIN1 to the GDN. udhcp cannot obtain the IP address
Pls kindly find the schematic_design_review form.
Thanks
Hi,
What do you mean "If R492 R453 is deleted"? Does that mean DNP? How, then, is the PHY getting any reference clock?
My first guess here is that strapping is the issue. The PHY must be configured to RMII slave mode to operate off a 50Mhz oscillator connected to XI pin. If you are not doing this in software, it must be done through bootstraps. Please have a look at section 9.4.1.1 of the datasheet to determine how to strap in RMII slave mode.
Thanks,
David
Dear David,
Sorry for my mistake,Remove the R492 in the PCBA and add the R453 in the PCBA.
For 50MHZ,Customer feedback that the SOC have provide 50MHZ pulse,so the schematic have issue or not?
Thanks
Hi Ning,
This is an issue. R492 should not be connected in RMII slave mode (R453 should be connected). Please see section 9.3.10 of the datasheet for the difference between RMII master and RMII slave mode.
Looking at your schematic, you are strapped into MII mode. This explains why communication is not working. Please strap the device to RMII slave mode (or set it through register write).
Thanks,
David
Dear David,
There is no R492 in the customer test now,and there is R453,but is no function.
Thanks
Dear David,
Set it through register write,customer want to know witch register.
Thanks
Hi Ning,
MII/RMII and RMII master/slave can be selected in register 0x468.
Thanks,
David
Dear David,
Pls help to check below information:
Debug: Operate the 0X468 register, configure BIT4, BIT3, code flow as attachment.
Effect: After configuring register 0X468 and reading back the register value, udhcpc still cannot assign IP:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
xzj 0x0468 reg val:0x2c87
xzj read back 0x0468 reg val:0x2c87
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Run log as attached.
BTW,The schematic have any problem or not?
Thanks
status = ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_ID_HI_REG, &data_id1); if(status) { printk("phy read phy id1 waiting Error,data=0x%x\n", data_id1); goto err_phy_reg; } status = ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_ID_LOW_REG, &data_id2); if(status) { printk("phy read phy id2 waiting Error,data=0x%x\n", data_id2); goto err_phy_reg; } else if(data_id1 == 0x2000 && ((data_id2 == 0xa140) || (data_id2 == 0xa130) || (data_id2 == 0xa110)) ) { /* dp83825 and dp83826 initialization*/ printk("cdh:id 0xa140 or 0xa130 or 0xa110 set!\n"); /* RMII Reference Clock Selec: RMII Reference Clock Selec */ data_ctl = 0; ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x17, &data_ctl); data_ctl |= (1<<7); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x17, data_ctl); #if 1 data_ctl = 0; ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x1F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, 0x0468); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x401F); ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, &data_ctl); printk("xzj 0x0468 reg val:0x%x\n", data_ctl); data_ctl |= 0x18; ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x1F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, 0x0468); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x401F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, data_ctl); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x1F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, 0x0468); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x401F); ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, &data_ctl); printk("xzj read back 0x0468 reg val:0x%x\n", data_ctl); #endif /* Enable Auto-Negotiation */ data_ctl = 0; ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_CONTROL_REG, &data_ctl); //data_ctl |= 0x1000; data_ctl |= 0x1020; ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_CONTROL_REG, data_ctl); }
/tmp # insmod ak_eth.ko ak_mac Ethernet Driver Configed MAC RMII interface! ak37e_clk: reset_module:0xf0008020 @ 16 of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/soc/ethernet1@20500000[0]' - status (0) ak39_ethernet 20500000.ethernet1 eth0: irq 31, mapped at c571c000 ak39_ethernet 20500000.ethernet1: using random MAC address 42:f9:37:64:68:0f ak_mac_probe, line:5777, mac_id:1 insmod mac device ok /tmp # udhcpc > /dev/null udhcpc: started, v1.30.1 Reset MAC1 controller and PHY! phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 cdh:id 0xa140 or 0xa130 or 0xa110 set! xzj 0x0468 reg val:0x2c87 xzj read back 0x0468 reg val:0x2c87 phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 No Link eth0 owns a shared interrupt on netdev->irq 31 setting up the cable unplug timer1 for mac1 udhcpc: sending discover phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 Link UP Autonegotiation Complete,loop_count:99999 ak_gmac_check_phy_init 4379, enter ak_gmac_check_phy_init 4398, Speed reg val:0xf LPAN Link is with 100M Speed, FULLDUPLEX mode udhcpc: sending discover udhcpc: sending discover udhcpc: sending discover
Hi Ning,
If you are using a 50Mhz clock connected to XI pin, then you must use RMII slave mode. 0x0468 = 0x2c87 selects MII mode. Which MAC interface is the customer trying to use?
Please send me a register dump from 0x0 - 0x1f, as well as 0x467, 0x468.
Thanks,
David
Dear David,
Pls find attachfile for 0X0-0X1f 0X467,0X468.
Thanks
while(loop_count-- > 0){ status = ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_STATUS_REG, &data); if(status) continue; if((data & Mii_AutoNegCmplt) != 0){ if ((data_id1 == 0x2000) && ((data_id2 == 0xa140) || (data_id2 == 0xa130) || ((data_id2 == 0xa110)))) { status = ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_SPECIFIC_CTRL_REG, &data); if(status) continue; if((data & 0x10) != 0){ printk(KERN_ERR"Autonegotiation Complete,loop_count:%d\n", loop_count); #if 1 //xiaozijie , anjubao for(i = 0; i <= 0x1f; i++) { data =0; status = ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, i, &tmp_data); if(status) { printk(KERN_ERR"XZJ ak_gmac_read_phy_reg FAIL\n"); } printk(KERN_ERR"XZJ read reg:0x%x : 0x%x\n", i, tmp_data); } ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x1F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, 0x0468); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x401F); ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, &tmp_data); printk(KERN_ERR"XZJ read reg:0x%x : 0x%x\n", 0x0468, tmp_data); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x1F); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, 0x0467); ak_gmac_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0D, 0x401F); ak_gmac_read_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, 0x0E, &tmp_data); printk(KERN_ERR"XZJ read reg:0x%x : 0x%x\n", 0x0467, tmp_data); #endif break; } } else { printk(KERN_ERR"Autonegotiation Complete,loop_count:%d\n", loop_count); break; } } }
/tmp # insmod ak_eth.ko ak_mac Ethernet Driver Configed MAC RMII interface! ak37e_clk: reset_module:0xf0008020 @ 16 of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/soc/ethernet1@20500000[0]' - status (0) ak39_ethernet 20500000.ethernet1 eth0: irq 31, mapped at c5638000 ak39_ethernet 20500000.ethernet1: using random MAC address 0e:5f:81:8e:46:61 ak_mac_probe, line:5808, mac_id:1 insmod mac device ok /tmp # udhcpc udhcpc: started, v1.30.1 Reset MAC1 controller and PHY! phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 cdh:id 0xa140 or 0xa130 or 0xa110 set! xzj 0x0468 reg val:0x2c87 xzj read back 0x0468 reg val:0x2c87 phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 No Link eth0 owns a shared interrupt on netdev->irq 31 setting up the cable unplug timer1 for mac1 udhcpc: sending discover phy read phy id1 waiting ok,data=0x2000 phy read phy id2 waiting ok,data=0xa130 Link UP Autonegotiation Complete,loop_count:99999 XZJ read reg:0x0 : 0x3100 XZJ read reg:0x1 : 0x786d XZJ read reg:0x2 : 0x2000 XZJ read reg:0x3 : 0xa130 XZJ read reg:0x4 : 0x1e1 XZJ read reg:0x5 : 0x4de1 XZJ read reg:0x6 : 0x7 XZJ read reg:0x7 : 0x2001 XZJ read reg:0x8 : 0x0 XZJ read reg:0x9 : 0x0 XZJ read reg:0xa : 0x100 XZJ read reg:0xb : 0x0 XZJ read reg:0xc : 0x0 XZJ read reg:0xd : 0x401f XZJ read reg:0xe : 0x2c87 XZJ read reg:0xf : 0x0 XZJ read reg:0x10 : 0x4615 XZJ read reg:0x11 : 0x108 XZJ read reg:0x12 : 0x6400 XZJ read reg:0x13 : 0x2800 XZJ read reg:0x14 : 0x0 XZJ read reg:0x15 : 0x0 XZJ read reg:0x16 : 0x100 XZJ read reg:0x17 : 0xc9 XZJ read reg:0x18 : 0x400 XZJ read reg:0x19 : 0xcc01 XZJ read reg:0x1a : 0x0 XZJ read reg:0x1b : 0x7d XZJ read reg:0x1c : 0x5ee XZJ read reg:0x1d : 0x0 XZJ read reg:0x1e : 0x102 XZJ read reg:0x1f : 0x0 XZJ read reg:0x468 : 0x2c87 XZJ read reg:0x467 : 0x46 ak_gmac_check_phy_init 4410, enter ak_gmac_check_phy_init 4429, Speed reg val:0xf LPAN Link is with 100M Speed, FULLDUPLEX mode udhcpc: sending discover udhcpc: sending discover Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} udhcpc: sending discover udhcpc: sending discover udhcpc: sending discover Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig}
Hi Ning,
If you are using a 50Mhz clock connected to XI pin, then you must use RMII slave mode. 0x0468 = 0x2c87 selects MII mode. Which MAC interface is the customer trying to use?
Thanks,
David
Dear David,
I have send your reply to customer,I will confirm the MAC.
So register dump from 0x0 - 0x1f have any problem or not?
Thanks
Hi Ning,
The register dump shows link is up, so the problem is likely on the MAC interface side. Let me know the customer's reply.
Thanks,
David
Hi David,
For MAC,they dont reply to me,they use DP83825 before,and now they check the hardware first,if any reply I will let you know.
Thanks
Hi Ning,
This is required information. Let me know when they get back to you.
Thanks,
David
Hi David,
MAC is AK3760D,customer have Optimized hardware and provide a new register data,pls help to check it.
Thanks
[20230321_17:54:21][20230321_17:54:21] [20230321_17:54:25]A [20230321_17:54:25]SPL 2013.10.0-V3.1.33 [20230321_17:54:25]Jumping to U-Boot [20230321_17:54:25] [20230321_17:54:25] [20230321_17:54:25]U-Boot 2013.10.0-V3.1.33 (Mar 21 2023 - 09:21:15) [20230321_17:54:25] [20230321_17:54:25]uboot display lcd logo! [20230321_17:54:25]DRAM: 64 MiB [20230321_17:54:25]128 MiB [20230321_17:54:25]DTB no mmc info [20230321_17:54:26]ak_fb: srgb device is not enable [20230321_17:54:26]In: serial [20230321_17:54:26]Out: serial [20230321_17:54:26]Err: serial [20230321_17:54:26]Net: eth-0 [20230321_17:54:26] [20230321_17:54:26]Hit any key to stop autoboot: 1 [20230321_17:54:27] 0 [20230321_17:54:27] KERNEL: size:0x001a0000, offset:0x000c0000 [20230321_17:54:27] [20230321_17:54:27]SF: 1703936 bytes @ 0xc0000 Read: OK [20230321_17:54:27]## Booting kernel from Legacy Image at 80008000 ... [20230321_17:54:27] Image Name: Linux-4.4.192V2.4 [20230321_17:54:27] Image Type: ARM Linux Kernel Image (uncompressed) [20230321_17:54:27] Data Size: 1619736 Bytes = 1.5 MiB [20230321_17:54:27] Load Address: 80008000 [20230321_17:54:27] Entry Point: 80008040 [20230321_17:54:27] Verifying Checksum ... OK [20230321_17:54:27] XIP Kernel Image ... OK [20230321_17:54:27] kernel loaded at 0x80008000, end = 0x80193718 [20230321_17:54:27]using: FDT [20230321_17:54:27] [20230321_17:54:27]Starting kernel ... [20230321_17:54:27] [20230321_17:54:28]Uncompressing Linux... done, booting the kernel. [20230321_17:54:29]Booting Linux on physical CPU 0x0 [20230321_17:54:29]Linux version 4.4.192V2.4 (xiaozijie@anyka) (gcc version 4.9.4 (Buildroot 2018.02.7_V1.0.05-gec2d034) ) #32 Mon Mar 6 05:31:49 UTC 2023 [20230321_17:54:29]CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [20230321_17:54:29]CPU: VIVT data cache, VIVT instruction cache [20230321_17:54:29]Machine model: EVB_CBDR_AK3760E_V1.0.1 spinand board [20230321_17:54:29]Reserved memory: created CMA memory pool at 0x83000000, size 16 MiB [20230321_17:54:29]Reserved memory: initialized node cma_reserved@0x83000000, compatible id shared-dma-pool [20230321_17:54:29]Memory policy: Data cache writeback [20230321_17:54:29]ANYKA CPU AK37XXE (ID 0x201902) [20230321_17:54:29]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [20230321_17:54:29]Kernel command line: console=ttySAK0,115200n8 root=/dev/mtdblock7 rootfstype=yaffs2 init=/sbin/init mtdparts=spi0.0:128K@0x0(SPL),128K@0x20000(ENV),128K@0x40000(ENVBK),128K@0x60000(DTB),256K@0x80000(UBOOT),1664K@0xC0000(KERNEL),384K@0x260000(LOGO),10240K@0x2C0000(ROOTFS),10240K@0xCC0000(CONFIG),12288K@0x16C0000(APP) mem=64M memsize=64M [20230321_17:54:29]PID hash table entries: 256 (order: -2, 1024 bytes) [20230321_17:54:29]Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [20230321_17:54:29]Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [20230321_17:54:29]Memory: 23148K/65536K available (3178K kernel code, 127K rwdata, 1008K rodata, 140K init, 189K bss, 26004K reserved, 16384K cma-reserved) [20230321_17:54:29]Virtual kernel memory layout: [20230321_17:54:29] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [20230321_17:54:29] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [20230321_17:54:29] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [20230321_17:54:29] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [20230321_17:54:29] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [20230321_17:54:29] .text : 0xc0008000 - 0xc041eefc (4188 kB) [20230321_17:54:29] .init : 0xc041f000 - 0xc0442000 ( 140 kB) [20230321_17:54:29] .data : 0xc0442000 - 0xc0461d38 ( 128 kB) [20230321_17:54:29] .bss : 0xc0461d38 - 0xc0491358 ( 190 kB) [20230321_17:54:29]SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [20230321_17:54:29]NR_IRQS:153 [20230321_17:54:29]ak37e_clk: CPU(JCLK): 800(Mhz) [20230321_17:54:29]ak37e_clk: CPU(HCLK): 400(Mhz) [20230321_17:54:29]ak37e_clk: MEMDDR2(DPHY): 400(Mhz) [20230321_17:54:29]ak37e_clk: asic pll has inited! [20230321_17:54:29]ak37e_clk: ASIC: 500(Mhz) [20230321_17:54:29]ak37e_clk: VCLK: 250(Mhz) [20230321_17:54:29]ak37e_clk: audio_pll update @204800000 m 14 n 63 [20230321_17:54:29]ak-timer: ak_timer_init [20230321_17:54:29]clocksource: ak_cs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns [20230321_17:54:29]sched_clock: 32 bits at 12MHz, resolution 83ns, wraps every 178956970966ns [20230321_17:54:29]Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656) [20230321_17:54:29]pid_max: default: 32768 minimum: 301 [20230321_17:54:29]Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]CPU: Testing write buffer coherency: ok [20230321_17:54:29]Setting up static identity map for 0x80008400 - 0x80008458 [20230321_17:54:29]devtmpfs: initialized [20230321_17:54:29]clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [20230321_17:54:29]futex hash table entries: 256 (order: -1, 3072 bytes) [20230321_17:54:29]pinctrl core: initialized pinctrl subsystem [20230321_17:54:29]NET: Registered protocol family 16 [20230321_17:54:29]DMA: preallocated 256 KiB pool for atomic coherent allocations [20230321_17:54:29]On-chip L2 memory initialized [20230321_17:54:29]ak-pinctrl 20170000.gpio: ak_pinctrl_probe 1974 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe irq: 15 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe wakeup GPIO#(31) [20230321_17:54:29]media: Linux media interface: v0.10 [20230321_17:54:29]Linux video capture interface: v2.00 [20230321_17:54:29]clocksource: Switched to clocksource ak_cs_timer [20230321_17:54:29]NET: Registered protocol family 2 [20230321_17:54:29]TCP established hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP: Hash tables configured (established 1024 bind 1024) [20230321_17:54:29]UDP hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]NET: Registered protocol family 1 [20230321_17:54:29]AK Power Management, (c) 2021 ANYKA [20230321_17:54:29]ak_pm_probe , line:275 , pm Driver probe [20230321_17:54:29]squashfs: version 4.0 (2009/01/31) Phillip Lougher [20230321_17:54:29]jffs2: version 2.2. © 2001-2006 Red Hat, Inc. [20230321_17:54:29]io scheduler noop registered (default) [20230321_17:54:29]AKxx uart driver init, (c) 2013 ANYKA [20230321_17:54:29]20130000.uart0: ttySAK0 at MMIO 0x20130000 (irq = 10, base_baud = 7812500) is a AK [20230321_17:54:29]console [ttySAK0] enabled [20230321_17:54:29]loop: module loaded [20230321_17:54:29]Start to init Anyka SPI Flash... [20230321_17:54:29]init Anyka SPI Nand Flash driver [20230321_17:54:29]enter ak_spi_probe..., hw=c29c76a0, hw->clk=c2a09a20 [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 5 [20230321_17:54:29]<ak_spi_set_clk> SPI0 bus frequency is 83333333 HZ [20230321_17:54:29]ak spinandflash probe enter. [20230321_17:54:29]akspi nand ID: 0xc851c851 [20230321_17:54:29]flash->bus_width:4(note:1:1 wire, 2:2 wire, 4:4 wire) [20230321_17:54:29]ak-spinand spi0.0: GD5F1GQ5UEY1G (131072 Kbytes) [20230321_17:54:29]Scanning device for bad blocks [20230321_17:54:29]10 cmdlinepart partitions found on MTD device spi0.0 [20230321_17:54:29]Creating 10 MTD partitions on "spi0.0": [20230321_17:54:29]0x000000000000-0x000000020000 : "SPL" [20230321_17:54:29]0x000000020000-0x000000040000 : "ENV" [20230321_17:54:29]0x000000040000-0x000000060000 : "ENVBK" [20230321_17:54:29]0x000000060000-0x000000080000 : "DTB" [20230321_17:54:29]0x000000080000-0x0000000c0000 : "UBOOT" [20230321_17:54:29]0x0000000c0000-0x000000260000 : "KERNEL" [20230321_17:54:29]0x000000260000-0x0000002c0000 : "LOGO" [20230321_17:54:29]0x0000002c0000-0x000000cc0000 : "ROOTFS" [20230321_17:54:29]0x000000cc0000-0x0000016c0000 : "CONFIG" [20230321_17:54:29]0x0000016c0000-0x0000022c0000 : "APP" [20230321_17:54:29]Init AK SPI Flash finish. [20230321_17:54:29]akspi master SPI0 initialize success, use for PIO mode. [20230321_17:54:29]i2c /dev entries driver [20230321_17:54:29]ak_wdt_init: watchdog register... [20230321_17:54:29]NET: Registered protocol family 17 [20230321_17:54:29]sctp: Hash tables configured (established 512 bind 1024) [20230321_17:54:29]hctosys: unable to open rtc device (rtc0) [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 7 [20230321_17:54:29] [20230321_17:54:29]yaffs: dev is 32505863 name is "mtdblock7" ro [20230321_17:54:29]yaffs: passed flags "" [20230321_17:54:30]VFS: Mounted root (yaffs2 filesystem) readonly on device 31:7. [20230321_17:54:30]devtmpfs: mounted [20230321_17:54:30]Freeing unused kernel memory: 140K [20230321_17:54:30]random: init: uninitialized urandom read (4 bytes read, 9 bits of entropy available) [20230321_17:54:30]random: rcS: uninitialized urandom read (4 bytes read, 11 bits of entropy available) [20230321_17:54:30]mount all file system... [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mount: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]************************** [20230321_17:54:30] Love Linux ! ! ! [20230321_17:54:30]************************** [20230321_17:54:30]random: hostname: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: rc.local: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]/bin/mount -t yaffs2 /dev/mtdblock9 /usryaffs: dev is 32505865 name is "mtdblock9" rw [20230321_17:54:30] [20230321_17:54:30]yaffs: passed flags "" [20230321_17:54:31]/bin/mount -t yaffs2 /dev/mtdblock8 /etc/configyaffs: dev is 32505864 name is "mtdblock8" rw [20230321_17:54:31] [20230321_17:54:31]yaffs: passed flags "" [20230321_17:54:31]starting mdev... [20230321_17:54:31]~ # start telnet...... [20230321_17:54:31] __ [20230321_17:54:31] _ ____ \/ ____ __ [20230321_17:54:31] /\ | \ | |\ \ / /| |/ / /\ [20230321_17:54:31] / \ | \| | \ \/ / | ' / / \ [20230321_17:54:31] / /\ \ | . ' | \ / | < / /\ \ [20230321_17:54:31] / ____ \ | |\ | | | | . \ / ____ \ [20230321_17:54:31] /_/ \_\|_| \_| |__| |_|\_\/_/ \_\ [20230321_17:54:31] [20230321_17:54:32]ak_uio: register uio device successfully with irq: 26! [20230321_17:54:32]ak_uio: register uio device successfully with irq: 23! [20230321_17:54:32]ak_mac Ethernet Driver [20230321_17:54:32]ak_mac_probe, line:5808, mac_id:1 [20230321_17:54:32]insmod mac device ok [20230321_17:54:32]eth0 owns a shared interrupt on netdev->irq 31 [20230321_17:54:32]setting up the cable unplug timer1 for mac1 [20230321_17:54:32]udhcpc: started, v1.30.1 [20230321_17:54:32]udhcpc: sending discover [20230321_17:54:34]Autonegotiation Complete,loop_count:99999 [20230321_17:54:34]XZJ read reg:0x0 : 0x3100 [20230321_17:54:34]XZJ read reg:0x1 : 0x786d [20230321_17:54:34]XZJ read reg:0x2 : 0x2000 [20230321_17:54:34]XZJ read reg:0x3 : 0xa130 [20230321_17:54:34]XZJ read reg:0x4 : 0x1e1 [20230321_17:54:34]XZJ read reg:0x5 : 0xcde1 [20230321_17:54:34]XZJ read reg:0x6 : 0xf [20230321_17:54:34]XZJ read reg:0x7 : 0x2001 [20230321_17:54:34]XZJ read reg:0x8 : 0x0 [20230321_17:54:34]XZJ read reg:0x9 : 0x0 [20230321_17:54:34]XZJ read reg:0xa : 0x100 [20230321_17:54:34]XZJ read reg:0xb : 0x0 [20230321_17:54:34]XZJ read reg:0xc : 0x0 [20230321_17:54:34]XZJ read reg:0xd : 0x401f [20230321_17:54:34]XZJ read reg:0xe : 0x2c9f [20230321_17:54:34]XZJ read reg:0xf : 0x0 [20230321_17:54:34]XZJ read reg:0x10 : 0x615 [20230321_17:54:34]XZJ read reg:0x11 : 0x108 [20230321_17:54:34]XZJ read reg:0x12 : 0x6400 [20230321_17:54:34]XZJ read reg:0x13 : 0x2800 [20230321_17:54:34]XZJ read reg:0x14 : 0x0 [20230321_17:54:34]XZJ read reg:0x15 : 0x0 [20230321_17:54:34]XZJ read reg:0x16 : 0x100 [20230321_17:54:34]XZJ read reg:0x17 : 0xe5 [20230321_17:54:34]XZJ read reg:0x18 : 0x400 [20230321_17:54:34]XZJ read reg:0x19 : 0xcc01 [20230321_17:54:34]XZJ read reg:0x1a : 0x0 [20230321_17:54:34]XZJ read reg:0x1b : 0x7d [20230321_17:54:34]XZJ read reg:0x1c : 0x5ee [20230321_17:54:34]XZJ read reg:0x1d : 0x0 [20230321_17:54:34]XZJ read reg:0x1e : 0x102 [20230321_17:54:34]XZJ read reg:0x1f : 0x0 [20230321_17:54:34]XZJ read reg:0x468 : 0x2c9f [20230321_17:54:34]XZJ read reg:0x467 : 0x164 [20230321_17:54:34]ak_gmac_check_phy_init 4410, enter [20230321_17:54:34]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:54:35]udhcpc: sending discover [20230321_17:54:38]udhcpc: sending discover [20230321_17:54:41]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:54:46]~ # ifconfig [20230321_17:54:46]eth0 Link encap:Ethernet HWaddr 2A:8B:87:37:39:88 [20230321_17:54:46] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 [20230321_17:54:46] RX packets:95 errors:0 dropped:39 overruns:0 frame:0 [20230321_17:54:46] TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1000 [20230321_17:54:46] RX bytes:22500 (21.9 KiB) TX bytes:1026 (1.0 KiB) [20230321_17:54:46] Interrupt:31 Base address:0x8000 [20230321_17:54:46] [20230321_17:54:46]lo Link encap:Local Loopback [20230321_17:54:46] inet addr:127.0.0.1 Mask:255.0.0.0 [20230321_17:54:46] UP LOOPBACK RUNNING MTU:65536 Metric:1 [20230321_17:54:46] RX packets:0 errors:0 dropped:0 overruns:0 frame:0 [20230321_17:54:46] TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1 [20230321_17:54:46] RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) [20230321_17:54:46] [20230321_17:54:51]~ # [20230321_17:54:51]~ # [20230321_17:55:01]~ # udhcpc: sending discover [20230321_17:55:04]udhcpc: sending discover [20230321_17:55:07]udhcpc: sending discover [20230321_17:55:10]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:55:15]Autonegotiation Complete,loop_count:99999 [20230321_17:55:15]XZJ read reg:0x0 : 0x3100 [20230321_17:55:15]XZJ read reg:0x1 : 0x786d [20230321_17:55:15]XZJ read reg:0x2 : 0x2000 [20230321_17:55:15]XZJ read reg:0x3 : 0xa130 [20230321_17:55:15]XZJ read reg:0x4 : 0x1e1 [20230321_17:55:15]XZJ read reg:0x5 : 0xc5e1 [20230321_17:55:15]XZJ read reg:0x6 : 0xf [20230321_17:55:15]XZJ read reg:0x7 : 0x2001 [20230321_17:55:15]XZJ read reg:0x8 : 0x0 [20230321_17:55:15]XZJ read reg:0x9 : 0x0 [20230321_17:55:15]XZJ read reg:0xa : 0x100 [20230321_17:55:15]XZJ read reg:0xb : 0x0 [20230321_17:55:15]XZJ read reg:0xc : 0x0 [20230321_17:55:15]XZJ read reg:0xd : 0x401f [20230321_17:55:15]XZJ read reg:0xe : 0x164 [20230321_17:55:15]XZJ read reg:0xf : 0x0 [20230321_17:55:15]XZJ read reg:0x10 : 0x4e15 [20230321_17:55:15]XZJ read reg:0x11 : 0x108 [20230321_17:55:15]XZJ read reg:0x12 : 0xe600 [20230321_17:55:15]XZJ read reg:0x13 : 0x2800 [20230321_17:55:15]XZJ read reg:0x14 : 0x0 [20230321_17:55:15]XZJ read reg:0x15 : 0x0 [20230321_17:55:15]XZJ read reg:0x16 : 0x100 [20230321_17:55:15]XZJ read reg:0x17 : 0xe5 [20230321_17:55:15]XZJ read reg:0x18 : 0x400 [20230321_17:55:15]XZJ read reg:0x19 : 0xcc01 [20230321_17:55:15]XZJ read reg:0x1a : 0x0 [20230321_17:55:15]XZJ read reg:0x1b : 0x7d [20230321_17:55:15]XZJ read reg:0x1c : 0x5ee [20230321_17:55:15]XZJ read reg:0x1d : 0x0 [20230321_17:55:15]XZJ read reg:0x1e : 0x102 [20230321_17:55:15]XZJ read reg:0x1f : 0x0 [20230321_17:55:15]XZJ read reg:0x468 : 0x2c9f [20230321_17:55:15]XZJ read reg:0x467 : 0x164 [20230321_17:55:15]ak_gmac_check_phy_init 4410, enter [20230321_17:55:15]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:55:30]udhcpc: sending discover [20230321_17:55:33]udhcpc: sending discover [20230321_17:55:37]udhcpc: sending discover [20230321_17:55:37][20230321_17:55:37]
Hi Ning,
What changes were made to optimize the hardware? I need to know which MAC interface the customer wants to use, not just the MAC name. Do they want MII, RMII slave mode, RMII master mode, etc.?
Thanks,
David
Dear David,
1.They refer to 9.4.1 hardware configuration,Add pull up resister 2.49K in PIN 14,PIN20,PIN22,now they want to know whether the hardware have any problem or not? If the hardware have no problem,they will check the software. So pls kindly help to check the changed schematic
2.For work mode,The hardware boot configuration is as follows:ENHANCED 、RMII 、slave mode.
PIN1:1
PIN28:0
PIN29:0
PIN30:1
PIN14:1
PIN13:0
PIN22:1
PIN15:0
PIN16:0
PIN18:0
PIN20:1
3.For Mac,now the Phy can connect but no net,and anyka want to konw whether the specific requirements for the mac or not?
Thanks
Hi David,
BTW,pls kindly help to check the register data too after they optimized the hardware.
Thanks
[20230321_17:54:21][20230321_17:54:21] [20230321_17:54:25]A [20230321_17:54:25]SPL 2013.10.0-V3.1.33 [20230321_17:54:25]Jumping to U-Boot [20230321_17:54:25] [20230321_17:54:25] [20230321_17:54:25]U-Boot 2013.10.0-V3.1.33 (Mar 21 2023 - 09:21:15) [20230321_17:54:25] [20230321_17:54:25]uboot display lcd logo! [20230321_17:54:25]DRAM: 64 MiB [20230321_17:54:25]128 MiB [20230321_17:54:25]DTB no mmc info [20230321_17:54:26]ak_fb: srgb device is not enable [20230321_17:54:26]In: serial [20230321_17:54:26]Out: serial [20230321_17:54:26]Err: serial [20230321_17:54:26]Net: eth-0 [20230321_17:54:26] [20230321_17:54:26]Hit any key to stop autoboot: 1 [20230321_17:54:27] 0 [20230321_17:54:27] KERNEL: size:0x001a0000, offset:0x000c0000 [20230321_17:54:27] [20230321_17:54:27]SF: 1703936 bytes @ 0xc0000 Read: OK [20230321_17:54:27]## Booting kernel from Legacy Image at 80008000 ... [20230321_17:54:27] Image Name: Linux-4.4.192V2.4 [20230321_17:54:27] Image Type: ARM Linux Kernel Image (uncompressed) [20230321_17:54:27] Data Size: 1619736 Bytes = 1.5 MiB [20230321_17:54:27] Load Address: 80008000 [20230321_17:54:27] Entry Point: 80008040 [20230321_17:54:27] Verifying Checksum ... OK [20230321_17:54:27] XIP Kernel Image ... OK [20230321_17:54:27] kernel loaded at 0x80008000, end = 0x80193718 [20230321_17:54:27]using: FDT [20230321_17:54:27] [20230321_17:54:27]Starting kernel ... [20230321_17:54:27] [20230321_17:54:28]Uncompressing Linux... done, booting the kernel. [20230321_17:54:29]Booting Linux on physical CPU 0x0 [20230321_17:54:29]Linux version 4.4.192V2.4 (xiaozijie@anyka) (gcc version 4.9.4 (Buildroot 2018.02.7_V1.0.05-gec2d034) ) #32 Mon Mar 6 05:31:49 UTC 2023 [20230321_17:54:29]CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [20230321_17:54:29]CPU: VIVT data cache, VIVT instruction cache [20230321_17:54:29]Machine model: EVB_CBDR_AK3760E_V1.0.1 spinand board [20230321_17:54:29]Reserved memory: created CMA memory pool at 0x83000000, size 16 MiB [20230321_17:54:29]Reserved memory: initialized node cma_reserved@0x83000000, compatible id shared-dma-pool [20230321_17:54:29]Memory policy: Data cache writeback [20230321_17:54:29]ANYKA CPU AK37XXE (ID 0x201902) [20230321_17:54:29]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [20230321_17:54:29]Kernel command line: console=ttySAK0,115200n8 root=/dev/mtdblock7 rootfstype=yaffs2 init=/sbin/init mtdparts=spi0.0:128K@0x0(SPL),128K@0x20000(ENV),128K@0x40000(ENVBK),128K@0x60000(DTB),256K@0x80000(UBOOT),1664K@0xC0000(KERNEL),384K@0x260000(LOGO),10240K@0x2C0000(ROOTFS),10240K@0xCC0000(CONFIG),12288K@0x16C0000(APP) mem=64M memsize=64M [20230321_17:54:29]PID hash table entries: 256 (order: -2, 1024 bytes) [20230321_17:54:29]Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [20230321_17:54:29]Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [20230321_17:54:29]Memory: 23148K/65536K available (3178K kernel code, 127K rwdata, 1008K rodata, 140K init, 189K bss, 26004K reserved, 16384K cma-reserved) [20230321_17:54:29]Virtual kernel memory layout: [20230321_17:54:29] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [20230321_17:54:29] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [20230321_17:54:29] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [20230321_17:54:29] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [20230321_17:54:29] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [20230321_17:54:29] .text : 0xc0008000 - 0xc041eefc (4188 kB) [20230321_17:54:29] .init : 0xc041f000 - 0xc0442000 ( 140 kB) [20230321_17:54:29] .data : 0xc0442000 - 0xc0461d38 ( 128 kB) [20230321_17:54:29] .bss : 0xc0461d38 - 0xc0491358 ( 190 kB) [20230321_17:54:29]SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [20230321_17:54:29]NR_IRQS:153 [20230321_17:54:29]ak37e_clk: CPU(JCLK): 800(Mhz) [20230321_17:54:29]ak37e_clk: CPU(HCLK): 400(Mhz) [20230321_17:54:29]ak37e_clk: MEMDDR2(DPHY): 400(Mhz) [20230321_17:54:29]ak37e_clk: asic pll has inited! [20230321_17:54:29]ak37e_clk: ASIC: 500(Mhz) [20230321_17:54:29]ak37e_clk: VCLK: 250(Mhz) [20230321_17:54:29]ak37e_clk: audio_pll update @204800000 m 14 n 63 [20230321_17:54:29]ak-timer: ak_timer_init [20230321_17:54:29]clocksource: ak_cs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns [20230321_17:54:29]sched_clock: 32 bits at 12MHz, resolution 83ns, wraps every 178956970966ns [20230321_17:54:29]Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656) [20230321_17:54:29]pid_max: default: 32768 minimum: 301 [20230321_17:54:29]Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]CPU: Testing write buffer coherency: ok [20230321_17:54:29]Setting up static identity map for 0x80008400 - 0x80008458 [20230321_17:54:29]devtmpfs: initialized [20230321_17:54:29]clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [20230321_17:54:29]futex hash table entries: 256 (order: -1, 3072 bytes) [20230321_17:54:29]pinctrl core: initialized pinctrl subsystem [20230321_17:54:29]NET: Registered protocol family 16 [20230321_17:54:29]DMA: preallocated 256 KiB pool for atomic coherent allocations [20230321_17:54:29]On-chip L2 memory initialized [20230321_17:54:29]ak-pinctrl 20170000.gpio: ak_pinctrl_probe 1974 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe irq: 15 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe wakeup GPIO#(31) [20230321_17:54:29]media: Linux media interface: v0.10 [20230321_17:54:29]Linux video capture interface: v2.00 [20230321_17:54:29]clocksource: Switched to clocksource ak_cs_timer [20230321_17:54:29]NET: Registered protocol family 2 [20230321_17:54:29]TCP established hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP: Hash tables configured (established 1024 bind 1024) [20230321_17:54:29]UDP hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]NET: Registered protocol family 1 [20230321_17:54:29]AK Power Management, (c) 2021 ANYKA [20230321_17:54:29]ak_pm_probe , line:275 , pm Driver probe [20230321_17:54:29]squashfs: version 4.0 (2009/01/31) Phillip Lougher [20230321_17:54:29]jffs2: version 2.2. © 2001-2006 Red Hat, Inc. [20230321_17:54:29]io scheduler noop registered (default) [20230321_17:54:29]AKxx uart driver init, (c) 2013 ANYKA [20230321_17:54:29]20130000.uart0: ttySAK0 at MMIO 0x20130000 (irq = 10, base_baud = 7812500) is a AK [20230321_17:54:29]console [ttySAK0] enabled [20230321_17:54:29]loop: module loaded [20230321_17:54:29]Start to init Anyka SPI Flash... [20230321_17:54:29]init Anyka SPI Nand Flash driver [20230321_17:54:29]enter ak_spi_probe..., hw=c29c76a0, hw->clk=c2a09a20 [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 5 [20230321_17:54:29]<ak_spi_set_clk> SPI0 bus frequency is 83333333 HZ [20230321_17:54:29]ak spinandflash probe enter. [20230321_17:54:29]akspi nand ID: 0xc851c851 [20230321_17:54:29]flash->bus_width:4(note:1:1 wire, 2:2 wire, 4:4 wire) [20230321_17:54:29]ak-spinand spi0.0: GD5F1GQ5UEY1G (131072 Kbytes) [20230321_17:54:29]Scanning device for bad blocks [20230321_17:54:29]10 cmdlinepart partitions found on MTD device spi0.0 [20230321_17:54:29]Creating 10 MTD partitions on "spi0.0": [20230321_17:54:29]0x000000000000-0x000000020000 : "SPL" [20230321_17:54:29]0x000000020000-0x000000040000 : "ENV" [20230321_17:54:29]0x000000040000-0x000000060000 : "ENVBK" [20230321_17:54:29]0x000000060000-0x000000080000 : "DTB" [20230321_17:54:29]0x000000080000-0x0000000c0000 : "UBOOT" [20230321_17:54:29]0x0000000c0000-0x000000260000 : "KERNEL" [20230321_17:54:29]0x000000260000-0x0000002c0000 : "LOGO" [20230321_17:54:29]0x0000002c0000-0x000000cc0000 : "ROOTFS" [20230321_17:54:29]0x000000cc0000-0x0000016c0000 : "CONFIG" [20230321_17:54:29]0x0000016c0000-0x0000022c0000 : "APP" [20230321_17:54:29]Init AK SPI Flash finish. [20230321_17:54:29]akspi master SPI0 initialize success, use for PIO mode. [20230321_17:54:29]i2c /dev entries driver [20230321_17:54:29]ak_wdt_init: watchdog register... [20230321_17:54:29]NET: Registered protocol family 17 [20230321_17:54:29]sctp: Hash tables configured (established 512 bind 1024) [20230321_17:54:29]hctosys: unable to open rtc device (rtc0) [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 7 [20230321_17:54:29] [20230321_17:54:29]yaffs: dev is 32505863 name is "mtdblock7" ro [20230321_17:54:29]yaffs: passed flags "" [20230321_17:54:30]VFS: Mounted root (yaffs2 filesystem) readonly on device 31:7. [20230321_17:54:30]devtmpfs: mounted [20230321_17:54:30]Freeing unused kernel memory: 140K [20230321_17:54:30]random: init: uninitialized urandom read (4 bytes read, 9 bits of entropy available) [20230321_17:54:30]random: rcS: uninitialized urandom read (4 bytes read, 11 bits of entropy available) [20230321_17:54:30]mount all file system... [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mount: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]************************** [20230321_17:54:30] Love Linux ! ! ! [20230321_17:54:30]************************** [20230321_17:54:30]random: hostname: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: rc.local: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]/bin/mount -t yaffs2 /dev/mtdblock9 /usryaffs: dev is 32505865 name is "mtdblock9" rw [20230321_17:54:30] [20230321_17:54:30]yaffs: passed flags "" [20230321_17:54:31]/bin/mount -t yaffs2 /dev/mtdblock8 /etc/configyaffs: dev is 32505864 name is "mtdblock8" rw [20230321_17:54:31] [20230321_17:54:31]yaffs: passed flags "" [20230321_17:54:31]starting mdev... [20230321_17:54:31]~ # start telnet...... [20230321_17:54:31] __ [20230321_17:54:31] _ ____ \/ ____ __ [20230321_17:54:31] /\ | \ | |\ \ / /| |/ / /\ [20230321_17:54:31] / \ | \| | \ \/ / | ' / / \ [20230321_17:54:31] / /\ \ | . ' | \ / | < / /\ \ [20230321_17:54:31] / ____ \ | |\ | | | | . \ / ____ \ [20230321_17:54:31] /_/ \_\|_| \_| |__| |_|\_\/_/ \_\ [20230321_17:54:31] [20230321_17:54:32]ak_uio: register uio device successfully with irq: 26! [20230321_17:54:32]ak_uio: register uio device successfully with irq: 23! [20230321_17:54:32]ak_mac Ethernet Driver [20230321_17:54:32]ak_mac_probe, line:5808, mac_id:1 [20230321_17:54:32]insmod mac device ok [20230321_17:54:32]eth0 owns a shared interrupt on netdev->irq 31 [20230321_17:54:32]setting up the cable unplug timer1 for mac1 [20230321_17:54:32]udhcpc: started, v1.30.1 [20230321_17:54:32]udhcpc: sending discover [20230321_17:54:34]Autonegotiation Complete,loop_count:99999 [20230321_17:54:34]XZJ read reg:0x0 : 0x3100 [20230321_17:54:34]XZJ read reg:0x1 : 0x786d [20230321_17:54:34]XZJ read reg:0x2 : 0x2000 [20230321_17:54:34]XZJ read reg:0x3 : 0xa130 [20230321_17:54:34]XZJ read reg:0x4 : 0x1e1 [20230321_17:54:34]XZJ read reg:0x5 : 0xcde1 [20230321_17:54:34]XZJ read reg:0x6 : 0xf [20230321_17:54:34]XZJ read reg:0x7 : 0x2001 [20230321_17:54:34]XZJ read reg:0x8 : 0x0 [20230321_17:54:34]XZJ read reg:0x9 : 0x0 [20230321_17:54:34]XZJ read reg:0xa : 0x100 [20230321_17:54:34]XZJ read reg:0xb : 0x0 [20230321_17:54:34]XZJ read reg:0xc : 0x0 [20230321_17:54:34]XZJ read reg:0xd : 0x401f [20230321_17:54:34]XZJ read reg:0xe : 0x2c9f [20230321_17:54:34]XZJ read reg:0xf : 0x0 [20230321_17:54:34]XZJ read reg:0x10 : 0x615 [20230321_17:54:34]XZJ read reg:0x11 : 0x108 [20230321_17:54:34]XZJ read reg:0x12 : 0x6400 [20230321_17:54:34]XZJ read reg:0x13 : 0x2800 [20230321_17:54:34]XZJ read reg:0x14 : 0x0 [20230321_17:54:34]XZJ read reg:0x15 : 0x0 [20230321_17:54:34]XZJ read reg:0x16 : 0x100 [20230321_17:54:34]XZJ read reg:0x17 : 0xe5 [20230321_17:54:34]XZJ read reg:0x18 : 0x400 [20230321_17:54:34]XZJ read reg:0x19 : 0xcc01 [20230321_17:54:34]XZJ read reg:0x1a : 0x0 [20230321_17:54:34]XZJ read reg:0x1b : 0x7d [20230321_17:54:34]XZJ read reg:0x1c : 0x5ee [20230321_17:54:34]XZJ read reg:0x1d : 0x0 [20230321_17:54:34]XZJ read reg:0x1e : 0x102 [20230321_17:54:34]XZJ read reg:0x1f : 0x0 [20230321_17:54:34]XZJ read reg:0x468 : 0x2c9f [20230321_17:54:34]XZJ read reg:0x467 : 0x164 [20230321_17:54:34]ak_gmac_check_phy_init 4410, enter [20230321_17:54:34]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:54:35]udhcpc: sending discover [20230321_17:54:38]udhcpc: sending discover [20230321_17:54:41]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:54:46]~ # ifconfig [20230321_17:54:46]eth0 Link encap:Ethernet HWaddr 2A:8B:87:37:39:88 [20230321_17:54:46] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 [20230321_17:54:46] RX packets:95 errors:0 dropped:39 overruns:0 frame:0 [20230321_17:54:46] TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1000 [20230321_17:54:46] RX bytes:22500 (21.9 KiB) TX bytes:1026 (1.0 KiB) [20230321_17:54:46] Interrupt:31 Base address:0x8000 [20230321_17:54:46] [20230321_17:54:46]lo Link encap:Local Loopback [20230321_17:54:46] inet addr:127.0.0.1 Mask:255.0.0.0 [20230321_17:54:46] UP LOOPBACK RUNNING MTU:65536 Metric:1 [20230321_17:54:46] RX packets:0 errors:0 dropped:0 overruns:0 frame:0 [20230321_17:54:46] TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1 [20230321_17:54:46] RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) [20230321_17:54:46] [20230321_17:54:51]~ # [20230321_17:54:51]~ # [20230321_17:55:01]~ # udhcpc: sending discover [20230321_17:55:04]udhcpc: sending discover [20230321_17:55:07]udhcpc: sending discover [20230321_17:55:10]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:55:15]Autonegotiation Complete,loop_count:99999 [20230321_17:55:15]XZJ read reg:0x0 : 0x3100 [20230321_17:55:15]XZJ read reg:0x1 : 0x786d [20230321_17:55:15]XZJ read reg:0x2 : 0x2000 [20230321_17:55:15]XZJ read reg:0x3 : 0xa130 [20230321_17:55:15]XZJ read reg:0x4 : 0x1e1 [20230321_17:55:15]XZJ read reg:0x5 : 0xc5e1 [20230321_17:55:15]XZJ read reg:0x6 : 0xf [20230321_17:55:15]XZJ read reg:0x7 : 0x2001 [20230321_17:55:15]XZJ read reg:0x8 : 0x0 [20230321_17:55:15]XZJ read reg:0x9 : 0x0 [20230321_17:55:15]XZJ read reg:0xa : 0x100 [20230321_17:55:15]XZJ read reg:0xb : 0x0 [20230321_17:55:15]XZJ read reg:0xc : 0x0 [20230321_17:55:15]XZJ read reg:0xd : 0x401f [20230321_17:55:15]XZJ read reg:0xe : 0x164 [20230321_17:55:15]XZJ read reg:0xf : 0x0 [20230321_17:55:15]XZJ read reg:0x10 : 0x4e15 [20230321_17:55:15]XZJ read reg:0x11 : 0x108 [20230321_17:55:15]XZJ read reg:0x12 : 0xe600 [20230321_17:55:15]XZJ read reg:0x13 : 0x2800 [20230321_17:55:15]XZJ read reg:0x14 : 0x0 [20230321_17:55:15]XZJ read reg:0x15 : 0x0 [20230321_17:55:15]XZJ read reg:0x16 : 0x100 [20230321_17:55:15]XZJ read reg:0x17 : 0xe5 [20230321_17:55:15]XZJ read reg:0x18 : 0x400 [20230321_17:55:15]XZJ read reg:0x19 : 0xcc01 [20230321_17:55:15]XZJ read reg:0x1a : 0x0 [20230321_17:55:15]XZJ read reg:0x1b : 0x7d [20230321_17:55:15]XZJ read reg:0x1c : 0x5ee [20230321_17:55:15]XZJ read reg:0x1d : 0x0 [20230321_17:55:15]XZJ read reg:0x1e : 0x102 [20230321_17:55:15]XZJ read reg:0x1f : 0x0 [20230321_17:55:15]XZJ read reg:0x468 : 0x2c9f [20230321_17:55:15]XZJ read reg:0x467 : 0x164 [20230321_17:55:15]ak_gmac_check_phy_init 4410, enter [20230321_17:55:15]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:55:30]udhcpc: sending discover [20230321_17:55:33]udhcpc: sending discover [20230321_17:55:37]udhcpc: sending discover [20230321_17:55:37][20230321_17:55:37]
Hi Ning,
From the register data, I can see that the link is up in 100Mbps full duplex mode, and the PHY is in RMII slave mode. From the PHYs perspective, there are no issues here.
What do you mean by "For Mac,now the Phy can connect but no net." Please send any applicable screenshots.
Thanks,
David
Hi David,
I have talk about customer,they said that "For Mac,now the Phy can connect but no net." you can find out this appearance at attachfile.
And now they will double check the software.
Thanks
[20230321_17:54:21][20230321_17:54:21] [20230321_17:54:25]A [20230321_17:54:25]SPL 2013.10.0-V3.1.33 [20230321_17:54:25]Jumping to U-Boot [20230321_17:54:25] [20230321_17:54:25] [20230321_17:54:25]U-Boot 2013.10.0-V3.1.33 (Mar 21 2023 - 09:21:15) [20230321_17:54:25] [20230321_17:54:25]uboot display lcd logo! [20230321_17:54:25]DRAM: 64 MiB [20230321_17:54:25]128 MiB [20230321_17:54:25]DTB no mmc info [20230321_17:54:26]ak_fb: srgb device is not enable [20230321_17:54:26]In: serial [20230321_17:54:26]Out: serial [20230321_17:54:26]Err: serial [20230321_17:54:26]Net: eth-0 [20230321_17:54:26] [20230321_17:54:26]Hit any key to stop autoboot: 1 [20230321_17:54:27] 0 [20230321_17:54:27] KERNEL: size:0x001a0000, offset:0x000c0000 [20230321_17:54:27] [20230321_17:54:27]SF: 1703936 bytes @ 0xc0000 Read: OK [20230321_17:54:27]## Booting kernel from Legacy Image at 80008000 ... [20230321_17:54:27] Image Name: Linux-4.4.192V2.4 [20230321_17:54:27] Image Type: ARM Linux Kernel Image (uncompressed) [20230321_17:54:27] Data Size: 1619736 Bytes = 1.5 MiB [20230321_17:54:27] Load Address: 80008000 [20230321_17:54:27] Entry Point: 80008040 [20230321_17:54:27] Verifying Checksum ... OK [20230321_17:54:27] XIP Kernel Image ... OK [20230321_17:54:27] kernel loaded at 0x80008000, end = 0x80193718 [20230321_17:54:27]using: FDT [20230321_17:54:27] [20230321_17:54:27]Starting kernel ... [20230321_17:54:27] [20230321_17:54:28]Uncompressing Linux... done, booting the kernel. [20230321_17:54:29]Booting Linux on physical CPU 0x0 [20230321_17:54:29]Linux version 4.4.192V2.4 (xiaozijie@anyka) (gcc version 4.9.4 (Buildroot 2018.02.7_V1.0.05-gec2d034) ) #32 Mon Mar 6 05:31:49 UTC 2023 [20230321_17:54:29]CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f [20230321_17:54:29]CPU: VIVT data cache, VIVT instruction cache [20230321_17:54:29]Machine model: EVB_CBDR_AK3760E_V1.0.1 spinand board [20230321_17:54:29]Reserved memory: created CMA memory pool at 0x83000000, size 16 MiB [20230321_17:54:29]Reserved memory: initialized node cma_reserved@0x83000000, compatible id shared-dma-pool [20230321_17:54:29]Memory policy: Data cache writeback [20230321_17:54:29]ANYKA CPU AK37XXE (ID 0x201902) [20230321_17:54:29]Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [20230321_17:54:29]Kernel command line: console=ttySAK0,115200n8 root=/dev/mtdblock7 rootfstype=yaffs2 init=/sbin/init mtdparts=spi0.0:128K@0x0(SPL),128K@0x20000(ENV),128K@0x40000(ENVBK),128K@0x60000(DTB),256K@0x80000(UBOOT),1664K@0xC0000(KERNEL),384K@0x260000(LOGO),10240K@0x2C0000(ROOTFS),10240K@0xCC0000(CONFIG),12288K@0x16C0000(APP) mem=64M memsize=64M [20230321_17:54:29]PID hash table entries: 256 (order: -2, 1024 bytes) [20230321_17:54:29]Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [20230321_17:54:29]Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [20230321_17:54:29]Memory: 23148K/65536K available (3178K kernel code, 127K rwdata, 1008K rodata, 140K init, 189K bss, 26004K reserved, 16384K cma-reserved) [20230321_17:54:29]Virtual kernel memory layout: [20230321_17:54:29] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [20230321_17:54:29] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [20230321_17:54:29] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [20230321_17:54:29] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [20230321_17:54:29] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [20230321_17:54:29] .text : 0xc0008000 - 0xc041eefc (4188 kB) [20230321_17:54:29] .init : 0xc041f000 - 0xc0442000 ( 140 kB) [20230321_17:54:29] .data : 0xc0442000 - 0xc0461d38 ( 128 kB) [20230321_17:54:29] .bss : 0xc0461d38 - 0xc0491358 ( 190 kB) [20230321_17:54:29]SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [20230321_17:54:29]NR_IRQS:153 [20230321_17:54:29]ak37e_clk: CPU(JCLK): 800(Mhz) [20230321_17:54:29]ak37e_clk: CPU(HCLK): 400(Mhz) [20230321_17:54:29]ak37e_clk: MEMDDR2(DPHY): 400(Mhz) [20230321_17:54:29]ak37e_clk: asic pll has inited! [20230321_17:54:29]ak37e_clk: ASIC: 500(Mhz) [20230321_17:54:29]ak37e_clk: VCLK: 250(Mhz) [20230321_17:54:29]ak37e_clk: audio_pll update @204800000 m 14 n 63 [20230321_17:54:29]ak-timer: ak_timer_init [20230321_17:54:29]clocksource: ak_cs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 159271703898 ns [20230321_17:54:29]sched_clock: 32 bits at 12MHz, resolution 83ns, wraps every 178956970966ns [20230321_17:54:29]Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656) [20230321_17:54:29]pid_max: default: 32768 minimum: 301 [20230321_17:54:29]Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]CPU: Testing write buffer coherency: ok [20230321_17:54:29]Setting up static identity map for 0x80008400 - 0x80008458 [20230321_17:54:29]devtmpfs: initialized [20230321_17:54:29]clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [20230321_17:54:29]futex hash table entries: 256 (order: -1, 3072 bytes) [20230321_17:54:29]pinctrl core: initialized pinctrl subsystem [20230321_17:54:29]NET: Registered protocol family 16 [20230321_17:54:29]DMA: preallocated 256 KiB pool for atomic coherent allocations [20230321_17:54:29]On-chip L2 memory initialized [20230321_17:54:29]ak-pinctrl 20170000.gpio: ak_pinctrl_probe 1974 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe irq: 15 [20230321_17:54:29]ak_37e_pinctrl: ak_pinctrl_probe wakeup GPIO#(31) [20230321_17:54:29]media: Linux media interface: v0.10 [20230321_17:54:29]Linux video capture interface: v2.00 [20230321_17:54:29]clocksource: Switched to clocksource ak_cs_timer [20230321_17:54:29]NET: Registered protocol family 2 [20230321_17:54:29]TCP established hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [20230321_17:54:29]TCP: Hash tables configured (established 1024 bind 1024) [20230321_17:54:29]UDP hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [20230321_17:54:29]NET: Registered protocol family 1 [20230321_17:54:29]AK Power Management, (c) 2021 ANYKA [20230321_17:54:29]ak_pm_probe , line:275 , pm Driver probe [20230321_17:54:29]squashfs: version 4.0 (2009/01/31) Phillip Lougher [20230321_17:54:29]jffs2: version 2.2. © 2001-2006 Red Hat, Inc. [20230321_17:54:29]io scheduler noop registered (default) [20230321_17:54:29]AKxx uart driver init, (c) 2013 ANYKA [20230321_17:54:29]20130000.uart0: ttySAK0 at MMIO 0x20130000 (irq = 10, base_baud = 7812500) is a AK [20230321_17:54:29]console [ttySAK0] enabled [20230321_17:54:29]loop: module loaded [20230321_17:54:29]Start to init Anyka SPI Flash... [20230321_17:54:29]init Anyka SPI Nand Flash driver [20230321_17:54:29]enter ak_spi_probe..., hw=c29c76a0, hw->clk=c2a09a20 [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 5 [20230321_17:54:29]<ak_spi_set_clk> SPI0 bus frequency is 83333333 HZ [20230321_17:54:29]ak spinandflash probe enter. [20230321_17:54:29]akspi nand ID: 0xc851c851 [20230321_17:54:29]flash->bus_width:4(note:1:1 wire, 2:2 wire, 4:4 wire) [20230321_17:54:29]ak-spinand spi0.0: GD5F1GQ5UEY1G (131072 Kbytes) [20230321_17:54:29]Scanning device for bad blocks [20230321_17:54:29]10 cmdlinepart partitions found on MTD device spi0.0 [20230321_17:54:29]Creating 10 MTD partitions on "spi0.0": [20230321_17:54:29]0x000000000000-0x000000020000 : "SPL" [20230321_17:54:29]0x000000020000-0x000000040000 : "ENV" [20230321_17:54:29]0x000000040000-0x000000060000 : "ENVBK" [20230321_17:54:29]0x000000060000-0x000000080000 : "DTB" [20230321_17:54:29]0x000000080000-0x0000000c0000 : "UBOOT" [20230321_17:54:29]0x0000000c0000-0x000000260000 : "KERNEL" [20230321_17:54:29]0x000000260000-0x0000002c0000 : "LOGO" [20230321_17:54:29]0x0000002c0000-0x000000cc0000 : "ROOTFS" [20230321_17:54:29]0x000000cc0000-0x0000016c0000 : "CONFIG" [20230321_17:54:29]0x0000016c0000-0x0000022c0000 : "APP" [20230321_17:54:29]Init AK SPI Flash finish. [20230321_17:54:29]akspi master SPI0 initialize success, use for PIO mode. [20230321_17:54:29]i2c /dev entries driver [20230321_17:54:29]ak_wdt_init: watchdog register... [20230321_17:54:29]NET: Registered protocol family 17 [20230321_17:54:29]sctp: Hash tables configured (established 512 bind 1024) [20230321_17:54:29]hctosys: unable to open rtc device (rtc0) [20230321_17:54:29]ak37e_clk: reset_module:0xf0008020 @ 7 [20230321_17:54:29] [20230321_17:54:29]yaffs: dev is 32505863 name is "mtdblock7" ro [20230321_17:54:29]yaffs: passed flags "" [20230321_17:54:30]VFS: Mounted root (yaffs2 filesystem) readonly on device 31:7. [20230321_17:54:30]devtmpfs: mounted [20230321_17:54:30]Freeing unused kernel memory: 140K [20230321_17:54:30]random: init: uninitialized urandom read (4 bytes read, 9 bits of entropy available) [20230321_17:54:30]random: rcS: uninitialized urandom read (4 bytes read, 11 bits of entropy available) [20230321_17:54:30]mount all file system... [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mount: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: mkdir: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]************************** [20230321_17:54:30] Love Linux ! ! ! [20230321_17:54:30]************************** [20230321_17:54:30]random: hostname: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]random: rc.local: uninitialized urandom read (4 bytes read, 13 bits of entropy available) [20230321_17:54:30]/bin/mount -t yaffs2 /dev/mtdblock9 /usryaffs: dev is 32505865 name is "mtdblock9" rw [20230321_17:54:30] [20230321_17:54:30]yaffs: passed flags "" [20230321_17:54:31]/bin/mount -t yaffs2 /dev/mtdblock8 /etc/configyaffs: dev is 32505864 name is "mtdblock8" rw [20230321_17:54:31] [20230321_17:54:31]yaffs: passed flags "" [20230321_17:54:31]starting mdev... [20230321_17:54:31]~ # start telnet...... [20230321_17:54:31] __ [20230321_17:54:31] _ ____ \/ ____ __ [20230321_17:54:31] /\ | \ | |\ \ / /| |/ / /\ [20230321_17:54:31] / \ | \| | \ \/ / | ' / / \ [20230321_17:54:31] / /\ \ | . ' | \ / | < / /\ \ [20230321_17:54:31] / ____ \ | |\ | | | | . \ / ____ \ [20230321_17:54:31] /_/ \_\|_| \_| |__| |_|\_\/_/ \_\ [20230321_17:54:31] [20230321_17:54:32]ak_uio: register uio device successfully with irq: 26! [20230321_17:54:32]ak_uio: register uio device successfully with irq: 23! [20230321_17:54:32]ak_mac Ethernet Driver [20230321_17:54:32]ak_mac_probe, line:5808, mac_id:1 [20230321_17:54:32]insmod mac device ok [20230321_17:54:32]eth0 owns a shared interrupt on netdev->irq 31 [20230321_17:54:32]setting up the cable unplug timer1 for mac1 [20230321_17:54:32]udhcpc: started, v1.30.1 [20230321_17:54:32]udhcpc: sending discover [20230321_17:54:34]Autonegotiation Complete,loop_count:99999 [20230321_17:54:34]XZJ read reg:0x0 : 0x3100 [20230321_17:54:34]XZJ read reg:0x1 : 0x786d [20230321_17:54:34]XZJ read reg:0x2 : 0x2000 [20230321_17:54:34]XZJ read reg:0x3 : 0xa130 [20230321_17:54:34]XZJ read reg:0x4 : 0x1e1 [20230321_17:54:34]XZJ read reg:0x5 : 0xcde1 [20230321_17:54:34]XZJ read reg:0x6 : 0xf [20230321_17:54:34]XZJ read reg:0x7 : 0x2001 [20230321_17:54:34]XZJ read reg:0x8 : 0x0 [20230321_17:54:34]XZJ read reg:0x9 : 0x0 [20230321_17:54:34]XZJ read reg:0xa : 0x100 [20230321_17:54:34]XZJ read reg:0xb : 0x0 [20230321_17:54:34]XZJ read reg:0xc : 0x0 [20230321_17:54:34]XZJ read reg:0xd : 0x401f [20230321_17:54:34]XZJ read reg:0xe : 0x2c9f [20230321_17:54:34]XZJ read reg:0xf : 0x0 [20230321_17:54:34]XZJ read reg:0x10 : 0x615 [20230321_17:54:34]XZJ read reg:0x11 : 0x108 [20230321_17:54:34]XZJ read reg:0x12 : 0x6400 [20230321_17:54:34]XZJ read reg:0x13 : 0x2800 [20230321_17:54:34]XZJ read reg:0x14 : 0x0 [20230321_17:54:34]XZJ read reg:0x15 : 0x0 [20230321_17:54:34]XZJ read reg:0x16 : 0x100 [20230321_17:54:34]XZJ read reg:0x17 : 0xe5 [20230321_17:54:34]XZJ read reg:0x18 : 0x400 [20230321_17:54:34]XZJ read reg:0x19 : 0xcc01 [20230321_17:54:34]XZJ read reg:0x1a : 0x0 [20230321_17:54:34]XZJ read reg:0x1b : 0x7d [20230321_17:54:34]XZJ read reg:0x1c : 0x5ee [20230321_17:54:34]XZJ read reg:0x1d : 0x0 [20230321_17:54:34]XZJ read reg:0x1e : 0x102 [20230321_17:54:34]XZJ read reg:0x1f : 0x0 [20230321_17:54:34]XZJ read reg:0x468 : 0x2c9f [20230321_17:54:34]XZJ read reg:0x467 : 0x164 [20230321_17:54:34]ak_gmac_check_phy_init 4410, enter [20230321_17:54:34]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:54:35]udhcpc: sending discover [20230321_17:54:38]udhcpc: sending discover [20230321_17:54:41]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:54:46]~ # ifconfig [20230321_17:54:46]eth0 Link encap:Ethernet HWaddr 2A:8B:87:37:39:88 [20230321_17:54:46] UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 [20230321_17:54:46] RX packets:95 errors:0 dropped:39 overruns:0 frame:0 [20230321_17:54:46] TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1000 [20230321_17:54:46] RX bytes:22500 (21.9 KiB) TX bytes:1026 (1.0 KiB) [20230321_17:54:46] Interrupt:31 Base address:0x8000 [20230321_17:54:46] [20230321_17:54:46]lo Link encap:Local Loopback [20230321_17:54:46] inet addr:127.0.0.1 Mask:255.0.0.0 [20230321_17:54:46] UP LOOPBACK RUNNING MTU:65536 Metric:1 [20230321_17:54:46] RX packets:0 errors:0 dropped:0 overruns:0 frame:0 [20230321_17:54:46] TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 [20230321_17:54:46] collisions:0 txqueuelen:1 [20230321_17:54:46] RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) [20230321_17:54:46] [20230321_17:54:51]~ # [20230321_17:54:51]~ # [20230321_17:55:01]~ # udhcpc: sending discover [20230321_17:55:04]udhcpc: sending discover [20230321_17:55:07]udhcpc: sending discover [20230321_17:55:10]Usage: /usr/share/udhcpc/default.script {bound|renew|deconfig} [20230321_17:55:15]Autonegotiation Complete,loop_count:99999 [20230321_17:55:15]XZJ read reg:0x0 : 0x3100 [20230321_17:55:15]XZJ read reg:0x1 : 0x786d [20230321_17:55:15]XZJ read reg:0x2 : 0x2000 [20230321_17:55:15]XZJ read reg:0x3 : 0xa130 [20230321_17:55:15]XZJ read reg:0x4 : 0x1e1 [20230321_17:55:15]XZJ read reg:0x5 : 0xc5e1 [20230321_17:55:15]XZJ read reg:0x6 : 0xf [20230321_17:55:15]XZJ read reg:0x7 : 0x2001 [20230321_17:55:15]XZJ read reg:0x8 : 0x0 [20230321_17:55:15]XZJ read reg:0x9 : 0x0 [20230321_17:55:15]XZJ read reg:0xa : 0x100 [20230321_17:55:15]XZJ read reg:0xb : 0x0 [20230321_17:55:15]XZJ read reg:0xc : 0x0 [20230321_17:55:15]XZJ read reg:0xd : 0x401f [20230321_17:55:15]XZJ read reg:0xe : 0x164 [20230321_17:55:15]XZJ read reg:0xf : 0x0 [20230321_17:55:15]XZJ read reg:0x10 : 0x4e15 [20230321_17:55:15]XZJ read reg:0x11 : 0x108 [20230321_17:55:15]XZJ read reg:0x12 : 0xe600 [20230321_17:55:15]XZJ read reg:0x13 : 0x2800 [20230321_17:55:15]XZJ read reg:0x14 : 0x0 [20230321_17:55:15]XZJ read reg:0x15 : 0x0 [20230321_17:55:15]XZJ read reg:0x16 : 0x100 [20230321_17:55:15]XZJ read reg:0x17 : 0xe5 [20230321_17:55:15]XZJ read reg:0x18 : 0x400 [20230321_17:55:15]XZJ read reg:0x19 : 0xcc01 [20230321_17:55:15]XZJ read reg:0x1a : 0x0 [20230321_17:55:15]XZJ read reg:0x1b : 0x7d [20230321_17:55:15]XZJ read reg:0x1c : 0x5ee [20230321_17:55:15]XZJ read reg:0x1d : 0x0 [20230321_17:55:15]XZJ read reg:0x1e : 0x102 [20230321_17:55:15]XZJ read reg:0x1f : 0x0 [20230321_17:55:15]XZJ read reg:0x468 : 0x2c9f [20230321_17:55:15]XZJ read reg:0x467 : 0x164 [20230321_17:55:15]ak_gmac_check_phy_init 4410, enter [20230321_17:55:15]ak_gmac_check_phy_init 4429, Speed reg val:0xf [20230321_17:55:30]udhcpc: sending discover [20230321_17:55:33]udhcpc: sending discover [20230321_17:55:37]udhcpc: sending discover [20230321_17:55:37][20230321_17:55:37]
Hi Ning,
In the text file, I see eth0 is up and:
"RX packets:95 errors:0 dropped:39 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000"
What line in the file shows "but no net"?
Can you perform a ping command?
Thanks,
David