Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-10-17 Thread Anup Patel
On Thu, Oct 17, 2019 at 11:08 PM Christoph Hellwig wrote: > > No point in bloating the kernel image with a bootloader header if > we run bare metal. > > Signed-off-by: Christoph Hellwig > --- > arch/riscv/kernel/head.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

[PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-10-17 Thread Christoph Hellwig
No point in bloating the kernel image with a bootloader header if we run bare metal. Signed-off-by: Christoph Hellwig --- arch/riscv/kernel/head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S index 71efbba25ed5..dc21e409cc49 100644

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Troy Benjegerdes
tish Patra >> Cc: h...@lst.de; paul.walms...@sifive.com; linux-ri...@lists.infradead.org; >> Damien Le Moal ; linux- >> ker...@vger.kernel.org; pal...@sifive.com >> Subject: Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode >> >> >> >>>

RE: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Anup Patel
amien Le Moal ; linux- > ker...@vger.kernel.org; pal...@sifive.com > Subject: Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode > > > > > On Aug 21, 2019, at 10:31 AM, Atish Patra wrote: > > > > On Tue, 2019-08-20 at 21:14 -0700, Troy Benjegerdes wrote

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Troy Benjegerdes
> On Aug 21, 2019, at 10:31 AM, Atish Patra wrote: > > On Tue, 2019-08-20 at 21:14 -0700, Troy Benjegerdes wrote: >>> On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: >>> >>> No point in bloating the kernel image with a bootloader header if >>> we run bare metal. >> >> I would say the

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Atish Patra
On Tue, 2019-08-20 at 21:14 -0700, Troy Benjegerdes wrote: > > On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: > > > > No point in bloating the kernel image with a bootloader header if > > we run bare metal. > > I would say the same for S-mode. EFI booting should be an option, not > a

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Christoph Hellwig
On Tue, Aug 20, 2019 at 09:14:41PM -0700, Troy Benjegerdes wrote: > > > > On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: > > > > No point in bloating the kernel image with a bootloader header if > > we run bare metal. > > I would say the same for S-mode. EFI booting should be an

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-20 Thread Troy Benjegerdes
> On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: > > No point in bloating the kernel image with a bootloader header if > we run bare metal. I would say the same for S-mode. EFI booting should be an option, not a requirement. I have M-mode U-boot working with bootelf to start BBL, and

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-20 Thread Atish Patra
On Tue, 2019-08-13 at 17:47 +0200, Christoph Hellwig wrote: > No point in bloating the kernel image with a bootloader header if > we run bare metal. > > Signed-off-by: Christoph Hellwig > --- > arch/riscv/kernel/head.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

[PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-13 Thread Christoph Hellwig
No point in bloating the kernel image with a bootloader header if we run bare metal. Signed-off-by: Christoph Hellwig --- arch/riscv/kernel/head.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S index 670e5cacb24e..09fcf3d000c0 100644