loongson / firmware Goto Github PK
View Code? Open in Web Editor NEWFirmware Of LoongArch Machines
Firmware Of LoongArch Machines
ML5C插入没官方适配的内存条会直接两长一短告警,希望能去掉或改可选
Hi is it possible to get fw compatible with mainline linux for that board?
BIOS Information
Vendor: Loongson
Version: Loongson-UDK2018-V1.6.2-8W
Release Date: 06/20/2022
ROM Size: 4 MB
Characteristics:
PCI is supported
BIOS is upgradeable
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
UEFI is supported
BIOS Revision: 1.6
Handle 0x0002, DMI type 1, 27 bytes
System Information
Manufacturer: LOONGSON
Product Name: LOONGSON T100 T2208A
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0003, DMI type 2, 17 bytes
Base Board Information
Manufacturer: LOONGSON
Product Name: Loongson-LS2C5LE
Version: LS2C5LE
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
刷了新的rom, 南桥风扇不转, 天创者的V1.5和V1.4有区别吗?看图片是1.4, 我的板子是1.5,
看了看lvfs,上面有arm的板子的固件,框架应该有跨平台的可能
如果能支持的话,希望能尽量引导厂商上传,不然国产机器都不知道去哪找新的固件
AOSC OS 的 LiveKit 启动盘在搭载新世界固件的龙梦 A2101 主板和同方 L71 笔记本上启动失败,在 EFI Shell 中发现 bootloongarch64.efi 文件被截断为了 bootloon.efi 的格式。启动盘是用 grub-mkrescue 生成的,但在其他架构上没有发现这个问题(亦有可能是因为其他架构少有超过 8.3 格式的 .EFI 可执行文件名)。
有问题的 iso 可以从这里下载 https://releases.aosc.io/os-loongarch64/livekit/aosc-os_livekit_20230707_loongarch64.iso 。
此外,Qemu 8.0 中并不能复现这个问题。
注:笔记本机主为 @KatyushaScarlet
主板上面的丝印是 LS3A5000_7A2000_EVB_BOARD_V1.5
,原来的固件在 UEFI Shell 的 vers 信息如下:
Version: Loongson UEFI (3A50007A2000_Desktop) V2.0.05269-beta8
Build Time: 2022 09 16 10:48:49 CST
Commit: commit ac658fe4df9a42a46931c893341f118a71ee4f53 Author: mengxiangdong <[email protected]> Date: Thu Sep 15 14:48:54 2022 +0800
用 spi -u UDK2018_3A5000-7A2000_Desktop_EVB_V4.0.05429-stable202302_dbg.fd
刷入后,重启就没有任何显示输出了。
想请问:
使用环境为x86_64 archlinux,qemu版本7.2
无论是使用自己编译的edk2固件还是这个仓库里的版本都会报错:
仓库的版本:
自编译版本:
使用这个版本正常启动,但是当使用SATA硬盘时,map中没有fs0设备(虽然能正常检测到AHCI控制器)
When I try to upgrade the BIOS from the internal upgrade tool in BIOS v3.25, the following message be shown.
"不支持的固件版本"
BTW, the size of beta8 file is 4128768 bytes. but the size of v3.25 is 4194304 bytes.
The current BIOS file (UDK2018-LoongArch-A2101-pre-beta8.fd) is not signed version.
I have to write the file using the external tool into the flash chip. correct?
天创者NL430i(固件支持新世界),无论是在旧世界内核下还是新世界内核(Linux 6.5.0-4)下,都无法调节背光,/sys/class/backlight
目录直接是空的。我看了一下dmesg里有下面的错误
[ 1.311260] loongson_laptop: acpi_evalf(ECBG, d, ...) failed: AE_NOT_FOUND
我看了一下内核相关的代码(drivers/platform/loongarch/loongson-laptop.c
)应该是在调用EC的一个ACPI方法。我dump了一下机器的DSDT表发现HKEY设备直接就没有ECBG这个方法。与之相反,航天706所的龙芯笔记本的背光是可以调节的(当然它只支持旧世界),它的DSDT里的HKEY设备里面ECBG方法就是有的。所以这个背光无法调节的问题应该是出厂固件的bug。请问能否提供修复bug之后的固件?
附NL430i和706笔记本的DSDT和dmesg dump Link
When I booting the system with a USB stick plugged in, the boot failed because (hd0) changed from the HDD to the USB stick. It's not an issue: such behavior is very common among all motherboards. But when I removed the USB stick and tried to verify with "ls" in grub shell:
UsbRemoveDevice: device 1 removed
UsbEnumeratePort: device disconnected event on port 1
grub> ls
(proc) (hd0)
SystemContext.SystemContextLoongArch address 0xFDE0BEB4
CsrCrmd 0xB0
CsrPrmd 0x4
CsrEctl 0x800
CsrEstat 0x480000
CsrEpc 0xF9E27B4C
CsrBadv 0xAFAFAFAFAFAFAFBF
CsrBadi 0x2400132B
Shut down slave cores done!
天创者 L5A2 刷新 UDK2018_3A5000-7A2000_Desktop_EVB_V4.0.05429-stable202302_rel.fd 成功后,U盘安装 Loongnix-20.5.livecd.loongarch64.iso 花屏
选择 安装选项后,入下图所示
3A6000 安装RX6750XT显卡,显示器无法显示BIOS界面,鼠标键盘也没有任何反应
HDMI port not working on L5BMB01-CRB.
天创者主板开关机时会有长滴短滴的响声;
需求:
1、能否提供下各报警声音的具体含义?(比如长滴一声,短滴一声的代表什么?)
2、能否对RELEASE版本关闭滴滴,或者只短滴一声?
谢谢
硬件:https://item.jd.com/100025325285.html
BIOS信息:
dmidecode输出:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0x90000000FD77C000.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: ZD-TECH
Version: W05KT1CA
Release Date: 12/31/2021
ROM Size: 8192 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
Function key-initiated network boot is supported
UEFI is supported
BIOS Revision: 4.0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Loongson
Product Name: Loongson-LS3A5000-7A1000-1w-V0.1-CRB
Version: 1.0
Serial Number: TBD by OEM
UUID: 00112233-4455-6677-8899-aabbccddeeff
Wake-up Type: Power Switch
SKU Number: Loongson_SKU
Family: Type1Family
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Loongson
Product Name: Loongson-LS3A5000-7A1000-1w-V0.1-CRB
Version: 1.0
Serial Number: MX20BA001J
Asset Tag: Type2 - Board Asset Tag
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Type2 - Board Chassis Location
Chassis Handle: 0xFFFF
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: Loongson
Type: Rack Mount Chassis
Lock: Not Present
Version: Version To Be Filled By O.E.M
Serial Number: Chassis Board Serial#To Be Filled By O.E.M
Asset Tag: Chassis Board Asset Tag#To Be Filled By O.E.M
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: SKU Number#To Be Filled By O.E.M
Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0006, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A1
Internal Connector Type: None
External Reference Designator: TV OUT
External Connector Type: Mini DIN
Port Type: Video Port
Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: CRT
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: COM 1
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A2
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: Network
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9G2
Internal Connector Type: On Board Floppy
External Reference Designator: OnBoard Floppy Type
External Connector Type: None
Port Type: Other
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J7J1
Internal Connector Type: On Board IDE
External Reference Designator: OnBoard Primary IDE
External Connector Type: None
Port Type: Other
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Microphone In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Line In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Speaker Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0012, DMI type 12, 5 bytes
System Configuration Options
Option 1: ConfigOptions String 1
Option 2: ConfigOptions String 2
Handle 0x0013, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 2
zhCN
enUS
Currently Installed Language: zhCN
Handle 0x0014, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
Handle 0x0015, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU 0
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 41 35 30 30 30 4C 4C
Version: Loongson-3A5000
Voltage: 3.3 V
External Clock: 100 MHz
Max Speed: 2300 MHz
Current Speed: 2300 MHz
Status: Unpopulated
Upgrade: Other
L1 Cache Handle: 0x2001
L2 Cache Handle: 0x2002
L3 Cache Handle: 0x2003
Serial Number: Serial#To Be Filled By O.E.M.
Asset Tag: Asset Tag#To Be Filled By O.E.M.
Part Number: Part Number#To Be Filled By O.E.M.
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable
Handle 0x2000, DMI type 7, 27 bytes
Cache Information
Socket Designation: L1 iCache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32769 kB
Maximum Size: 32769 kB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Instruction
Associativity: 4-way Set-associative
Handle 0x2001, DMI type 7, 27 bytes
Cache Information
Socket Designation: L1 dCache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32769 kB
Maximum Size: 32769 kB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative
Handle 0x2002, DMI type 7, 27 bytes
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 32772 kB
Maximum Size: 32772 kB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
Handle 0x2003, DMI type 7, 27 bytes
Cache Information
Socket Designation: L3 Cache
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 33024 kB
Maximum Size: 33024 kB
Supported SRAM Types:
Synchronous
Installed SRAM Type: Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 16-way Set-associative
Handle 0x0016, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0017, DMI type 17, 92 bytes
Memory Device
Array Handle: 0x0016
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8192 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: DIMM1
Type: DDR4
Type Detail: Synchronous
Speed: 3200 MT/s
Manufacturer: UniIC
Serial Number: 80000845
Asset Tag:
Part Number: SCE08GU04APA-32
Rank: 1
Configured Memory Speed: 3200 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Technology: <OUT OF SPEC>
Memory Operating Mode Capability: None
Firmware Version: Not Specified
Module Manufacturer ID: Unknown
Module Product ID: Unknown
Memory Subsystem Controller Manufacturer ID: Unknown
Memory Subsystem Controller Product ID: Unknown
Non-Volatile Size: None
Volatile Size: None
Cache Size: None
Logical Size: None
Handle 0x0018, DMI type 17, 92 bytes
Memory Device
Array Handle: 0x0016
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM2
Bank Locator:
Type: Unknown
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Rank: Unknown
Configured Memory Speed: Unknown
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown
Memory Technology: <OUT OF SPEC>
Memory Operating Mode Capability: None
Firmware Version: Not Specified
Module Manufacturer ID: Unknown
Module Product ID: Unknown
Memory Subsystem Controller Manufacturer ID: Unknown
Memory Subsystem Controller Product ID: Unknown
Non-Volatile Size: None
Volatile Size: None
Cache Size: None
Logical Size: None
Handle 0x0019, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Array Handle: 0x0016
Partition Width: 2
Handle 0x001A, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x0017
Memory Array Mapped Address Handle: 0x0019
Partition Row Position: Unknown
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x001B, DMI type 9, 24 bytes
System Slot Information
Designation: PCIE1X_1
Type: x1 Other
Current Usage: In Use
Length: Other
Characteristics: Unknown
Bus Address: 0000:03:00.0
Handle 0x001C, DMI type 9, 24 bytes
System Slot Information
Designation: PCIE8X_1
Type: x8 Other
Current Usage: Available
Length: Other
Characteristics: Unknown
Bus Address: 0000:00:00.0
Handle 0x001D, DMI type 9, 24 bytes
System Slot Information
Designation: PCIE16X1
Type: x16 Other
Current Usage: In Use
Length: Other
Characteristics: Unknown
Bus Address: 0000:05:00.0
Handle 0x001E, DMI type 41, 11 bytes
Onboard Device
Reference Designation: SATA Controller
Type: SATA Controller
Status: Enabled
Type Instance: 1
Bus Address: 0000:00:08.0
Handle 0x001F, DMI type 10, 6 bytes
On Board Device Information
Type: SATA Controller
Status: Enabled
Description: SATA Controller
Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
最新的固件配合chenhuacai/linux@7316858 仍然有can't derive routing for PCI INT A的报错
chenhuacai/linux#2
内核维护者认为prestable202308固件没有传递正确的中断信息。因此重开一个issue。
This is handy for kernel development and certain use cases wanting some reliability. It's very convenient and preferable to have the device exposed via WDAT so we could avoid registering a platform device in Linux for that. (Currently there's no platform device usage in arch/loongarch
so we'd really like to protect that "purity".)
See also https://lwn.net/Articles/701235/ for some background from the Linux side.
I want to access my 3A5000-7A2000-EVB via SSH when I'm out for vacation. But occasionally a 5-minute power rage happens in my apartment, then the system is down and I cannot restart it until I return.
Can we add an option to automatically boot once the AC power is (re)connected? I remember there was such an option in A2101 old-world firmware.
Or maybe this option already exists but I didn't find it?
L5A1是天创者主板, 京东上还有在售卖,本仓库提供的固件目前没有针对集显的显存进行初始化,我们需要做集显驱动,请求帮助 @lichao
开机时,键盘三个灯都会亮一下。但马上就灭了。
已经更新为202308的bios,之前的202303也有这个问题。
天创者L5A2主板更新主板厂家给的版本:LS3A50007A-6-1-pason.fd后显示的版本号是:Loongs0n-UDK2018-U4.0.05420-stable202302
然后下载本仓库UDK2018_3A5000-7A2000_Desktop_EVB_V4.0.05429-stable202302_rel版本固件升级后不成功,bios版本仍然是显示厂家的版本,spi -u命令是显示两行ok的
天创者主板,物理机刷了 bata10 后启动时需要等很久才会显示Logo界面,
是否有什么方法可以提高启动速度?谢谢
BIOS Information
Vendor: Loongson
Version: Loongson-UDK2018-V4.0.05383-beta10
Release Date: 11/30/2022
ROM Size: 4 MB
Characteristics:
FSOpen: Open '\EFI\arch\grubloongarch64.efi' Success
[Bds] Expand HD(1,GPT,DB9001E0-658D-F449-9CE4-80D374745795,0x800,0x80000)/\EFI\arch\grubloongarch64.efi -> PciRoot(0x0)/Pci(0x13,0x0)/Pci(0x0,0x0)/NVMe(0x1,42-00-1F-81-00-B7-28-A4)/HD(1,GPT,DB9001E0-658D-F449-9CE4-80D374745795,0x800,0x80000)/\EFI\arch\grubloongarch64.efi
PROGRESS CODE: V03058000 I0
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B FAD41040
Loading driver at 0x000F9E66000 EntryPoint=0x000F9E67000
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF FAD41E98
ProtectUefiImageCommon - 0xFAD41040
- 0x00000000F9E66000 - 0x000000000003A000
PROGRESS CODE: V03058001 I0
TLB refill EPC 0xF9E6CA08
TLB refill BadVA 0x81C000030
Reproducible with both the grub in LoongArch Arch Linux 2022.06.16.1 ISO and my Gentoo grub package.
@yetist says the LoongArch Arch Linux's grub should be working, so I guess this might be a firmware problem. Strange indeed...
When I enable both "Above 4G decoding" and "Resizable BAR switch" with a GPU (AMD RX550 640SP) connected on the XA61200 V1.10 board, the firmware triggers a Breakpoint Exception:
GetVariable VesaModeInfoBlock OK! Size=256
0x700BB, 0x400040, 0x0, 0x0
0x0, 0x0, 0x4010001, 0x10000
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x84000000
0x17D7, 0x1110110, 0x1140113, 0x1170116
0x11A0119, 0x1660165, 0x1220121, 0x1240123
0x1460145, 0x1760175, 0x1D401D2, 0xFFFF
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
0x0, 0x0, 0x0, 0x0
!!!! LoongArch64 Exception Type - 0C(#BRK - Beeakpoint exception) !!!!
Zero - 0x0000000000000000, RA - 0x00000000FD918A9C, TP - 0x04700100000814A9, SP - 0x00000000FE2608A8
A0 - 0x0000000000000000, A1 - 0x0000000000000003, A2 - 0x0000000000000004, A3 - 0x0000000000000000
A4 - 0x00000000FBEAA518, A5 - 0x0000000000000000, A6 - 0x0000000000000003, A7 - 0x0000000000000002
T0 - 0x0000000000000000, T1 - 0x00000000FBEAA698, T2 - 0x0000000000000000, T3 - 0x0000000000000000
T4 - 0x0000000000000000, T5 - 0x0000000000000000, T6 - 0x0000000000000000, T7 - 0x0000000000000002
T8 - 0x0000000000000000, R21 - 0x04104148001804AC, FP - 0x00000000FE291308, S0 - 0x00000000FBEAA998
S1 - 0x00000000FBEAA338, S2 - 0x00000000FBEAA318, S3 - 0x0000000000000000, S4 - 0x00000000FD93E270
S5 - 0x00000000FD93AE40, S6 - 0x00000000FBECF428, S7 - 0x00000000FD93E158, S8 - 0x00000000FBEAA2A0
CRMD - 0x00000000000000B0, PRMD - 0x0000000000000004, EUEN - 0x0000000000000001, MISC - 0x0000000000000000
ECFG - 0x0000000000000800, ESTAT - 0x00000000000C0000, ERA - 0x00000000FD918B28, BADV - 0x0000000000000000
BADI - 0x00000000002A0007
!!!! Find image based on IP(0xFD918B28) /home/mengxiangdong/11148/uefi-loongarch/Build/Ls3a60007a/DEBUG_GCC83/LOONGARCH64/LsRefCodePkg/Drivers/BiosVideoThunkDxe/BiosVideo/DEBUG/BiosVideo.dll (ImageBase=00000000FD918000, EntryPoint=00000000FD9182B4) !!!!
I can work it around by removing the external GPU, turning off "Resizable BAR switch" (via the serial console, thanks to it I don't need to reprogram the flash!), and then reconnecting the GPU. Interestingly, the kernel still reports BAR size = 4GB even if "Resizable BAR switch" is off and "Above 4G decoding" is on.
smbios信息
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0x90000000FE360000.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: Loongson
Version: Loongson-UDK2018-V2.0.05269-beta8
Release Date: Unknown
ROM Size: 4096 kB
Characteristics:
PCI is supported
BIOS is upgradeable
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
UEFI is supported
BIOS Revision: 2.0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Loongson
Product Name: Loongson-3A5000-HV-7A2000-1w-V0.1-EVB
Version: Not Specified
Serial Number: Not Specified
UUID: Not Present
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
Manufacturer: Loongson
Product Name: Loongson-LS3A5000-7A2000-1w-EVB-V1.21
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 24 bytes
Chassis Information
Manufacturer: Loongson
Type: Desktop
Lock: Not Present
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: Unknown
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: Unspecified
Contained Elements: 0
SKU Number: Not Specified
Handle 0x0004, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU1
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 41 35 30 30 30 2D 48
Version: Loongson-3A5000-HV
Voltage: 1.2 V
External Clock: 25 MHz
Max Speed: 2500 MHz
Current Speed: 2500 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Handle 0x0005, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative
Handle 0x0006, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
Handle 0x0007, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 16384 kB
Maximum Size: 16384 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
Handle 0x0008, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE X4 SLOT
Type: x4 PCI Express 2 x4
Current Usage: Available
Length: Short
ID: 0
Characteristics:
3.3 V is provided
Handle 0x0009, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE X8 SLOT 1
Type: x8 PCI Express 2 x8
Current Usage: Available
Length: Short
ID: 1
Characteristics:
3.3 V is provided
Handle 0x000A, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE X8 SLOT 2
Type: x8 PCI Express 2 x8
Current Usage: Available
Length: Short
ID: 2
Characteristics:
3.3 V is provided
Handle 0x000B, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE X8 SLOT 3
Type: x8 PCI Express 2 x8
Current Usage: In Use
Length: Short
ID: 3
Characteristics:
3.3 V is provided
Bus Address: 0000:05:00.0
Handle 0x000C, DMI type 11, 5 bytes
OEM Strings
String 1: Standard-Loongson
Handle 0x000D, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x000E, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x0000000000000000k
Ending Address: 0x0000000800000000k
Range Size: 32 GB
Physical Array Handle: 0x0000
Partition Width: 0
Handle 0x000F, DMI type 28, 22 bytes
Temperature Probe
Description: Cpu Temperature
Location: Processor
Status: OK
Maximum Value: 128.0 deg C
Minimum Value: Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000
Nominal Value: 0.0 deg C
Handle 0x0010, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
Handle 0x0011, DMI type 39, 22 bytes
System Power Supply
Power Unit Group: 1
Location: To Be Filled By O.E.M
Name: To Be Filled By O.E.M
Manufacturer: To Be Filled By O.E.M
Serial Number: To Be Filled By O.E.M
Asset Tag: To Be Filled By O.E.M
Model Part Number: To Be Filled By O.E.M
Revision: To Be Filled By O.E.M
Max Power Capacity: Unknown
Status: Present, Unknown
Type: Unknown
Input Voltage Range Switching: Unknown
Plugged: No
Hot Replaceable: Yes
Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
固件文件是不是应该添加一个校验文件,避免文件下载的时候存在数据不完全情况
比如 AAAAAA.SHA256
VGA and HDMI on board have no signal. And I don't have an AMD card.
With the help of debug port, the Arch Linux can be installed and boot normally.
Are there any plans for a new release?
我的主板是 A2101 固件 vUDK2018-LoongArch-V4.0.05132-beta10
内存是 镁光 CT8G4DFS632A.M4FB 8GB ddr4 3200 x2
默认参数为 3200 CL22/24/26
我用内存条spd编程器修改 内存jedec参数为 3200 CL20, STREAM性能提升非常小:
Function Best Rate MB/s Avg time Min time Max time
Copy: 10670.3 0.015262 0.014995 0.016186
Scale: 16011.5 0.010140 0.009993 0.010431
Add: 15305.1 0.016296 0.015681 0.017149
Triad: 15550.1 0.015639 0.015434 0.015902
Function Best Rate MB/s Avg time Min time Max time
Copy: 11009.4 0.015061 0.014533 0.016776
Scale: 16288.2 0.009947 0.009823 0.010072
Add: 15323.8 0.016131 0.015662 0.016791
Triad: 15640.2 0.015663 0.015345 0.016745
请问固件的内存训练,是否遵循JEDEC标准的各种参数进行训练
如果为否,固件是否可以提供内存参数调节界面
这台笔记本标签为清华同方 超锐L860-T2,但外观与电商平台同型号有差异,与集特GITSTAR GDC-1401比较相似
CPU:3A5000M
桥片:7A1000
GPU:R5 430
希望能为这台笔记本适配新世界固件,非常感谢!
dmidecode 信息如下:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0x90000000FD798000.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: ZD-TECH
Version: KL4.1H.TF.N.041.211027.R
Release Date: 10/27/2021
ROM Size: 8192 kB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
Function key-initiated network boot is supported
UEFI is supported
BIOS Revision: 4.0
Firmware Revision: 2.26
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: THTF
Product Name: ChaoRui Series
Version: 1.0
Serial Number: C21118Z02104531230C
UUID: 00112233-4455-6677-8899-aabbccddeeff
Wake-up Type: Power Switch
SKU Number: Loongson_SKU
Family: ChaoRui
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: THTF
Product Name: THTF-LS3A5000-7A1000-L71
Version: VC
Serial Number: Chassis Board Serial#To Be Filled By O.E.M
Asset Tag: None
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: None
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: THTF
Type: Notebook
Lock: Not Present
Version: 1.0
Serial Number: Chassis Board Serial#To Be Filled By O.E.M
Asset Tag: Chassis Board Asset Tag#To Be Filled By O.E.M
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00001D05
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: Not Specified
Handle 0x0004, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: PS/2
Port Type: Keyboard Port
Handle 0x0005, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Mouse
External Connector Type: PS/2
Port Type: Mouse Port
Handle 0x0006, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A1
Internal Connector Type: None
External Reference Designator: TV OUT
External Connector Type: Mini DIN
Port Type: Video Port
Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: CRT
External Connector Type: DB-15 female
Port Type: Video Port
Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J2A2
Internal Connector Type: None
External Reference Designator: COM 1
External Connector Type: DB-9 male
Port Type: Serial Port 16550A Compatible
Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J3A1
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A2
Internal Connector Type: None
External Reference Designator: USB
External Connector Type: Access Bus (USB)
Port Type: USB
Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J5A1
Internal Connector Type: None
External Reference Designator: Network
External Connector Type: RJ-45
Port Type: Network Port
Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J9G2
Internal Connector Type: On Board Floppy
External Reference Designator: OnBoard Floppy Type
External Connector Type: None
Port Type: Other
Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J7J1
Internal Connector Type: On Board IDE
External Reference Designator: OnBoard Primary IDE
External Connector Type: None
Port Type: Other
Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Microphone In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Line In
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J30
Internal Connector Type: None
External Reference Designator: Speaker Out
External Connector Type: Mini Jack (headphones)
Port Type: Audio Port
Handle 0x0012, DMI type 12, 5 bytes
System Configuration Options
Option 1: ConfigOptions String 1
Option 2: ConfigOptions String 2
Handle 0x0013, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 2
zhCN
enUS
Currently Installed Language: zhCN
Handle 0x0014, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
Handle 0x0015, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Single-bit ECC
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 1
Handle 0x0016, DMI type 17, 92 bytes
Memory Device
Array Handle: 0x0015
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 8192 MB
Form Factor: DIMM
Set: None
Locator: DIMMA1
Bank Locator: DIMMA1
Type: DDR4
Type Detail: Synchronous
Speed: 3200 MT/s
Manufacturer: UniIC
Serial Number: 00074773
Asset Tag:
Part Number: SCC08GS03H3F1C-32AA
Rank: 1
Configured Memory Speed: 3200 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Technology: <OUT OF SPEC>
Memory Operating Mode Capability: None
Firmware Version: Not Specified
Module Manufacturer ID: Unknown
Module Product ID: Unknown
Memory Subsystem Controller Manufacturer ID: Unknown
Memory Subsystem Controller Product ID: Unknown
Non-Volatile Size: None
Volatile Size: None
Cache Size: None
Logical Size: None
Handle 0x0017, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Array Handle: 0x0015
Partition Width: 1
Handle 0x0018, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x0016
Memory Array Mapped Address Handle: 0x0017
Partition Row Position: Unknown
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x0019, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative
Handle 0x001A, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
Handle 0x001B, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 16384 kB
Maximum Size: 16384 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
Handle 0x001C, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU1
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 41 35 30 30 30 4D 00
Version: Loongson-3A5000M
Voltage: 1.2 V
External Clock: 25 MHz
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0019
L2 Cache Handle: 0x001A
L3 Cache Handle: 0x001B
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Handle 0x001D, DMI type 41, 11 bytes
Onboard Device
Reference Designation: SATA Controller
Type: SATA Controller
Status: Enabled
Type Instance: 1
Bus Address: 0000:00:08.0
Handle 0x001E, DMI type 10, 6 bytes
On Board Device Information
Type: SATA Controller
Status: Enabled
Description: SATA Controller
Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
202308的固件是否能提供rel版本
(dbg版本启动会多耗调试信息输出时间,但我没有串口,所以就算有输出什么有用的信息我,也看不到)
UDK2018_3A5000-7A2000_Desktop_EVB_V4.0.05536-Prestable202308_dbg.fd
谢谢
3A6000板子已经上市,有新固件提供吗?
天创者主板,新固件DMI信息 内存部分 缺少内存运行频率相关的详细信息(比如缺少运行频率),是否能增加这部分信息?谢谢
Speed: 3200 MT/s
Configured Memory Speed: 3200 MT/s
The PCIE x4 slot most close to CPU does not work. Another PCIE x4 slot and the PCIE x16 slot work fine.
I've checked to BIOS setting, all PCIE ports are "enabled".
To make things worse, a double-slot GPU plugged in the PCIE x16 slot would physically block the only working PCIE x4 slot so I have no PCIE x4 slot to use now :(.
Hello chinese friends!
I have motherboard 3A5000-7A2000-EVB v1.5 with UEFI (BIOS) firmware Loongson-UDK2018-V2.0.05269-beta8 which seems to be much older than DK2018_3A5000-7A2000_Desktop_EVB_V4.0.05383-beta10_dbg.fd in this repository.
https://linux-hardware.org/?probe=2fea9476f5
I have successfully booted and installed Loongnix 20. It is an "old world" Linux distribution built with non-upstream toolchain. This article https://blog.xen0n.name/en/posts/tinkering/loongarch-faq and https://lpc.events/event/16/contributions/1178/attachments/1000/1948/lpc2022-loongarch-20220913.pdf say about new and old worlds. Now I want to boot an open source new world Linux distro built with upstream toolchain (gcc, binutils). But I cannot boot any of them.
First, I tried to boot LiveCDs , e.g. https://github.com/fedora-remix-loongarch/releases-info , in virt-manager (qemu) which is preinstalled in Loongnix and got "cannot allocate memory for memory map"
I tried to add initrd+vmlinuz from them into Loognix's Grub bootloader. It froze when trying to load them.
Then I tried to replace /boot/efi/EFI/*/grub*.efi
with Grub EFI binary from a new world LiveCD and got the same error, now on the real machine:
The only thing that comes to mind is that this UEFI (BIOS) version does not support new ISA/ABI (how to name it correctly?).
There is no "Security" page in the UEFI, so updating via a EFI shell will probably be the only option. But I am afraid to brick the motherboard.
Could you please comment if updating firmware is the right solution to run new world LoongArch binaries?
Thanks)
请求增加航天706所的天熠TR41A1笔记本新固件支持
这款笔记本电脑用了一年有余,扩展性不错,支持2个固态硬盘,内存可扩容到32G,7A1000桥片显卡,机内机外接口齐全,很适合用来跟踪了解龙芯上有社区代码提交动态,也有一定的用户基础。曾就新固件联系过厂家技术,目前没有新固件支持,所以很是希望龙芯能提供这款笔记本的新固件,热盼回复!
dbhrscom,杜比
笔记本的smbios信息如下:
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0x90000000FE5A0000.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: ZD-TECH
Version: V4.0
Release Date: 09/24/2021
ROM Size: 4096 kB
Characteristics:
PCI is supported
BIOS is upgradeable
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
UEFI is supported
BIOS Revision: 4.0
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: HT706
Product Name: 41A1
Version: 1.00
Serial Number: Not Specified
UUID: b408ab3b-aa04-4be8-b9ce-4692fb29a856
Wake-up Type: AC Power Restored
SKU Number: Not Specified
Family: Not Specified
Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
Manufacturer: HT706
Product Name: 706-LS3A5000-4-V1.0-B40L-41A1
Version: V1.0
Serial Number: Not Specified
Asset Tag: Not Specified
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
Handle 0x0003, DMI type 3, 24 bytes
Chassis Information
Manufacturer: HT706
Type: Laptop
Lock: Not Present
Version: V1.0
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: Unspecified
Contained Elements: 0
SKU Number: Not Specified
Handle 0x0004, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU1
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 41 35 30 30 30 4D 00
Version: Loongson-3A5000M
Voltage: 1.2 V
External Clock: 25 MHz
Max Speed: 2000 MHz
Current Speed: 2000 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Handle 0x0005, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 64 kB
Maximum Size: 64 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 4-way Set-associative
Handle 0x0006, DMI type 7, 27 bytes
Cache Information
Socket Designation: Not Specified
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Burst
Pipeline Burst
Synchronous
Installed SRAM Type: Burst Pipeline Burst Synchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 16-way Set-associative
系统信息:
System Information
Manufacturer: Loongson
Product Name: Loongson-LS3A5000-7A2000-1w-V0.1-CRB
Version: 1.0
Serial Number: TBD by OEM
UUID: 00112233-4455-6677-8899-aabbccddeeff
Wake-up Type: Power Switch
SKU Number: Loongson_SKU
Family: Type1Family
现在的串口可以代替键盘做输入, 但是完全是盲敲,回应在串口上没有,只显示在屏幕上,
如果ansi的屏幕控制比较麻烦, 或者只让uefi的shell 能够在串口工作, 也很好, 对于远程维护和远程安装系统,帮助很大。
MemAbove4G.Base 0x80000000
MemAbove4G.Limit 0xFD00000000
Io.Base 0x20000
Io.Limit 0x2020000
Mem.Base 0x20000000
Mem.Limit 0x80000000
RootBridge: PciRoot(0x0)
Support/Attr: 7007F / 7007F
DmaAbove4G: Yes
NoExtConfSpace: No
AllocAttr: 3 (CombineMemPMem Mem64Decode)
Bus: 0 - FF
Io: 20000 - 2020000
Mem: 20000000 - 80000000
MemAbove4G: 80000000 - FD00000000
PMem: 0 - 0
PMemAbove4G: 0 - 0
PciHostBridge driver failed to set EFI_MEMORY_UC to MMIO aperture - Unsupported.
PciHostBridgeDxe: IntersectMemoryDescriptor: desc [90000000, 90200000) type 1 cap 8700000000000001 conflicts with aperture [80000000, FD00000001) cap 1
ASSERT_EFI_ERROR (Status = Invalid Parameter)
ASSERT [PciHostBridgeDxe] /data/qiandongyan/test_1/test_2/uefi-loongarch-a2101/LsRefCodePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridge.c(520): !EFI_ERROR (Status)
Can provide detailed hardware information if necessary.
不成功时,显示如下信息:
Pages Offset = 0x6EE00000
Loading PEIM at 0x000FEFE8000 EntryPoint=0x000FEFE8240 PeiCore.efi
Reinstall PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3
Reinstall PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A
Reinstall PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6
Install PPI: F894643D-C449-42D1-8EA8-85BDD8C65BDE
Loading PEIM at 0x000FEFDC000 EntryPoint=0x000FEFDC240 DxeIpl.efi
PROGRESS CODE: V03020002 I0
PROGRESS CODE: V03020003 I0
Install PPI: EE4E5898-3914-4259-9D6E-DC7BD79403CF
Install PPI: 1A36E4E7-FAB6-476A-8E75-695A0576FDD7
Install PPI: 0AE8CE5D-E448-4437-A8D7-EBF5F194F731
Customized Guided section Memory Size required is 0xB50010 and address is 0xFE47B000
Extract guided section Failed - Invalid Parameter
Customized Guided section Memory Size required is 0xB50010 and address is 0xFD91A000
Extract guided section Failed - Invalid Parameter
Customized Guided section Memory Size required is 0xB50010 and address is 0xFCDB9000
Extract guided section Failed - Invalid Parameter
Customized Guided section Memory Size required is 0xB50010 and address is 0xFC258000
Extract guided section Failed - Invalid Parameter
DXE IPL Entry
PROGRESS CODE: V03031000 I0
ASSERT_EFI_ERROR (Status = Not Found)
ASSERT [DxeIpl] /data/qiandongyan/push/zuixin/push2/rd/uefi-loongarch-clean_master-test/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c(469): !EFI_ERROR (Status)
成功时显示如下信息
TemporaryRamMigration(0x90100000, 0xC0440000, 0x300000)
NewHeap created successfully, NewHeap Range: (0xC0640000 - 0xC0740000)
NewStack created successfully, NewStack Range: (0xC0440000 - 0xC0640000)
Sp OldPoint 0x9027F878, NewPoint 0xC04BF878
Pages Offset = 0x6EE00000
Loading PEIM at 0x000FEFE8000 EntryPoint=0x000FEFE8240 PeiCore.efi
Reinstall PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3
Reinstall PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A
Reinstall PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6
Install PPI: F894643D-C449-42D1-8EA8-85BDD8C65BDE
Loading PEIM at 0x000FEFDC000 EntryPoint=0x000FEFDC240 DxeIpl.efi
PROGRESS CODE: V03020002 I0
PROGRESS CODE: V03020003 I0
Install PPI: EE4E5898-3914-4259-9D6E-DC7BD79403CF
Install PPI: 1A36E4E7-FAB6-476A-8E75-695A0576FDD7
Install PPI: 0AE8CE5D-E448-4437-A8D7-EBF5F194F731
Customized Guided section Memory Size required is 0xB50010 and address is 0xFE47B000
ProcessFvFile() FV at 0xFE47B010, FvAlignment required is 0x10
Install PPI: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38
Notify: PPI Guid: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38, Peim notify entry point: 90026BA8
The 2th FV start address is 0x000FE47B010, size is 0x00B50000, handle is 0xFE47B010
Install PPI: 49EDB1C1-BF21-4761-BB12-EB0031AABB39
Notify: PPI Guid: 49EDB1C1-BF21-4761-BB12-EB0031AABB39, Peim notify entry point: 90026BA8
The Fv FE47B010 has already been processed!
DXE IPL Entry
Loading PEIM at 0x000FE441000 EntryPoint=0x000FE441240 DxeCore.efi
PROGRESS CODE: V03021001 I0
Loading DXE CORE at 0x000FE441000 EntryPoint=0x000FE441240
Install PPI: 605EA650-C65C-42E1-BA80-91A52AB618C6
Firmware version: 4.0.05569-stable202308
If RDNA or newer graphics card is in the system, system doesn't boot at all, stuck repeating:
ERROR: C40000002:V02010007 I0 93B80004-9FB3-11D4-9A3A-0090273FC14D FC198698
ERROR: C40000002:V02010008 I0 93B80004-9FB3-11D4-9A3A-0090273FC14D FC198C18
Which seems to originate from PciBusDxe.efi
I've tried that with RX6400 (RDNA 2) and with RX 5700 XT (RNDA) with same result.
Full boot log:
loongson_boot_stuck.log
[shangyatsen@loongson ~]$ dmesg | grep iommu
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-6.4.1-g7bb3d7287fb4-dirty root=/dev/nvme0n1p2 rw rootflags=subvol=@ rootfstype=btrfs console=ttyS0,115200 loglevel=8 loongson_iommu=on
[ 0.000000] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-6.4.1-g7bb3d7287fb4-dirty loongson_iommu=on", will be passed to user space.
[ 0.365611] iommu: Default domain type: Translated
[ 0.365614] iommu: DMA domain TLB invalidation policy: strict mode
[ 3.462911] loongson_iommu_ivrs_init get ivrs table failed
[ 3.468360] Failed to init iommu by ivrs
[ 3.472718] loongson-iommu 0000:00:1a.0: can't derive routing for PCI INT A
[ 3.479638] loongson-iommu 0000:00:1a.0: PCI INT A: no GSI
[ 3.485099] iommu membase 00000000da1d5c61 pgtbase 00000000f79661b1 pgtsize 4000000 maxpages 1000
[ 13.559937] loongson_iommu=on
如日志显示,报错。/sys/kernel/iommu_groups/下全空
你好,
1,请问天创者创锐NL430i笔记本是否有新世界固件?
2,请问天创者创锐NL430i笔记本是否为公版(CRB)?
谢谢
Handle 0x0001, DMI type 0, 26 bytes
BIOS Information
Vendor: Loongson
Version: Loongson-UDK2018-V2.2.6-8W-pcba
Release Date: 09/23/2022
ROM Size: 4 MB
Characteristics:
PCI is supported
BIOS is upgradeable
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
Serial services are supported (int 14h)
USB legacy is supported
Function key-initiated network boot is supported
UEFI is supported
BIOS Revision: 2.2
Handle 0x0003, DMI type 2, 17 bytes
Base Board Information
Manufacturer: LOONGSON
Product Name: Loongson-LS2C50C2
Version: LS2C50C2
Serial Number: XXXXXXXXXXXXXXXXXX
Asset Tag: To be filled by O.E.M.To be fill
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0000
Type: Motherboard
Contained Object Handles: 0
Handle 0x0008, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU1
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 43 35 30 30 30 00 00
Version: Loongson-3C5000
Voltage: 1.2 V
External Clock: 25 MHz
Max Speed: 1600 MHz
Current Speed: 2200 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 16
Core Enabled: 16
Thread Count: 16
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
Handle 0x000C, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU2
Type: Central Processor
Family: Unknown
Manufacturer: Loongson
ID: 33 43 35 30 30 30 00 00
Version: Loongson-3C5000
Voltage: 1.2 V
External Clock: 25 MHz
Max Speed: 1600 MHz
Current Speed: 2200 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x0009
L2 Cache Handle: 0x000A
L3 Cache Handle: 0x000B
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 16
Core Enabled: 16
Thread Count: 16
Characteristics:
64-bit capable
Multi-Core
Hardware Thread
毕竟龙芯品牌,没中文说不过去XD
Select Language <Standard English> This is the option
one adjusts to change
> Device Manager the language for the
> Boot Manager /----------------------\ current system
> Boot Maintenance Manager | Standard English |
| Standard Fran?ais |
Continue | English |
Reset | Fran?ais |
\----------------------/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.