Hi,

The following patch will make kernel recognize Lynloong LM9002/9003 and 
LM9013. I think LM9002/9003 is very similar to LM9001 since it works just 
fine on my LM9002 with the codebase for LM9001. (Maybe they are just a 
different batch of LM9001 for education market)

LM9013 on the other hand is fairly different from LM9001 and is more like 
Yeeloong 8089 when it comes to hardware design. I might need to make a few 
drivers for its IDE/USB interfaces in future for it to be fully 
functional.

Index: sys/arch/loongson/loongson/machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/loongson/loongson/machdep.c,v
retrieving revision 1.93
diff -u -r1.93 machdep.c
--- sys/arch/loongson/loongson/machdep.c        17 Nov 2020 16:38:10 -0000      
1.93
+++ sys/arch/loongson/loongson/machdep.c        1 Jan 2021 11:43:42 -0000
@@ -207,6 +207,10 @@
        { "LM8101",     &yeeloong_platform },
        /* Lemote Lynloong all-in-one computer */
        { "LM9001",     &lynloong_platform },
+       { "LM9002",     &lynloong_platform },
+       { "LM9003",     &lynloong_platform },
+       /* Lemote Lynloong all-in-one computer, Xueloong edition */
+       { "LM9013",     &lynloong_platform },
 #endif
 #ifdef CPU_LOONGSON3
        /* Laptops */

Reply via email to