Hi Breno,
On Thu, Jul 18, 2019 at 6:06 PM Breno Matheus Lima wrote:
>
> In case CONFIG_SECURE_BOOT is enabled we need to limit the SPL size to
> avoid a possible HAB failure event:
>
> - HAB Event 1 -
> event data:
> 0xdb 0x00 0x14 0x42 0x33 0x22 0x33 0x00
>
U-Boot now supports the "skip_check" flag to optionally skip the CRC
check at open time. Currently its only possible to set this bit upon
UBI volume creation. But it might be very useful to also set this bit
on already installed systems (e.g. field upgrade) to make also use of
the boot-time decreas
Hi Simon,
> On Sun, 18 Aug 2019 at 19:30, Peng Fan wrote:
> >
> > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define
> > >
> > > This define indicates if DM_GPIO shall be supported in SPL. This
> > > allows proper operation of DM converted GPIO drivers in SPL,
> > > which use #
Hi Peng,
> Hi All,
>
> > Subject: [PATCH v2 3/7] clk: imx8: Update imx8 clock driver
>
> Sorry to bring back this topic.
>
> This patch is not converting to CCF following Linux, but it could
> satisfy u-boot usage and make more feature work.
>
> I checked Linux i.MX8 CCF recently, although L
Increase bootm length to 64MB satisfy max gunzip
size, even other rockchip and know SoC are following
same length check.
Reported-by: Michael Trimarchi
Signed-off-by: Jagan Teki
---
include/configs/rk3288_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/confi
Hi Simon,
On 17/09/2019 07:48, Simon Glass wrote:
> Hi,
>
> On Thu, 5 Sep 2019 at 02:49, wrote:
>>
>> From: Matthias Brugger
>>
>> According to the device tree specification, the default value for
>> was not present.
>>
>> This patch also makes fdt_address_cells() and fdt_size_cells() conform
>
Hi Robert,
On 17/09/19 01:37, Robert Hancock wrote:
> On 2019-09-16 3:08 p.m., Stefano Babic wrote:
>> Hi Anatolji,
>>
>> On 16/09/19 22:20, Anatolij Gustschin wrote:
>>> Hi Jagan,
>>>
>>> On Mon, 16 Sep 2019 13:36:03 +0530
>>> Jagan Teki ja...@amarulasolutions.com wrote:
>>> ...
> arm:
Hi Fabio,
On 16/09/19 23:21, Fabio Estevam wrote:
> Hi Anatolij/Stefano/Jagan,
>
> On Mon, Sep 16, 2019 at 5:20 PM Anatolij Gustschin wrote:
>
>> This check fails since the recent changes in SPL size limit check,
>> see commit 25d38f9b34be (imx6: spl: Reduce SPL limit size in case
>> CONFIG_SEC
Network support was never added on this board, disable
CONFIG_NET flag to avoid following warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 releas
Network support was never added on this board, disable
CONFIG_NET flag to avoid following warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 releas
Network support was never added on this board, disable
CONFIG_NET flag to avoid following warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 releas
Network support was never added on this board, disable
CONFIG_NET flag to avoid following warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 releas
All STM32F4 and STM32H7 boards have CONFIG_NET flags enable in
their defconfig whereas network support was never added. Simply
disable CONFIG_NET to avoid following compilation warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Et
Network support was never added on this board, disable
CONFIG_NET flag to avoid following warning:
= WARNING ==
This board does not use CONFIG_DM_ETH (Driver Model
for Ethernet drivers). Please update the board to use
CONFIG_DM_ETH before the v2020.07 releas
On 17/09/19 05:26, Breno Matheus Lima wrote:
> Hi Stefano,
>
> Em seg, 16 de set de 2019 às 05:17, Stefano Babic escreveu:
>>
>> Hi Breno,
>>
>> On 12/09/19 03:07, Peng Fan wrote:
>>> Hi Breno,
>>>
Subject: [PATCH 2/4] habv4: tools: Avoid hardcoded CSF size for SPL targets
>>>
>>> I saw this
On Thu, Aug 29, 2019 at 3:15 AM Kurt Miller wrote:
>
> The board has 4G memory but only 2G is detected by TPL. Please
> let me know if additional information is needed.
>
> With u-boot master TPL output:
>
> U-Boot TPL 2019.10-rc3-00020-ge4b8dd9b34-dirty (Aug 28 2019 - 17:26:44)
> LPDDR4, 50MHz
>
Add this new API to power on multiple domains attached
to a device.
Signed-off-by: Peng Fan
---
V2:
New patch
drivers/power/domain/power-domain-uclass.c | 19 +++
include/power-domain.h | 17 +
2 files changed, 36 insertions(+)
diff --git a
When multiple power domains attached to a device, need power on
them all, so use dev_power_domain_on to do that.
Signed-off-by: Peng Fan
---
V2:
use dev_power_domain_on in patch 1/2
drivers/core/device.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/core/de
On Thu, Aug 29, 2019 at 3:15 AM Kurt Miller wrote:
>
> The board has 4G memory but only 2G is detected by TPL. Please
> let me know if additional information is needed.
>
> With u-boot master TPL output:
>
> U-Boot TPL 2019.10-rc3-00020-ge4b8dd9b34-dirty (Aug 28 2019 - 17:26:44)
> LPDDR4, 50MHz
>
>-Original Message-
>From: U-Boot On Behalf Of Yuantian Tang
>Sent: Tuesday, September 17, 2019 8:21 AM
>To: Prabhakar Kushwaha
>Cc: Andy Tang ; u-boot@lists.denx.de
>Subject: [U-Boot] [PATCH] armv8: ls1028a: add more personalities support
Be more specific about which personalities in s
>-Original Message-
>From: Yinbo Zhu
>Sent: Tuesday, September 17, 2019 8:26 AM
>To: Wolfgang Denk ; Priyanka Jain ;
>Shengzhou Liu ; u-boot@lists.denx.de
>Cc: Yinbo Zhu ; Xiaobo Xie ;
>Jiafei Pan ; Prabhakar Kushwaha
>; Bin Meng ; Simon
>Goldschmidt ; Adam Ford
>; Patrick Delaunay ; Jer
Hi Patrick,
> Add support of DFU for several interface/device
> with one command.
>
> The format for "dfu_alt_info" in this case is :
> interface with devstring'='alternate list (';' separated)
> and each interface is separated by '&'
>
> The previous behavior is always supported.
>
> One e
Hi Patrick,
> This patch allows into the DFU backend to indicate that there is no
> remaining data (for EOF for example). That allows users to read a
> buffer greater than the device size; the dfu stack stops the read
> request when the backend return a length=0 without error.
>
> Signed-off-by:
Hi Patrick,
> Add DFU backend for MTD device: allow to read
> and write on any MTD device (RAW or SPI)
>
> For example :
> > set dfu_alt_info "nand_raw raw 0x0 0x10"
> > dfu 0 mtd nand0
>
> This MTD backend provides the same level than dfu nand
^ -
Hi Patrick,
> Add the support of MTD partition for the MTD backend.
>
> The expected dfu_alt_info for one alternate on the mtd device :
>part
> partubi
>
> "partubi" also erase up to the end of the partition after write
> operation.
>
> For example: dfu_alt_info = "spl part 1
Hi Patrick,
> Add a virtual DFU backend to allow board specific read and write
> (for OTP update for example).
>
> Signed-off-by: Patrick Delaunay
> ---
>
> drivers/dfu/Kconfig| 7 ++
> drivers/dfu/Makefile | 1 +
> drivers/dfu/dfu.c | 5 -
> drivers/dfu/dfu_virt.c | 49
>
Hi Patrick,
> Add weak callback to allow board specific behavior
> - flush
> - initiated
>
> This patch prepare usage of DFU back end for communication with
> STM32CubeProgrammer on stm32mp1 platform with stm32prog command.
As I've said previously - please add this use case and info to
./doc/REA
From: Ashok Reddy Soma
When two instances of AXI QSPI with flash are added and tested
simultaneously the spi driver operations are relocated twice.
As a result code is accessing addresses outside of RAM when
relocated second time which is causing a crash.
Tested on Microblaze.
Similar change wa
Hi Lukasz,
> From: Lukasz Majewski
> Sent: mardi 17 septembre 2019 12:26
> To: Patrick DELAUNAY
> Cc: u-boot@lists.denx.de; U-Boot STM32 mailman.stormreply.com>
> Subject: Re: [PATCH 04/14] dfu: allow to manage DFU on several devices
> Importance: High
>
> Hi Patrick,
>
> > Add support of DFU
Hi,
> From: Lukasz Majewski
> Sent: mardi 17 septembre 2019 12:36
>
> Hi Patrick,
>
> > Add DFU backend for MTD device: allow to read and write on any MTD
> > device (RAW or SPI)
> >
> > For example :
> > > set dfu_alt_info "nand_raw raw 0x0 0x10"
> > > dfu 0 mtd nand0
> >
> > This MTD back
Hi,
> From: Lukasz Majewski
> Sent: mardi 17 septembre 2019 12:39
>
> Hi Patrick,
>
> > Add the support of MTD partition for the MTD backend.
> >
> > The expected dfu_alt_info for one alternate on the mtd device :
> > part
> > partubi
> >
> > "partubi" also erase up to the end o
On Thu, Sep 5, 2019 at 6:50 PM Philippe Reynes
wrote:
>
> This commit add a generic function board_init_r that
> only initialize some device (for example serial). It
> avoid to define a board function only to launch the
> serial configuration.
>
> Signed-off-by: Philippe Reynes
> ---
> common/sp
Hi Anatolij,
On Mon, Sep 16, 2019 at 4:21 PM Anatolij Gustschin wrote:
> Most probably this is because there was no user of the video
> device when booting and therefore the video driver was not
> probed/bound. Please try do display some bitmap with bmp
> command or try to switch to the video co
On Tue, Sep 17, 2019 at 4:52 PM Michal Simek wrote:
>
> From: Ashok Reddy Soma
>
> When two instances of AXI QSPI with flash are added and tested
> simultaneously the spi driver operations are relocated twice.
> As a result code is accessing addresses outside of RAM when
> relocated second time w
On Tue, Sep 17, 2019 at 1:22 PM Michal Simek wrote:
>
> From: Ashok Reddy Soma
>
> When two instances of AXI QSPI with flash are added and tested
> simultaneously the spi driver operations are relocated twice.
> As a result code is accessing addresses outside of RAM when
> relocated second time w
On 17. 09. 19 14:43, Simon Goldschmidt wrote:
> On Tue, Sep 17, 2019 at 1:22 PM Michal Simek wrote:
>>
>> From: Ashok Reddy Soma
>>
>> When two instances of AXI QSPI with flash are added and tested
>> simultaneously the spi driver operations are relocated twice.
>> As a result code is accessing a
Hi,
> From: Lukasz Majewski
> Sent: mardi 17 septembre 2019 12:45
>
> Hi Patrick,
>
> > Add weak callback to allow board specific behavior
> > - flush
> > - initiated
> >
> > This patch prepare usage of DFU back end for communication with
> > STM32CubeProgrammer on stm32mp1 platform with stm32p
On Tue, Sep 17, 2019 at 2:48 PM Michal Simek wrote:
>
> On 17. 09. 19 14:43, Simon Goldschmidt wrote:
> > On Tue, Sep 17, 2019 at 1:22 PM Michal Simek
> > wrote:
> >>
> >> From: Ashok Reddy Soma
> >>
> >> When two instances of AXI QSPI with flash are added and tested
> >> simultaneously the spi
The conversion to CONFIG_DM_VIDEO causes no output at all
in the LVDS panel.
Switch back to the non-DM video option until this is resolved,
to avoid splashscreen functionality regression.
This reverts commit f3592ceac9810b34801772b6d335d8f7cff4c287.
Signed-off-by: Fabio Estevam
---
configs/mx6
On 17. 09. 19 14:41, Jagan Teki wrote:
> On Tue, Sep 17, 2019 at 4:52 PM Michal Simek wrote:
>>
>> From: Ashok Reddy Soma
>>
>> When two instances of AXI QSPI with flash are added and tested
>> simultaneously the spi driver operations are relocated twice.
>> As a result code is accessing addresse
On Tue, Sep 17, 2019 at 10:03 AM Fabio Estevam wrote:
>
> The conversion to CONFIG_DM_VIDEO causes no output at all
> in the LVDS panel.
>
> Switch back to the non-DM video option until this is resolved,
> to avoid splashscreen functionality regression.
>
> This reverts commit f3592ceac9810b348017
On 17. 09. 19 7:47, Simon Glass wrote:
> On Mon, 2 Sep 2019 at 09:24, Bin Meng wrote:
>>
>> On Mon, Sep 2, 2019 at 10:34 PM Michal Simek wrote:
>>>
>>> From: T Karthik Reddy
>>>
>>> This patch adds functions dev_read_u64_default & dev_read_u64
>>> to read unsigned 64-bit values from devicetree.
Hi Peng,
I tried to get Ethernet running on i.MX8MM with mainline U-Boot and your
latest patches for SoC-support.
I added the missing clocks, but something still seems to be wrong. It
seems like the clock parents are not set correctly.
If I run "dm tree", I see that the enet_axi is a child of c
Due to constant influx of more and more weird and broken USB sticks,
do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85
usb: storage: scsiglue: further describe our 240 sector limit
Just so we have some sort of documentation as to why
we limit our Mass Storage transfe
From: Moses Christopher
- add BOARD_LATE_INIT function calls in board.c
- add swi_status detection in board.c
- mux: add guardian interfaces to single pinmux structure
- am33xx, kconfig: add BOARD_LATE_INIT for GUARDIAN board
Signed-off-by: Moses Christopher
---
arch/arm/mach-omap2/am3
From: Moses Christopher
- update partition table - remove env partitions
- dts: add new interfaces (uart2, extra gpio-key)
remove unneeded entries
update nand timings for performance improvement
- defconfig: adapt configurations to suit DM
remove unneeded co
Hi
I am using a Raspberry PI compute module (CM 3+), which seems to be running
U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +)
The CM3+ is communicating on the UART at boot, before the Kernel loads:
U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +)
DRAM: 948 MiB
RPI Compute Mod
On Tue, 2019-09-17 at 10:57 +0800, Kever Yang wrote:
> Hi Kurt,
>
> Could you try with below update:
>
>
> diff --git a/arch/arm/dts/rk3399-sdram-lpddr4-100.dtsi
> b/arch/arm/dts/rk3399-sdram-lpddr4-100.dtsi
> index 4a4414a960..dc9db047cb 100644
> --- a/arch/arm/dts/rk3399-sdram-lpddr4-100
Hi Matthias,
On Tue, 17 Sep 2019 at 00:29, Matthias Brugger wrote:
>
> Hi Simon,
>
> On 17/09/2019 07:48, Simon Glass wrote:
> > Hi,
> >
> > On Thu, 5 Sep 2019 at 02:49, wrote:
> >>
> >> From: Matthias Brugger
> >>
> >> According to the device tree specification, the default value for
> >> was
Hi Stefano,
Could this series be applied, please?
On Fri, Jul 12, 2019 at 9:32 AM Fabio Estevam wrote:
>
> Allow enable_ipu_clock() to be built for SPL code. This is done
> in preparation for configuring the NoC registers on i.MX6QP in SPL.
>
> Signed-off-by: Fabio Estevam
> ---
> arch/arm/mac
Hi
On Tue, Sep 17, 2019 at 7:48 AM Simon Glass wrote:
>
> Hi Michael,
>
> On Sun, 15 Sep 2019 at 04:45, Michael Trimarchi
> wrote:
> >
> > Skip not associated gpio phandle let register the other gpios and
> > the error message add some information to debug the problem using
> > a decompiled vers
Hi
On Mon, Sep 16, 2019 at 3:24 AM Peng Fan wrote:
>
> > Subject: [PATCH] mmc: dw_mmc: Clean up variable name
>
I will resend.
Michael
> Please at least write some commit message here.
>
> Thanks,
> Peng.
>
> >
> > Signed-off-by: Michael Trimarchi
> > ---
> > drivers/mmc/dw_mmc.c | 4 ++--
> >
Hi Lukasz,
On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski wrote:
>
> Hi Simon,
>
> > On Sun, 18 Aug 2019 at 19:30, Peng Fan wrote:
> > >
> > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define
> > > >
> > > > This define indicates if DM_GPIO shall be supported in SPL. This
> > >
Hi Lee,
On Tue, Sep 17, 2019 at 4:45 PM Lee Annamalai wrote:
>
> Hi
>
> I am using a Raspberry PI compute module (CM 3+), which seems to be running
> U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +)
>
> The CM3+ is communicating on the UART at boot, before the Kernel loads:
>
> U-Boo
On Tue, Sep 17, 2019 at 1:34 PM Simon Glass wrote:
>
> Hi Lukasz,
>
> On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski wrote:
> >
> > Hi Simon,
> >
> > > On Sun, 18 Aug 2019 at 19:30, Peng Fan wrote:
> > > >
> > > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig define
> > > > >
> > >
On Tue, Sep 17, 2019 at 7:50 AM Lokesh Vutla wrote:
>
>
>
> On 16/09/19 4:53 PM, Sam Protsenko wrote:
> > Hi Lokesh,
> >
> > On Mon, Sep 16, 2019 at 11:34 AM Lokesh Vutla wrote:
> >>
> >>
> >>
> >> On 12/09/19 11:20 PM, Sam Protsenko wrote:
> >>> Commit 8fa7f65dd02c ("configs: Remove am335x_boneb
When running 'run_fit' the FIT file should have been loaded at
'addr_fit', although at this point they should be the same
use this variable instead of 'loadaddr'.
Signed-off-by: Andrew F. Davis
---
include/configs/ti_armv7_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --gi
Skip not associated gpio phandle let register the other gpios on a group.
We need anyway to send out a warning to the user to fix their uboot-board.dtsi.
Thhe handle id can be found inside the decompiled dtb
dtc -I dtb -O dts -o devicetree.dts spl/u-boot-spl.dtb
Signed-off-by: Michael Trimarchi
On 9/6/19 8:09 AM, AKASHI Takahiro wrote:
If EFI_VARIABLE_APPEND_WRITE is specified in attributes at
efi_set_variable(), specified data will be appended to the variable's
original value. Attributes other than APPEND_WRITE should not be
modified.
With this patch, APPEND_WRITE test in 'variables'
Hi Simon,
> Hi Lukasz,
>
> On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski wrote:
> >
> > Hi Simon,
> >
> > > On Sun, 18 Aug 2019 at 19:30, Peng Fan wrote:
> > > >
> > > > > Subject: [PATCH v2 8/9] spl: Introduce SPL_DM_GPIO Kconfig
> > > > > define
> > > > >
> > > > > This define indicates
On Tue, 17 Sep 2019 14:19:33 -0500
Adam Ford wrote:
> On Tue, Sep 17, 2019 at 1:34 PM Simon Glass wrote:
> >
> > Hi Lukasz,
> >
> > On Tue, 17 Sep 2019 at 00:22, Lukasz Majewski
> > wrote:
> > >
> > > Hi Simon,
> > >
> > > > On Sun, 18 Aug 2019 at 19:30, Peng Fan
> > > > wrote:
> > > > >
This is very similar to fit_image_get_data but has the benefit of working
on FIT images with external data unlike fit_image_get_data. This is
useful for extracting sub-images from type of FIT image as this would
previously just silently fail. Add an error message also so if this
still fails it is e
This has the same result but some compilers will warn about this
fall-through if there are statements as part of the label block.
Signed-off-by: Andrew F. Davis
---
tools/dumpimage.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/dumpimage.c b/tools/dumpimage.c
index d5f893daf1..e54814
The dumpimage utility errors out in a number of places without providing
sufficient feedback to allow the user to easily determine what has gone
wrong. Add additional error messages to make the cause of the failure
more obvious.
Signed-off-by: Andrew F. Davis
---
tools/dumpimage.c | 14 +
On 9/13/19 11:47 AM, Yannick Fertré wrote:
If the size of the bitmap is bigger than the size of
the panel then errors appear when calculating axis alignment
and the copy of bitmap is done outside of framebuffer.
Signed-off-by: Yannick Fertré
---
drivers/video/video_bmp.c | 14 ++
On HS devices the access to TRNG is restricted on the non-secure
ARM side, disable the node in DT to prevent firewall violations.
Signed-off-by: Andrew F. Davis
---
arch/arm/mach-k3/common.c | 20
arch/arm/mach-k3/include/mach/sys_proto.h | 2 ++
board/ti/am
From: Jean-Jacques Hiblot
To accommodate the growth of u-boot, we need to shift the location of the
secure monitor. Moving it 64kB further.
Signed-off-by: Jean-Jacques Hiblot
---
include/configs/ti_armv7_keystone2.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/includ
Hi Simon,
On Sat, Sep 14, 2019 at 1:55 PM Simon Goldschmidt
wrote:
>
> Joe Hershberger schrieb am Sa., 14. Sep. 2019,
> 20:46:
>
> > On Sat, Sep 14, 2019 at 1:32 PM Tom Rini wrote:
> > >
> > > On Sat, Sep 14, 2019 at 04:05:44PM +0200, Ondřej Jirman wrote:
> > > > Hi,
> > > >
> > > > On Fri, Sep
Hi Fabio,
On Tue, 17 Sep 2019 09:32:37 -0300
Fabio Estevam feste...@gmail.com wrote:
> Hi Anatolij,
>
> On Mon, Sep 16, 2019 at 4:21 PM Anatolij Gustschin wrote:
>
> > Most probably this is because there was no user of the video
> > device when booting and therefore the video driver was not
>
On 9/10/19 3:37 AM, Ley Foon Tan wrote:
> This is 2nd version of patchset to convert reset, system and clock manager
> drivers to use #define instead of struct.
>
> Tested on Cyclone 5, Arria 10 and Stratix 10 devices.
>
> Patch 1 is new one, patch 2 to 4 have changes.
>
> Main changes in this
On Mon, Sep 16, 2019 at 08:15:49AM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this for v2019.10 release.
>
> Summary:
> - fix mvebu_a3700_spi clock prescale (Marek Behún)
> - unmark MXS_SPI, DEPRECATED (Lukasz)
> - add spi_write_then_read (Jagan)
> - fix SST26* flash ICs (Eugeniy)
> - fi
On Tue, Sep 17, 2019 at 02:25:37PM +,
bollavarapumoses.christop...@in.bosch.com wrote:
> From: Moses Christopher
>
> - add BOARD_LATE_INIT function calls in board.c
> - add swi_status detection in board.c
> - mux: add guardian interfaces to single pinmux structure
> - am33xx, kconfi
On Tue, Sep 17, 2019 at 02:25:38PM +,
bollavarapumoses.christop...@in.bosch.com wrote:
> From: Moses Christopher
>
> - update partition table - remove env partitions
> - dts: add new interfaces (uart2, extra gpio-key)
> remove unneeded entries
> update nand timings for
On Mon, Sep 16, 2019 at 05:17:11AM +, Priyanka Jain wrote:
> Dear Tom,
>
> Please find my pull-request for u-boot-fsl-qoriq/master
> https://travis-ci.org/p-priyanka-jain/u-boot/builds/584428184
>
>
> Summary
> Add emmc hs200 support
> Few bug fixes related to serdes, I2C, ethernet, etc
>
On Tue, Sep 17, 2019 at 10:38:47PM +0200, Heinrich Schuchardt wrote:
> On 9/6/19 8:09 AM, AKASHI Takahiro wrote:
> >If EFI_VARIABLE_APPEND_WRITE is specified in attributes at
> >efi_set_variable(), specified data will be appended to the variable's
> >original value. Attributes other than APPEND_WRI
One of major missing features in current UEFI implementation is "secure boot."
The ultimate goal of my attempt is to implement image authentication based
on signature and provide UEFI secure boot support which would be fully
compliant with UEFI specification, section 32[1].
(The code was originally
u16 version of strcmp(): u16_strncmp() works like u16_strcmp() but only
at most n characters (in u16) are compared.
This function will be used in my UEFI secure boot patch.
Signed-off-by: AKASHI Takahiro
---
include/charset.h | 15 +++
lib/charset.c | 25 +
New seven test cases for u16_strcmp() are added under Unicode unit test,
which should be executed by "ut unicode" command.
Signed-off-by: AKASHI Takahiro
---
test/unicode_ut.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/test/unicode_ut.c b/test/unicode_ut.c
index 1ccd36e7c
For FIT verification, all the properties of a public key come from
"control fdt" pointed to by fdt_blob. In UEFI secure boot, on the other
hand, a public key is located and retrieved from dedicated signature
database stored as UEFI variables.
Added two fields may hold values of a public key if fdt
The index (IMAGE_DIRECTORY_ENTRY_CERTTABLE) in a table points to
a region containing authentication information (image's signature)
in PE format.
WIN_CERTIFICATE structure defines an embedded signature format.
Those definitions will be used in my UEFI secure boot patch.
Signed-off-by: AKASHI Tak
With this commit, EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
is supported for authenticated variables and the system secure state
will transfer between setup mode and user mode as UEFI specification
section 32.3 describes.
Internally, authentication data is stored as part of authenticated
Those two variables are well defined UEFI variables:
SignatureSupport: array of GUIDs representing the type of signatures
supported by the platform firmware
VendorKeys: whether the system is configured to use only vendor-provided
keys or not
Signed-off-by: AKASHI Taka
This commit allows us to use common/image-sig.c even if CONFIG_FIT
is disabled but CONFIG_EFI_LOADER is enabled.
Signed-off-by: AKASHI Takahiro
---
include/image.h | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/include/image.h b/include/image.h
index 685f5181
With this commit, image validation can be enforced, as UEFI specification
section 32.5 describes, if CONFIG_EFI_SECURE_BOOT is enabled.
Currently we support
* authentication based on db and dbx,
so dbx-validated image will always be rejected.
* following signature types:
EFI_CERT_SHA256_GUID
We call efi_init_secure_boot() after loading saved UEFI variables so that
the initial secure boot status will be initialized.
Signed-off-by: AKASHI Takahiro
---
lib/efi_loader/efi_setup.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/lib/efi_loader/efi_setup.c b/lib/efi_loader/efi_set
The configuration, CONFIG_SECURE_BOOT, was scattered among different
architecture directories for different implementation. This will prevent
UEFI secure boot from being added later.
So let's rename them, giving each implementation to different
configuration option. CONFIG_SECURE_BOOT still remain
In this commit, implemented are efi_signature_verify_with_db(),
efi_signature_parse_sigdb() and a couple of helper functions which will be
used for variable authentication as well as image authentication in UEFI
secure boot.
efi_signature_verify_with_db() - authenticate an image with its hash valu
Any signature database variable is associated with a specific guid.
For convenience, if user doesn't supply any guid info, "env set|print -e"
should complement it.
Signed-off-by: AKASHI Takahiro
---
cmd/nvedit_efi.c | 31 +++
1 file changed, 23 insertions(+), 8 deleti
test_efi_secboot/test_authvar.py: provide test cases of variable
authentication
This test relies on efitools and user should compile it on his own.
(Currently some local change has been applied.)
Signed-off-by: AKASHI Takahiro
---
.../py/tests/test_efi_secboot/test_authvar.py |
test_efi_secboot/test_signed.py: provide test cases of image authentication
for signed images
test_efi_secboot/test_unsigned.py: provide test cases of image
authentication for unsigned images
This test relies on efitools and user should compile it on his own.
(Curre
Now we can enable UEFI secure boot with this option.
Signed-off-by: AKASHI Takahiro
---
lib/efi_loader/Kconfig | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
index c7027a967653..fb66766d2b7a 100644
--- a/lib/efi_loader/Kconfig
+
On Tue, Sep 17, 2019 at 10:43 PM Marek Vasut wrote:
>
> Due to constant influx of more and more weird and broken USB sticks,
> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85
>
> usb: storage: scsiglue: further describe our 240 sector limit
>
> Just so we have some sort
This patch adds codes to enable FIFO and disable flow control taken from
ns16550 driver.
Signed-off-by: Weijie Gao
---
drivers/serial/serial_mtk.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/serial/serial_mtk.c b/drivers/serial/serial_mtk.c
index bce1be8227
This patch series have the following changes:
- Add pinctrl(both pinmux and pinconf) driver, reset controller driver and
clock driver for mt7628.
- Add mt7628 platform to mtk-sd driver.
- Modify mt7628's ethernet & usb phy driver to take advantages from the new
drivers.
- Update mt7621-spi d
This patch adds non-DM version for mtk hsuart driver and makes it
compatible with ns16550a driver in configuration.
This is needed in SPL with CONFIG_SPL_DM disabled for reducing size.
Signed-off-by: Weijie Gao
---
drivers/serial/serial.c | 2 +
drivers/serial/serial_mtk.c | 202 ++
The UART of MT7628 has fixed 40MHz input clock so there is no need to put
clock-frequency in every dts files. Just put it into the common dtsi file.
Reviewed-by: Stefan Roese
Signed-off-by: Weijie Gao
---
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 1 -
arch/mips/dts/linkit-smart-7688.dts
All three UARTs of mt7628 are actually MediaTek's high-speed UARTs which
support baudrate up to 921600.
The high-speed UART is compatible with ns16550 when baudrate <= 115200.
Add compatible string to dtsi file so u-boot can use it when serial_mtk
driver is built in.
Reviewed-by: Stefan Roese
Si
This patch lets the spi driver to use clock provided by the clk driver
since the new clk-mt7628 driver provides accurate sys clock frequency.
Signed-off-by: Weijie Gao
---
v2: newly added
---
drivers/spi/mt7621_spi.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
di
The mt7621 spi controller supports continuous generic half-duplex spi
transaction. There is no need to cache xfer data at all.
To achieve this goal, the OPADDR register must be used as the first data
to be sent. And follows the eight generic DIDO registers. But one thing
different between OPADDR a
This patch adds pinctrl node with default pin state for mt7628an.dtsi.
Signed-off-by: Weijie Gao
---
arch/mips/dts/mt7628a.dtsi | 150 +
1 file changed, 150 insertions(+)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 6d2142f429..8
1 - 100 of 168 matches
Mail list logo