[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Booting the FreeBSD kernel as an zImage file needs a patch upgrade ?.



@Warner Losh :

Can you explain where I should add the parameter "WITH_KERNEL_BIN" ? I
tried in several ways,but it is not accepted :

$ make KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 buildkernel
WITH_KERNEL_BIN = wrong

$ make KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7 WITH_KERNEL_BIN
buildkernel = wrong

$ make KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7
DESTDIR=/build-xen WITH_KERNEL_BIN installkernel = wrong

$ make KERNCONF=GENERIC TARGET=arm TARGET_ARCH=armv7
DESTDIR=/build-xen installkernel WITH_KERNEL_BIN = wrong

How is it ?



On Tue, Jan 2, 2024 at 3:27 PM Julien Grall <julien@xxxxxxx> wrote:
>
> Hi,
>
> On 01/01/2024 23:03, Mario Marietto wrote:
> > I still see too many variables in the equation. I need to eliminate
> > some of them. So :
> >
> > 1) Do I need to patch the file locore-v6.S with the Julien's patch ?
> > ---> 
> > https://xenbits.xen.org/gitweb/?p=people/julieng/freebsd.git;a=commit;h=12a7cb346b88c6d3f52a20b98f361dc62797fbcd
>
> I believe so otherwise XL will not know how to load the binary file (see
> below).
>
> >
> > 2) What kind of u-boot are you talking about ? Where should I get it ?
> You don't need U-boot if you have a zImage. Instead, you can ask 'xl' to
> load it from the dom0 filesystem. The option in the xl configuration is
>
> kernel='<path-to-binary>'
>
> Cheers,
>
> --
> Julien Grall



--
Mario.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.