also this is my uboot log:
U-Boot 2019.04-gc873063750 (Jun 27 2019 - 15:04:48 +0800)
CPU: Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
Clock Configuration:
CPU0(ARMV7):1200 MHz,
Bus:300 MHz, DDR:800 MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
00000000: 0608000c 00000000 00000000 00000000
00000010: 30000000 00007900 60040a00 21046000
00000020: 00000000 00000000 00000000 20000000
00000030: 00080000 881b7340 00000000 00000000
Model: LS1021A TWR Board
Board: LS1021ATWR
CPLD: V3.3
PCBA: V2.0
VBank: 0
I2C: ready
DRAM: 1 GiB
Using SERDES1 Protocol: 48 (0x30)
Flash: 128 MiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: eTSEC1 is in sgmii mode.
eTSEC2 is in sgmii mode.
FSL_MDIO:2 is connected to eTSEC1. Reconnecting to eTSEC2
PCIe0: pcie@3400000 Root Complex: x1 gen1
PCIe1: pcie@3500000 disabled
eTSEC1 [PRIME], eTSEC2, eTSEC3
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Scanning mmc 0:2...
Found U-Boot script /ls1021atwr_boot.scr
925 bytes read in 11 ms (82 KiB/s)
## Executing script at 80000000
10412608 bytes read in 486 ms (20.4 MiB/s)
18440 bytes read in 13 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-4.19.46
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 10412544 Bytes = 9.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 90000000
Booting using the fdt blob at 0x90000000
Loading Kernel Image ... OK
Using Device Tree in place at 90000000, end 90007807
Starting kernel ...
It tells me that PCIe0: pcie@3400000 Root Complex: x1 gen1
is linked with a network card
But
root@localhost:/sys/class/net# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 560 bytes 39760 (39.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 560 bytes 39760 (39.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp1s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e8:2a:44:84:cb:9f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
this tells me wlp1s0 is an Ethernet type and when I perform iwlist wlp1s0 scan it says does not support scanning