I’m trying to get my eMMC SSD to work well. I have an Intel 660p, and I get lots of write errors and kernel panics with Linux 4.9. Therefore, I’m trying to use Linux 5.5.
It boots up, and my NVMe drive works great, but there are a few problems:
The background of the terminal on HDMI is blue-green.
eth0 never gets an IP address.
Per some other threads on here, I cleared the eMMC with store init 3. This gets rid of the green screen, and eth0 gets an IP address, but PCI stops working:
khadas@Khadas:~$ uname -a
Linux Khadas 5.5.0-rc2 #0.8.2 SMP PREEMPT Fri Jan 3 09:48:06 CST 2020 aarch64 aarch64 aarch64 GNU/Linux
khadas@Khadas:~$ lspci
khadas@Khadas:~$ cat /sys/class/mcu/usb_pcie_switch_mode
1
One thing that makes me suspicious is that with the mainline u-boot that comes with the 5.5 image, kbi portmode w 1 fails until I i2c dev 0:
=> kbi portmode r
port mode is pcie
=> kbi portmode w 1
set port mode to :pcie
No I2C bus selected
Error writing the chip: -19
=> i2c bus
Bus 0: i2c@5000 (active 0)
18: generic_18, offset len 1, flags 0
=> i2c dev 0
Setting bus to 0
=> kbi portmode w 1
set port mode to :pcie