El-Luhb / nvme-Carrier-for-LattePanda-Mu

nvme Carrier PCB for the LattePanda Mu compute module
MIT License
2 stars 1 forks source link

BIOS #1

Open El-Luhb opened 5 months ago

El-Luhb commented 5 months ago

need BIOS file

El-Luhb commented 2 months ago

Got a BIOS from the LattePanda Team

HSIO Lanes:

El-Luhb commented 2 months ago

Strange behavior of the system. If all ports (including the PCIe) are occupied with nvme SSDs, 4 are recognized. However, if only one is used at a time, it is not recognized on any port. If only the 4 ports are used that were running when fully populated, only 2 are recognized.

El-Luhb commented 2 months ago

I tested the BIOS on the Lite Carrier. Everything works normally. Even both USB3 ports. It seems that the configuration was not applied correctly.

El-Luhb commented 1 month ago

Was now able to install the BIOS on the carrier (new chips, as the first ones were accidentally bricked). Now all lanes are working. However, the USB3 prot still causes problems and if PCIe lane 6 is not occupied, PCIe lane 2 does not work. There may be other combinations that cause problems. I will test this. It seems that a custom BIOS cannot easily be installed on the Mu itself without causing errors. At least in the configuration I need here.

alphaarea commented 1 month ago

LP-BS-S70NC1R200-SR-B-El-Luhb-20240930.zip

A new BIOS file has been created for you, please try to see if it works properly, and it contains a new BIOS update program.

If you already have a CH341A programmer, you can ignore the attached update utility and use the CH341A to flash the BIOS file directly into the ROM.

No matter how to update, you should completely disconnect the power supply and RTC battery to restore the BIOS default settings after the update is finished.

In addition, according to my personal test, there are some cases that after the BIOS update is completed, you need to reboot the system again to recognize the new BIOS port configuration, i.e., PCIe, USB and other port configurations correctly. The reason is unknown.


If possible, please attach the actual device you are installing and the PCIe bus info in system so that we can further analyze the problem.

Use lspci for Linux, HWiNFO is recommended for Windows to generate hardware reports.

El-Luhb commented 1 month ago

Thank you for the new BIOS. Edit: Not all SSDs are recognized on the new BIOS ver. B. Nothing was recognized at the USB 3.x port on both. I'll probably have to check the solder contacts here. Edit: everything ok here. I have started my board with the same (full) configuration with both BIOS.

Here is the output from lspci: BIOS ver. A:

root@Tower:~# lspci
00:00.0 Host bridge: Intel Corporation Device 461c
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Device 464e
00:14.0 USB controller: Intel Corporation Device 54ed
00:14.2 RAM memory: Intel Corporation Device 54ef
00:15.0 Serial bus controller: Intel Corporation Device 54e8
00:15.2 Serial bus controller: Intel Corporation Device 54ea
00:15.3 Serial bus controller: Intel Corporation Device 54eb
00:16.0 Communication controller: Intel Corporation Device 54e0
00:19.0 Serial bus controller: Intel Corporation Device 54c5
00:19.1 Serial bus controller: Intel Corporation Device 54c6
00:1a.0 SD Host controller: Intel Corporation Device 54c4
00:1c.0 PCI bridge: Intel Corporation Device 54b9
00:1c.2 PCI bridge: Intel Corporation Device 54ba
00:1c.3 PCI bridge: Intel Corporation Device 54bb
00:1c.6 PCI bridge: Intel Corporation Device 54be
00:1d.0 PCI bridge: Intel Corporation Device 54b0
00:1d.1 PCI bridge: Intel Corporation Device 54b1
00:1d.2 PCI bridge: Intel Corporation Device 54b2
00:1d.3 PCI bridge: Intel Corporation Device 54b3
00:1f.0 ISA bridge: Intel Corporation Device 5481
00:1f.4 SMBus: Intel Corporation Device 54a3
00:1f.5 Serial bus controller: Intel Corporation Device 54a4
01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
03:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01)
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
05:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01)
06:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
07:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
08:00.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
09:03.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
09:07.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

Edit: BIOS ver. B:

root@Tower:~# lspci
00:00.0 Host bridge: Intel Corporation Device 461c
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Device 464e
00:14.0 USB controller: Intel Corporation Device 54ed
00:14.2 RAM memory: Intel Corporation Device 54ef
00:15.0 Serial bus controller: Intel Corporation Device 54e8
00:15.1 Serial bus controller: Intel Corporation Device 54e9
00:15.2 Serial bus controller: Intel Corporation Device 54ea
00:15.3 Serial bus controller: Intel Corporation Device 54eb
00:16.0 Communication controller: Intel Corporation Device 54e0
00:19.0 Serial bus controller: Intel Corporation Device 54c5
00:19.1 Serial bus controller: Intel Corporation Device 54c6
00:1a.0 SD Host controller: Intel Corporation Device 54c4
00:1c.0 PCI bridge: Intel Corporation Device 54b9
00:1c.2 PCI bridge: Intel Corporation Device 54ba
00:1c.3 PCI bridge: Intel Corporation Device 54bb
00:1c.6 PCI bridge: Intel Corporation Device 54be
00:1d.0 PCI bridge: Intel Corporation Device 54b0
00:1d.1 PCI bridge: Intel Corporation Device 54b1
00:1d.2 PCI bridge: Intel Corporation Device 54b2
00:1d.3 PCI bridge: Intel Corporation Device 54b3
00:1f.0 ISA bridge: Intel Corporation Device 5481
00:1f.4 SMBus: Intel Corporation Device 54a3
00:1f.5 Serial bus controller: Intel Corporation Device 54a4
01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
03:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01)
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
05:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01)
06:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
07:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD SM2263EN (rev 03)
08:00.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
09:03.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
09:07.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
**OLD (edited BIOS settings) ...** BIOS ver. B: ``` root@Tower:~# lspci 00:00.0 Host bridge: Intel Corporation Device 461c 00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics] 00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01) 00:0d.0 USB controller: Intel Corporation Device 464e 00:14.0 USB controller: Intel Corporation Device 54ed 00:14.2 RAM memory: Intel Corporation Device 54ef 00:15.0 Serial bus controller: Intel Corporation Device 54e8 00:15.1 Serial bus controller: Intel Corporation Device 54e9 00:15.2 Serial bus controller: Intel Corporation Device 54ea 00:15.3 Serial bus controller: Intel Corporation Device 54eb 00:16.0 Communication controller: Intel Corporation Device 54e0 00:19.0 Serial bus controller: Intel Corporation Device 54c5 00:19.1 Serial bus controller: Intel Corporation Device 54c6 00:1a.0 SD Host controller: Intel Corporation Device 54c4 00:1c.0 PCI bridge: Intel Corporation Device 54b9 00:1c.2 PCI bridge: Intel Corporation Device 54ba 00:1c.3 PCI bridge: Intel Corporation Device 54bb 00:1c.6 PCI bridge: Intel Corporation Device 54be 00:1d.0 PCI bridge: Intel Corporation Device 54b0 00:1d.1 PCI bridge: Intel Corporation Device 54b1 00:1d.2 PCI bridge: Intel Corporation Device 54b2 00:1d.3 PCI bridge: Intel Corporation Device 54b3 00:1f.0 ISA bridge: Intel Corporation Device 5481 00:1f.4 SMBus: Intel Corporation Device 54a3 00:1f.5 Serial bus controller: Intel Corporation Device 54a4 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO 03:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01) 04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04) 05:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD (rev 01) 08:00.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 09:03.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 09:07.0 PCI bridge: ASMedia Technology Inc. ASM1182e 2-Port PCIe x1 Gen2 Packet Switch 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) 0b:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) ```
El-Luhb commented 1 month ago

some more logs. file name --> a.ssd.1.8.net.11 --> BIOS ver. A . SSDs on HSIO 1 and 8 . Networkcard on HSIO 11 In b.ssd.1.2.3.8.9.10.net.6.11 none v2, I set the option ASPM to Auto. in the v2 it wase on Disabled (Default). Hardware I used: for SSDs on HSIO 1 and 8 or 2 and 9 (both Samsung PM981a) Networkcard: Noname Intel I226 other: HSIO 1 - Kingston A2000 HSIO 2 - Samsung PM9A1 HSIO 3 - KIOXIA Exceris G2 HSIO 6 - Intel I226 HSIO 8 - KIOXIA Exceris G2 HSIO 9 - Kingston A2000 HSIO 10 - Kingston A2000 HSIO 11 - Networkcard with two RTL8125 (PCIe Splitter: ASM1182e) if only one Networkcard, it is the Intel I226

a.ssd.1.2.3.8.9.10.net.6.11.txt a.ssd.1.8.net.11.txt a.ssd.2.9.net.6.txt a.ssd.2.9.net.11.txt b.ssd.1.2.3.8.9.10.net.6.11.txt b.ssd.1.2.3.8.9.10.net.6.11-v2.txt b.ssd.1.8.net.11.txt b.ssd.2.9.net.6.txt b.ssd.2.9.net.11.txt b.ssd.1.2.3.8.9.10.net.11.txt b.ssd.1.3.8.9.10.net.11.txt b.ssd.3.8.9.10.net.11.txt b.ssd.3.8.10.net.11.txt b.ssd.3.8.net.11.txt b.ssd.9.10.net.11.txt

Hope there is somethig to find here. I don't have much time in the moment :(

alphaarea commented 1 month ago

It looks like the PCIe ports are all recognized, is the SSD and NIC all working fine?

Also, do you mind if we make a few samples to promote LattePanda Mu?

El-Luhb commented 1 month ago

Yes, all PCIe ports work, but not in all combinations, e.g. if HSIO 2 and 9 are used with an SSD and HSIO 11 with a NIC, only the NIC is recognized (under default settings). I am currently playing with the BIOS settings to find possible problems. And the USB 3.x port does not yet work. If the PCIe devices are recognized, they reach the expected performance.

And I would be very happy if you would create and use samples of my project.

El-Luhb commented 1 month ago

I experimented a bit and now it seems that more combinations of M.2 mounting work. At least I haven't found one that doesn't work. What I have done: