ia64

From NetBSD Wiki

Jump to: navigation, search
NetBSD/ia64 www.NetBSD.org/ports/ia64 ia64
Status:in development
First:
Last:
Maintainer:Cherry G.Mathew

This is an attempt to begin a wiki page about the NetBSD/ia64 port.
The old url for this wiki was http://cherry.beevomit.org/netbsd until 9th Feb 2006
The official Website is: http://www.netbsd.org/Ports/ia64/


Contents

Getting Started

To start development on netbsd/ia64, you first need to download the ski emulator. On the other hand, if you have an Itanium Box to spare, do send us an email!

Get the the HP ski simulator for NetBSD/i386 from the pkgsrc collection http://www.pkgsrc.org

Instructions to set up the emulator can be found here: SkiSimulator


Obviously, you need to be tracking netbsd-current sources in order to be able to contribute in some meaningfull way. If you don't know how to do that, see: http://www.netbsd.org/Documentation/current/

Building from sources

First build the tools:

./build.sh -mia64 tools

Build the bootloader:

cd arch/ia64/stand/ia64/ski; $TOOLDIR/bin/nbmake-ia64 

The name of the binary is skiload

Build the kernel:

./build.sh -mia64 kernel=GENERIC.SKI

Booting NetBSD on the ski simulator:

With soft links to the skiload binary and the netbsd kernel binary in the current directory: 'ski skiload'

will bring up the ski emulator debugger screen in an xterm.

type 'c' to continue the simulation, and a new screen will pop up, with the bootloader running.

type 'boot netbsd' in the bootloader.

Go to the TaskList page. Choose something usefull to work on.

Have Fun :-)

Downloads

TaskList

  • We need help! If you would like to help out, start here, and send an email to the mailing list.

TODO

This is a list of tidbits and cleanups:

pmap module debug:

  • Description: The pmap layer is the key to getting VM to work. A bugfree pmap is absolutely essential to the port.
    • Verify kernel malloc for memory leaks, etc.
    • Enable kernel malloc for user context.
    • etc.

Boot Code Cleanup:

  • Description: This is currently a glue between FreeBSD's MI boot code ( sys/boot/common ) and NetBSD's standalone library (sys/lib/libsa)
    • Integrate better with NetBSD
    • Allow for kernel module pre-loading
    • Fix efi compile.

IA64 Unwind Library:

  • Description: NetBSD's unwind library is primitive by design. It just works for the kernel debugger.
  • Build a native unwind library.
    • 3rd March: Memory stack unwind now possible
    • 5th Feb: In progress... v0.1 available
  • Most of the code is ported from FreeBSD, and "Just works". We need to clean it up of glue code and bring it to NetBSD's DTRT standards. This is a good place to look for quick small contributions.

Acknowledgments

  • Many Thanks to Mahiti http://www.mahiti.org/ for providing broadband internet connectivity, great tea and an AMD Athlon box!
  • Christos Zoulas (christos at netbsd dot org) for setting up CVS for the project


Email Archives


Current Status

  • 1st April 2006
    • Kernel malloc is up. Testing invited.
  • 3rd March 2006
    • ddb backtrace works for most functions.
    • pmap init completes successfully
  • 5th February 2006
    • ddb backtrace works (partially). New unwind code checked in.
  • 23rd December 2005
    • ddb is up! See port-ia64 archives for further info.
  • 15th December 2005
    • ddb command line available with symbol information. No run commands available. ( sigh! ). I'm working on stabilising this. It helps clean up other holes too.
  • 2nd December 2005
    • Integrated pmap code from FreeBSD-current. Its broken, however.
  • 31st August 2005
    • kernel prints "Hello World" :-)
  • 20th August, 2005
    • The ski bootloader hands off cleanly to locore.S :-) Work on plagiarising the rest of the bootup glue from the !FreeBSD port is now in progress.
Retrieved from "http://wiki.netbsd.se/ia64"
Personal tools