Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add network card driver to uboot under Android6.0

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to add network card driver to uboot under Android6.0". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to add network card driver to uboot under Android6.0.

This document adds a network card drive to the uboot of iTOP-iMX6Q and iTOP-iMX6Q-PLUS Android 6.0.

Move, after adding the network card driver, uboot can use the network normally.

1 concrete steps

1.1 modify the mx6sabre_common.h file

Enter the following command in the iTOP-iMX6_android6.0.1 source directory to open the mx6sabre_common.h text

Pieces.

The modification is completed as shown in the following figure:

1.2 modify the phy.c file

Enter the following command in the iTOP-iMX6_android6.0.1 source directory to open the phy.c file.

Vi iTOP-iMX6_android6.0.1/bootable/bootloader/uboot-imx/drivers/net/phy/phy.c

Find the get_phy_id function and add a delay to the get_phy_id function. Add the code as follows:

Mdelay (10)

The addition is completed as shown in the following figure:

Thank you for reading, the above is the content of "how to add network card driver to uboot under Android6.0". After the study of this article, I believe you have a deeper understanding of how to add network card driver to uboot under Android6.0, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report