Hello, Please help me to make Linux kernel (vmlinux) 2.6.22 or above. I want to use M5 with Full System(FS) mode for OoO Multi-Core processor simulation. Now, I use M5-stable, and my target architecture is Alpha. In addition, I need Linux kernel version 2.6.22 or above for FS mode simulation.
So, I tried to cross-compile Linux kernel 2.6.22 and 2.6.27 by reference to M5-Documentation 'Using linux-dist to Create Disk Images and Kernels for M5 http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5'. But, I failed making cross-compile methods as described in M5-Documentation. I find out previous discussions like my encountered cross-compile failures in m5-users ML. Though, I couldn't achieve solutions. Could you please help me to cross-compile Linux 2.6.22 or above? In the bottom of this mail, I described the I tried Linux cross-compile ways. On the other hand, If you succeeded making cross-compile Linux 2.6.22 or above, Could you tell me cross-compile environment and configurations? I'd be glad to try with the configurations. (If m5-team will permit, Please upload Linux 2.6.22 or 2.6.27 the same as already uploaded Linux 2.6.13 in 'Full System Files' at 'Download M5 http://www.m5sim.org/wiki/index.php/Download') Thanks in advance for your help. --* I tried cross-compile ways *-- ** cross-compile 'Linux 2.6.22' ** 1. Kernel update and patch with Mercurial Queue => FAILED :Error in 'hg qpush -a': Unable to read m5/e1000_disable_tso_2.6.22.diff errors during apply, please fix and refresh m5/ns83820_align_2.6.13.diff ** cross-compile 'Linux 2.6.27' ** 1. Kernel update and patch with Mercurial Queue => OK 2. Prepare the cross-compiler(target tool-chain 'gcc-3.4.3-glibc-2.3.5') -- make cross-compiler with 'crosstool-0.43' => OK -- make cross-compiler with 'crosstool-ng-1.8.2' => FAILED :Error in 'ct-ng build': (I'll ask crosstool-ML about crosstool build Error.) 3. Cross-compile Linux kernel => FAILED :Error in 'make ARCH=alpha CROSS_COMPILE=... vmlinux': linux-2.6/arch/alpha/include/asm/bug.h:13: error: impossible constraint in `asm' --******************************-- -- Takaaki Hanada (E-Mail: [email protected])
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
