Adding Macronix Octal flash for Octal DTR support.
The octaflash series can be divided into the following types:
MX25 series : Serial NOR Flash.
MX66 series : Serial NOR Flash with stacked die.(Size larger than 1Gb)
LM/UM series : Up to 250MHz clock frequency with both DTR/STR operation.
LW/UW se
Parse SCCR 22nd dword and check DTR Octal Mode Enable
Volatile bit for Octal DTR enable
Signed-off-by: JaimeLiao
---
drivers/mtd/spi/spi-nor-core.c | 52 ++
include/linux/mtd/spi-nor.h| 1 +
2 files changed, 53 insertions(+)
diff --git a/drivers/mtd/spi/spi-
Power-on-Reset is a method to restore flash back to 1S-1S-1S mode from 8D-8D-8D
in the begging of probe.
Command extension type is not standardized across flash vendors in DTR mode.
For suiting different vendor flash devices, adding a flag to seperate types for
soft reset on boot.
Signed-off-by:
Follow patch (Allow using Micron
mt35xu512aba
in Octal DTR mode).
Enable Octal DTR mode with 20 dummy cycles to allow running at the
maximum supported frequency for adding Macronix flash in Octal DTR mode.
-https://www.mxic.com.tw/Lists/Datasheet/Attachments/7841/MX25LM51245G,%203V,%20512Mb,%20
This series add support for Macronix octal DTR flash, add flag for
Softreset with "INVERT" command extension type on boot and follow
linux kernel to enable 4byte opcode when possible.
v8:
Correct spi nor flash information in IDs table.
v7:
Correct title and description of patchworks.
Correc
On 03.07.22 12:48, Pali Rohár wrote:
PCIe config space has address range 0-4095. So do not allow reading from
addresses outside of this range. Lot of U-Boot drivers do not expect that
passed value is not in this range. PCI DM read function is exetended to
s/exetended/extended
fill read value
Add documentattion for the FWU Multi Bank Update feature. The document
describes the steps needed for setting up the platform for the
feature, as well as steps for enabling the feature on the platform.
Signed-off-by: Sughosh Ganu
---
Changes since V5:
* Add some description about the reasoning fo
Add support for setting OEM flags in the capsule header. As per the
UEFI specification, bits 0-15 of the flags member of the capsule
header can be defined per capsule GUID.
The oemflags will be used for the FWU Multi Bank update feature, as
specified by the Dependable Boot specification[1]. Bit
15
The Dependable Boot specification[1] describes the structure of the
firmware accept and revert capsules. These are empty capsules which
are used for signalling the acceptance or rejection of the updated
firmware by the OS. Add support for generating these empty capsules.
[1] -
https://git.codelin
Add a command to read the metadata as specified in the FWU
specification and print the fields of the metadata.
Signed-off-by: Sughosh Ganu
---
Changes since V5:
* Do a metadata validity check by calling fwu_mdata_check() before
printing the FWU metadata as suggested by Michal
* Use ret and res
The FWU Multi Bank Update feature supports updation of firmware images
to one of multiple sets(also called banks) of images. The firmware
images are clubbed together in banks, with the system booting images
from the active bank. Information on the images such as which bank
they belong to is stored
The FWU Multi Bank Update specification requires the Update Agent to
carry out certain checks at the time of platform boot. The Update
Agent is the component which is responsible for updating the firmware
components and maintaining and keeping the metadata in sync.
The spec requires that the Updat
The FWU Multi Bank Update feature allows the platform to boot the
firmware images from one of the partitions(banks). The first stage
bootloader(fsbl) passes the value of the boot index, i.e. the bank
from which the firmware images were booted from to U-Boot. On the
STM32MP157C-DK2 board, this value
Add helper functions needed for accessing the FWU metadata which
contains information on the updatable images. These functions have
been added for the STM32MP157C-DK2 board which has the updatable
images on the uSD card, formatted as GPT partitions.
Signed-off-by: Sughosh Ganu
---
Changes since V
Enabling capsule update functionality on the platform requires
populating information on the images that are to be updated using the
functionality. Do so for the DK2 board.
Signed-off-by: Sughosh Ganu
---
Changes since V5: None
board/st/stm32mp1/stm32mp1.c | 19 +++
includ
The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c-dk2 board, the FWU metadata is stored on
the uSD card. Add the fwu-mdata node on the u-boot specifc dtsi file
for accessing the metadata structure.
Signed-off-by: Sughosh Ganu
Reviewed-by: Patrick Delaun
In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, on a separate
partition. Add a driver for reading from and writing to the metadata
when the updatable images and the metadata are stored on a block
device which is formated with GPT b
In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, which is stored on
a dedicated partition. Add the metadata structure, and a driver model
uclass which provides functions to access the metadata. These are
generic API's, and implement
Add bindings needed for accessing the FWU metadata partitions. These
include the compatible string which point to the access method and the
actual device which stores the FWU metadata.
The current patch adds basic bindings needed for accessing the
metadata structure on GPT partitioned block device
The patchset adds support for the FWU Multi Bank Update[1]
feature. Certain aspects of the Dependable Boot[2] specification have
also been implemented.
The FWU multi bank update feature is used for supporting multiple
sets(also called banks) of firmware image(s), allowing the platform to
boot fr
Hey all,
Given all of the last minutes PRs, I'm going to delay the release by a
week and do one more -rc on the 4th, and final release on 11 July 2022.
Thanks for your understanding all.
--
Tom
signature.asc
Description: PGP signature
On Mon, Jul 04, 2022 at 09:30:24AM +0900, AKASHI Takahiro wrote:
> On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote:
> > Without the patch for qemu-x86_defconfig:
> >
> > * sizeof(lbaint_t) = 4 in dev_read()
> > * sizeof(lbaint_t) = 8 in blkcache_read()
> >
> > CONFIG_SYS_64BIT
On Sat, Jul 02, 2022 at 02:20:21PM +0200, Heinrich Schuchardt wrote:
> Without the patch for qemu-x86_defconfig:
>
> * sizeof(lbaint_t) = 4 in dev_read()
> * sizeof(lbaint_t) = 8 in blkcache_read()
>
> CONFIG_SYS_64BIT_LBA is defined in common.h via
> include/configs/x86-common.h:22.
>
> We have
Hi Michal,
On 7/3/22 2:20 PM, Michal Suchanek wrote:
>
> Hello,
>
> many ARM SoCs have a mask rom feature that provides interface for
> downloading firmware over USB.
>
> Downstream rockchip u-boot has 'brom' or 'rbrom' command for this
> purpose, and downstream sunxi u-boot provides 'efex' com
On Sun, 3 Jul 2022 21:20:22 +0200
Michal Suchanek wrote:
Hi Michal,
> p-boot uses RTC GPR 1 value 0xb0010fe1 to flag FEL boot on A64
>
> Default to the same.
Please don't add any more #ifdef's to U-Boot, especially no nested
ones, there are already far too many.
> Signed-off-by: Michal Sucha
On Sun, 3 Jul 2022 21:20:20 +0200
Michal Suchanek wrote:
Hi,
> many ARM SoCs have a mask rom feature that provides interface for
> downloading firmware over USB.
>
> Downstream rockchip u-boot has 'brom' or 'rbrom' command for this
> purpose, and downstream sunxi u-boot provides 'efex' command
On Fri, Jul 1, 2022 at 1:44 PM LABBE Corentin wrote:
>
> Hello
>
> We have an HSDK board in kernelCI, and it fail often to do networking tasks.
> (getting image via tftp)
> Example:
> tftp 0x8200 2156673/tftp-deploy-l8y_ehqa/kernel/uImage
> Speed: 100, full duplex
> Using ethernet@f0008000 de
On Thu, Jun 30, 2022 at 12:10 PM Patrick Delaunay
wrote:
>
> Reorder include files in the U-Boot expected order.
>
> Signed-off-by: Patrick Delaunay
> ---
>
> drivers/net/dwc_eth_qos.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/ne
On Thu, Jun 30, 2022 at 12:10 PM Patrick Delaunay
wrote:
>
> Solve an issue with AXI_WIDTH_32 on a the 64 bytes cache line platform;
> in this case the requested descriptor padding length should be 12 but the
> associated parameter EQOS_DMA_CH0_CONTROL.DSL is limited to 3bits = 7.
>
> As the DMA d
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> When CONFIG_CLK is not enabled, there will be buil break:
> "error: ‘eqos’ undeclared (first use in this function)"
>
> Should not guard the eqos under CONFIG_CLK macro
>
Please rephrase - the english is a bit broken
som
p-boot uses RTC GPR 1 value 0xb0010fe1 to flag FEL boot on A64
Default to the same.
Signed-off-by: Michal Suchanek
---
arch/arm/include/asm/arch-sunxi/cpu.h | 11 +++
arch/arm/mach-sunxi/Kconfig | 18 ++
arch/arm/mach-sunxi/board.c | 24 ++
From: Andy Yan
Change-Id: I797491ebe25af1013732aeee87e61e3ba4bc1689
Signed-off-by: Andy Yan
Signed-off-by: Michal Suchanek
---
.../arm/include/asm/arch-rockchip/boot_mode.h | 1 +
cmd/boot.c| 20 +++
2 files changed, 21 insertions(+)
diff -
Hello,
many ARM SoCs have a mask rom feature that provides interface for
downloading firmware over USB.
Downstream rockchip u-boot has 'brom' or 'rbrom' command for this
purpose, and downstream sunxi u-boot provides 'efex' command. p-boot has
code for entering FEL on A64 SoC.
With this patch I
intrdouce -> introduce
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> i.MX has specific hook to get MAC address, so introduce a hook and move
> i.MX code to its own driver
>
> Signed-off-by: Peng Fan
> ---
> drivers/net/dwc_eth_qos.c | 9 ++---
> drivers/
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote:
>
> From: Ye Li
>
> Since new atheros PHY driver needs to access its PHY node through
> phy device, we have to assign the phy node in ethernet controller
> driver. Otherwise the PHY driver will fail to get some nodes
> and properties.
>
> Sign
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Move i.MX code to a standalone file to make it easy for adding new
> platform support
>
> Signed-off-by: Peng Fan
> ---
> drivers/net/Makefile | 1 +
> drivers/net/dwc_eth_qos.c | 92 ---
On Mon, Jun 27, 2022 at 5:44 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Move macros and structures to header file and make some functions
> public, so that could used by other files, this is to
> prepare split platform specific config to one file.
>
> Signed-off-by: Peng Fan
> ---
> driver
On Mon, Jun 27, 2022 at 5:43 AM Peng Fan (OSS) wrote:
>
> From: Peng Fan
>
> Support i.MX93 in fec_mxc driver
>
> Signed-off-by: Peng Fan
> ---
> drivers/net/Kconfig | 2 +-
> drivers/net/fec_mxc.c | 4 +++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/Kconf
KConfig has range option, use it instead of notice in the option
descrition.
Signed-off-by: Michal Suchanek
---
arch/arm/mach-sunxi/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 10645fc644..0ef79849a4
On Sat, Jul 02, 2022 at 03:44:13PM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit 936d468b7bbc8c02071b3d0d24f9c48167cb5ce7:
>
> chameleonv3: Add MAINTAINERS file (2022-07-01 15:55:54 -0400)
>
> are available in the Git repository at:
>
> https://source
On Wed, Jun 29, 2022 at 05:57:51PM +0200, Michael Trimarchi wrote:
> Both of us are working on Nand subsystem on several architectures and
> we have boards and projects to improve the subsystem in uboot. The idea
> is to garantee quick feedback on patches sent on mailing list and most
> of the tim
On Wed, Jun 29, 2022 at 12:11:40PM +0200, Hannes Schmelzer wrote:
> Since i'm leaving the company with end of june, the maintainership will
> be transferred to Wolfgang Wallner.
>
> Signed-off-by: Hannes Schmelzer
>
> Seriec-cc: tr...@konsulko.com
> Series-version : 2
> Series-changes : 2
> - f
On Mon, Jun 20, 2022 at 04:31:17PM +0930, Joel Stanley wrote:
> The documentation above the DEFINE_ALIGN_BUFFER says it's for use
> outside functions, but we're inside one.
>
> Instead use ALLOC_CACHE_ALIGN_BUFFER, the stack based macro, which also
> includes the cache alignment.
>
> Fixes: b583
The source code contains an error:
- argv[2] contains arg, variable for env_set is in argv[3]
- number of args is 4
Revert 54d24d72601321f4470c4edf31c6b29adae424a7
cmd: simplify do_adc_single()
Fixes 9de612ae4ded53f742f5f99929c06d0839471ced
cmd: adc: Add support for storing ADC result in env
On Sun, Jul 03, 2022 at 02:32:42AM -0600, Simon Glass wrote:
> Hi,
>
> On Sun, 3 Jul 2022 at 02:25, Simon Glass wrote:
> >
> > The fdt_path_offset() function is slow since it must scan the tree.
> > This substantial overhead now applies to all boards.
> >
> > The original code may not be ideal bu
On 7/3/22 14:22, Vyacheslav wrote:
25.04.2022 23:26, Heinrich Schuchardt wrote:
If argc is not < 3, it must be >= 3.
If argc >= 3, argv[2] cannot be NULL.
Fixes: 9de612ae4ded ("cmd: adc: Add support for storing ADC result in
env variable")
Signed-off-by: Heinrich Schuchardt
---
cmd/adc
On Thursday 23 June 2022 15:04:08 Pali Rohár wrote:
> On Thursday 16 June 2022 14:37:07 Pali Rohár wrote:
> > On some boards upper 4 bits of i2c boot input data (register 0) are
> > inverted. Information which bits are inverted is stored in register 2.
> >
> > So invert read input data back accord
PING!
On Thursday 23 June 2022 15:43:45 Pali Rohár wrote:
> On Thursday 16 June 2022 17:01:50 Peng Fan (OSS) wrote:
> > 在 2022/4/25 22:50, Pali Rohár 写道:
> > > All *boot env commands overrides default boot source location via i2c.
> > > After board reset without power off, BootROM then starts boot
On 7/3/22 13:28, Heinrich Schuchardt wrote:
Consider which boot devices are enabled in the definition of the
BOOT_TARGET_DEVICES() macro.
Signed-off-by: Heinrich Schuchardt
Hello Bin,
With the patch I can run U-Boot
qemu-riscv_smode_defconfig
CONFIG_MTD_NOR_FLASH=n
CONFIG_CMD_NET=n
with
Hello,
after rebooting rk3399 Pinebook Pro mmc1 is no longer accessible from
u-boot, and video is not working, only cold boot works.
This is not a problem anymore when Linux is loaded from another device.
Any idea how to debug this?
Thanks
Michal
U-Boot TPL 2022.07-rc5 (May 16 2022 - 12:00:00
The requsted partition disk sector incorrectly has the parition start
sector added in twice for UCLASS_PARTITION devices. The efi_disk_rw_blocks()
routine adds the diskobj->offset to the requested lba. When the device
is a UCLASS_PARTITION, the dev_read() or dev_write() routine is called
which adds
Consider which boot devices are enabled in the definition of the
BOOT_TARGET_DEVICES() macro.
Signed-off-by: Heinrich Schuchardt
---
include/configs/qemu-riscv.h | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/include/configs/qemu-riscv.h b/include/
PCIe config space has address range 0-4095. So do not allow reading from
addresses outside of this range. Lot of U-Boot drivers do not expect that
passed value is not in this range. PCI DM read function is exetended to
fill read value to all ones or zeros when it fails as U-Boot callers
ignores ret
Hi Cédric,
> -Original Message-
> From: Cédric Le Goater
> Sent: Friday, July 1, 2022 7:51 PM
> Subject: Re: [v4 04/12] configs: aspeed: Enable SPI flash features
>
> On 7/1/22 11:28, Cédric Le Goater wrote:
> > On 5/24/22 07:56, Chin-Ting Kuo wrote:
> >> - Enable ASPEED SPI controller d
Hi Cédric,
> -Original Message-
> From: Cédric Le Goater
> Sent: Friday, July 1, 2022 5:45 PM
> Subject: Re: [v4 12/12] spi: aspeed: Fix bug when SPI_NOR_4B_OPCODES flag
> is set
>
> On 5/24/22 07:56, Chin-Ting Kuo wrote:
> > When SPI_NOR_4B_OPCODES flag is set for a specific flash in
>
Hi Cédric,
> -Original Message-
> From: Cédric Le Goater
> Sent: Friday, July 1, 2022 5:42 PM
> To: Chin-Ting Kuo ; ChiaWei Wang
> ; lu...@denx.de; sean...@gmail.com;
> Ryan Chen ; BMC-SW
> ; ja...@amarulasolutions.com; vigne...@ti.com;
> u-boot@lists.denx.de; p.ya...@ti.com; Joel Stanley
Hi Cédric,
> -Original Message-
> From: Cédric Le Goater
> Sent: Friday, July 1, 2022 5:37 PM
> Subject: Re: [v4 07/12] spi-mem: Add dirmap API from Linux
>
> On 5/24/22 07:56, Chin-Ting Kuo wrote:
> > This adds the dirmap API originally introduced in Linux commit aa167f3
> > ("spi: spi-
From: Rafał Miłecki
U-Boot doesn't have cells at hardcoded addresses. They are stored in
internal format. It's still important to define relevant cells in DT so
NVMEM consumers can reference them.
Update binding to allow including basic cells as NVMEM device subnodes.
Signed-off-by: Rafał Miłec
Hi Cédric,
Thanks for the review.
> -Original Message-
> From: Cédric Le Goater
> Sent: Friday, July 1, 2022 5:28 PM
> To: Chin-Ting Kuo ; ChiaWei Wang
> ; lu...@denx.de; sean...@gmail.com;
> Ryan Chen ; BMC-SW
> ; ja...@amarulasolutions.com; vigne...@ti.com;
> u-boot@lists.denx.de; p.ya
Hi,
On Sun, 3 Jul 2022 at 02:25, Simon Glass wrote:
>
> The fdt_path_offset() function is slow since it must scan the tree.
> This substantial overhead now applies to all boards.
>
> The original code may not be ideal but it is fit for purpose and is only
> needed on a few boards.
>
> We should r
The fdt_path_offset() function is slow since it must scan the tree.
This substantial overhead now applies to all boards.
The original code may not be ideal but it is fit for purpose and is only
needed on a few boards.
We should revert this in time for the release.
This reverts commit 26f981f295d
61 matches
Mail list logo