[K42-discussion] K42 Development Tree on systemsim-gpul

Amos Waterland apw at us.ibm.com
Mon Apr 17 12:55:23 EST 2006


The K42 development tree is now passing its regression tests while
running on the publically-available PPC64 full system simulator from
IBM.  We are now working on making it run on JS20, 970 and Power5 hardware.

If you'd like to try it out, here are the current instructions for building.
They will of course be simplified before the merge to mainline:

 git-clone http://www.cs.unm.edu/~k42/git/kitchsrc.git &&
 cd kitchsrc &&
 git-checkout k42-port &&
 make full_snapshot SEQ=1;
 cd .. &&
 git-clone http://www.cs.unm.edu/~k42/git/linux-030.git &&
 cd linux-030 &&
 git-checkout k42-port &&
 make ARCH=ppc64 CROSS_COMPILE=powerpc64-linux- \
  CROSS32_COMPILE=powerpc-linux- k42_defconfig &&
 make -f Makefile.k42 MKANCHOR=~/devel/percs \
  CROSS_COMPILE=powerpc64-linux- CROSS32_COMPILE=powerpc-linux- k42libs &&
 cd ../kitchsrc &&
 make SEQ=1 -k;
 make -f Makefile.new

Then download the simulator.  I am using SystemSim_x86_fc4_2.0.tar.bz2,
which works on Debian testing, but you will need to pick the build that
works with the dynamic libraries on your machine.  If you don't have an
account you have to register, but it is free:

 https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=AW-0GN&S_PKG=0GN&cp=UTF-8

Unpack the simulator and set up your PATH:

 cd .. &&
 tar xjf ARCHIVE/SystemSim_x86_rhel3_2.0.tar.bz2
 export PATH=$PWD/ibmsim/simulators/systemsim-gpul-release/bin:$PATH

Then boot, telling the simulator to look like a Maple-D machine:

 cd powerpc/fullDeb/os &&
 k42console -m mambo -f k42-vmlinux -- MAMBO_BOOT_VMLINUX=1 \
  MAMBO_MAPLE=1 MAMBO_TCL_STAMP=-120305 MAMBO_TYPE=gpul

It should run up to the point of launching rlogin.  Your port will be
different, and you need a version of rlogin that can take a `-p' argument:

 rlogin -p 44313 localhost




More information about the K42-discussion mailing list