终于让异构多核各跑了一个Linux
来自Jack's Lab
NEC 的EMMA3P,片内有3个Core,分别为 VR5500(MIPS64),4KEc(MIPS32),还有一个用于audio处理的core,具体体系结构不明。
原设计是在 VR5500 上跑一个 Linux 作为主控系统,4KEc 上跑一个实时系统 (vxworks, ITron etc.)
先前阅读文档时看得稍微仔细了点,对在Linux 里boot 4KEc 颇有兴趣,今天终于实现了,记录一下,现在是2008年4月5日凌晨2:48,以下是cpuinfo:
root@nec_emma3p:/root> cat /proc/cpuinfo system type : NEC EMMA3P ET10068 processor : 0 cpu model : R9721 V1.0 FPU V1.0 BogoMIPS : 218.11 wait instruction : yes microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes ASEs implemented : VCED exceptions : not available VCEI exceptions : not available
上面是主控OS,挂NFS,ssh 上去。本来有2个串口,懒得整第二个串口了,就用ssh了
# cat /proc/cpuinfo system type : NEC EMMA3P ET10068 processor : 0 cpu model : MIPS 4KEc V6.12 BogoMIPS : 325.63 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes ASEs implemented : VCED exceptions : not available VCEI exceptions : not available
这个是 4KEc 的系统,也跑了个 Linux,挂NOR Flash + Jffs2,终端用第一个串口
Linux for 4KEc 还不是太稳定,可能是初始化core 时还有疏漏,这个要再看看