From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/9] EFI: drop arch efi
Date: Wed, 15 Feb 2017 20:27:28 +0100 [thread overview]
Message-ID: <20170215192728.GA32649@mail.ovh.net> (raw)
In-Reply-To: <20170215130437.6i63aa6g76btkld2@pengutronix.de>
On 14:04 Wed 15 Feb , Sascha Hauer wrote:
> Hi Jean-Christophe,
>
> On Fri, Feb 10, 2017 at 10:56:55AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Today the EFI is build as an other ARCH when in fact it's just a boot mode
> >
> > so move it back to arch/x86 for the spicific x86 part and the common
> > to common and driver
> >
> > The following changes since commit 55d29525146dcd280987dfd565bfd34f08858fb3:
> >
> > ata: ide-sff: don't call free for ide_port in error path (2017-01-18 12:01:38 +0100)
> >
> > are available in the git repository at:
> >
> > git://git.jcrosoft.org/barebox.git
> >
> > for you to fetch changes up to 3e07e7f43bcfb5160cc6104f06535f147222570b:
> >
> > efi: bus: add firmware vendor and resision and tables info (2017-02-09 17:13:41 +0800)
> >
> > ----------------------------------------------------------------
> > Jean-Christophe PLAGNIOL-VILLARD (9):
> > efi: move block io driver to driver/block
> > efi: move clocksource out of arch
> > efi: move bus driver to driver/efi
> > efi: move debug_ll.h to include/efi
> > efi: move startup and payload to common/efi
> > x86: move bios bootup code to arch/x86/bios
> > efi: move x86 efi boot support to x86 arch
> > ARCH: efi: Finally drop it as now we can build efi bootup from x86
> > efi: bus: add firmware vendor and resision and tables info
>
> Some problems found with this series:
>
> - bisectability breaks in 3/9:
>
> drivers/built-in.o: In function `efi_driver_register':
> /home/sha/dude/barebox/barebox-test/include/efi/efi-device.h:38: undefined reference to `efi_bus'
> fs/built-in.o: In function `efi_driver_register':
> /home/sha/dude/barebox/barebox-test/include/efi/efi-device.h:38: undefined reference to `efi_bus'
> arch/efi/efi/built-in.o: In function `efi_execute_image':
> /home/sha/dude/barebox/barebox-test/arch/efi/efi/efi-image.c:162: undefined reference to `efi_connect_all'
> /home/sha/dude/barebox/barebox-test/arch/efi/efi/efi-image.c:163: undefined reference to `efi_register_devices'
> Makefile:756: recipe for target 'barebox' failed
> make: *** [barebox] Error 1
>
> - The end result won't compile:
>
> arch/x86/Makefile:88: *** recipe commences before first target. Stop.
>
> With this one fixed we get:
>
> In file included from common/efi/env-efi.bbenv.S:1:0:
> include/asm-generic/barebox.lds.h:12:30: fatal error: mach/barebox.lds.h: No such file or directory
> #include <mach/barebox.lds.h>
>
> I think you can squash most of the patches together, maybe leaving 6/9
> and 9/9 as separate patches. The rest is probably hard to keep separated
> while maintaining bisectability
I prefer to keep it seperated
As this allow to compare arch/efi and the new arch/x86 with efi boot before
droping it.
I fix the bisecting issue in the v2
and add few patch that help to debug the efi.
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2017-02-15 19:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-10 9:56 Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 1/9] efi: move block io driver to driver/block Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 2/9] efi: move clocksource out of arch Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 3/9] efi: move bus driver to driver/efi Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 4/9] efi: move debug_ll.h to include/efi Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 5/9] efi: move startup and payload to common/efi Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 6/9] x86: move bios bootup code to arch/x86/bios Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 7/9] efi: move x86 efi boot support to x86 arch Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 8/9] ARCH: efi: Finally drop it as now we can build efi bootup from x86 Jean-Christophe PLAGNIOL-VILLARD
2017-02-10 10:37 ` [PATCH 9/9] efi: bus: add firmware vendor and resision and tables info Jean-Christophe PLAGNIOL-VILLARD
2017-02-14 7:39 ` [PATCH 0/9] EFI: drop arch efi Sascha Hauer
2017-02-15 13:04 ` Sascha Hauer
2017-02-15 19:27 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170215192728.GA32649@mail.ovh.net \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox