[PATCH 2/2] efi-block: detect when the block device is a USB Disk

2017-10-27 Thread Jean-Christophe PLAGNIOL-VILLARD
use usbdisk as a basename This will be usefull as example when we want to search for a usb disk for failsafe update or install. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/block/efi-block-io.c | 17 - 1 file changed, 16 insertions

[PATCH 1/2] efi-gui: add USB IO Protocol GUID definition

2017-10-27 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c | 1 + include/efi.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/common/efi-guid.c b/common/efi-guid.c index 71aa21ddd..1e45ccf4d 100644 --- a/common/efi-guid.c +++ b/common/efi-

Re: [PATCH 1/1] EFI: add poweroff support

2017-10-26 Thread Jean-Christophe PLAGNIOL-VILLARD
wrong patch sorry Best Regards, J. > On 26 Oct 2017, at 5:59 PM, Jean-Christophe PLAGNIOL-VILLARD > <plagn...@jcrosoft.com> wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> > --- > arch/x86/configs/efi_defconfig | 1 + > c

[PATCH] EFI: add poweroff support

2017-10-26 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/configs/efi_defconfig | 1 + common/efi/efi.c | 10 ++ drivers/efi/Kconfig| 1 + 3 files changed, 12 insertions(+) diff --git a/arch/x86/configs/efi_defconfig b/ar

[PATCH 1/1] EFI: add poweroff support

2017-10-26 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/configs/efi_defconfig | 1 + common/efi/efi.c | 7 +++ drivers/efi/Kconfig| 1 + 3 files changed, 9 insertions(+) diff --git a/arch/x86/configs/efi_defconfig b/arch/x86/c

Re: move to github

2017-09-19 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 18 Sep 2017, at 3:14 PM, Sascha Hauer wrote: > > On Thu, Sep 14, 2017 at 05:46:52PM +0800, zjh wrote: >> I suggest that Barebox migrate to GitHub, which makes it easier to develop. > > Well it makes it easier for some people, but not for others (including > me

Re: Observations with AT91SAM9263-EK

2017-07-03 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 4 Jul 2017, at 12:19 AM, Sam Ravnborg wrote: > > Hi all. > > I recently purchased an AT91SAM9263-EK from ebay and > have played around a little with barebox. > For now only some observations. > > I had the impression that I could > drop AT91BootStrap when using

Re: [BUG v2017.07.0] readlink -f command broken?

2017-06-30 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, I wrote the symlink support in barebox But I Worte a partial support only end path file not dirs As this is a boot loader not an OS Best Regards, J. > On 30 Jun 2017, at 9:28 PM, Ian Abbott wrote: > > Hi folks, > > I know there were changes to

Re: [PATCH 07/13] go: only use it if boot signature is not required

2017-03-27 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 26 Mar 2017, at 4:23 PM, Michael Olbrich <m.olbr...@pengutronix.de> wrote: > > On Sun, Mar 26, 2017 at 04:44:58AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> > > Does th

[PATCH 13/13] efi: enable sercure boot support

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
This will ensure that we just start secured binary without user confirmation But for now on we only support EFI correctly signed image to start Later will allow both. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Kconfig | 1 + common/e

[PATCH 08/13] boot_verify: allow to force unsigned image to boot

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
request confirmation before booting an unsigned image with a default timeout Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/go.c | 9 +++-- common/Kconfig| 8 common/boot_verify.c

[PATCH 11/13] efi: fix lds for secure boot support

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
everythink need to be aligned to 4096 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/mach-efi/elf_ia32_efi.lds.S | 10 +++--- arch/x86/mach-efi/elf_x86_64_efi.lds.S | 10 ++ arch/x86/mach-efi/include/mach/barebox.lds.

[PATCH 05/13] move boot verify to generic code

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use it outside of bootm only Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/bootm.c | 6 +++--- common/Kconfig| 4 common/Makefile | 1 + common/boot_verify.c | 35 +++ common/b

[PATCH 06/13] boot_verify: make it modifiable at start time

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/bootm.c | 2 +- common/boot_verify.c | 39 +-- common/bootm.c| 2 +- include/boot_verify.h | 15 --- 4 files changed, 47 insertions(+), 11 del

[PATCH 09/13] boot_verify: add password request support

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
This will allow to let the user enter a password before booting more safe than just a 'y' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/boot_verify.c | 10 ++ common/password.c| 18 ++ include/password.h | 6 ++ 3

[PATCH 07/13] go: only use it if boot signature is not required

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/go.c | 4 1 file changed, 4 insertions(+) diff --git a/commands/go.c b/commands/go.c index fb319b320..e0385a977 100644 --- a/commands/go.c +++ b/commands/go.c @@ -26,6 +26,7 @@ #include #i

[PATCH 10/13] efi: add more security related guid for the efivars

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c | 6 ++ include/efi.h | 18 ++ 2 files changed, 24 insertions(+) diff --git a/common/efi-guid.c b/common/efi-guid.c index 71aa21ddd..01b02bbb1 100644 --- a/common/efi-

[PATCH 12/13] efi: fix secure and setup mode report

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index 6ed7f12b3..998bda7c6 100644 --- a/drivers/efi/efi-device.c

[PATCH 03/13] bootm: make security generic

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
so other secure format can be used Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/arm/lib/bootm.c | 1 + common/image-fit.c | 1 + include/bootm.h | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c

[PATCH 01/13] bootm: move open to image_handler

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/arm/lib/bootm.c | 2 + arch/blackfin/lib/blackfin_linux.c | 1 + arch/nios2/lib/bootm.c | 1 + arch/ppc/lib/ppclinux.c| 1 + common/bootm.c

[PATCH 04/13] boot: invert the secure boot forcing support

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
Add HAS_SECURE_BOOT as we will add other image format that support secure boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/Kconfig | 12 common/bootm.c | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/common/K

[PATCH 00/13] add efi secure boot support

2017-03-25 Thread Jean-Christophe PLAGNIOL-VILLARD
-Christophe PLAGNIOL-VILLARD (13): bootm: move open to image_handler boot_verify: use a new error ESECVIOLATION bootm: make security generic boot: invert the secure boot forcing support move boot verify to generic code boot_verify: make it modifiable at start time

Re: [PATCH 3/5] efi: fix secure and setup mode report

2017-03-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:34 Mon 13 Mar , Sascha Hauer wrote: > On Thu, Mar 09, 2017 at 03:34:08PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> > > --- > > drivers/efi/efi-device.c | 6 +++--- > >

Re: [PATCH 4/5] boot: if we are in secure boot mode

2017-03-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:50 Mon 13 Mar , Sascha Hauer wrote: > On Thu, Mar 09, 2017 at 03:34:09PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > request confirmation before booting an unsigned image > > > > with a default timeout > > > > Signed-off-by: Jea

Re: [PATCH 4/5] boot: if we are in secure boot mode

2017-03-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:55 Mon 13 Mar , Sascha Hauer wrote: > On Thu, Mar 09, 2017 at 03:34:09PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > request confirmation before booting an unsigned image > > > > with a default timeout > > > > Signed-off-by: Jea

Re: [PATCH] fixup! efi: clocksoure: add EFI event timer

2017-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
clocksource is probably the > best solution. > Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> Best Regards, J. ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 7/8] efi: clocksoure: use event for timer

2017-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 13 Mar 2017, at 6:30 PM, Michael Olbrich <m.olbr...@pengutronix.de> wrote: > > On Mon, Feb 27, 2017 at 11:19:29AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> with this we can be hw generic >> >> If the EFI implement timestamp protocol we could u

Re: [PATCH 0/12] EFI: drop arch efi

2017-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 13 Mar 2017, at 6:27 PM, Michael Olbrich <m.olbr...@pengutronix.de> wrote: > > On Sun, Mar 12, 2017 at 01:05:38PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 17:26 Sat 11 Mar , Michael Olbrich wrote: >>> On Wed, Feb 15, 2017 at 08:29:32P

Re: [PATCH 0/2] efivarfs: rework the filesystem to make it human readable

2017-03-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On 13 Mar 2017, at 4:20 PM, Michael Olbrich <m.olbr...@pengutronix.de> wrote: > > Hi, > > On Mon, Mar 13, 2017 at 08:24:42AM +0100, Sascha Hauer wrote: >> On Thu, Mar 09, 2017 at 03:38:40PM +0100, Jean-Christophe PLAGNIOL-VILLARD >> wrote: >>>

Re: [PATCH] net/phy: marvell: import support for 88E1111 from the Linux

2017-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, Why 2 patches? Best Regards, J/ On 18:18 Fri 10 Mar , pmamo...@gmail.com wrote: > From: Peter Mamonov > > Signed-off-by: Peter Mamonov > --- > drivers/net/phy/marvell.c | 126 > ++ > 1 file

Re: [PATCH 2/2 v2] efi: add serial driver support

2017-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:23 Sat 11 Mar , Michael Olbrich wrote: > On Mon, Mar 06, 2017 at 10:34:47AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > So now we can stop to use the efi-stdio as this driver > > print on the Framebuffer and the serial at the same time. > > > > T

Re: [PATCH 0/12] EFI: drop arch efi

2017-03-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:26 Sat 11 Mar , Michael Olbrich wrote: > On Wed, Feb 15, 2017 at 08:29:32PM +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

[PATCH 1/1] fix: console: expose consoles in devfs

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
mit b4f55fcf355a4d0ac456445a5f42f259f2812b57 By Bastian Stender <b...@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/console.c b/common/console.c index 668c8

Re: [PATCH 3/3] fbcon: use __iowrite{32/64} to speedup the framebuffer console scrolling

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:00 Fri 10 Mar , Sascha Hauer wrote: > On Thu, Mar 09, 2017 at 11:31:11AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > this devide the time by 4 on x86 > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> > > --

Re: [PATCH 2/5] efi: fix lds for secure boot support

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:54 Fri 10 Mar , Jean-Christophe PLAGNIOL-VILLARD wrote: > On 12:05 Fri 10 Mar , Lucas Stach wrote: > > Am Freitag, den 10.03.2017, 18:17 +0800 schrieb Jean-Christophe > > PLAGNIOL-VILLARD: > > > > On Mar 10, 2017, at 1:24 AM, Lucas Stach <

Re: [PATCH 3/3] fbcon: use __iowrite{32/64} to speedup the framebuffer console scrolling

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:00 Fri 10 Mar , Sascha Hauer wrote: > On Thu, Mar 09, 2017 at 11:31:11AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > this devide the time by 4 on x86 > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> > > --

Re: [PATCH 2/5] efi: fix lds for secure boot support

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:05 Fri 10 Mar , Lucas Stach wrote: > Am Freitag, den 10.03.2017, 18:17 +0800 schrieb Jean-Christophe > PLAGNIOL-VILLARD: > > > On Mar 10, 2017, at 1:24 AM, Lucas Stach <l.st...@pengutronix.de> wrote: > > > > > > Am Donnerstag, den 09.03.20

Re: [PATCH 2/5] efi: fix lds for secure boot support

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 10, 2017, at 1:24 AM, Lucas Stach <l.st...@pengutronix.de> wrote: > > Am Donnerstag, den 09.03.2017, 15:34 +0100 schrieb Jean-Christophe > PLAGNIOL-VILLARD: >> everythink need to be aligned to 4096 > > Why? The commit message isn't really telling anything

Re: [PATCH 2/2] video: some framebuffer such as efi does support enable/disable

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 10, 2017, at 3:26 PM, Sascha Hauer <s.ha...@pengutronix.de> wrote: > > On Thu, Mar 09, 2017 at 10:57:21AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> so allow them to do not pass this function via fbops >> and indicate they are always on. >>

Re: [PATCH v3 2/3] console_countdown: add possibility to abort countdown by external commands

2017-03-10 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 10, 2017, at 2:05 PM, Oleksij Rempel wrote: > > From: Marc Kleine-Budde > > This patch makes it possible to abort a console countdown by an external > command, for example when fastboot is used. This requires additional > modifications in

Re: [PATCH 0/2] efivarfs: rework the filesystem to make it human readable

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, Sascha is this one ok? Best Regards, J. On 16:27 Fri 03 Mar , Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi, > > efivarfs: rework the filesystem to make it human readable > > today we use - > > such as Boot-8be4df61-93ca-11d2-aa0d-00e098032b8c

[PATCH 4/5] boot: if we are in secure boot mode

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
request confirmation before booting an unsigned image with a default timeout Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/go.c | 7 +++ common/Kconfig| 8 common/Makefile | 1 + common/bootm.c

[PATCH 3/5] efi: fix secure and setup mode report

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index 6ed7f12b3..7029bfb31 100644 --- a/drivers/efi/efi-device.c

[PATCH 5/5] efi: enable sercure boot support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
This will ensure that we just start secured binary without user confirmation But for now on we only support EFI correctly signed image to start Later will allow both. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Kconfig | 1 + common/e

[PATCH 2/5] efi: fix lds for secure boot support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
everythink need to be aligned to 4096 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/mach-efi/elf_ia32_efi.lds.S | 10 +++--- arch/x86/mach-efi/elf_x86_64_efi.lds.S | 10 ++ arch/x86/mach-efi/include/mach/barebox.lds.

[PATCH 1/5] efi: add more security related guid for the efivars

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c | 6 ++ include/efi.h | 18 ++ 2 files changed, 24 insertions(+) diff --git a/common/efi-guid.c b/common/efi-guid.c index 71aa21ddd..01b02bbb1 100644 --- a/common/efi-

[PATCH 0/5] EFI Secure boot support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
at: git://git.jcrosoft.org/barebox.git delivery/efi-sb for you to fetch changes up to 99e61a9be467fab5b5127b1233c4c4e70288e84c: efi: enable sercure boot support (2017-03-04 13:20:38 +0800) Jean-Christophe PLAGNIOL-VILLARD (2

[PATCH 2/3] x86: add __raw_read{b,w,l,q} and __raw_write{b,w,l,q}

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use __iowrite{32/64} to speedup the framebuffer console scrolling Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/include/asm/io.h | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/x86/include/asm/

[PATCH 3/3] fbcon: use __iowrite{32/64} to speedup the framebuffer console scrolling

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
this devide the time by 4 on x86 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/video/fbconsole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbconsole.c b/drivers/video/fbconsole.c index b261f1704..b5e951e23

[PATCH 1/3] import linux __iowrite32/64_copy support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- include/linux/io.h | 27 + lib/Makefile | 1 + lib/iomap_copy.c | 70 ++ 3 files changed, 98 insertions(+) create mode 100644 include

[PATCH 2/2] video: some framebuffer such as efi does support enable/disable

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
so allow them to do not pass this function via fbops and indicate they are always on. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/video/fb.c | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 1/2] parameter: fix read only int support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
pass PARAM_FLAG_RO flag for read only it so we can not change them Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- lib/parameter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/parameter.c b/lib/parameter.c index 9f96d0760..65d

Re: [PATCH 1/2] video: add EFI Graphics Output Protocol support

2017-03-09 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 9, 2017, at 4:46 PM, Michael Olbrich <m.olbr...@pengutronix.de> wrote: > > On Mon, Mar 06, 2017 at 06:04:10AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> >> --- >>

Re: [PATCH 00/45] AT91, at91sam9x5ek updates

2017-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 8, 2017, at 5:18 AM, Andrey Smirnov wrote: > > On Tue, Mar 7, 2017 at 12:58 PM, Sam Ravnborg wrote: When booting from an SD-Card/NOR-Flash/USB would I then need to use at91bootstrap, or can I use only barebox? If

Re: [PATCH 00/45] AT91, at91sam9x5ek updates

2017-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Mar 8, 2017, at 12:34 AM, Sam Ravnborg wrote: > > Hi Andrey. > > On Mon, Mar 06, 2017 at 02:53:11PM -0800, Andrey Smirnov wrote: >> Hi everyone, >> >> I recently had a chance to work with at91sam9x5ek board and as a part >> of that effort I converted the code to

[PATCH 1/2] x86: efi: fix efiexit support

2017-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/mach-efi/elf_x86_64_efi.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mach-efi/elf_x86_64_efi.lds.S b/arch/x86/mach-efi/elf_x86_64_efi.lds.S index e1bc2120f..93d34d17a 100644 --- a/ar

[PATCH 2/2] x86: efi: fix logo support

2017-03-07 Thread Jean-Christophe PLAGNIOL-VILLARD
we need to copy the logo section too Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index e837a2df9..6921b10a7 100644 --- a/arch/x86/Ma

[PATCH 2/2 v2] efi: add serial driver support

2017-03-06 Thread Jean-Christophe PLAGNIOL-VILLARD
will get double printing. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- Fix copyright drivers/serial/Kconfig | 4 + drivers/serial/Makefile | 1 + drivers/serial/serial_efi.c | 221 3 files change

[PATCH 1/1] video: sdl fix typo

2017-03-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/video/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sdl.c b/drivers/video/sdl.c index 5e1dc8e57..8f5b409ef 100644 --- a/drivers/video/sdl.c +++ b/drivers/video

[PATCH 2/2] efi: add serial driver support

2017-03-05 Thread Jean-Christophe PLAGNIOL-VILLARD
will get double printing. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/serial/Kconfig | 4 + drivers/serial/Makefile | 1 + drivers/serial/serial_efi.c | 241 3 files changed, 246 insertions(+)

[PATCH 1/2] video: add EFI Graphics Output Protocol support

2017-03-05 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/video/Kconfig | 4 + drivers/video/Makefile | 2 + drivers/video/efi_gop.c | 267 3 files changed, 273 insertions(+) create mode 100644 drivers

[PATCH 0/2] add support of efi Serial IO and Graphics Output Protocol

2017-03-05 Thread Jean-Christophe PLAGNIOL-VILLARD
to 6ecbe33539f20076bbc781b9e20a5a54d504fdf3: efi: add serial driver support (2017-03-01 22:11:37 +0800) Jean-Christophe PLAGNIOL-VILLARD (2): video: add EFI Graphics Output Protocol support efi: add serial driver support drivers

[PATCH 2/2] driver: generate hash at runtime to speed up device/driver matching

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
use GNU Hash Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/base/bus.c| 12 drivers/base/driver.c | 27 ++- include/driver.h | 5 + 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH 1/2] driver: remove the const of struct platform_device_id *id_table

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can generate the hash at register time This will allow speed up the device/driver matching as strcmp is slow. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/base/bus.c | 4 ++-- include/driver.h | 2 +- 2 files changed, 3 insertions(+), 3 del

[RFC PATCH 0/2] use gnuhash to speed up device/driver match

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
changes up to 5ede85afc958bdf488a3c5e56061e7f27c26cbc6: driver: generate hash at runtime to speed up device/driver matching (2017-03-01 03:49:34 +0800) Jean-Christophe PLAGNIOL-VILLARD (2): driver: remove the const of struct

[PATCH 2/2] efivarfs: rework the filesystem to make it human readable

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
14 LoaderTimeInitUSec Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c | 17 ++- common/efi/efi.c | 2 +- fs/efivarfs.c | 379 ++ include/efi.h | 1 + 4 files changed, 312 in

[PATCH 1/2] ls: allow to list a symlink ending with '/' as a dir

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- commands/ls.c | 41 +++-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/commands/ls.c b/commands/ls.c index 331a4d201..3bd5e3ff8 100644 --- a/commands/ls.c

Re: [PATCH 2/3] ARM: correctly identify ARMv6 K/Z

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:04 Fri 03 Mar , Sascha Hauer wrote: > On Thu, Mar 02, 2017 at 11:42:48AM +0100, Lucas Stach wrote: > > Am Mittwoch, den 01.03.2017, 18:55 +0100 schrieb Jean-Christophe > > PLAGNIOL-VILLARD: > > > On 15:26 Wed 01 MarĀ , Lucas Stach wrote: > > > >

[PATCH 1/9] efi: add prototype and definition for creating and closing event

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- include/efi.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/include/efi.h b/include/efi.h index 5691f4e8f..f65980687 100644 --- a/include/efi.h +++ b/include/efi.h @@ -

[PATCH 7/9] efi: move x86 clocksource to device/driver

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
that work on Event (Add Later) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Kconfig | 2 +- arch/x86/mach-efi/Makefile | 1 + arch/x86/mach-efi/clocksource.c | 11 +++ drivers/clocksource/K

[PATCH 8/9] efi: clocksoure: add EFI event timer

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
with this we can be hw generic If the EFI implement timestamp protocol we could use instead of event but even EDK2 Never Ever compile it for any target. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 8 drivers/clock

[PATCH 5/9] clocksource: allow to have multiple device from clock source

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
use the one with the most priority. We can not select the clocksource at user level. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/clock.c | 11 +++ include/clock.h | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/

[PATCH 9/9] efi: add veriable to report secure boot support and status

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index db8b25147..6ed7f12b3 100644 --- a/drivers/e

[PATCH 4/9] efi: move x86 clocksource init at core initcall level

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use device/driver model Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 1 - drivers/clocksource/efi.c | 5 - include/efi/efi.h | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/efi/e

[PATCH 3/9] efi: move LoaderTimeInitUSec and LoaderDevicePartUUID to postcore initcall

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use device/driver for the timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/common/efi/efi.c b/common/efi/efi.c index 217a6bea8..1c7aee872

[PATCH 6/9] clocksource: move dummy clock source to init_clock

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
And registered it as soon as possible (at pure initcall). So we not need to check the cs all the time. As get_time_ns() is one of the most called function of barebox at runtime. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/clock.

[PATCH 2/9] efi: add prototype and definition for setting timer

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- include/efi.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/efi.h b/include/efi.h index f65980687..e1fc134ee 100644 --- a/include/efi.h +++ b/include/efi.h @@ -171,6 +171,12 @@

[PATCH 0/9] add generic EFI timer

2017-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
changes up to f14af7444ad9d8ce674382f222119f5fcd3f2576: efi: add veriable to report secure boot support and status (2017-02-28 23:05:31 +0800) ---- Jean-Christophe PLAGNIOL-VILLARD (9): efi: add prototype and definition for creating and closing event efi: add

Re: [PATCH 2/3] ARM: correctly identify ARMv6 K/Z

2017-03-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:26 Wed 01 Mar , Lucas Stach wrote: > The ARMv6 K/Z derivatives have a v7 compatible MMU, but all other parts > (including the cache handling) is still at v6. As we don't make use of > the more advanced features of the v7 MMU in Barebox, it's okay to just > override this to properly

Re: Zyxel NAS540 bricked?

2017-03-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 05:03 Mon 27 Feb , AndrewCz wrote: > Hello all, hope you are well. > > Recently, I followed a guide[1] to reflash my Zyxel NAS540[2] in order > to put Debian on it. I'm pretty sure I bricked it and am just looking > for confirmation. > > I seem to be running into a bootloop where it will

Re: [PATCH 5/8] clocksource: allow to have multiple device from clock source

2017-03-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:09 Tue 28 Feb , Sascha Hauer wrote: > On Mon, Feb 27, 2017 at 11:19:27AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > use the one with the most priority. > > > > We can not select the clocksource at user level. > > > > Signed-off-by: Jea

[PATCH 5/8] clocksource: allow to have multiple device from clock source

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
use the one with the most priority. We can not select the clocksource at user level. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/clock.c | 11 +++ include/clock.h | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/

[PATCH 8/8] efi: add veriable to report secure boot support and status

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index db8b25147..6ed7f12b3 100644 --- a/drivers/e

[PATCH 7/8] efi: clocksoure: use event for timer

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
with this we can be hw generic If the EFI implement timestamp protocol we could use instead of event but even EDK2 Never Ever compile it for any target. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 8 drivers/clock

[PATCH 6/8] efi: move x86 clocksource to device/driver

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
that work on Event (Add Later) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Kconfig | 2 +- arch/x86/mach-efi/Makefile | 1 + arch/x86/mach-efi/clocksource.c | 11 +++ drivers/clocksource/K

[PATCH 3/8] efi: move LoaderTimeInitUSec and LoaderDevicePartUUID to postcore initcall

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use device/driver for the timer Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/common/efi/efi.c b/common/efi/efi.c index 217a6bea8..1c7aee872

[PATCH 2/8] efi: add prototype and definition for setting timer

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- include/efi.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/efi.h b/include/efi.h index f65980687..e1fc134ee 100644 --- a/include/efi.h +++ b/include/efi.h @@ -171,6 +171,12 @@

[PATCH 4/8] efi: move x86 clocksource init at core initcall level

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can use device/driver model Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi/efi.c | 1 - drivers/clocksource/efi.c | 5 - include/efi/efi.h | 2 -- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/efi/e

[PATCH 1/8] efi: add prototype and definition for creating and closing event

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- include/efi.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/include/efi.h b/include/efi.h index 5691f4e8f..f65980687 100644 --- a/include/efi.h +++ b/include/efi.h @@ -

[PATCH 0/8] add generic EFI timer

2017-02-27 Thread Jean-Christophe PLAGNIOL-VILLARD
bb: efi: add veriable to report secure boot support and status (2017-02-27 18:20:37 +0800) ---- Jean-Christophe PLAGNIOL-VILLARD (8): efi: add prototype and definition for creating and closing event efi: add prototype and

Re: [PATCH 07/12] efi: move x86 efi boot support to x86 arch

2017-02-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:27 Thu 16 Feb , Michael Olbrich wrote: > On Wed, Feb 15, 2017 at 08:34:15PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > prepare to drop the efi arch as efi boot up is not arch sepecific > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLAR

Re: [PATCH] lib: xz: add support for bcj filters

2017-02-21 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Feb 21, 2017, at 10:47 PM, yegorsli...@googlemail.com wrote: > > From: Yegor Yefremov > > Add missing configuration options for various bcj filters. Without > these options the lib/xz/xz_dec_bcj.c file will be compiled, but all > filters will be disabled. > >

[PATCH 10/12] efi: add minor and major to the bus and display it at boot

2017-02-19 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c index 7eb94de45..1877794c6 100644 --- a/drivers/efi/efi-de

[PATCH 11/12] efi-gui: add Timestamp Protocol GUID definition

2017-02-19 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c | 1 + include/efi.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/common/efi-guid.c b/common/efi-guid.c index 64f3b1f65..04a00ee87 100644 --- a/common/efi-guid.c +++ b/common/efi-

[PATCH 12/12] efi: add efi handle dump command

2017-02-19 Thread Jean-Christophe PLAGNIOL-VILLARD
so we can inspect easly what is supported by the EFI implementation we running on Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- common/efi-guid.c| 5 ++ drivers/efi/efi-device.c | 169 +++ include

[PATCH 07/12] efi: move x86 efi boot support to x86 arch

2017-02-15 Thread Jean-Christophe PLAGNIOL-VILLARD
prepare to drop the efi arch as efi boot up is not arch sepecific Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- Documentation/boards/efi.rst | 2 +- arch/x86/Kconfig | 53 -- arch/x86/Ma

[PATCH 08/12] ARCH: efi: Finally drop it as now we can build efi bootup from x86

2017-02-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/efi/Kconfig | 53 --- arch/efi/Makefile | 43 --- arch/efi/configs/efi_defconfig | 79 --- arch/efi/include/asm/bar

[PATCH 09/12] efi: bus: add firmware vendor and resision and tables info

2017-02-15 Thread Jean-Christophe PLAGNIOL-VILLARD
This alllow us to known where we boot from Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/efi-device.c | 23 +++ include/efi.h| 7 ++- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/e

[PATCH 05/12] efi: move startup and payload to common/efi

2017-02-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/efi/Makefile | 2 +- common/Makefile| 1 + {arch/efi => common}/efi/Makefile | 0 {arch/efi => common}/efi

[PATCH 06/12] x86: move bios bootup code to arch/x86/bios

2017-02-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- arch/x86/Makefile | 1 + arch/x86/bios/Makefile | 3 +++ arch/x86/{lib => bios}/bios_disk.S | 0 arch/x86/{lib => bios}/memory16.S | 0 arch/x86/{lib => bios}/traveler.S |

  1   2   3   4   5   6   7   8   9   10   >