Hello Elliott. In my experiment I've used FreeBSD 13.2-RELEASE. Do you think that it will work if I use a previous version,let's say 12.04 ?
On Wed, Dec 13, 2023 at 10:01 PM Elliott Mitchell <[email protected]> wrote: > On Mon, Dec 11, 2023 at 01:41:21PM -0500, Chuck Zmudzinski wrote: > > On 12/11/2023 12:59 PM, Mario Marietto wrote: > > > root@marietto:/mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel > # file > /mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel/kernel > > > > > > ELF 32-bit LSB executable,ARM, EABI5 version 1 (FreeBSD), dynamically > linked, interpreter /red/herring, > BuildID[sha1]=5e6982c9cb67d9c94571b76419142a8c495388d0, for FreeBSD 13.2, > not stripped > > > > > > root@marietto:/mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel > # file > /mnt/zroot2/zroot2/OS/Chromebook/domU/freebsd-xen/boot-xen/kernel/kernel.bin > > > > > > kernel.bin: data > > > > This needs to be : > > > > kernel.bin: Linux kernel ARM boot executable zImage (little-endian) > > > > > > > > It does not boot from the kernel.bin file. > > > > I suggest not trying to direct boot a kernel in Xen on arm unless the > file command reports the kernel image is a Linux kernel ARM boot executable > zImage (little endian). > > > > Did you try applying Julien's patch (link is in my earlier message) to > add zImage support to FreeBSD? Maybe after applying the patch the > kernel.bin file will be in the correct zImage format. > > > > The patch I linked in the earlier > > Appears FreeBSD-CURRENT removed the last step converting the kernel file > to kernel.bin. The patch can be readily rebased, but without kernel.bin > that doesn't do too much. (hmm, see if that can be tracked down...) > > > A bigger issue is this approach is a maintenance nightmare. Updating > the kernel requires action from outside the VM. > > As such, Anthony Perard would there be any hope for Tianocore/EDK2 > gaining support for ARMv6/v7? The delta should be pretty small. > > > -- > (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) > \BS ( | [email protected] PGP 87145445 | ) / > \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ > 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445 > > > -- Mario.
