Other Parts Discussed in Thread: 66AK2H12
Hello,
I have some problems trying to start up the Ethernet on our device with 66AK2H12 and u-boot from Arago repository.
I’ve connected the network interface to Port 4. I’m able to start the device using Ethernet boot and run U-boot. However, once the U-boot is up, interface becomes non-functional. For example, when I run the DHCP to acquire the IP address, I see that the 66AK2H12 sends proper “DHCP Discover” frames. The DHCP server sends “DHCP Offer” as a response. However, it looks like that the Rx data is not processed by the CPU (packets are dropped?), because after a few seconds the device sends “DHCP Discover” frame again. The same happens with
I assume that it has something to do with eth_priv_cfg structure in u-boot. Currently I define the interface as shown below:
eth_priv_t eth_priv_cfg[] = {
{
.int_name = "TCI6638_EMAC1",
.rx_flow = 23,
.phy_addr = 0,
.slave_port = 4,
.sgmii_link_type = SGMII_LINK_MAC_MAC_AUTONEG,
},
};
Is there any relation between rx_flow value and the port that’s being used?
Kind regards,
Krzysztof Olejarczyk