Hi Anand,
On 2019/9/16 下午7:03, Anand Moon wrote:
Hi Jagan / Kever,
I have with me Odroid - N1 per-released development board,
It's almost same form factor to "Firefly-RK3399 Board" with
rk3399-sdram-ddr3-1600.dtsi ram configuration.
I have configure Odroid - N1 board to boot using TPL / SPL c
The configuration helps in picking the environment from flash before
DDR init.
Signed-off-by: Ashish Kumar
Signed-off-by: Kuldeep Singh
---
include/configs/ls1012ardb.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index f664
On Wed, Sep 18, 2019 at 10:36 AM Kever Yang wrote:
>
>
> On 2019/9/17 下午2:10, Jagan Teki wrote:
> > SPL sets up SDRAM while in its board_init_f()
> > function, it is possible for the stack to move
> > there before board_init_r() is reached.
> >
> > So it is required to reserve the stack for SDRAM,
On 2019/9/17 下午2:10, Jagan Teki wrote:
SPL sets up SDRAM while in its board_init_f()
function, it is possible for the stack to move
there before board_init_r() is reached.
So it is required to reserve the stack for SDRAM,
with a proper location and size otherwise any
operations during SPL hando
On 2019/9/17 下午2:10, Jagan Teki wrote:
The initial Vyasa-rk3288 TPL implementation is to reuse the
SPL_TEXT_BASE for TPL and SPL as 0x0 and 0xff704000 respectively.
But the below commit implements the reverse way of using TEXT_BASE's
like 0xff704000 for TPL and 0x0 for SPL and which indeed upda
On Wed, Sep 18, 2019 at 10:32 AM Kever Yang wrote:
>
>
> On 2019/9/17 下午2:10, Jagan Teki wrote:
> > The initial Vyasa-rk3288 TPL implementation is to reuse the
> > SPL_TEXT_BASE for TPL and SPL as 0x0 and 0xff704000 respectively.
> >
> > But the below commit implements the reverse way of using TEX
On 2019/9/17 下午2:10, Jagan Teki wrote:
From: Michael Trimarchi
Reviewed-by: Kever Yang
Thanks,
- Kever
Tinker board needs to mux all the sdmmc gpio and
activate the regulator connected to bank 7. Remove
all the bank that are not in use and mark them as dm,spl
so-that it would initialize at
On 2019/9/17 下午2:10, Jagan Teki wrote:
SPL_TEXT_BASE is 0x0 by default, based on the kconfig
definition move in below commit.
"configs: move CONFIG_SPL_TEXT_BASE to Kconfig"
(sha1: f89d6133eef2e068f9c33853b6584d7fcbfa9d2e)
So, don't define it explicitly.
Signed-off-by: Jagan Teki
Reviewed-
On Wed, Sep 18, 2019 at 9:09 AM Kever Yang wrote:
>
> Hi Jagan,
>
> Seems like your and Kurt's board have different DRAM type:
>
> - 16bit row + 1 CS
>
> - 15bit row + 2 CS
>
> Capacity detect function is missing for the driver now, and it's not able
>
> to detect the correct size like Kurt i
On 2019/9/17 下午2:10, Jagan Teki wrote:
Few of the rk3288 boards like tinker, vyasa are using
TPL, SPL bootchain so the dram initialization must needed
during TPL stage. So add proper ifconstruct to satisfy
both TPL, SPL and SPL-only bootchain boards.
This eventually fixing TPL to SPL handoff, o
On 2019/9/17 下午2:10, Jagan Teki wrote:
newline \n was missed in fdt_path_offset, error loop.
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/spl-boot-order.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-ro
On 2019/9/17 下午2:10, Jagan Teki wrote:
ROCKCHIP_BROM_HELPER is selected as if TPL/SPL ROCKCHIP_BACK_TO_BROM
has been defined, so drop the explicit enablement for vyasa board.
This change is supposed to missed during config move to
other locations, and missed to drop the same.
Signed-off-by: Ja
On 2019/9/17 下午2:10, Jagan Teki wrote:
The initial Vyasa-rk3288 TPL implementation is to reuse the
SPL_TEXT_BASE for TPL and SPL as 0x0 and 0xff704000 respectively.
But the below commit implements the reverse way of using TEXT_BASE's
like 0xff704000 for TPL and 0x0 for SPL and which indeed upda
Hi Ashish,
On 13.09.19 15:11, Stefan Roese wrote:
On 12.09.19 14:36, Stefan Roese wrote:
The spi-mem version is still under debug, I could make it working
for ls1088rdb, ls1046rdb, but it is failing for
ls1012ardb and ls2088ardb and untested for i.mx and other Layerscape
silicon/boards . It
On Thu, Sep 12, 2019 at 07:19:29PM +0200, Heinrich Schuchardt wrote:
> When hitting an invalid FAT cluster while reading a file always print an
> error message and return an error code.
I don't know what the intention of original author was here.
In general, a cluster's FAT entry points to a next
On 18/09/19 2:45 AM, Andrew F. Davis wrote:
> 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
Reviewed-by: Lokesh Vutla
Thanks and regards,
Lokesh
> ---
> arch/arm/mach-k3
Ley Foon Tan schrieb am Mi., 18. Sep. 2019, 04:32:
> On Wed, Sep 18, 2019 at 6:33 AM Dinh Nguyen wrote:
> >
> >
> >
> > 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.
> > >
Joe Hershberger schrieb am Di., 17. Sep. 2019,
23:22:
> 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 0
On 2019/9/17 下午3:29, Jagan Teki wrote:
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
Reviewed-by: Kever Yang
Thanks,
- Kever
---
include/configs/rk328
Hi Jagan,
Seems like your and Kurt's board have different DRAM type:
- 16bit row + 1 CS
- 15bit row + 2 CS
Capacity detect function is missing for the driver now, and it's not able
to detect the correct size like Kurt is using.
Thanks,
- Kever
On 2019/9/17 下午5:25, Jagan Teki wrote:
O
Thanks. Tried that (set to -2) ... will let you know if this works.
Lee
-Original Message-
From: Belisko Marek
Sent: Tuesday, 17 September 2019 21:02
To: Lee Annamalai
Cc: u-boot@lists.denx.de
Subject: Re: [U-Boot] Raspberry PI Compute Module - UART Issue
Hi Lee,
On Tue, Sep 17, 2019
Simon,
Overall, do you agree to my approach here?
On Mon, Sep 16, 2019 at 10:48:07PM -0700, Simon Glass wrote:
> Hi AKASHI,
>
> On Fri, 6 Sep 2019 at 00:06, AKASHI Takahiro
> wrote:
> >
> > This function, and hence rsa_verify(), will perform RSA verification
> > with two essential parameters f
Hi Priyanka,
Adding same information in both subject and description is not a good idea.
I will add your suggested information in description.
Thanks,
Andy
> -Original Message-
> From: Priyanka Jain
> Sent: 2019年9月17日 18:05
> To: Andy Tang ; Prabhakar Kushwaha
> ; Priyanka Jain
> Cc: An
Enable eSDHC device module for T4240RDB board
Signed-off-by: Yinbo Zhu
---
configs/T4240RDB_SDCARD_defconfig | 1 +
configs/T4240RDB_defconfig| 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/T4240RDB_SDCARD_defconfig
b/configs/T4240RDB_SDCARD_defconfig
index 7f97166860..61f
Enable eSDHC device module for P5040DS board
Signed-off-by: Yinbo Zhu
---
configs/P5040DS_NAND_defconfig | 1 +
configs/P5040DS_SDCARD_defconfig | 1 +
configs/P5040DS_SPIFLASH_defconfig | 1 +
configs/P5040DS_defconfig | 1 +
4 files changed, 4 insertions(+)
diff --git a/configs
Enable eSDHC device module for P1020RDB board
Signed-off-by: Yinbo Zhu
---
configs/P1020RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 1 +
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 1 +
configs/P1020RDB-PC_36BIT_defconfig | 1 +
configs/P1020
Enable eSDHC device module for T1042D4RDB board
Signed-off-by: Yinbo Zhu
---
configs/T1042D4RDB_NAND_defconfig | 1 +
configs/T1042D4RDB_SDCARD_defconfig | 1 +
configs/T1042D4RDB_SPIFLASH_defconfig | 1 +
configs/T1042D4RDB_defconfig | 1 +
4 files changed, 4 insertions(+)
diff
Add eSDHC node to p2041 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/p2041.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi
index 55f7adc50e..cb83475d2a 100644
--- a/arch/powerpc/dts/p2041.dtsi
+++ b/arch/powerpc/dts/p2
Enable eSDHC device module for P2020RDB board
Signed-off-by: Yinbo Zhu
---
configs/P2020RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 1 +
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 1 +
configs/P2020RDB-PC_36BIT_defconfig | 1 +
configs/P2020
Enable eSDHC device module for T2080RDB board
Signed-off-by: Yinbo Zhu
---
configs/T2080RDB_NAND_defconfig | 1 +
configs/T2080RDB_SDCARD_defconfig | 1 +
configs/T2080RDB_SPIFLASH_defconfig | 1 +
configs/T2080RDB_defconfig | 1 +
4 files changed, 4 insertions(+)
diff --git a/co
Enable eSDHC device module for P2041RDB board
Signed-off-by: Yinbo Zhu
---
configs/P2041RDB_NAND_defconfig | 1 +
configs/P2041RDB_SDCARD_defconfig | 1 +
configs/P2041RDB_SPIFLASH_defconfig | 1 +
configs/P2041RDB_defconfig | 1 +
4 files changed, 4 insertions(+)
diff --git a/co
Add eSDHC node to t4240 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/t4240.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi
index fc34974c7f..b09b40d8c6 100644
--- a/arch/powerpc/dts/t4240.dtsi
+++ b/arch/powerpc/dts/t4
Enable eSDHC device module for P3041DS board
Signed-off-by: Yinbo Zhu
---
configs/P3041DS_NAND_defconfig | 1 +
configs/P3041DS_SDCARD_defconfig | 1 +
configs/P3041DS_SPIFLASH_defconfig | 1 +
configs/P3041DS_defconfig | 1 +
4 files changed, 4 insertions(+)
diff --git a/configs
Enable eSDHC device module for P4080DS board
Signed-off-by: Yinbo Zhu
---
configs/P4080DS_SDCARD_defconfig | 1 +
configs/P4080DS_SPIFLASH_defconfig | 1 +
configs/P4080DS_defconfig | 1 +
3 files changed, 3 insertions(+)
diff --git a/configs/P4080DS_SDCARD_defconfig b/configs/P4080D
Add eSDHC node to t102x dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/t102x.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi
index c49fd21088..a0c97021dd 100644
--- a/arch/powerpc/dts/t102x.dtsi
+++ b/arch/powerpc/dts/t1
Use block layer to read from mmc
Signed-off-by: Yinbo Zhu
---
board/freescale/common/sdhc_boot.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/freescale/common/sdhc_boot.c
b/board/freescale/common/sdhc_boot.c
index 357aba9122..a1c7a94a90 100644
--- a/board/freescale/common/sdhc_
Add eSDHC node to p5040 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/p5040.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi
index 8ab123dca4..8128ac2376 100644
--- a/arch/powerpc/dts/p5040.dtsi
+++ b/arch/powerpc/dts/p5
Enable eSDHC device module for T1024RDB board
Signed-off-by: Yinbo Zhu
---
configs/T1024RDB_NAND_defconfig | 1 +
configs/T1024RDB_SDCARD_defconfig | 1 +
configs/T1024RDB_SPIFLASH_defconfig | 1 +
configs/T1024RDB_defconfig | 1 +
4 files changed, 4 insertions(+)
diff --git a/co
Add eSDHC node to t104x dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/t104x.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi
index 59989677a2..c37a80f006 100644
--- a/arch/powerpc/dts/t104x.dtsi
+++ b/arch/powerpc/dts/t1
Add eSDHC node to p3041 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/p3041.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi
index 197896d35a..6ab60a4ced 100644
--- a/arch/powerpc/dts/p3041.dtsi
+++ b/arch/powerpc/dts/p3
Add eSDHC node to p4080 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/p4080.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/dts/p4080.dtsi b/arch/powerpc/dts/p4080.dtsi
index ab766803a3..61ff5c2d67 100644
--- a/arch/powerpc/dts/p4080.dtsi
+++ b/arch/powerpc/dts/p4
Add eSDHC node to p2020 dts
Signed-off-by: Yinbo Zhu
---
arch/powerpc/dts/p2020-post.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi
index f696f35960..c07ed66726 100644
--- a/arch/powerpc/dts/p2020-post.dtsi
+++
Add eSDHC node to p1020 dts
Signed-off-by: Yinbo Zhu
---
Change in v2:
remove the string "This patch is to" from commit information
arch/powerpc/dts/p1020-post.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/dts/p1020-post.dtsi b/arch/powerpc/dts/p10
Hi Simon,
On Mon, Sep 16, 2019 at 10:48:05PM -0700, Simon Glass wrote:
> Hi AKASHI,
>
> On Fri, 6 Sep 2019 at 00:05, AKASHI Takahiro
> wrote:
> >
> > In the current implementation of FIT_SIGNATURE, five parameters for
> > a RSA public key are required while only two of them are essential.
> > (
On Wed, Sep 18, 2019 at 6:33 AM Dinh Nguyen wrote:
>
>
>
> 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.
> >
> > Patc
On Mon, Sep 16, 2019 at 10:12 PM Dinh Nguyen wrote:
>
>
>
> On 9/10/19 3:38 AM, Ley Foon Tan wrote:
> > Add u-boot,dm-pre-reloc for sysmgr and clkmgr nodes to use it in SPL.
> > In preparation to get base address from DT.
> >
> > Signed-off-by: Ley Foon Tan
> > ---
> > arch/arm/dts/socfpga-commo
On Tue, 17 Sep 2019 at 13:06, Michael Trimarchi
wrote:
>
> 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
This patch adds mmc support for MediaTek MT7620/MT7628 SoCs.
Signed-off-by: Weijie Gao
---
v2: Removed unnecessary braces in Kconfig
---
drivers/mmc/Kconfig | 2 +-
drivers/mmc/mtk-sd.c | 23 ---
2 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/Kc
This patch updates reset controller node for mt7628
Signed-off-by: Weijie Gao
---
arch/mips/dts/mt7628a.dtsi | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 44fbbd5b25..b0e0ed
This patch adds a dts property cd-active-high for builtin-cd mode to make
it configurable instead of using hardcoded active-low.
Signed-off-by: Weijie Gao
---
drivers/mmc/mtk-sd.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mtk-sd.c b/drivers/mmc/mtk-s
This patch adds default p0led status and phy0 link polling for all boards.
Reviewed-by: Stefan Roese
Signed-off-by: Weijie Gao
---
v2: Add phy link detection for all boards.
---
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 13 +
arch/mips/dts/linkit-smart-7688.dts| 1
This patch adds slew rate calibration for mt76x8-usb-phy, removes code
which belongs to mt7620, and gets rid of using syscon and regmap by using
clock driver and reset controller.
Signed-off-by: Weijie Gao
---
drivers/phy/Kconfig | 2 +
drivers/phy/mt76x8-usb-phy.c | 225 +
This patch add support for mt7628-eth to isolate LAN/WAN ports mainly to
prevent LAN devices from getting IP address from WAN.
Signed-off-by: Weijie Gao
---
drivers/net/mt7628-eth.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/net/mt7628-eth.c b/d
The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port).
Although in IOT mode only port0 is usable, the phy0 is still connected
to the switch, not the ethernet gmac directly.
This patch rewrites it and makes it optional. It can be turned on by adding
mediatek,poll-link-phy = explici
Some configs are selected in Kconfig and is no longer needed in the
defconfig files. Some configs (power domain, ram) are never used.
Signed-off-by: Weijie Gao
---
v2: newly added
---
configs/gardena-smart-gateway-mt7688-ram_defconfig | 7 ---
configs/gardena-smart-gateway-mt7688_defconfig
When received a packet with an invalid length recorded in rx descriptor,
we should free this rx descriptor to allow us to continue to receive
following packets.
Without doing so, u-boot will stuck in a dead loop trying to process this
invalid rx descriptor.
This patch adds a call to mt7628_eth_fre
This patch adds a clock driver for MediaTek MT7628/7688 SoC.
It provides clock gate control as well as getting clock frequency for
CPU/SYS/XTAL and some peripherals.
Signed-off-by: Weijie Gao
---
v2: Changed to a more generic clock driver rather than a gateing only driver.
Now supports output
This patch adds default pinctrl for uart nodes
Signed-off-by: Weijie Gao
---
arch/mips/dts/mt7628a.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 8afea1865d..44fbbd5b25 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/
This patch removes hardcoded gpio settings as they have been replaced by
pinctrl in dts, and also replaces regmap-based phy reset with a more
generic reset controller.
Reviewed-by: Stefan Roese
Signed-off-by: Weijie Gao
---
drivers/net/mt7628-eth.c | 45 +++-
This patch adds reset controller driver for MediaTek MIPS platform and
header file for mt7628.
Signed-off-by: Weijie Gao
---
drivers/reset/Kconfig| 7 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-mtmips.c | 82
This adds default pinctrl (dual SPI chip select) for gardena smart gateway
Reviewed-by: Stefan Roese
Signed-off-by: Weijie Gao
---
arch/mips/dts/gardena-smart-gateway-mt7688.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts
b/arch/mips/dt
This patch adds mmc related nodes for mt7628an.dtsi
Signed-off-by: Weijie Gao
---
arch/mips/dts/mt7628a.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 5fd83c1623..76a80c8952 100644
--- a/arch/mips/dts
This patch adds default eth pinctrl for all boards.
There are two pinctrl nodes used for two scenarios:
ephy_iot_mode- for IOT boards which have only one port (PHY0)
ephy_router_mode - For routers which have more than one ports
Reviewed-by: Stefan Roese
Signed-off-by: Weijie Gao
---
arch/m
This patch changes baudrate table for all boards preparing for using mtk
highspeed uart driver.
Signed-off-by: Weijie Gao
---
v2: Removed configs in defconfig files.
---
include/configs/gardena-smart-gateway-mt7688.h | 2 +-
include/configs/linkit-smart-7688.h| 2 +-
2 files changed,
Some drivers (clk, pinctrl, reset, ...) are necessary for reset of the
system, they should be always selected.
Signed-off-by: Weijie Gao
---
v2: newly added
---
arch/mips/Kconfig | 6 ++
arch/mips/mach-mtmips/Kconfig | 2 ++
2 files changed, 8 insertions(+)
diff --git a/arch/mip
This patch adds clkctrl node for mt7628 and adds clocks property for
some node.
Signed-off-by: Weijie Gao
---
v2: Changed clkgate node to clkctrl node.
Replaced clock-frequency with <&clkctrl CLK_UARTx> for uarts and spi.
---
arch/mips/dts/mt7628a.dtsi | 21 +
1 file chan
This patch adds pinctrl support for mt7628, with a file for common pinmux
functions and a file for mt7628 which has additional support for pinconf.
Signed-off-by: Weijie Gao
---
drivers/pinctrl/Kconfig | 1 +
drivers/pinctrl/Makefile | 1 +
drivers/
Currently this driver uses a different way to implement the spi xfer,
by modifying some fields of two registers, which is incompatible with the
MTK's original SDK linux driver. This will cause the flash data being
damaged by the SDK driver.
This patch lets the mt7621_spi_set_cs() restore the origi
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
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
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
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
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 ++
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 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
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
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
+
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
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 |
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
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
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
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
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
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
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
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
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 +
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
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
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 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 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 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 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
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
>
1 - 100 of 168 matches
Mail list logo