Skip to content

Add the required DT parts to enable Ethernet (dwmac-sun8i driver) on #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sunxi-v2017.x
Choose a base branch
from
Open

Conversation

zhang415768974
Copy link

@zhang415768974 zhang415768974 commented Sep 22, 2018

Add the required DT parts to enable Ethernet (dwmac-sun8i driver) on the Nano Pi NEO2/NEO-Plus2 board. We can use nfs or nfsrootfs in Bootloader. Same as you do #2

Before

U-Boot 2017.11-04983-g859ef0e5df (Sep 22 2018 - 17:58:06 +0800) Allwinner Technology
CPU:   Allwinner H5 (SUN50I)
Model: FriendlyElec NanoPi H5
DRAM:  1 GiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-neo-plus2
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
starting USB...
No controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No controllers found
No ethernet found.

After

U-Boot 2017.11-04983-g859ef0e5df-dirty (Sep 22 2018 - 18:00:58 +0800) Allwinner Technology

CPU:   Allwinner H5 (SUN50I)
Model: FriendlyElec NanoPi H5
DRAM:  1 GiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
BOARD: nanopi-neo-plus2
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
=> setenv ipaddr 192.168.0.105
=> ping 192.168.0.101
Using ethernet@1c30000 device
host 192.168.0.101 is alive
=> setenv serverip 192.168.0.101
=> nfs 0x46000000 /home/www/arm/zImage
###########################################################T ######
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
done
Bytes transferred = 3834032 (3a80b0 hex)

> 

the Nano Pi NEO2/NEO-Plus2 board. We can use nfs or nfsrootfs in bootloader.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant