Date: Thu, 5 Oct 2000 08:28:23 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Jonathan Lemon <jlemon@hub.freebsd.org> Cc: ia64@freebsd.org Subject: Re: simulator Message-ID: <Pine.BSF.4.21.0010050824040.94692-100000@salmon.nlsystems.com> In-Reply-To: <20001004203144.I1399@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Oct 2000, Jonathan Lemon wrote: > > I can't quite figure out what I'm doing wrong here; > > I have the kernel compiled, and loaded into the ski simulator. > I'm able to use 'symlist' to show the symbols, but for some > reason, all of the instructions appear as 0. > > objdump --disassemble kernel seems to show the correct code: > > kernel: file format elf64-ia64-little > > Disassembly of section .text: > > e000000000500000 <locorestart>: > e000000000500000: 04 00 00 00 01 80 [MLX] nop.m 0x0 > e000000000500006: 00 00 00 00 60 00 movl r8=0xe000000000910000 > e00000000050000c: 01 20 02 68 > e000000000500010: 05 00 00 00 01 80 [MLX] nop.m 0x0 > e000000000500016: 00 00 00 00 60 20 movl r9=0xe000000000 > > > Is there something I need to do in order to get this loaded into > the ski simulator correctly? The documentation is umm... a little > sparse. The initial running environment isn't right for the kernel. I use a miniature bootloader from the linux kernel sources which sets up a translation register for region 7, loads the real kernel and jumps to its entry point. When I get to work, I'll send you the binary of this bootloader (or you can try to build it). Using the bootloader, something like: xski bootloader kernel should work. I also use a ski command file to skip past the bootloader which finishes up at the beginning of ia64_init() so I'll send you that too. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010050824040.94692-100000>
