Jump to content

SOLVED - Clearfog Pro PCI-e card only detected in slot 2 in Armbian


Technicavolous

Recommended Posts

EDIT: only the card in what I'm calling slot two is detected by lspci. 

wifi card near SoM -

 

at boot

PCI-e 0: Detected No Link.
PCI-e 2 (IF 1 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1

...

once booted

root@clearfogpro:~# lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)

 

wifi card in slot nearer edge of board -

 

at boot
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 1: Detected No Link.

...

once booted
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

 

This wifi card -

https://www.amazon.com/gp/product/B011SI4544/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1

 

Here is the full log of both boots

Spoiler


on - Version: 1.0.0
Detected Device ID 6828
High speed PHY - Version: 2.0

Init Customer board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  3   |  SATA0      |
 |   1    |  0   |  SGMII1     |
 |   2    |  5   |  PCIe1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe2      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
PCIe, Idx 1: detected no link
PCIe, Idx 2: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.39.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01-gf906e3d-dirty (Dec 01 2016 - 23:19:59) Marvell version: 2015_T1.
0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
sdhci_transfer_data: Error detected in status(0x408000)!
PCI-e 0: Detected No Link.
PCI-e 2 (IF 1 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1

USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed4000:0x3ff980cc
       BSS:                     0x3ffefd5c
       Stack:                   0x3f9c3f20
       Heap:                    0x3f9c4000:0x3fed4000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0

Marvell Serial ATA Adapter
no device found

(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
sdhci_transfer_data: Error detected in status(0x408000)!

scanning ide devices beginning from: 0:1
No ide devices found

scanning usb devices beginning from: 0:1
No usb devices found

scanning mmc devices beginning from: 0:1

try to load script from mmc 0:1
706 bytes read in 11 ms (62.5 KiB/s)
Loading dtb/armada-388-clearfog-base.dtb to 0x1000000
18822 bytes read in 19 ms (966.8 KiB/s)
Loading zImage to 0x2000000 ...
5522584 bytes read in 297 ms (17.7 MiB/s)
Booting ...
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   reserving fdt memory region: addr=1000000 size=5000
   Loading Device Tree to 07a0a000, end 07a11fff ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...


Welcome to Ubuntu 16.04.3 LTS!

[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Mounting Debug File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Starting Nameserver information manager...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
         Mounting POSIX Message Queue File System...
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Listening on Syslog Socket.
         Starting Remount Root and Kernel File Systems...
         Starting Set console keymap...
[  OK  ] Reached target Swap.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Set console keymap.
[  OK  ] Started Nameserver information manager.
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Reached target Local File Systems.
         Starting LSB: Restore and store ALSA driver settings...
         Starting Set console font and keymap...
         Starting Armbian enhanced Log2Ram...
[  OK  ] Started LSB: Restore and store ALSA driver settings.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started Armbian enhanced Log2Ram.
         Starting Journal Service...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
         Starting Login Service...
         Starting Initializes zram swaping...
         Starting LSB: Armbian gathering hardware information...
         Starting Permit User Sessions...
         Starting System Logging Service...
[  OK  ] Reached target Network (Pre).
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started System Logging Service.
[  OK  ] Started Initializes zram swaping.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started Login Service.
         Starting Set console scheme...
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Set console scheme.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Reached target Network is Online.
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Advanced IEEE 802.11 management daemon...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Start NTP daemon...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.3 LTS clearfogpro ttyS0

clearfogpro login: root
Password:
Last login: Sat Jan 27 12:14:57 UTC 2018 on ttyS0
  ____ _                  __               ____
 / ___| | ___  __ _ _ __ / _| ___   __ _  |  _ \ _ __ ___
| |   | |/ _ \/ _` | '__| |_ / _ \ / _` | | |_) | '__/ _ \
| |___| |  __/ (_| | |  |  _| (_) | (_| | |  __/| | | (_) |
 \____|_|\___|\__,_|_|  |_|  \___/ \__, | |_|   |_|  \___/
                                   |___/

Welcome to ARMBIAN 5.38 stable Ubuntu 16.04.3 LTS 4.14.14-mvebu
System load:   0.15 0.03 0.01   Up time:       0 min
Memory usage:  3 % of 1003MB    IP:
CPU temp:      43°C
Usage of /:    14% of 7.0G

[ 0 security updates available, 34 updates total: apt upgrade ]
Last check: 2018-01-27 12:15

[ General system configuration (beta): armbian-config ]


root@clearfogpro:~# lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04
)
root@clearfogpro:~# wifi card is in slot nearest SoM
The program 'wifi' is currently not installed. You can install it by typing:
apt install tlp
root@clearfogpro:~# shutdown -h now
[  OK  ] Stopped target T         Stopping Session 2 of user root.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: Start NTP daemon...
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping LSB: Armbian gathering hardware information...
         Stopping Regular background program processing daemon...
         Stopping OpenBSD Secure Shell server...
         Stopping Initializes zram swaping...
         Stopping D-Bus System Message Bus...
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping LSB: disk temperature monitoring daemon...
         Stopping System Logging Service...
         Stopping Unattended Upgrades Shutdown...
[  OK  ] Stopped target Login Prompts.
         Stopping Serial Getty on ttyS0...
         Stopping Getty on tty1...
         Stopping User Manager for UID 0...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Deactivated swap /dev/zram1.
[  OK  ] Deactivated swap /dev/zram0.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped Session 2 of user root.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped Initializes zram swaping.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped Unattended Upgrades Shutdown.
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Removed slice User Slice of root.
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping Permit User Sessions...
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped target Network (Pre).
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Entropy daemon using the HAVEGE algorithm...
[  OK  ] Stopped target Swap.
         Stopping Armbian enhanced Log2Ram...
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
         Stopping Restore / save the current clock...
[  OK  ] Stopped target Encrypted Volumes.
         Stopping LSB: Restore and store ALSA driver settings...
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Unmounted /var/log.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Stopped Armbian enhanced Log2Ram.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped LSB: Restore and store ALSA driver settings.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/user/0...
         Unmounting /tmp...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Unmounted /run/user/0.
[  OK  ] Unmounted /tmp.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[   59.141140] reboot: System halted
on - Version: 1.0.0
Detected Device ID 6828
High speed PHY - Version: 2.0

Init Customer board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  3   |  SATA0      |
 |   1    |  0   |  SGMII1     |
 |   2    |  5   |  PCIe1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe2      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
PCIe, Idx 1: detected no link
PCIe, Idx 2: detected no link

High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.39.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01-gf906e3d-dirty (Dec 01 2016 - 23:19:59) Marvell version: 2015_T1.
0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
sdhci_transfer_data: Error detected in status(0x408000)!
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 1: Detected No Link.

USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed4000:0x3ff980cc
       BSS:                     0x3ffefd5c
       Stack:                   0x3f9c3f20
       Heap:                    0x3f9c4000:0x3fed4000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0

Marvell Serial ATA Adapter
no device found

(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
sdhci_transfer_data: Error detected in status(0x408000)!

scanning ide devices beginning from: 0:1
No ide devices found

scanning usb devices beginning from: 0:1
No usb devices found

scanning mmc devices beginning from: 0:1

try to load script from mmc 0:1
706 bytes read in 11 ms (62.5 KiB/s)
Loading dtb/armada-388-clearfog-base.dtb to 0x1000000
18822 bytes read in 19 ms (966.8 KiB/s)
Loading zImage to 0x2000000 ...
5522584 bytes read in 297 ms (17.7 MiB/s)
Booting ...
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   reserving fdt memory region: addr=1000000 size=5000
   Loading Device Tree to 07a0a000, end 07a11fff ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...


Welcome to Ubuntu 16.04.3 LTS!

[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket.
         Starting Nameserver information manager...
         Starting Set console keymap...
         Mounting POSIX Message Queue File System...
         Starting Create list of required st... nodes for the current kernel...
[  OK  ] Created slice User and Session Slice.
         Mounting Debug File System...
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Reached target Slices.
         Starting Load Kernel Modules...
         Starting Restore / save the current clock...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Set console keymap.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Nameserver information manager.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Armbian enhanced Log2Ram...
         Starting LSB: Restore and store ALSA driver settings...
[  OK  ] Started LSB: Restore and store ALSA driver settings.
[  OK  ] Started Armbian enhanced Log2Ram.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started Set console font and keymap.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Created slice system-getty.slice.
         Starting Journal Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
[  OK  ] Reached target Network (Pre).
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Permit User Sessions...
         Starting LSB: Start/stop sysstat's sadc...
         Starting Initializes zram swaping...
         Starting Login Service...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started Initializes zram swaping.
         Starting Load/Save RF Kill Switch Status...
         Starting Set console scheme...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Set console scheme.
[  OK  ] Started Login Service.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting OpenBSD Secure Shell server...
[  OK  ] Reached target Network is Online.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting LSB: disk temperature monitoring daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.3 LTS clearfogpro ttyS0

clearfogpro login: root
Password:
Last login: Sat Jan 27 12:15:20 UTC 2018 on ttyS0
  ____ _                  __               ____
 / ___| | ___  __ _ _ __ / _| ___   __ _  |  _ \ _ __ ___
| |   | |/ _ \/ _` | '__| |_ / _ \ / _` | | |_) | '__/ _ \
| |___| |  __/ (_| | |  |  _| (_) | (_| | |  __/| | | (_) |
 \____|_|\___|\__,_|_|  |_|  \___/ \__, | |_|   |_|  \___/
                                   |___/

Welcome to ARMBIAN 5.38 stable Ubuntu 16.04.3 LTS 4.14.14-mvebu
System load:   0.20 0.05 0.02   Up time:       0 min
Memory usage:  3 % of 1003MB    IP:
CPU temp:      44°C
Usage of /:    14% of 7.0G

[ 0 security updates available, 34 updates total: apt upgrade ]
Last check: 2018-01-27 12:16


root@clearfogpro:~# lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Netw
ork Adapter

root@clearfogpro:~#
root@clearfogpro:~# wifi card is in slot farthest from SoM
The program 'wifi' is currently not installed. You can install it by typing:
apt install tlp
root@clearfogpro:~# shutdown -h now
         Stopping User Manager for UID 0...
[  OK  ] Stopped target Graphical Interface.
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: Start NTP daemon...
         Stopping Regular background program processing daemon...
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
         Stopping Unattended Upgrades Shutdown...
         Stopping LSB: disk temperature monitoring daemon...
         Stopping D-Bus          Stopping Session 2 of user root.
[  OK  ] Deactivated swap /dev/zram0.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Initializes zram swaping.
[  OK  ] Stopped Unattended Upgrades Shutdown.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped Session 2 of user root.
[  OK  ] Deactivated swap /dev/zram1.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Removed slice User Slice of root.
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping Permit User Sessions...
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped Create Volatile Files and Directories.
         Stopping LSB: Restore and store ALSA driver settings...
[  OK  ] Stopped target Encrypted Volumes.
[  OK  ] Stopped target Swap.
         Stopping Entropy daemon using the HAVEGE algorithm...
         Stopping Restore / save the current clock...
         Stopping Armbian enhanced Log2Ram...
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped target Network (Pre).
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Unmounted /var/log.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Stopped LSB: Restore and store ALSA driver settings.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped Armbian enhanced Log2Ram.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Local File Systems.
         Unmounting /tmp...
         Unmounting /run/user/0...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Unmounted /tmp.
[  OK  ] Unmounted /run/user/0.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[   61.481161] reboot: System halted
 

 

Kind of funny as I didn't think of trying the other slot because I 'wanted' to put it in the middle of the board for simplicity of running the antenna wires ... I'll figure out a new antenna layout, glad the thing gets seen in Armbian!

 

I removed network-manager from 5.38 stretch next 4.14.14 so I have to do this manually. Not finding the card was kind of breathtaking as it was suggested to use this chipset. Thought I might pass this on if anyone else is having detection problems.

 

EDIT: only slot 2 gets identified with lspci

I know I've read somewhere something about 'serdes' as you will see in the u-boot messages but I just can't figure out what I'm looking for. 

 

I also have a 4 port Marvell SATA card that will only detect in the 2nd PCI-e slot. (mPCI-e?) Anyway, only the card in the slot farthest from the SoM gets reported by lspci but they both show when u-boot detects them.

 

I have no clue where to look for this answer - any pointers?

 

Here is the full boot output with my SATA card in slot 0 and the wifi card in slot 2

 

Spoiler


on - Version: 1.0.0
Detected Device ID 6828
High speed PHY - Version: 2.0

Init Customer board board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  3   |  SATA0      |
 |   1    |  0   |  SGMII1     |
 |   2    |  5   |  PCIe1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe2      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
PCIe, Idx 1: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.39.0
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_
        | | | |___|  _ \ / _ \ / _ \| __|
        | |_| |___| |_) | (_) | (_) | |_
         \___/    |____/ \___/ \___/ \__|
 ** LOADER **


U-Boot 2013.01-gf906e3d-dirty (Dec 01 2016 - 23:19:59) Marvell version: 2015_T1.
0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
sdhci_transfer_data: Error detected in status(0x408000)!
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 2 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 2.0

USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed4000:0x3ff980cc
       BSS:                     0x3ffefd5c
       Stack:                   0x3f9c3f20
       Heap:                    0x3f9c4000:0x3fed4000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0

Marvell Serial ATA Adapter
no device found

(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
sdhci_transfer_data: Error detected in status(0x408000)!

scanning ide devices beginning from: 0:1
No ide devices found

scanning usb devices beginning from: 0:1
No usb devices found

scanning mmc devices beginning from: 0:1

try to load script from mmc 0:1
706 bytes read in 10 ms (68.4 KiB/s)
Loading dtb/armada-388-clearfog-base.dtb to 0x1000000
18822 bytes read in 18 ms (1020.5 KiB/s)
Loading zImage to 0x2000000 ...
5522584 bytes read in 296 ms (17.8 MiB/s)
Booting ...
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x01000000
   reserving fdt memory region: addr=1000000 size=5000
   Loading Device Tree to 07a0a000, end 07a11fff ... OK

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...


Welcome to Ubuntu 16.04.3 LTS!

[  OK  ] Created slice System Slice.
[  OK  ] Reached target Swap.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[  OK  ] Reached target Slices.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Socket.
         Starting Set console keymap...
         Starting Create list of required st... nodes for the current kernel...
         Starting Restore / save the current clock...
         Mounting Debug File System...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
         Mounting POSIX Message Queue File System...
         Starting Nameserver information manager...
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on udev Control Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Encrypted Volumes.
         Starting Load Kernel Modules...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Set console keymap.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Nameserver information manager.
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting LSB: Restore and store ALSA driver settings...
         Starting Armbian enhanced Log2Ram...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Started LSB: Restore and store ALSA driver settings.
[  OK  ] Started Armbian enhanced Log2Ram.
[  OK  ] Started Set console font and keymap.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Created slice system-getty.slice.
         Starting Journal Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting System Logging Service...
         Starting Initializes zram swaping...
         Starting LSB: Armbian gathering hardware information...
[  OK  ] Reached target Network (Pre).
         Starting Raise network interfaces...
         Starting Login Service...
         Starting LSB: Start/stop sysstat's sadc...
[  OK  ] Started D-Bus System Message Bus.
         Starting Permit User Sessions...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started System Logging Service.
[  OK  ] Started Initializes zram swaping.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started Login Service.
         Starting Load/Save RF Kill Switch Status...
         Starting Set console scheme...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Set console scheme.
[  OK  ] Started ifup for wlp1s0.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Found device QCA986x/988x 802.11ac Wireless Network Adapter.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
         Starting LSB: Start NTP daemon...
         Starting LSB: disk temperature monitoring daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.3 LTS clearfogpro ttyS0

clearfogpro login: root
Password:
Last login: Sat Jan 27 12:17:26 UTC 2018 on ttyS0
  ____ _                  __               ____
 / ___| | ___  __ _ _ __ / _| ___   __ _  |  _ \ _ __ ___
| |   | |/ _ \/ _` | '__| |_ / _ \ / _` | | |_) | '__/ _ \
| |___| |  __/ (_| | |  |  _| (_) | (_| | |  __/| | | (_) |
 \____|_|\___|\__,_|_|  |_|  \___/ \__, | |_|   |_|  \___/
                                   |___/

Welcome to ARMBIAN 5.38 stable Ubuntu 16.04.3 LTS 4.14.14-mvebu
System load:   0.31 0.09 0.03   Up time:       0 min
Memory usage:  4 % of 1003MB    IP:            192.168.2.57
CPU temp:      48°C
Usage of /:    14% of 7.0G

[ 0 security updates available, 34 updates total: apt upgrade ]
Last check: 2018-01-27 12:24


root@clearfogpro:~# lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Netw
ork Adapter

root@clearfogpro:~# halt
[           Stopping Session 2 of user root.
         Stopping User Manager for UID 0...
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: disk temperature monitoring daemon...
         Stopping Initializes zram swaping...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Stopped target Login Prompts.
         Stopping Regular background program processing daemon...
         Stopping LSB: Armbian gathering hardware information...
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping System Logging Service...
         Stopping Unattended Upgrades Shutdown...
         Stopping Serial Getty on ttyS0...
         Stopping OpenBSD Secure Shell server...
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping Getty on tty1...
         Stopping LSB: Start NTP daemon...
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped target Timers.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
[  OK  ] Stopped Daily apt upgrade and clean activities.
[  OK  ] Stopped Daily apt download activities.
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Deactivated swap /dev/zram1.
[  OK  ] Deactivated swap /dev/zram0.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped Session 2 of user root.
[  OK  ] Stopped Initializes zram swaping.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped Unattended Upgrades Shutdown.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
[  OK  ] Stopped LSB: Start NTP daemon.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Removed slice User Slice of root.
         Stopping Login Service...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping Permit User Sessions...
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped target Network is Online.
[  OK  ] Removed slice system-getty.slice.
[  OK  ] Stopped target Network.
         Stopping Raise network interfaces...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Restore / save the current clock...
         Stopping Update UTMP about System Boot/Shutdown...
         Stopping LSB: Restore and store ALSA driver settings...
         Stopping Entropy daemon using the HAVEGE algorithm...
[  OK  ] Stopped target Encrypted Volumes.
         Stopping Armbian enhanced Log2Ram...
[  OK  ] Stopped target Swap.
[  OK  ] Closed Syslog Socket.
[  OK  ] Stopped target Network (Pre).
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped LSB: Restore and store ALSA driver settings.
[  OK  ] Unmounted /var/log.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Stopped Armbian enhanced Log2Ram.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/user/0...
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
         Unmounting /tmp...
         Stopping Load/Save Random Seed...
[  OK  ] Unmounted /run/user/0.
[  OK  ] Unmounted /tmp.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[   56.131148] reboot: System halted
 

 

I can't give armbianmonitor -u as I don't have any networking set up yet.

Link to comment
Share on other sites

First thing I did ... took a really close up picture all looks good but doused it with board cleaner. Hit the contacts on the card for good measure.

 

The thing that kills me is u-boot finds them both -

U-Boot 2013.01-gf906e3d-dirty (Dec 01 2016 - 23:19:59) Marvell version: 2015_T1.
0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
sdhci_transfer_data: Error detected in status(0x408000)!
PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 2 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 2.0

USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed4000:0x3ff980cc
       BSS:                     0x3ffefd5c
       Stack:                   0x3f9c3f20
       Heap:                    0x3f9c4000:0x3fed4000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)
...

Armbian (lspci) finds whichever one is in the outside slot.

Link to comment
Share on other sites

dmsg output

Spoiler

root@clearfogpro:~# dmesg > dmsg.txt
root@clearfogpro:~# cat dmsg.txt
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.115-mvebu (root@xeon) (gcc version 5.5.0 (Linar
o GCC 5.5-2017.10) ) #2 SMP Thu Feb 8 18:48:52 CET 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[    0.000000] Machine model: SolidRun Clearfog Base A1
[    0.000000] cma: Reserved 16 MiB at 0x3f000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0b97cc0, node_mem_map ef6f800
0
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] PERCPU: Embedded 366 pages/cpu @ef3fb000 s1467136 r8192 d23808 u1
499136
[    0.000000] pcpu-alloc: s1467136 r8192 d23808 u1499136 alloc=366*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 260416
[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rootfstype=ext4 rootwait
 rw console=ttyS0,115200n8
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 12582912 bytes of page_ext
[    0.000000] Memory: 987056K/1048576K available (5098K kernel code, 645K rwdat
a, 2252K rodata, 2048K init, 8807K bss, 45136K reserved, 16384K cma-reserved, 24
5760K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                     .text : 0xc0008000 - 0xc082db1c   (8343 kB)
                     .init : 0xc0900000 - 0xc0b00000   (2048 kB)
                     .data : 0xc0b00000 - 0xc0ba145c   ( 646 kB)
                      .bss : 0xc0ba4000 - 0xc143df9c   (8808 kB)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU debugfs-based tracing is enabled.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: ----------- mbus window -----------
[    0.000000] mvebu_mbus: WIN0
[    0.000000] mvebu_mbus:      win(0,0): f080e000       0x0
[    0.000000] mvebu_mbus:      win(0,1): f080e004       0x0
[    0.000000] mvebu_mbus:      win(0,2): f080e008       0x0
[    0.000000] mvebu_mbus:      win(0,3): f080e00c       0x0
[    0.000000] mvebu_mbus: WIN1
[    0.000000] mvebu_mbus:      win(1,0): f080e010       0x0
[    0.000000] mvebu_mbus:      win(1,1): f080e014       0x0
[    0.000000] mvebu_mbus:      win(1,2): f080e018       0x0
[    0.000000] mvebu_mbus:      win(1,3): f080e01c       0x0
[    0.000000] mvebu_mbus: WIN2
[    0.000000] mvebu_mbus:      win(2,0): f080e020       0x0
[    0.000000] mvebu_mbus:      win(2,1): f080e024       0x0
[    0.000000] mvebu_mbus:      win(2,2): f080e028       0x0
[    0.000000] mvebu_mbus:      win(2,3): f080e02c       0x0
[    0.000000] mvebu_mbus: WIN3
[    0.000000] mvebu_mbus:      win(3,0): f080e030       0x0
[    0.000000] mvebu_mbus:      win(3,1): f080e034       0x0
[    0.000000] mvebu_mbus:      win(3,2): f080e038       0x0
[    0.000000] mvebu_mbus:      win(3,3): f080e03c       0x0
[    0.000000] mvebu_mbus: WIN4
[    0.000000] mvebu_mbus:      win(4,0): f080e040       0x0
[    0.000000] mvebu_mbus:      win(4,1): f080e044       0x0
[    0.000000] mvebu_mbus:      win(4,2): f080e048       0x0
[    0.000000] mvebu_mbus:      win(4,3): f080e04c       0x0
[    0.000000] mvebu_mbus: WIN5
[    0.000000] mvebu_mbus:      win(5,0): f080e050       0x0
[    0.000000] mvebu_mbus:      win(5,1): f080e054       0x0
[    0.000000] mvebu_mbus:      win(5,2): f080e058       0x0
[    0.000000] mvebu_mbus:      win(5,3): f080e05c       0x0
[    0.000000] mvebu_mbus: WIN6
[    0.000000] mvebu_mbus:      win(6,0): f080e060       0x0
[    0.000000] mvebu_mbus:      win(6,1): f080e064       0x0
[    0.000000] mvebu_mbus:      win(6,2): f080e068       0x0
[    0.000000] mvebu_mbus:      win(6,3): f080e06c       0x0
[    0.000000] mvebu_mbus: WIN7
[    0.000000] mvebu_mbus:      win(7,0): f080e070       0x0
[    0.000000] mvebu_mbus:      win(7,1): f080e074       0x0
[    0.000000] mvebu_mbus:      win(7,2): f080e078       0x0
[    0.000000] mvebu_mbus:      win(7,3): f080e07c       0x0
[    0.000000] mvebu_mbus:
               INTERREGS_WIN(8): f080e080        0xf1000000
[    0.000000] mvebu_mbus:
               SYNC_BARIER_WIN(9): f080e084      0x0

[    0.000000] mvebu_mbus: WIN8
[    0.000000] mvebu_mbus:      win(8,0): f080e090       0xf1d11
[    0.000000] mvebu_mbus:      win(8,1): f080e094       0xfff00000
[    0.000000] mvebu_mbus: WIN9
[    0.000000] mvebu_mbus:      win(9,0): f080e098       0x1991
[    0.000000] mvebu_mbus:      win(9,1): f080e09c       0xf1100000
[    0.000000] mvebu_mbus: WIN10
[    0.000000] mvebu_mbus:      win(10,0): f080e0a0      0x1591
[    0.000000] mvebu_mbus:      win(10,1): f080e0a4      0xf1110000
[    0.000000] mvebu_mbus: WIN11
[    0.000000] mvebu_mbus:      win(11,0): f080e0a8      0x0
[    0.000000] mvebu_mbus:      win(11,1): f080e0ac      0x0
[    0.000000] mvebu_mbus: WIN12
[    0.000000] mvebu_mbus:      win(12,0): f080e0b0      0x0
[    0.000000] mvebu_mbus:      win(12,1): f080e0b4      0x0
[    0.000000] mvebu_mbus: WIN13
[    0.000000] mvebu_mbus:      win(13,0): f080e0b8      0x0
[    0.000000] mvebu_mbus:      win(13,1): f080e0bc      0x0
[    0.000000] mvebu_mbus: WIN14
[    0.000000] mvebu_mbus:      win(14,0): f080e0c0      0x0
[    0.000000] mvebu_mbus:      win(14,1): f080e0c4      0x0
[    0.000000] mvebu_mbus: WIN15
[    0.000000] mvebu_mbus:      win(15,0): f080e0c8      0x0
[    0.000000] mvebu_mbus:      win(15,1): f080e0cc      0x0
[    0.000000] mvebu_mbus: WIN16
[    0.000000] mvebu_mbus:      win(16,0): f080e0d0      0x0
[    0.000000] mvebu_mbus:      win(16,1): f080e0d4      0x0
[    0.000000] mvebu_mbus: WIN17
[    0.000000] mvebu_mbus:      win(17,0): f080e0d8      0x0
[    0.000000] mvebu_mbus:      win(17,1): f080e0dc      0x0
[    0.000000] mvebu_mbus: WIN18
[    0.000000] mvebu_mbus:      win(18,0): f080e0e0      0x0
[    0.000000] mvebu_mbus:      win(18,1): f080e0e4      0x0
[    0.000000] mvebu_mbus: WIN19
[    0.000000] mvebu_mbus:      win(19,0): f080e0e8      0x0
[    0.000000] mvebu_mbus:      win(19,1): f080e0ec      0x0
[    0.000000] mvebu_mbus:
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899
345900ns
[    0.000012] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycl
es: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000691] Console: colour dummy device 80x30
[    0.000719] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo
 Molnar
[    0.000724] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000728] ... MAX_LOCK_DEPTH:          48
[    0.000732] ... MAX_LOCKDEP_KEYS:        8191
[    0.000736] ... CLASSHASH_SIZE:          4096
[    0.000740] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000744] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000748] ... CHAINHASH_SIZE:          32768
[    0.000752]  memory used by lock dependency info: 5423 kB
[    0.000756]  per task-struct memory footprint: 2304 bytes
[    0.000771] Calibrating delay loop (skipped), value calculated using timer fr
equency.. 50.00 BogoMIPS (lpj=250000)
[    0.000780] pid_max: default: 32768 minimum: 301
[    0.001018] Security Framework initialized
[    0.001025] AppArmor: AppArmor disabled by boot time parameter
[    0.001166] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001174] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002888] Initializing cgroup subsys io
[    0.002935] Initializing cgroup subsys memory
[    0.002975] Initializing cgroup subsys devices
[    0.003043] Initializing cgroup subsys freezer
[    0.003084] Initializing cgroup subsys net_cls
[    0.003098] Initializing cgroup subsys perf_event
[    0.003112] Initializing cgroup subsys net_prio
[    0.003125] Initializing cgroup subsys pids
[    0.003178] CPU: Testing write buffer coherency: ok
[    0.003215] ftrace: allocating 24245 entries in 48 pages
[    0.023764] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.023805] Setting up static identity map for 0x100000 - 0x10004c
[    0.023936] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.024086] mvebu-pmsu: Initializing Power Management Service Unit
[    0.027544] Booting CPU 1
[    0.027698] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.027942] Brought up 2 CPUs
[    0.027951] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.027955] CPU: All CPU(s) started in SVC mode.
[    0.029441] devtmpfs: initialized
[    0.039193] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9
 rev 4
[    0.039680] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[    0.039706] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.040727] pinctrl core: initialized pinctrl subsystem
[    0.043250] NET: Registered protocol family 16
[    0.048471] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.077763] cpuidle: using governor ladder
[    0.099771] cpuidle: using governor menu
[    0.113678] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint
registers.
[    0.113685] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.113878] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x
: disabling
[    0.113891] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.152872] SCSI subsystem initialized
[    0.152966] libata version 3.00 loaded.
[    0.153385] usbcore: registered new interface driver usbfs
[    0.153472] usbcore: registered new interface driver hub
[    0.153553] usbcore: registered new device driver usb
[    0.155998] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.312300] NET: Registered protocol family 2
[    0.313368] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.313432] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[    0.314712] TCP: Hash tables configured (established 8192 bind 8192)
[    0.314839] UDP hash table entries: 512 (order: 3, 49152 bytes)
[    0.315014] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes)
[    0.315687] NET: Registered protocol family 1
[    0.316315] RPC: Registered named UNIX socket transport module.
[    0.316323] RPC: Registered udp transport module.
[    0.316328] RPC: Registered tcp transport module.
[    0.316333] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.316348] PCI: CLS 0 bytes, default 64
[    0.317205] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counter
s available
[    0.317512] mvebu-pmsu: CPU freq is currently broken on Armada 38x: disabling
[    0.319049] audit: initializing netlink subsys (disabled)
[    0.319143] audit: type=2000 audit(0.310:1): initialized
[    0.319987] Initialise system trusted keyring
[    0.321432] VFS: Disk quotas dquot_6.6.0
[    0.321509] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.325557] Key type asymmetric registered
[    0.325595] Asymmetric key parser 'x509' registered
[    0.325660] bounce: pool size: 64 pages
[    0.325731] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
51)
[    0.325772] io scheduler noop registered (default)
[    0.325782] io scheduler deadline registered
[    0.325893] io scheduler cfq registered
[    0.327354] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.329407] irq: Cannot allocate irq_descs @ IRQ50, assuming pre-allocated
[    0.330688] irq: Cannot allocate irq_descs @ IRQ82, assuming pre-allocated
[    0.331939] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.377222] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy int
r )
[    0.377595] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.417257] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy int
r )
[    0.512596] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.518514] console [ttyS0] disabled
[    0.538770] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud =
15625000) is a 16550A
[    1.650301] console [ttyS0] enabled
[    1.675703] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud =
15625000) is a 16550A
[    1.687241] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps
0x3 impl platform mode
[    1.696328] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs
pio slum part sxs
[    1.707966] scsi host0: ahci-mvebu
[    1.712381] scsi host1: ahci-mvebu
[    1.716343] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x1
00 irq 45
[    1.724280] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x1
80 irq 45
[    1.732551] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps
0x3 impl platform mode
[    1.741634] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs
pio slum part sxs
[    1.752818] scsi host2: ahci-mvebu
[    1.757019] scsi host3: ahci-mvebu
[    1.760941] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x1
00 irq 46
[    1.768900] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x1
80 irq 46
[    1.777580] platform physmap-flash.0: failed to claim resource 0
[    1.786396] m25p80 spi1.0: w25q32 (4096 Kbytes)
[    1.791952] 3 ofpart partitions found on MTD device spi1.0
[    1.797467] Creating 3 MTD partitions on "spi1.0":
[    1.802272] 0x000000000000-0x000000100000 : "uboot"
[    1.810564] 0x000000100000-0x000000200000 : "env"
[    1.817408] 0x000000200000-0x000000400000 : "data"
[    1.825678] libphy: Fixed MDIO Bus: probed
[    1.830184] libphy: mdio_driver_register: mv88e6085
[    1.835495] libphy: orion_mdio_bus: probed
[    1.843585] mvneta f1070000.ethernet eth0: Using device tree mac address 00:5
0:43:00:1b:25
[    1.854063] mvneta f1030000.ethernet eth1: Using device tree mac address 00:5
0:43:00:00:25
[    1.864510] mvneta f1034000.ethernet eth2: Using device tree mac address 00:5
0:43:1b:00:00
[    1.873248] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.879803] ehci-pci: EHCI PCI platform driver
[    1.884791] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.890394] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus numb
er 1
[    1.898378] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 q
uirks 0x00010010
[    1.907003] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[    1.913502] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.920336] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    1.927586] usb usb1: Product: xHCI Host Controller
[    1.932476] usb usb1: Manufacturer: Linux 4.4.115-mvebu xhci-hcd
[    1.938504] usb usb1: SerialNumber: f10f8000.usb3
[    1.945018] hub 1-0:1.0: USB hub found
[    1.948942] hub 1-0:1.0: 1 port detected
[    1.954149] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.959511] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus numb
er 2
[    1.967183] usb usb2: We don't know the algorithms for LPM for this host, dis
abling LPM.
[    1.975562] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.982386] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    1.989633] usb usb2: Product: xHCI Host Controller
[    1.994523] usb usb2: Manufacturer: Linux 4.4.115-mvebu xhci-hcd
[    2.000549] usb usb2: SerialNumber: f10f8000.usb3
[    2.006369] hub 2-0:1.0: USB hub found
[    2.010189] hub 2-0:1.0: 1 port detected
[    2.015068] usbcore: registered new interface driver usb-storage
[    2.021141] i2c /dev entries driver
[    2.027020] GPIO line 496 (pcie1.0-clkreq) hogged as input
[    2.032742] GPIO line 499 (pcie1.0-w-disable) hogged as output/low
[    2.039071] GPIO line 501 (usb3-current-limit) hogged as input
[    2.045139] GPIO line 502 (usb3-power) hogged as output/high
[    2.051197] GPIO line 507 (m.2 devslp) hogged as output/low
[    2.069290] armada_thermal f10e4078.thermal: Overheat threshold between 92..1
07
[    2.076061] ata2: SATA link down (SStatus 0 SControl 300)
[    2.083964] orion_wdt: Initial timeout 171 sec, nowayout
[    2.089697] sdhci: Secure Digital Host Controller Interface driver
[    2.095890] sdhci: Copyright(c) Pierre Ossman
[    2.100908] sdhci-pxav3 f10d8000.sdhci: No vmmc regulator found
[    2.106865] sdhci-pxav3 f10d8000.sdhci: No vqmmc regulator found
[    2.116015] ata3: SATA link down (SStatus 0 SControl 300)
[    2.121466] ata4: SATA link down (SStatus 0 SControl 300)
[    2.156009] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using A
DMA
[    2.163686] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.169736] ledtrig-cpu: registered to indicate activity on CPUs
[    2.177024] NET: Registered protocol family 10
[    2.183442] NET: Registered protocol family 17
[    2.188195] ThumbEE CPU extension supported.
[    2.192489] Registering SWP/SWPB emulation handler
[    2.199643] registered taskstats version 1
[    2.203795] Loading compiled-in X.509 certificates
[    2.209108] zswap: default zpool zbud not available
[    2.213997] zswap: pool creation failed
[    2.217879] page_owner is disabled
[    2.223415] Key type encrypted registered
[    2.228101] mvebu-pcie soc:pcie-controller: /soc/pcie-controller/pcie@2,0: re
set gpio is active low
[    2.230622] mmc0: MAN_BKOPS_EN bit is not set
[    2.232275] mmc0: new high speed MMC card at address 0001
[    2.237259] mmcblk0: mmc0:0001 8GME4R 7.28 GiB
[    2.237748] mmcblk0boot0: mmc0:0001 8GME4R partition 1 4.00 MiB
[    2.238205] mmcblk0boot1: mmc0:0001 8GME4R partition 2 4.00 MiB
[    2.238630] mmcblk0rpmb: mmc0:0001 8GME4R partition 3 512 KiB
[    2.240847]  mmcblk0: p1
[    2.276020] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.283909] ata1.00: supports DRM functions and may not be fully accessible
[    2.290904] ata1.00: ATA-9: Samsung SSD 850 EVO M.2 250GB, EMT21B6Q, max UDMA
/133
[    2.298417] ata1.00: 488397168 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    2.299012] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    2.299018] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    2.299023] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]
[    2.299028] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.299166] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    2.299780] PCI: bus0: Fast back to back transfers disabled
[    2.299786] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[    2.300064] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[    2.300119] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.300167] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.300271] pci 0000:01:00.0: supports D1 D2
[    2.300608] PCI: bus1: Fast back to back transfers disabled
[    2.300614] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.300718] pci 0000:00:02.0: BAR 8: assigned [mem 0xf8000000-0xf82fffff]
[    2.300726] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8000000-0xf81fffff 64bi
t]
[    2.300744] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8200000-0xf820ffff pref
]
[    2.300749] pci 0000:00:02.0: PCI bridge to [bus 01]
[    2.300757] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf82fffff]
[    2.300985] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    2.301501] libphy: SFP I2C Bus: probed
[    2.303988] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.401852] ata1.00: supports DRM functions and may not be fully accessible
[    2.409246] ata1.00: configured for UDMA/133
[    2.414951] scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 850  1B6Q PQ
: 0 ANSI: 5
[    2.424768] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233
GiB)
[    2.425748] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.437740] sd 0:0:0:0: [sda] Write Protect is off
[    2.442545] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.442586] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, does
n't support DPO or FUA
[    2.453577]  sda: sda1
[    2.457721] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    2.483820] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode.
 Opts: (null)
[    2.492188] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    2.505904] devtmpfs: mounted
[    2.510493] Freeing unused kernel memory: 2048K
[    2.900274] systemd[1]: System time before build time, advancing clock.
[    2.934650] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.955939] random: systemd: uninitialized urandom read (16 bytes read, 12 bi
ts of entropy available)
[    2.968530] random: systemd: uninitialized urandom read (16 bytes read, 12 bi
ts of entropy available)
[    2.986882] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL
INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +
XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    3.005556] systemd[1]: Detected architecture arm.
[    3.036844] systemd[1]: Set hostname to <clearfogpro>.
[    3.124570] random: systemd-sysv-ge: uninitialized urandom read (16 bytes rea
d, 13 bits of entropy available)
[    3.188520] random: systemd-cryptse: uninitialized urandom read (16 bytes rea
d, 13 bits of entropy available)
[    3.192241] random: systemd-sysv-ge: uninitialized urandom read (16 bytes rea
d, 13 bits of entropy available)
[    3.208167] random: systemd-gpt-aut: uninitialized urandom read (16 bytes rea
d, 14 bits of entropy available)
[    3.208510] random: systemd-gpt-aut: uninitialized urandom read (16 bytes rea
d, 14 bits of entropy available)
[    3.280266] random: systemd: uninitialized urandom read (16 bytes read, 16 bi
ts of entropy available)
[    3.289680] random: systemd: uninitialized urandom read (16 bytes read, 16 bi
ts of entropy available)
[    3.299140] random: systemd: uninitialized urandom read (16 bytes read, 16 bi
ts of entropy available)
[    3.453912] systemd[1]: Listening on udev Kernel Socket.
[    3.476777] systemd[1]: Started Dispatch Password Requests to Console Directo
ry Watch.
[    3.506514] systemd[1]: Listening on Journal Audit Socket.
[    3.536299] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.567966] systemd[1]: Created slice User and Session Slice.
[    3.597221] systemd[1]: Created slice System Slice.
[    3.616184] systemd[1]: Reached target Slices.
[    3.666494] systemd[1]: Mounting Debug File System...
[    3.687266] systemd[1]: Listening on Syslog Socket.
[    3.717484] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.746765] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.776611] systemd[1]: Started Forward Password Requests to Wall Directory W
atch.
[    3.806184] systemd[1]: Reached target Paths.
[    3.826327] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.886254] systemd[1]: Mounting POSIX Message Queue File System...
[    3.918081] systemd[1]: Set up automount Arbitrary Executable File Formats Fi
le System Automount Point.
[    3.946236] systemd[1]: Reached target Encrypted Volumes.
[    3.976179] systemd[1]: Reached target Remote File Systems.
[    4.006426] systemd[1]: Listening on Journal Socket.
[    4.076458] systemd[1]: Starting Create list of required static device nodes
for the current kernel...
[    4.111773] systemd[1]: Starting Restore / save the current clock...
[    4.141479] systemd[1]: Starting Nameserver information manager...
[    4.171764] systemd[1]: Starting Set the console keyboard layout...
[    4.190833] systemd[1]: Listening on udev Control Socket.
[    4.207878] systemd[1]: Starting Remount Root and Kernel File Systems...
[    4.278248] systemd[1]: Starting Load Kernel Modules...
[    4.307930] systemd[1]: Created slice system-getty.slice.
[    4.393449] systemd[1]: Mounted POSIX Message Queue File System.
[    4.426333] systemd[1]: Mounted Debug File System.
[    4.450704] systemd[1]: Started Create list of required static device nodes f
or the current kernel.
[    4.509168] systemd[1]: Started Restore / save the current clock.
[    4.589619] systemd[1]: Started Set the console keyboard layout.
[    4.619463] systemd[1]: Started Load Kernel Modules.
[    4.642202] systemd[1]: Started Nameserver information manager.
[    4.707810] systemd[1]: Time has been changed
[    4.789810] systemd[1]: Starting Apply Kernel Variables...
[    4.830808] systemd[1]: Starting Create Static Device Nodes in /dev...
[    4.848576] systemd[1]: Started Apply Kernel Variables.
[    4.937612] systemd[1]: Started Create Static Device Nodes in /dev.
[    4.989958] systemd[1]: Starting udev Kernel Device Manager...
[    5.081472] systemd[1]: Started udev Kernel Device Manager.
[    5.278441] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-
ro
[    5.284423] systemd[1]: Started Remount Root and Kernel File Systems.
[    5.308978] systemd[1]: Reached target Local File Systems (Pre).
[    5.366263] systemd[1]: Mounting /tmp...
[    5.391323] systemd[1]: Starting Load/Save Random Seed...
[    5.410343] systemd[1]: Starting udev Coldplug all Devices...
[    5.449037] systemd[1]: Activating swap /var/swap...
[    5.475258] systemd[1]: Mounted /tmp.
[    5.488521] systemd[1]: Started Load/Save Random Seed.
[    5.505849] systemd[1]: Reached target Local File Systems.
[    5.530234] systemd[1]: Starting Armbian enhanced Log2Ram...
[    5.641883] systemd[1]: Starting Raise network interfaces...
[    5.660272] systemd[1]: Starting Set console font and keymap...
[    5.778000] systemd[1]: Started Set console font and keymap.
[    5.800217] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:1
31068k SSFS
[    5.806838] systemd[1]: Activated swap /var/swap.
[    5.840186] systemd[1]: Reached target Swap.
[    6.131849] systemd[1]: Started Armbian enhanced Log2Ram.
[    6.256794] systemd[1]: Starting Journal Service...
[    6.485927] systemd[1]: Started Journal Service.
[    6.605618] systemd-journald[296]: Received request to flush runtime journal
from PID 1
[    7.023293] ehci-orion: EHCI orion driver
[    7.023606] orion-ehci f1058000.usb: EHCI Host Controller
[    7.023683] orion-ehci f1058000.usb: new USB bus registered, assigned bus num
ber 3
[    7.056646] orion-ehci f1058000.usb: irq 41, io mem 0xf1058000
[    7.076416] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    7.076799] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    7.076808] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    7.076814] usb usb3: Product: EHCI Host Controller
[    7.076819] usb usb3: Manufacturer: Linux 4.4.115-mvebu ehci_hcd
[    7.076825] usb usb3: SerialNumber: f1058000.usb
[    7.103443] hub 3-0:1.0: USB hub found
[    7.103538] hub 3-0:1.0: 1 port detected
[    7.122194] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as
rtc0
[    7.246699] marvell-cesa f1090000.crypto: CESA device successfully registered
[    7.679960] mvneta f1070000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver
[Marvell 88E1510]
[    7.680162] mvneta f1070000.ethernet eth0: configuring for phy link mode
[    7.680640] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.097322] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[    9.143283] ath10k_pci 0000:01:00.0: pci irq msi interrupts 1 irq_mode 0 rese
t_mode 0
[    9.422197] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-
0000:01:00.0.bin failed with error -2
[    9.422207] ath10k_pci 0000:01:00.0: Falling back to user helper
[   10.419145] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   10.429659] mvneta f1030000.ethernet eth1: could not attach PHY
[   10.429670] mvneta f1030000.ethernet eth1: cannot probe MDIO bus
[   10.494508] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   10.511760] mvneta f1034000.ethernet eth2: configuring for SGMII link mode
[   10.511947] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   10.677023] mvneta f1070000.ethernet eth0: Link is Up - 100Mbps/Full - flow c
ontrol rx/tx
[   10.677081] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.559528] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-5.bin failed with error -2
[   11.559539] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.597411] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QC
A988X/hw2.0/firmware-5.bin': -11
[   11.597475] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-4.bin failed with error -2
[   11.597481] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.599459] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QC
A988X/hw2.0/firmware-4.bin': -11
[   11.599520] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-3.bin failed with error -2
[   11.599526] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.637621] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QC
A988X/hw2.0/firmware-3.bin': -11
[   11.637686] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-2.bin failed with error -2
[   11.637692] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.657156] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QC
A988X/hw2.0/firmware-2.bin': -11
[   11.657224] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware.bin failed with error -2
[   11.657231] ath10k_pci 0000:01:00.0: Falling back to user helper
[   11.658884] ath10k_pci 0000:01:00.0: could not fetch firmware (-11)
[   11.658894] ath10k_pci 0000:01:00.0: could not fetch firmware files (-11)
[   11.658901] ath10k_pci 0000:01:00.0: could not probe fw (-11)
[   11.795623] cfg80211: World regulatory domain updated:
[   11.795633] cfg80211:  DFS Master region: unset
[   11.795637] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gai
n, max_eirp), (dfs_cac_time)
[   11.795644] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m
Bm), (N/A)
[   11.795651] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUT
O), (N/A, 2000 mBm), (N/A)
[   11.795657] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m
Bm), (N/A)
[   11.795663] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU
TO), (N/A, 2000 mBm), (N/A)
[   11.795670] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU
TO), (N/A, 2000 mBm), (0 s)
[   11.795676] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000
mBm), (0 s)
[   11.795681] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m
Bm), (N/A)
[   11.795687] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0
mBm), (N/A)
[   16.452580] random: nonblocking pool is initialized

 

The entire screencap of both boots in spoiler in above post as well.

 

 

Link to comment
Share on other sites

13 minutes ago, Technicavolous said:

The entire screencap of both boots in spoiler in above post as well.

That doesn't include dmesg, that's why I asked for it.

 

13 minutes ago, Technicavolous said:

dmsg output

Hm, I see firmware loading issues for an ath10k card, and since I see cfg80211 lines I'm assuming that the second card is detected correctly.

I would try adding missing firmware files first.

Is it a dual radio card?

 

Link to comment
Share on other sites

BUT it finds it fine on the outside slot. Also find my SATA controller on the outside slot. Neither are found by Armbian on the inside slot but both are reported by u-boot in either slot. Both show up in u-boot regardless of slot, slot near the SoM never shows anything in Armbian.

 

SerDes?? I read somewhere that the slot has to be configured but it was oooolllldddd ...

Link to comment
Share on other sites

It's just confusing without seeing "lspci -t -nn" to map what is connected to what.

I remember having PCIe detection issues in the past, but I don't remember on which kernel.

 

Can you try booting a mainline (next) image from a USB flash to check if it detects both devices?

 

5 minutes ago, Technicavolous said:

SerDes?? I read somewhere that the slot has to be configured but it was oooolllldddd ...

It is configured before the u-boot proper, so if PCIe cards are detected by u-boot it's safe to assume that SERDES configuration is correct.

Link to comment
Share on other sites

I have the clearfog pro with emmc ... I've never been able to boot from usb, but I've done well with tftp and ext4load.

 

I have a tftp server on my xu4 with quite a few files there. 

 

I did 

apt-get install armbian-firmware and it said it was the latest. (default kernel ... have no networking on next kernel)

apat-get install armbian-firmware-full basically says it won't do it because firmware is gone.

Spoiler

root@clearfogpro:~# apt-get install armbian-firmware-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  armbian-firmware-full
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.4 MB of archives.
After this operation, 1,024 B of additional disk space will be used.
Get:1 http://apt.armbian.com stretch/main armhf armbian-firmware-full all 5.38 [65.4 MB]
Fetched 65.4 MB in 3min 31s (309 kB/s)                                         
Selecting previously unselected package armbian-firmware-full.
(Reading database ... 32132 files and directories currently installed.)
Preparing to unpack .../armbian-firmware-full_5.38_all.deb ...
Unpacking armbian-firmware-full (5.38) ...
Replacing files in old package armbian-firmware (5.38) ...
(Noting disappearance of armbian-firmware, which has been completely replaced.)
Setting up armbian-firmware-full (5.38) ...
The following package disappeared from your system as
all files have been overwritten by other packages:
  armbian-firmware
Note: This is done automatically and on purpose by dpkg.

 

I'll try again to boot from a usb stick, but so far I've failed at that.

Link to comment
Share on other sites

I was unable to boot mainline (next) from usb but I'm getting really quick at imaging the eMMC ;] loaded a fresh copy of 5.38 stretch next

 

lspci -t -nn output

root@clearfogpro:~# lspci -t -nn
-[0000:00]---02.0-[01]----00.0

 

lspci output

root@clearfogpro:~# lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

 

 

dmesg output

Spoiler


root@clearfogpro:~# dmesg > newdmesg.txt
root@clearfogpro:~# cat newdmesg.txt
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.14-mvebu (root@xeon) (gcc version 7.2.1 201710
11 (Linaro GCC 7.2-2017.11)) #2 SMP Thu Jan 25 14:43:10 CET 2018
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[    0.000000] OF: fdt: Machine model: SolidRun Clearfog Base A1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x3f000000
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0b4e700, node_mem_map ef6f900
0
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @ef6c9000 s33548 r8192 d23796 u6553
6
[    0.000000] pcpu-alloc: s33548 r8192 d23796 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rootfstype=ext4 rootwait
 rw console=ttyS0,115200n8
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 1048576 bytes of page_ext
[    0.000000] Memory: 1010032K/1048576K available (6144K kernel code, 323K rwda
ta, 1848K rodata, 1024K init, 254K bss, 22160K reserved, 16384K cma-reserved, 24
5760K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                     .text : 0xc0008000 - 0xc0700000   (7136 kB)
                     .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
                     .data : 0xc0b00000 - 0xc0b50f90   ( 324 kB)
                      .bss : 0xc0b5963c - 0xc0b99174   ( 255 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000005] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 43980
46511103ns
[    0.000013] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycle
s: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000026] Switching to timer-based delay loop, resolution 1ns
[    0.000190] Ignoring duplicate/late registration of read_current_timer delay
[    0.000195] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycl
es: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000384] Console: colour dummy device 80x30
[    0.000396] Calibrating delay loop (skipped), value calculated using timer fr
equency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000402] pid_max: default: 32768 minimum: 301
[    0.000547] Security Framework initialized
[    0.000552] AppArmor: AppArmor disabled by boot time parameter
[    0.000594] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000599] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000969] CPU: Testing write buffer coherency: ok
[    0.001104] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001237] Setting up static identity map for 0x100000 - 0x100054
[    0.001325] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.001421] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001474] Hierarchical SRCU implementation.
[    0.001679] smp: Bringing up secondary CPUs ...
[    0.001815] Booting CPU 1
[    0.001979] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002026] smp: Brought up 1 node, 2 CPUs
[    0.002029] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.002031] CPU: All CPU(s) started in SVC mode.
[    0.002527] devtmpfs: initialized
[    0.004425] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9
 rev 4
[    0.004510] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[    0.004516] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.005004] xor: measuring software checksum speed
[    0.100061]    arm4regs  :  2109.600 MB/sec
[    0.200061]    8regs     :  1621.200 MB/sec
[    0.300061]    32regs    :  1502.800 MB/sec
[    0.400060]    neon      :  1534.000 MB/sec
[    0.400063] xor: using function: arm4regs (2109.600 MB/sec)
[    0.400068] pinctrl core: initialized pinctrl subsystem
[    0.400436] NET: Registered protocol family 16
[    0.401435] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.401946] cpuidle: using governor ladder
[    0.402049] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint
registers.
[    0.402052] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.402192] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x
: disabling
[    0.402198] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.570115] raid6: int32x1  gen()   220 MB/s
[    0.740196] raid6: int32x1  xor()   168 MB/s
[    0.910185] raid6: int32x2  gen()   282 MB/s
[    1.080183] raid6: int32x2  xor()   234 MB/s
[    1.250193] raid6: int32x4  gen()   324 MB/s
[    1.420075] raid6: int32x4  xor()   255 MB/s
[    1.590218] raid6: int32x8  gen()   364 MB/s
[    1.760184] raid6: int32x8  xor()   262 MB/s
[    1.930090] raid6: neonx1   gen()   997 MB/s
[    2.100066] raid6: neonx1   xor()   925 MB/s
[    2.270115] raid6: neonx2   gen()  1080 MB/s
[    2.440084] raid6: neonx2   xor()  1129 MB/s
[    2.610070] raid6: neonx4   gen()  1124 MB/s
[    2.780068] raid6: neonx4   xor()  1155 MB/s
[    2.950080] raid6: neonx8   gen()   893 MB/s
[    3.120075] raid6: neonx8   xor()   866 MB/s
[    3.120077] raid6: using algorithm neonx4 gen() 1124 MB/s
[    3.120079] raid6: .... xor() 1155 MB/s, rmw enabled
[    3.120081] raid6: using neon recovery algorithm
[    3.120372] vgaarb: loaded
[    3.120522] SCSI subsystem initialized
[    3.120594] libata version 3.00 loaded.
[    3.120679] usbcore: registered new interface driver usbfs
[    3.120699] usbcore: registered new interface driver hub
[    3.120720] usbcore: registered new device driver usb
[    3.121122] clocksource: Switched to clocksource arm_global_timer
[    3.121206] VFS: Disk quotas dquot_6.6.0
[    3.121236] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.121300] FS-Cache: Loaded
[    3.124191] NET: Registered protocol family 2
[    3.124478] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.124524] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.124598] TCP: Hash tables configured (established 8192 bind 8192)
[    3.124650] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.124678] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.124783] NET: Registered protocol family 1
[    3.124949] RPC: Registered named UNIX socket transport module.
[    3.124952] RPC: Registered udp transport module.
[    3.124954] RPC: Registered tcp transport module.
[    3.124956] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.124960] PCI: CLS 0 bytes, default 64
[    3.125239] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counter
s available
[    3.125697] audit: initializing netlink subsys (disabled)
[    3.125764] audit: type=2000 audit(3.120:1): state=initialized audit_enabled=
0 res=1
[    3.125934] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.128986] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.129245] FS-Cache: Netfs 'nfs' registered for caching
[    3.129477] NFS: Registering the id_resolver key type
[    3.129489] Key type id_resolver registered
[    3.129491] Key type id_legacy registered
[    3.129498] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.129613] FS-Cache: Netfs 'cifs' registered for caching
[    3.129734] Key type cifs.idmap registered
[    3.129811] fuse init (API version 7.26)
[    3.130117] aufs 4.13-20171030
[    3.132430] bounce: pool size: 64 pages
[    3.132464] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
49)
[    3.132515] io scheduler noop registered
[    3.132517] io scheduler deadline registered
[    3.132653] io scheduler cfq registered (default)
[    3.132656] io scheduler mq-deadline registered
[    3.132658] io scheduler kyber registered
[    3.132723] io scheduler bfq registered
[    3.133424] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    3.133840] GPIO line 19 (phy1-reset) hogged as output/low
[    3.134638] mv_xor f1060800.xor: Marvell shared XOR driver
[    3.191682] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy int
r )
[    3.191788] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.251669] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy int
r )
[    3.268843] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.269834] console [ttyS0] disabled
[    3.289907] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud =
15625000) is a 16550A
[    3.289936] console [ttyS0] enabled
[    3.310502] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud =
15625000) is a 16550A
[    3.313610] loop: module loaded
[    3.314007] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps
0x3 impl platform mode
[    3.314014] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs
pio slum part sxs
[    3.314627] scsi host0: ahci-mvebu
[    3.314800] scsi host1: ahci-mvebu
[    3.314888] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x1
00 irq 45
[    3.314891] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x1
80 irq 45
[    3.315029] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps
0x3 impl platform mode
[    3.315036] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs
pio slum part sxs
[    3.315642] scsi host2: ahci-mvebu
[    3.315798] scsi host3: ahci-mvebu
[    3.315882] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x1
00 irq 46
[    3.315886] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x1
80 irq 46
[    3.316762] libphy: Fixed MDIO Bus: probed
[    3.317049] libphy: orion_mdio_bus: probed
[    3.317875] orion-mdio f1072004.mdio: Cannot register MDIO bus (-19)
[    3.318165] mvneta_bm f10c8000.bm: Buffer Manager for network controller enab
led
[    3.319703] mvneta f1070000.ethernet eth0: Using device tree mac address 00:5
0:43:ee:46:39
[    3.320766] mvneta f1030000.ethernet eth1: Using device tree mac address 00:5
0:43:ee:48:39
[    3.321991] mvneta f1034000.ethernet eth2: Using device tree mac address 00:5
0:43:46:48:ee
[    3.322146] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.322148] ehci-orion: EHCI orion driver
[    3.322243] orion-ehci f1058000.usb: EHCI Host Controller
[    3.322259] orion-ehci f1058000.usb: new USB bus registered, assigned bus num
ber 1
[    3.322459] orion-ehci f1058000.usb: irq 41, io mem 0xf1058000
[    3.351128] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.351236] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.351240] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    3.351244] usb usb1: Product: EHCI Host Controller
[    3.351247] usb usb1: Manufacturer: Linux 4.14.14-mvebu ehci_hcd
[    3.351250] usb usb1: SerialNumber: f1058000.usb
[    3.351513] hub 1-0:1.0: USB hub found
[    3.351533] hub 1-0:1.0: 1 port detected
[    3.351949] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.351964] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus numb
er 2
[    3.352106] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 q
uirks 0x00010010
[    3.352128] xhci-hcd f10f8000.usb3: irq 48, io mem 0xf10f8000
[    3.352220] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.352225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    3.352228] usb usb2: Product: xHCI Host Controller
[    3.352232] usb usb2: Manufacturer: Linux 4.14.14-mvebu xhci-hcd
[    3.352235] usb usb2: SerialNumber: f10f8000.usb3
[    3.352453] hub 2-0:1.0: USB hub found
[    3.352472] hub 2-0:1.0: 1 port detected
[    3.352619] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.352628] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus numb
er 3
[    3.352674] usb usb3: We don't know the algorithms for LPM for this host, dis
abling LPM.
[    3.352739] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    3.352744] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=
1
[    3.352747] usb usb3: Product: xHCI Host Controller
[    3.352750] usb usb3: Manufacturer: Linux 4.14.14-mvebu xhci-hcd
[    3.352753] usb usb3: SerialNumber: f10f8000.usb3
[    3.352945] hub 3-0:1.0: USB hub found
[    3.352967] hub 3-0:1.0: 1 port detected
[    3.353211] usbcore: registered new interface driver usb-storage
[    3.353326] mousedev: PS/2 mouse device common for all mice
[    3.353870] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as
rtc0
[    3.353978] i2c /dev entries driver
[    3.354287] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulato
r
[    3.364960] GPIO line 496 (pcie1.0-clkreq) hogged as input
[    3.366208] GPIO line 499 (pcie1.0-w-disable) hogged as output/low
[    3.367083] GPIO line 501 (usb3-current-limit) hogged as input
[    3.368331] GPIO line 502 (usb3-power) hogged as output/high
[    3.369579] GPIO line 507 (m.2 devslp) hogged as output/low
[    3.370455] GPIO line 508 (sfp-los) hogged as input
[    3.371332] GPIO line 509 (sfp-tx-fault) hogged as input
[    3.372580] GPIO line 510 (sfp-tx-disable) hogged as output/low
[    3.373455] GPIO line 511 (sfp-mod-def0) hogged as input
[    3.384112] (NULL device *): hwmon_device_register() is deprecated. Please co
nvert the driver to use hwmon_device_register_with_info().
[    3.384370] orion_wdt: Initial timeout 171 sec
[    3.384673] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-d
evel@redhat.com
[    3.385009] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    3.385014] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    3.385163] sdhci: Secure Digital Host Controller Interface driver
[    3.385165] sdhci: Copyright(c) Pierre Ossman
[    3.461127] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using A
DMA
[    3.461212] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.461279] hidraw: raw HID events driver (C) Jiri Kosina
[    3.461321] usbcore: registered new interface driver usbhid
[    3.461322] usbhid: USB HID core driver
[    3.461492] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    3.461674] Initializing XFRM netlink socket
[    3.461887] NET: Registered protocol family 10
[    3.463368] Segment Routing with IPv6
[    3.463400] NET: Registered protocol family 17
[    3.463408] NET: Registered protocol family 15
[    3.463423] bridge: filtering via arp/ip/ip6tables is no longer available by
default. Update your scripts to load br_netfilter if you need this.
[    3.463444] 8021q: 802.1Q VLAN Support v1.8
[    3.463461] Key type dns_resolver registered
[    3.463535] ThumbEE CPU extension supported.
[    3.463539] Registering SWP/SWPB emulation handler
[    3.466776] registered taskstats version 1
[    3.466838] zswap: default zpool zbud not available
[    3.466841] zswap: pool creation failed
[    3.467459] Btrfs loaded, crc32c=crc32c-generic
[    3.467654] Key type encrypted registered
[    3.468261] mvebu-pcie soc:pcie: /soc/pcie/pcie@2,0: reset gpio is active low
[    3.517245] mmc0: new high speed MMC card at address 0001
[    3.517472] mmcblk0: mmc0:0001 8GME4R 7.28 GiB
[    3.517602] mmcblk0boot0: mmc0:0001 8GME4R partition 1 4.00 MiB
[    3.517727] mmcblk0boot1: mmc0:0001 8GME4R partition 2 4.00 MiB
[    3.517846] mmcblk0rpmb: mmc0:0001 8GME4R partition 3 512 KiB
[    3.518263]  mmcblk0: p1
[    3.581210] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    3.581215] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    3.581219] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    3.581223] pci_bus 0000:00: root bus resource [bus 00-ff]
[    3.581237] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    3.581332] PCI: bus0: Fast back to back transfers disabled
[    3.581336] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), rec
onfiguring
[    3.581388] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[    3.581409] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    3.581428] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.581473] pci 0000:01:00.0: supports D1 D2
[    3.581536] PCI: bus1: Fast back to back transfers disabled
[    3.581541] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.581552] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    3.581558] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bi
t]
[    3.581567] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0200000-0xe020ffff pref
]
[    3.581570] pci 0000:00:02.0: PCI bridge to [bus 01]
[    3.581576] pci 0000:00:02.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    3.581880] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.642404] ata4: SATA link down (SStatus 0 SControl 300)
[    3.642409] ata2: SATA link down (SStatus 0 SControl 300)
[    3.642428] ata3: SATA link down (SStatus 0 SControl 300)
[    3.811126] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.812100] ata1.00: supports DRM functions and may not be fully accessible
[    3.812105] ata1.00: ATA-9: Samsung SSD 850 EVO M.2 250GB, EMT21B6Q, max UDMA
/133
[    3.812109] ata1.00: 488397168 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    3.813155] ata1.00: supports DRM functions and may not be fully accessible
[    3.813972] ata1.00: configured for UDMA/133
[    3.814167] scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 850  1B6Q PQ
: 0 ANSI: 5
[    3.814483] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233
GiB)
[    3.814505] sd 0:0:0:0: [sda] Write Protect is off
[    3.814510] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.814550] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, does
n't support DPO or FUA
[    3.815100]  sda: sda1
[    3.815542] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    3.826226] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode.
 Opts: (null)
[    3.826239] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    3.827089] devtmpfs: mounted
[    3.827649] Freeing unused kernel memory: 1024K
[    4.109537] systemd[1]: System time before build time, advancing clock.
[    4.117470] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.130430] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL
INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +
XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    4.130601] systemd[1]: Detected architecture arm.
[    4.161488] systemd[1]: Set hostname to <clearfogpro>.
[    4.388232] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.421225] systemd[1]: Listening on udev Kernel Socket.
[    4.451230] systemd[1]: Listening on udev Control Socket.
[    4.481210] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.511505] systemd[1]: Created slice System Slice.
[    4.542515] systemd[1]: Mounting Debug File System...
[    4.571626] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    5.193399] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-
ro
[    6.132311] marvell-cesa f1090000.crypto: CESA device successfully registered
[    6.379978] pci 0000:00:02.0: enabling device (0140 -> 0142)
[    6.379999] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[    6.380248] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 r
eset_mode 0
[    6.674749] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-
pci-0000:01:00.0.bin failed with error -2
[    6.674756] ath10k_pci 0000:01:00.0: Falling back to user helper
[    6.953983] mvneta f1070000.ethernet eth0: could not find the PHY
[    6.953990] mvneta f1070000.ethernet eth0: cannot probe MDIO bus
[    7.004533] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-
0000:01:00.0.bin failed with error -2
[    7.004539] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.006015] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-6.bin failed with error -2
[    7.006021] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.008097] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-5.bin failed with error -2
[    7.008101] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.010003] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-4.bin failed with error -2
[    7.010007] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.012238] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-3.bin failed with error -2
[    7.012243] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.014410] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-2.bin failed with error -2
[    7.014414] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.016102] ath10k_pci 0000:01:00.0: Failed to find firmware-N.bin (N between
 2 and 6) from ath10k/QCA988X/hw2.0: -11
[    7.016106] ath10k_pci 0000:01:00.0: could not fetch firmware files (-11)
[    7.016111] ath10k_pci 0000:01:00.0: could not probe fw (-11)
[    7.239162] systemd-journald[295]: Received request to flush runtime journal
from PID 1
[    8.366275] EXT4-fs (mmcblk0p1): resizing filesystem from 328704 to 1869536 b
locks
[    8.462252] EXT4-fs (mmcblk0p1): resized filesystem to 1869536
[    9.320271] systemd[1]: apt-daily-upgrade.timer: Adding 42min 30.775383s rand
om time.
[    9.371618] random: crng init done
[    9.922294] systemd[1]: apt-daily-upgrade.timer: Adding 47min 20.143402s rand
om time.
[   10.334226] systemd[1]: apt-daily-upgrade.timer: Adding 25min 53.324174s rand
om time.
[   10.801423] mvneta f1070000.ethernet eth0: could not find the PHY
[   10.801428] mvneta f1070000.ethernet eth0: cannot probe MDIO bus
[   11.971441] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   11.973525] mvneta f1030000.ethernet eth1: could not find the PHY
[   11.973530] mvneta f1030000.ethernet eth1: cannot probe MDIO bus
[   11.988396] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   11.990345] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[   13.031167] mvneta f1034000.ethernet eth2: Link is Up - 1Gbps/Full - flow con
trol off
[   13.031188] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[   21.082273] systemd[1]: apt-daily-upgrade.timer: Adding 14.100546s random tim
e.
[   21.613232] systemd[1]: apt-daily-upgrade.timer: Adding 31min 45.573687s rand
om time.
[   22.545930] Adding 131068k swap on /var/swap.  Priority:-2 extents:1 across:1
31068k SSFS
[   23.113344] systemd[1]: apt-daily-upgrade.timer: Adding 56min 5.901244s rando
m time.
[   23.702595] systemd[1]: apt-daily-upgrade.timer: Adding 47min 53.923212s rand
om time.
[   24.164851] systemd[1]: apt-daily-upgrade.timer: Adding 29min 2.348497s rando
m time.
[   67.684040] mvneta f1070000.ethernet eth0: could not find the PHY
[   67.684046] mvneta f1070000.ethernet eth0: cannot probe MDIO bus
root@clearfogpro:~#

 

Seems same. 4.14.14 or 4.4.115 same behavior.

 

If u-boot didn't show both I'd think it was hardware. But it clearly shows both cards regardless of which slot they are in. Armbian only sees the outside slot, either card.

Link to comment
Share on other sites

I know what to do to test ... but I have to leave for work :\

 

install next 4.14.114

I have to learn the manual networking. I'm hoping Count Doku config here will work for me.

update / upgrade

then switch to nightly and see if the card is detected

?

 

install the clearfog debian image

see if the card is detected ?

(update / upgrade fails with repository errors though)

 

whatever else any of you instruct me to do.

 

it will be a day or two before I'm back at the terminal :((

 

Link to comment
Share on other sites

Funny thing is, I actually also have a SATA Card (but only 2 Port) running in one PCIe and the WLE600VX (small brother of your 900) in the other. 
And I checked and both are running in both slots (cross checked)....

I am currently using Armbian 5.41 (newest I think)
(ARMBIAN 9 (stretch)  Debian GNU/Linux 9 (stretch) 4.14.18-mvebu)

 

I also suggest to update your system and check again. And if you compile your own kernel, *do not* check the pcie option as this breaks the ath10k pci driver.... 
I am unsure why and will make a seperate post for that problem....

 

Attached my output from lspci and dmesg 

 

dmesg part of pci and ath10k

[   11.199812] pci 0000:00:03.0: enabling device (0140 -> 0142)
[   11.205508] ath10k_pci 0000:02:00.0: enabling device (0140 -> 0142)
[   11.212012] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   11.332699] libphy: mv88e6xxx SMI: probed
[   11.336757] DSA: switch 0 0 parsed
[   11.340204] DSA: tree 0 parsed
[   11.464359] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   11.475104] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.528208] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   11.538610] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.553353] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   11.564121] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.585703] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   11.594968] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[   11.603714] ath10k_pci 0000:02:00.0: firmware ver 10.2.4.70.54 api 5 features no-p2p,raw-mode,mfp crc32 9d340dd9
[   11.643836] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   11.654320] ath10k_pci 0000:02:00.0: Falling back to user helper
[   11.670826] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   12.154010] Marvell 88E1540 mv88e6xxx-0:00: attached PHY driver [Marvell 88E1540] (mii_bus:phy_addr=mv88e6xxx-0:00, irq=POLL)
[   12.361859] Marvell 88E1540 mv88e6xxx-0:01: attached PHY driver [Marvell 88E1540] (mii_bus:phy_addr=mv88e6xxx-0:01, irq=POLL)
[   12.496977] Marvell 88E1540 mv88e6xxx-0:02: attached PHY driver [Marvell 88E1540] (mii_bus:phy_addr=mv88e6xxx-0:02, irq=POLL)
[   12.586213] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   12.631796] Marvell 88E1540 mv88e6xxx-0:03: attached PHY driver [Marvell 88E1540] (mii_bus:phy_addr=mv88e6xxx-0:03, irq=POLL)
[   12.742057] Marvell 88E1540 mv88e6xxx-0:04: attached PHY driver [Marvell 88E1540] (mii_bus:phy_addr=mv88e6xxx-0:04, irq=POLL)
[   12.760583] Generic PHY fixed-0:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:03, irq=POLL)
[   12.879496] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   13.010060] ath: EEPROM regdomain: 0x0
[   13.010064] ath: EEPROM indicates default country code should be used
[   13.010066] ath: doing EEPROM country->regdmn map search
[   13.010069] ath: country maps to regdmn code: 0x3a
[   13.010071] ath: Country alpha2 being used: US
[   13.010073] ath: Regpair used: 0x3a
[   13.024541] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

 

lspci

00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
00:03.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
02:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

 

Picture of my assembly: https://jannis.imserv.org/nextcloud/index.php/s/Ydp8JMqJCbGzdBK

 

 

Link to comment
Share on other sites

I have never compiled anything more than simple c programs I wrote myself ... it's something I think I'd better set up and do. For now, all of my 'desktops' are Odroid ARM boards. I will get an x86 system to set up per the Armbian build instructions.

 

For now, I'm using what I can download from the download page which is currently  Armbian_5.38_Clearfogpro_Debian_stretch_next_4.14.14. network manager is broken on that one so I haven't been able to do any updates on it. I've been able to update default 4.4.112 to 115 but it has the same problems.

 

I installed the Solid-Run 20171001 Debian Stretch but it fails at apt-get update so I don't trust it, but their lspci also shows only the card in the outside slot. Its running 4.9.45.

 

I'm praying at this moment it is a difference in kernel or something because if it's hardware I just don't trust Solid-Run to replace it with any speed, it took me months to get this board ...

 

I'm really bummed, I find posts all over Armbian and Solid-Run forums that others have had problems running two cards at the same time, most posts have gone unanswered. I can usually get past anything but this one has me stopped. The entire project fails if both cards won't function.

 

EDIT:

Also I noted my card is a pcie 1.1 card, there have been issues

https://forum.solid-run.com/hardware-f33/pcie-1-1-cards-not-detected-t3332.html

but seem to have been solved. For the heck of it I ordered a mpcie 2.0 card, 2 port only but for $20 it's a good answer anyway ...

 

 

Link to comment
Share on other sites

I just checked the dmesg postet by Techni and it seems like the firmware for the card ist just not available:

[    6.379978] pci 0000:00:02.0: enabling device (0140 -> 0142)
[    6.379999] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[    6.380248] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 r
eset_mode 0
[    6.674749] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-
pci-0000:01:00.0.bin failed with error -2
[    6.674756] ath10k_pci 0000:01:00.0: Falling back to user helper
[    6.953983] mvneta f1070000.ethernet eth0: could not find the PHY
[    6.953990] mvneta f1070000.ethernet eth0: cannot probe MDIO bus
[    7.004533] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-
0000:01:00.0.bin failed with error -2
[    7.004539] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.006015] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-6.bin failed with error -2
[    7.006021] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.008097] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-5.bin failed with error -2
[    7.008101] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.010003] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-4.bin failed with error -2
[    7.010007] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.012238] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-3.bin failed with error -2
[    7.012243] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.014410] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/
hw2.0/firmware-2.bin failed with error -2
[    7.014414] ath10k_pci 0000:01:00.0: Falling back to user helper
[    7.016102] ath10k_pci 0000:01:00.0: Failed to find firmware-N.bin (N between
 2 and 6) from ath10k/QCA988X/hw2.0: -11
[    7.016106] ath10k_pci 0000:01:00.0: could not fetch firmware files (-11)
[    7.016111] ath10k_pci 0000:01:00.0: could not probe fw (-11)
[    7.239162] systemd-journald[295]: Received request to flush runtime journal
from PID 1

 

Is it possible that the ath10k is (why ever) not integrated?

 

@Technicavolous can you check with ls or so if there are any files in /lib/firmware/ath10k/QCA988X/hw2.0 ?

 

At my clearfog it looks like this:

root@clearfogpro:~# ls /lib/firmware/ath10k/QCA988X/hw2.0
board.bin  firmware-4.bin  firmware-5.bin

 

 

Here it also says that there are some problems with the WLE900VX not getting detected: 
https://wireless.wiki.kernel.org/en/users/drivers/ath10k#supported_devices

 

 

Link to comment
Share on other sites

Excuse this double post / push.

 

But I think I found your problem Techni and a simple solution.

 

I built a new armbian image using newest kernel and debian and made sure to check the ath10k pci driver option.

 

Then burned it to my sd card and booted my clearfog -> voila same error as yours in dmesg. And no firmware files in /lib/firmware/ath10k!

 

A simple apt install firmware-atheros got me the firmware and after a reboot the card is detected and available in ifconfig.

 

So just try it using lan and install the atheros firmware.

 

I will also provide my testimage (login: root and 1234) in case you have no network connectivity.

(Upload will take some time, will update this with link when its done...)

EDIT: couldnt get a running image resized from my 64GB SD Card in time. Will try again if you need it...

 

Greetings,

count-doku

 

Link to comment
Share on other sites

@count-doku THAT seems like what I've been thinking! Zador had told me to update the firmware and I *thought* I had but obviously had failed. I have installed the Solidrun Debian and have the same results.

 

I will be back at my lab late tonight and I will let you know! Thanks for offering the image, but I need to learn how to handle all of this myself. But the firmware makes sense. 

 

Thanks!!
 

Link to comment
Share on other sites

@zador.blood.stained it will be a little bit before I can compile ... but it is high on my list to build an Armbian build system and learn it. 

Would that be possible to do using the automated build system noted here, and would it be better to learn that than make my own build system?

 

@count-doku No matter what configuration I use, neither my SATA card nor my wifi card are usable in the inside slot, both are usable in the outside slot. I had Armbian-Config recognizing the wifi card in the outside slot but not the inside slot. I'm beginning to believe it's hardware but u-boot reporting the card still has me doubting.

 

I would very much like to try an image that works for you if we can figure out how to get it to me...

 

I've installed so many images I've confused myself. Tonight I'm going to make a truth chart and post all the dmesg outputs. All I can say is behavior has been identical in every case.

Link to comment
Share on other sites

@Technicavolous

I just looked at your dmesg log from this post

On 20.02.2018 at 10:45 PM, Technicavolous said:

[    0.000000] Machine model: SolidRun Clearfog Base A1

 

Did you flash the u-boot binary for the Base model to your eMMC? Or looking at your earlier posts you must have flashed the non-Armbian (unpatched) u-boot blob. Looks like this results in loading Clearfog Base DT even when using the Clearfog Pro image.

Now that you have OS running from eMMC you should be able to flash a new u-boot image to /dev/mmcblk0boot0 using dd (you'll need to unlock it by running "echo 0 > /sys/block/mmcblk0boot0/force_ro" from a root command prompt or "echo 0 | sudo tee /sys/block/mmcblk0boot0/force_ro" from a non-root command prompt).

Please unpack a .deb package from here and use the u-boot.mmc blob from it. You should be able to confirm the flashing by checking the u-boot build date printed during early boot in the serial console.

Edited by zador.blood.stained
boot0 partition should be unlocked first
Link to comment
Share on other sites

35 minutes ago, count-doku said:

The image is a fresh build and just apt updated and firmware-atheros installed.

You might need to re expand the partition though, if you want to use it for production...

This won't help if this image is loaded by a wrong u-boot version (that was flashed to eMMC previously) unless you force load a proper DT file.

Link to comment
Share on other sites

There is some problem with a legacy kernel. With ath10 card it crashes. Checking mainline ...
 

Spoiler

[   16.839537] Unable to handle kernel NULL pointer dereference at virtual address 0000001a
[   16.847676] pgd = c0004000
[   16.850393] [0000001a] *pgd=00000000
[   16.853996] Internal error: Oops: 805 [#1] SMP THUMB2
[   16.859063] Modules linked in: ath10k_pci ath10k_core ath mac80211 cfg80211 firmware_class rfkill cpufreq_userspace cpufreq_stats marvell_cesa des_generic uio_pdrv_genirq uio mv_cesa ip_tables x_tables autofs4 btrfs xor xor_neon zlib_deflate raid6_pq rtc_armada38x ehci_orion
[   16.883776] CPU: 1 PID: 56 Comm: kworker/u4:3 Not tainted 4.4.117-mvebu #4
[   16.890668] Hardware name: Marvell Armada 380/385 (Device Tree)
[   16.896642] Workqueue: ath10k_wq ath10k_core_register_work [ath10k_core]
[   16.903377] task: c2a94c00 ti: c2a96000 task.ti: c2a96000
[   16.908824] PC is at ath10k_mac_setup_ht_vht_cap+0x1e7/0x294 [ath10k_core]
[   16.915720] LR is at 0xc2a97e0a
[   16.918873] pc : [<bfb4321c>]    lr : [<c2a97e0a>]    psr: 20000133
[   16.918873] sp : c2a97de8  ip : 00000006  fp : ec0923d8
[   16.930382] r10: 00000003  r9 : 00000001  r8 : 338001b2
[   16.935623] r7 : ec091740  r6 : c2a97df8  r5 : ec0923c0  r4 : 0000fffa
[   16.942171] r3 : 00000001  r2 : 00000003  r1 : 338001b2  r0 : 00000001
[   16.948721] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   16.956056] Control: 50c5387d  Table: 2d25804a  DAC: 00000051
[   16.961826] Process kworker/u4:3 (pid: 56, stack limit = 0xc2a96218)
[   16.968203] Stack: (0xc2a97de8 to 0xc2a98000)
[   16.972582] 7de0:                   ee000340 00000003 00000001 000019e3 00000001 338001b2
[   16.980791] 7e00: 0000fffa 0000fffa 19e3aeed ff060363 000000ff 00000000 01000000 00000000
[   16.989000] 7e20: 00000001 338001b2 0000fffa 0000fffa 00000100 eca20000 bfb5c540 ec091740
[   16.997209] 7e40: 00000019 bfb66030 ec092494 ec091998 00000000 c05c9e80 c0b026e4 bfb4af1b
[   17.005411] 7e60: 00000000 ec091740 ec092514 bfb4cfe1 000a000a 00000001 4100016c 00000007
[   17.013616] 7e80: ec092710 c2860dc0 ee08b000 80000000 ee092100 c0131add 00000001 00000000
[   17.021818] 7ea0: c0131a16 c2a95168 3d56ae68 00000000 bfb67f4c c0d14b20 00000000 bfb60834
[   17.030016] 7ec0: 00000000 00000000 c0b02100 c2860dc0 c2860dd8 ee08b000 00000088 ee08b038
[   17.038214] 7ee0: c2a96000 ee08b09c c0b02100 c01320f1 c29ee800 00000000 c2a97f10 00000000
[   17.046414] 7f00: c29ee800 c2a96000 c2860dc0 c0131ea1 00000000 00000000 00000000 c0136b6f
[   17.054612] 7f20: 00000001 00000000 c2a94c00 c2860dc0 00000000 00000000 dead4ead ffffffff
[   17.062811] 7f40: ffffffff c0ba51e8 00000000 00000000 c0737f8c 00000001 00000001 c2a97f5c
[   17.071008] 7f60: c2a97f5c 00000000 00000000 dead4ead ffffffff ffffffff c0ba51e8 00000000
[   17.079207] 7f80: 00000000 c0737f8c 00000001 00000000 c2a97f90 c2a97f90 c29ee800 c0136aa5
[   17.087412] 7fa0: 00000000 00000000 00000000 c01060dd 00000000 00000000 00000000 00000000
[   17.095613] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   17.103811] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 e7fddef0 e7fddef0
[   17.112091] [<bfb4321c>] (ath10k_mac_setup_ht_vht_cap [ath10k_core]) from [<bfb4af1b>] (ath10k_mac_register+0xba/0x4a8 [ath10k_core])
[   17.124196] [<bfb4af1b>] (ath10k_mac_register [ath10k_core]) from [<bfb4cfe1>] (ath10k_core_register_work+0x438/0x534 [ath10k_core])
[   17.136207] [<bfb4cfe1>] (ath10k_core_register_work [ath10k_core]) from [<c0131add>] (process_one_work+0x255/0x4b4)
[   17.146688] [<c0131add>] (process_one_work) from [<c01320f1>] (worker_thread+0x251/0x3a8)
[   17.154892] [<c01320f1>] (worker_thread) from [<c0136b6f>] (kthread+0xcb/0xd0)
[   17.162137] [<c0136b6f>] (kthread) from [<c01060dd>] (ret_from_fork+0x11/0x34)
[   17.169379] Code: f88d 2025 f88d c026 (765f) 2d68 
[   17.174280] ---[ end trace 4039b28b4dfedd7d ]---
[   17.178938] Kernel panic - not syncing: Fatal exception
[   17.184181] CPU0: stopping
[   17.186898] CPU: 0 PID: 322 Comm: systemd-journal Tainted: G      D         4.4.117-mvebu #4
[   17.195356] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.201297] [<c010db0d>] (unwind_backtrace) from [<c0109a39>] (show_stack+0x11/0x14)
[   17.209062] [<c0109a39>] (show_stack) from [<c0362969>] (dump_stack+0x81/0xa8)
[   17.216304] [<c0362969>] (dump_stack) from [<c010c68d>] (handle_IPI+0xe9/0x210)
[   17.223632] [<c010c68d>] (handle_IPI) from [<c01013d1>] (gic_handle_irq+0x5d/0x64)
[   17.231220] [<c01013d1>] (gic_handle_irq) from [<c010a2d1>] (__irq_svc+0x51/0x7c)
[   17.238719] Exception stack(0xecd2be30 to 0xecd2be78)
[   17.243783] be20:                                     ec6c5be0 00000081 40000000 00000040
[   17.251981] be40: ecd2bed0 ed57d000 ed57d011 00000000 ecd2bed0 fffff000 00000080 00000000
[   17.260178] be60: 00000004 ecd2be80 c0231981 c0230374 00010033 ffffffff
[   17.266811] [<c010a2d1>] (__irq_svc) from [<c0230374>] (inode_permission+0x28/0x34)
[   17.274488] [<c0230374>] (inode_permission) from [<c0231981>] (link_path_walk+0x49/0x37c)
[   17.282687] [<c0231981>] (link_path_walk) from [<c0231ef1>] (path_lookupat+0x2d/0xb0)
[   17.290537] [<c0231ef1>] (path_lookupat) from [<c023439d>] (filename_lookup+0x65/0xc4)
[   17.298474] [<c023439d>] (filename_lookup) from [<c0228731>] (SyS_faccessat+0xa1/0x180)
[   17.306500] [<c0228731>] (SyS_faccessat) from [<c01061cd>] (__sys_trace_return+0x1/0xc)
[   17.314528] ---[ end Kernel panic - not syncing: Fatal exception

 

 

After switching to 4.14.18 from apt.armbian.com, everything is fine, wlan works. After installing full firmware package: apt install armbian-firmware-full

http://ix.io/OJw


Serial console log:
 

Spoiler

BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01 (Jan 24 2018 - 22:31:36) Marvell version: 2015_T1.0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
*** Warning - bad CRC, using default environment

PCI-e 0: Detected No Link.
PCI-e 2 (IF 1 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed6000:0x3ff98098
       BSS:                     0x3ffefd54
       Stack:                   0x3f9c5f20
       Heap:                    0x3f9c6000:0x3fed6000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0 
Trying to boot from MMC
1604 bytes read in 13 ms (120.1 KiB/s)
## Executing script at 03000000
Boot script loaded from mmc
221 bytes read in 11 ms (19.5 KiB/s)
20352 bytes read in 16 ms (1.2 MiB/s)
4526554 bytes read in 250 ms (17.3 MiB/s)
5570376 bytes read in 299 ms (17.8 MiB/s)
## Loading init Ramdisk from Legacy Image at 02880000 ...
   Image Name:   uInitrd
   Created:      2018-02-24  15:57:42 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4526490 Bytes = 4.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
## Flattened Device Tree blob at 02040000
   Booting using the fdt blob at 0x02040000
   Using Device Tree in place at 02040000, end 02047f7f

   Skipping Device Tree update ('fdt_skip_update' = yes)

Limit DDR size at 3GB due to power of 2 requirement of Address decoding

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
/dev/mmcblk0p1: clean, 61885/911904 files, 429921/3849616 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 9 (stretch)!

[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Journal Socket.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Debug File System...
         Starting Restore / save the current clock...
         Starting Nameserver information manager...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Created slice system-getty.slice.
         Starting Load Kernel Modules...
         Mounting POSIX Message Queue File System...
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on fsck to fsckd communication Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Paths.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
         Starting Set the console keyboard layout...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Nameserver information manager.
         Starting udev Coldplug all Devices...
         Activating swap /var/swap...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Activated swap /var/swap.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Swap.
[  OK  ] Mounted /tmp.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target Local File Systems.
         Starting Armbian enhanced Log2Ram...
         Starting Set console font and keymap...
         Starting Raise network interfaces...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Set console font and keymap.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started ifup for eth0.
[  OK  ] Started Armbian enhanced Log2Ram.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Raise network interfaces.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
         Starting System Logging Service...
         Starting Login Service...
         Starting LSB: Armbian gathering hardware information...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Start/stop sysstat's sadc...
[  OK  ] Started System Logging Service.
[  OK  ] Started Login Service.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[  OK  ] Started Permit User Sessions.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: Armbian gathering hardware information.
         Starting Authorization Manager...
         Starting WPA supplicant...
[  OK  ] Started WPA supplicant.
[  OK  ] Started Authorization Manager.
[  OK  ] Created slice User Slice of root.
         Starting User Manager for UID 0...
[  OK  ] Started Session 2 of user root.
[  OK  ] Started User Manager for UID 0.
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting /etc/rc.local Compatibility...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: Start NTP daemon...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 9 clearfogpro ttyS0

 

 


Compex VL600 running as AP, my notebook client few meters away, Intel AC7260
 

Spoiler

[  4]   0.00-1.00   sec  25.2 MBytes   212 Mbits/sec    0    574 KBytes       
[  4]   1.00-2.00   sec  26.1 MBytes   219 Mbits/sec    0    673 KBytes       
[  4]   2.00-3.00   sec  27.5 MBytes   231 Mbits/sec    0    673 KBytes       
[  4]   3.00-4.00   sec  26.2 MBytes   220 Mbits/sec    0    708 KBytes       
[  4]   4.00-5.00   sec  26.2 MBytes   220 Mbits/sec    0    708 KBytes       
[  4]   5.00-6.00   sec  26.2 MBytes   220 Mbits/sec    0    744 KBytes       
[  4]   6.00-7.00   sec  26.2 MBytes   220 Mbits/sec    0    744 KBytes       
[  4]   7.00-8.00   sec  26.2 MBytes   220 Mbits/sec    0    783 KBytes       
[  4]   8.00-9.00   sec  27.5 MBytes   231 Mbits/sec    0    824 KBytes    

 

 

Changed to the other mPCI port, everything is normal, performance unchanged, properly recognized:
 

Spoiler

U-Boot 2013.01 (Jan 24 2018 - 22:31:36) Marvell version: 2015_T1.0p11

Board: A38x-Customer-Board-1
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 250 [MHz]
       DDR3    @ 800 [MHz]
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB
MMC:   mv_sdh: 0
*** Warning - bad CRC, using default environment

PCI-e 1 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 1.1
PCI-e 1: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode

Map:   Code:                    0x3fed6000:0x3ff98098
       BSS:                     0x3ffefd54
       Stack:                   0x3f9c5f20
       Heap:                    0x3f9c6000:0x3fed6000
       U-Boot Environment:      0x000f0000:0x00100000 (MMC)

Board configuration detected:
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |   In-Band    |
| egiga2 |   SGMII   |   In-Band    |
egiga0 [PRIME], egiga1, egiga2
Hit any key to stop autoboot:  0

 

 

Link to comment
Share on other sites

21 hours ago, zador.blood.stained said:

Or looking at your earlier posts you must have flashed the non-Armbian (unpatched) u-boot blob. Looks like this results in loading Clearfog Base DT even when using the Clearfog Pro image.

This is the entirety of the problem.  Wrong u-boot, wrong DTB. I still can't get kwboot or the script to initiate a boot but since I had already a semi-working u-boot I wrote the correct one and it was immediately able to see usb where I never had before.

 

I'm going to start from scratch but lspci got a hoot from me when I saw this -

root@clearfogpro:~#lspci
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
00:03.0 PCI bridge: Marvell Technology Group Ltd. Device 6828 (rev 04)
01:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
02:00.0 SATA controller: Marvell Technology Group Ltd. Device 9215 (rev 11)
root@clearfogpro:~# 

 

I'll correct my page on installing from tftp to emphasize the right files. I'd be miles ahead had I got the u-boot correct in the first place. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines