Re: Creating a hackable kernel for AMD64

2024-04-24 Thread Emile `iMil' Heitor
On Tue, 23 Apr 2024, Taylor R Campbell wrote: Cool, thanks! The main thing you're trying to do -- pass a kernel on the command line to qemu -- doesn't work on x86. It does with these patches: https://github.com/NetBSDfr/NetBSD-src/tree/nbfr_master They need to be reviewed before I merge

Re: Creating a hackable kernel for AMD64

2024-04-23 Thread Jared Barnak
> Cool, thanks! The main thing you're trying to do -- pass a kernel on > the command line to qemu -- doesn't work on x86. It does work on > aarch64 (arm64), which is why I used that as the example here: >

Re: Creating a hackable kernel for AMD64

2024-04-23 Thread Taylor R Campbell
> Date: Tue, 23 Apr 2024 10:52:41 -0400 > From: Jared Barnak > > I watched "How to get started hacking NetBSD" and it was great, I just > noticed that some things didn't work when cross compiling for amd64. and > frankly, I'm not sure what I did wrong. Cool, thanks! The main thing you're

Creating a hackable kernel for AMD64

2024-04-23 Thread Jared Barnak
Hey, I watched "How to get started hacking NetBSD" and it was great, I just noticed that some things didn't work when cross compiling for amd64. and frankly, I'm not sure what I did wrong. I use the following script to build the kernel ``` #/usr/bin/sh export