Hi Christophe
On 3/30/23 11:26, Christophe Kerello wrote:
> Add FMC support on STM32MP13x SoC family.
>
> Signed-off-by: Christophe Kerello
> ---
>
> arch/arm/dts/stm32mp131.dtsi | 33 +
> 1 file changed, 33 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp13
Hi Christophe
On 3/30/23 11:16, Christophe Kerello wrote:
> Remove the EDO mode support from as the FMC2 controller does not
> support the feature.
>
> Signed-off-by: Christophe Kerello
> ---
>
> drivers/mtd/nand/raw/stm32_fmc2_nand.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git
Hi Patrick
On 4/7/23 11:37, Patrick Delaunay wrote:
> The early malloc usage increased so the associated defined
> CONFIG_SYS_MALLOC_F_LEN need to be increased.
>
> For example, for stm32mp15_defconfig and
> stm32mp157c-dk2-scmi.dtsi, we have:
>
> Early malloc usage: 280b8 / 8
>
> Signed-of
On Tue, Apr 11, 2023 at 11:53 AM Minda Chen wrote:
>
>
>
> On 2023/4/11 10:55, Bin Meng wrote:
> > On Tue, Apr 11, 2023 at 9:03 AM Minda Chen
> > wrote:
> >>
> >> From: Mason Huo
> >>
> >> Add pcie driver for StarFive JH7110, the driver depends on
> >> starfive gpio, pinctrl, clk and reset driv
Hello Angelo,
On 05.04.23 00:59, Angelo Dureghello wrote:
> Upgrading all board configs where i2c is involved to DM i2c.
>
> Signed-off-by: Angelo Dureghello
> ---
> configs/M5208EVBE_defconfig | 5 +
> configs/M5235EVB_Flash32_defconfig| 1 +
> configs/M5235EVB_defconfig
On 2023/4/11 10:55, Bin Meng wrote:
> On Tue, Apr 11, 2023 at 9:03 AM Minda Chen
> wrote:
>>
>> From: Mason Huo
>>
>> Add pcie driver for StarFive JH7110, the driver depends on
>> starfive gpio, pinctrl, clk and reset driver to do init.
>>
>> Several devices are tested:
>> a) M.2 NVMe SSD
>>
Hi Akashi-san,
On Tue, 11 Apr 2023 at 10:48, Takahiro Akashi
wrote:
>
> Hi Kojima-san,
>
> On Mon, Apr 10, 2023 at 06:07:28PM +0900, Masahisa Kojima wrote:
> > Firmware version management is not implemented in the current
> > FMP implementation. This series aims to add the versioning support
> >
On Tue, Apr 11, 2023 at 9:03 AM Minda Chen wrote:
>
> From: Mason Huo
>
> Add pcie driver for StarFive JH7110, the driver depends on
> starfive gpio, pinctrl, clk and reset driver to do init.
>
> Several devices are tested:
> a) M.2 NVMe SSD
> b) Realtek 8169 Ethernet adapter.
>
> Signed-off-by:
Hi Kojima-san,
On Mon, Apr 10, 2023 at 06:07:28PM +0900, Masahisa Kojima wrote:
> Firmware version management is not implemented in the current
> FMP implementation. This series aims to add the versioning support
> in FMP.
>
> There is a major design change in v5.
> Until v4, the fw_version and l
From: Kishon Vijay Abraham I
Add support to detect daughtercards (GESI Ethernet card) in-order
to set the MAC address of the main CPSW2G interface.
Signed-off-by: Kishon Vijay Abraham I
Signed-off-by: Siddharth Vadapalli
---
board/ti/j721s2/evm.c | 130
Hi,
On 4/10/23 12:12, Kever Yang wrote:
Hi,
On 2023/4/8 17:33, FUKAUMI Naoki wrote:
it should be rock-5b-rk3588_defconfig.
Why it should be rock-5b?
Its seems rock pi has many boards and with different name, I thinks
rock5b is a reasonable config name
because there is no name rule for ro
> From: Bin Meng
> Sent: Thursday, March 30, 2023 12:20 PM
> To: u-boot@lists.denx.de
> Cc: Andrew Scull ; Leo Yu-Chi Liang(梁育齊)
> ; Rick Jian-Zhi Chen(陳建志) ; Simon
> Glass
> Subject: [PATCH 7/8] riscv: spl: Remove relocation sections
>
> U-Boot SPL is not relocable. Drop these relocation secti
From: Mason Huo
Add pcie driver for StarFive JH7110, the driver depends on
starfive gpio, pinctrl, clk and reset driver to do init.
Several devices are tested:
a) M.2 NVMe SSD
b) Realtek 8169 Ethernet adapter.
Signed-off-by: Mason Huo
Signed-off-by: Minda Chen
---
drivers/pci/Kconfig
From: Mason Huo
Enable and add pinctrl configuration for PCIe host controller.
Also add JH7110 stg syscon configuration.
Signed-off-by: Mason Huo
Signed-off-by: Minda Chen
---
.../dts/jh7110-starfive-visionfive-2.dtsi | 11 +++
arch/riscv/dts/jh7110.dtsi| 74 ++
This patchset needs to apply after patchset in [1]. These PCIe series patches
are based on the JH7110 RISC-V SoC and VisionFive V2 board.
[1]
https://patchwork.ozlabs.org/project/uboot/cover/20230329034224.26545-1-yanhong.w...@starfivetech.com
The PCIe driver depends on gpio, pinctrl, clk and re
From: Mason Huo
also add the nvme driver and rtl8169 support.
Signed-off-by: Mason Huo
Signed-off-by: Minda Chen
---
configs/starfive_visionfive2_12a_defconfig | 10 ++
configs/starfive_visionfive2_13b_defconfig | 10 ++
2 files changed, 20 insertions(+)
diff --git a/configs/
On 2023-04-07 11:55 a.m., Simon Glass wrote:
Hi Sean,
On Fri, 7 Apr 2023 at 18:56, wrote:
From: Sean Edmond
Adds commands to support DHCP and PXE with IPv6.
New configs added:
- CMD_DHCP6
- DHCP6_PXE_CLIENTARCH
- DHCP6_PXE_DHCP_OPTION
- DHCP6_ENTERPRISE_ID
New commands added (when IPv6 i
From: Jassi Brar
Any requirement of FWU should not require changes to bindings
of other subsystems. For example, for mtd-backed storage we
can do without requiring 'fixed-partitions' children to also
carry 'uuid', a property which is non-standard and not in the
bindings.
There exists no code ye
From: Jassi Brar
Just like fwu_plat_get_update_index, provide a default/weak
implementation of fwu_plat_get_bootidx. So that most platforms
wouldn't have to re-implement the likely case.
Signed-off-by: Jassi Brar
---
lib/fwu_updates/fwu.c | 18 ++
1 file changed, 18 insertions(
From: Jassi Brar
Add code to support FWU_MULTI_BANK_UPDATE.
The platform does not have gpt-partition storage for
Banks and MetaData, rather it used SPI-NOR backed
mtd regions for the purpose.
Signed-off-by: Jassi Brar
---
board/socionext/developerbox/Makefile | 1 +
board/socionext/dev
From: Jassi Brar
Towards enabling FWU and supporting new firmware layout in NOR flash,
make u-boot PIC and adjust uboot env offset in flash.
Signed-off-by: Jassi Brar
---
configs/synquacer_developerbox_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/sy
From: Jassi Brar
Specify Bank-0/1 and fwu metadata mtd regions.
Signed-off-by: Jassi Brar
---
.../synquacer-sc2a11-developerbox-u-boot.dtsi | 49 +--
1 file changed, 46 insertions(+), 3 deletions(-)
diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi
b/arch/ar
From: Masami Hiramatsu
Add 'mkfwumdata' tool to generate FWU metadata image for the meta-data
partition to be used in A/B Update imeplementation.
Signed-off-by: Sughosh Ganu
Signed-off-by: Jassi Brar
Signed-off-by: Masami Hiramatsu
---
doc/mkfwumdata.1 | 89
tools/Kconfig
From: Masami Hiramatsu
In the FWU Multi Bank Update feature, the information about the
updatable images is stored as part of the metadata, on a separate
region. Add a driver for reading from and writing to the metadata
when the updatable images and the metadata are stored on a raw
MTD region.
The
From: Jassi Brar
Introduce support for mtd backed storage for FWU feature and enable it on
Synquacer platform based DeveloperBox.
This revision is rebased onto patchset that trims the FWU api
https://lore.kernel.org/u-boot/20230306231747.1888513-1-jassisinghb...@gmail.com/
Changes since v4:
https://stackoverflow.com/questions/71073386/reading-file-would-overwrite-reserved-memory-failed-to-load-hello-world-bin
Hi,
I had this issue last year and I solved it via device tree. However, I used
Yocto hardknott and uboot 2021.04 and Ubuntu 20.04. Now I use Yocto
kirkstone and uboot 2022.04
From: Ehsan Mohandesi
In IPv6, the default gateway and prefix length are determined by receiving
a router advertisement as defined in -
https://www.rfc-editor.org/rfc/rfc4861.
Add support for sending router solicitation (RS) and processing router
advertisements (RA).
If the RA has prefix info o
From: Ehsan Mohandesi
This reverts commit 0af1035a55d9c1486b2db43ee70ff0a63affd4f4.
Signed-off-by: Ehsan Mohandesi
Conflicts:
cmd/Kconfig
include/net.h
include/net6.h
net/net.c
---
include/net.h | 4 ++--
net/net.c | 3 +++
2 files changed, 5 insertions(+),
From: Ehsan Mohandesi
Test router advertisement validation and processing functions.
Signed-off-by: Ehsan Mohandesi
---
test/dm/eth.c | 88 +++
1 file changed, 88 insertions(+)
diff --git a/test/dm/eth.c b/test/dm/eth.c
index ebf01d8..d0
From: Ehsan Mohandesi
This series adds IPv6 network discovery to U-Boot. When an IPv6 command is
run in U-Boot, it sends a router solicitation (RS) message to the network.
The router on the network responds with a router advertisement (RA)
message. Then U-Boot processes the RA message and sets th
From: Ehsan Mohandesi
Test the IPv6 network discovery feature if indicated by boardenv file.
Signed-off-by: Ehsan Mohandesi
Conflicts:
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
---
configs/sandbox64_defconfig| 2 +
On 4/6/23 04:18, Ilias Apalodimas wrote:
Hi Eddie,
Do you plan on resending this?
If yes, I can spend some time trying to figure out the CI failures and
send you a patch.
Hi,
Yes I do, I have been short on time. I was a bit confused by the CI, it
didn't seem to run with the updated v9? I
Hi Neha!
On April 10, 2023 thus sayeth Neha Malcom Francis:
> Add support for ESM (Error Signalling Module) in J721E and J7200. The
> ESM error pin output is routed to the PMIC (Power Management IC) which
> can reset the board. The dts nodes for SoC and PMIC ESM modules are
> added (if not already
On Mon, Apr 10, 2023 at 07:18:55PM +0900, Jaehoon Chung wrote:
> Dear Tom,
>
> Please pull u-boot-mmc master into u-boot master branch.
> If there is any problem, let me know, plz.
>
> Best Regards,
> Jaehoon Chung
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/15969
>
On Mon, Apr 10, 2023 at 12:39:07PM +, Peng Fan wrote:
> Tom, Simon,
>
> Sorry for ping early, I have other patches pending on this patchset, just
> wonder whether you are fine with this patchset.
This is fine I think.
>
> Thanks,
> Peng.
> > Subject: [PATCH 1/3] firmware: psci: enable DM_FL
From: Gowtham Tammana
Enable ESM modules for both PMIC and SoC for watchdog error intterupt
handling on the board.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
configs/j7200_evm_r5_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/j7200_evm_r5_de
From: Gowtham Tammana
ESM and ESM PMIC support is available for J7200X-PM2-SOM board, as such
enable support for it.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
arch/arm/mach-k3/j721e_init.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ar
From: Gowtham Tammana
TPS65941 can have child only ESM nodes with no regulators, so dont fail
on regulator probe failure.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
drivers/power/pmic/tps65941.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/power/pmic/t
From: Gowtham Tammana
On J7200 processor board MCU_SAFETY_ERROR signal is routed to PMIC for
ESM error handling. The PMIC resets the board on receipt of the signal.
Enable the support for the board by adding ESM PMIC node.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
From: Gowtham Tammana
Add pmic tps659413 node needed for ESM error event handling.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/arch/arm/d
From: Gowtham Tammana
Main domain ESM support is needed to configure main domain watchdog
interrupts to generate ESM pin events. On J7200 boards ESM error pin
output is propagated to PMIC to generate reset.
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
arch/arm/dts/k3-
From: Tero Kristo
Main domain ESM support is needed to configure main domain watchdogs
to generate ESM pin events by default. On J7 processor board these
propagate to the PMIC to generate a reset when watchdog expires.
Signed-off-by: Tero Kristo
Signed-off-by: Neha Malcom Francis
---
arch/arm
From: Tero Kristo
Initialize both ESM and ESM_PMIC support if available for the board.
If support is not available for either, a warning is printed out.
Signed-off-by: Tero Kristo
Signed-off-by: Gowtham Tammana
Signed-off-by: Neha Malcom Francis
---
arch/arm/mach-k3/j721e_init.c | 23 +++
Add support for ESM (Error Signalling Module) in J721E and J7200. The
ESM error pin output is routed to the PMIC (Power Management IC) which
can reset the board. The dts nodes for SoC and PMIC ESM modules are
added (if not already) to enable them.
Gowtham Tammana (6):
arm: dts: k3-j7200: Add Mai
On Mon, Apr 10, 2023 at 11:40:15AM +0530, Siddharth Vadapalli wrote:
> From: Kishon Vijay Abraham I
>
> Add support to detect daughtercards (GESI Ethernet card) in-order
> to set the MAC address of the main CPSW2G interface.
>
> Signed-off-by: Kishon Vijay Abraham I
> Signed-off-by: Siddharth
Tom, Simon,
Sorry for ping early, I have other patches pending on this patchset, just
wonder whether you are fine with this patchset.
Thanks,
Peng.
> Subject: [PATCH 1/3] firmware: psci: enable DM_FLAG_PRE_RELOC
>
> From: Peng Fan
>
> It is possible that cpu core may reset before relocation wi
Dear Tom,
Please pull u-boot-mmc master into u-boot master branch.
If there is any problem, let me know, plz.
Best Regards,
Jaehoon Chung
CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/15969
The following changes since commit 7daa8dd59bc8455a43cdd2d0e34206e406e5cdcc:
Me
This test covers FMP versioning for both raw and FIT image,
and both signed and non-signed capsule update.
Signed-off-by: Masahisa Kojima
---
Changes in v5:
- get aligned to the device tree based versioning
Newly created in v4
test/py/tests/test_efi_capsule/conftest.py| 73 +++
.../te
Current mkeficapsule tool does not provide firmware
version management. EDK II reference implementation inserts
the FMP Payload Header right before the payload.
It coutains the fw_version and lowest supported version.
This commit adds a new parameters required to generate
the FMP Payload Header fo
Current FMP->GetImageInfo() always return 0 for the firmware
version, user can not identify which firmware version is currently
running through the EFI interface.
This commit gets the version information from device tree,
then fills the firmware version, lowest supported version
in FMP->GetImageIn
The FMP Payload Header which EDK II capsule generation scripts
insert has a firmware version.
This commit reads the lowest supported version stored in the
device tree, then check if the firmware version in FMP payload header
of the ongoing capsule is equal or greater than the
lowest supported versi
Firmware version management is not implemented in the current
FMP implementation. This series aims to add the versioning support
in FMP.
There is a major design change in v5.
Until v4, the fw_version and lowest_supported_version are stored
as a EFI variable. If the backing storage is a file we can
Add method to remove video driver before loading u-boot proper. When
bootstage changes from SPL to u-boot proper, noo method is called to
remove video driver, and at u-boot proper if video driver is not
enabled, the video driver starts displaying garbage on the screen,
because there is no reserved
To enable splash screen on AM62x at a53 SPL setup DRAM, set page table,
enable cache to allow copying of bmp image to frame buffer and display
it using splash_display.
Signed-off-by: Nikhil M Jain
---
V2:
- No change.
board/ti/am62x/evm.c | 39 +++
1 file cha
Change splashimage which is bmp image loadaddr to 0x8020 since stack
is situated at 0x80477660 as splash framework requires bmp image to be
present above stack.
Change splashsource to sf to support loading bmp image from ospi flash
memory.
Signed-off-by: Nikhil M Jain
---
V2:
- No change.
To enable splash at A53 SPL, need to do memory map changes which
involves locate stack above malloc and have enough space to load bmp
image above stack. To load a 1920X1200 image a minimum of 8.8MB space is
needed, to support it move malloc down to 0x80b8 from 0x8048 and
bss to 0x80c8 t
This patch series aims at eanbling SPL splash screen on AM62x.
Changes in V2:
- Correct CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK value.
Nikhil M Jain (4):
configs: am62x_evm_a53_defconfig: Changes in memory to support SPL
splash screen
board: ti: am62x: am62x: Change splashimage and splashsour
These values are highly board specific and thus make sense to add
parameter for them. To ease adding support for new boards, let's make
them same as in vendor DRAM settings.
Signed-off-by: Jernej Skrabec
---
.../include/asm/arch-sunxi/dram_sun50i_h616.h | 3 +
arch/arm/mach-sunxi/Kconfig
It turns out that some H616 and related SoCs (like H313) need TPR2
parameter for proper working. Add it.
Signed-off-by: Jernej Skrabec
---
.../include/asm/arch-sunxi/dram_sun50i_h616.h | 1 +
arch/arm/mach-sunxi/Kconfig | 6 ++
arch/arm/mach-sunxi/dram_sun50i_h616.c|
Currently twr2rd, trd2wr and twtp are constants, but according to
vendor driver they are calculated from other values. Do that here too,
in preparation for later introduction of new parameter.
While at it, introduce constant for t_wr_lat, which was incorrectly
calculated from tcl before.
Signed-o
Vendor DRAM settings use TPR10 parameter to enable various features.
There are many mores features that just those that are currently
mentioned. Since new will be added later and most are not known, let's
reuse value from vendor DRAM driver as-is. This will also help adding
support for new boards.
Vendor H616 DRAM code always configure part which we call ODT
configuration. Let's reflect that here too.
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/Kconfig| 2 +-
arch/arm/mach-sunxi/dram_sun50i_h616.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git
Part of the code, previously known as "unknown feature", also doesn't
have constant values. They are derived from TPR0 parameter in vendor
DRAM code.
Let's move that code to separate function and introduce TPR0 parameter
here too, to ease adding new boards.
Signed-off-by: Jernej Skrabec
---
...
Mentioned function result is always true and result isn't checked
anyway. Let's make it void.
Reviewed-by: Andre Przywara
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/dram_sun50i_h616.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sun5
While ODT values for same memory type are similar, they are not
necessary the same. Let's parameterize them and make parameter same as
in vendor DRAM settings. That way it will be easy to introduce new board
support.
Reviewed-by: Andre Przywara
Signed-off-by: Jernej Skrabec
---
.../include/asm/
Fix code style for pointer declaration. This is just cosmetic change to
avoid checkpatch errors in later commits.
Reviewed-by: Andre Przywara
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/dram_sun50i_h616.c | 74 +-
1 file changed, 37 insertions(+), 37 deletions(
Vendor DRAM code actually writes to whole CR register and not just sets
bit 31 in mctl_ctrl_init().
Just to be safe, do that here too.
Acked-by: Andre Przywara
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/dram_sun50i_h616.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
Current H616 DRAM driver is completely customized to Orange Pi Zero2
board, which is only one of two H616 boards supported by U-Boot.
Needless to say, this is not ideal for adding new boards. With changes
in this series, all DDR3 boards are supported and all that is needed is
just vendor DRAM value
Add method to remove video driver before loading u-boot proper. When
bootstage changes from SPL to u-boot proper, noo method is called to
remove video driver, and at u-boot proper if video driver is not
enabled, the video driver starts displaying garbage on the screen,
because there is no reserved
To enable splash screen on AM62x at a53 SPL setup DRAM, set page table,
enable cache to allow copying of bmp image to frame buffer and display
it using splash_display.
Signed-off-by: Nikhil M Jain
---
board/ti/am62x/evm.c | 39 +++
1 file changed, 39 insertion
Change splashimage which is bmp image loadaddr to 0x8020 since stack
is situated at 0x80477660 as splash framework requires bmp image to be
present above stack.
Change splashsource to sf to support loading bmp image from ospi flash
memory.
Signed-off-by: Nikhil M Jain
---
board/ti/am62x/am6
To enable splash at A53 SPL, need to do memory map changes which
involves locate stack above malloc and have enough space to load bmp
image above stack. To load a 1920X1200 image a minimum of 8.8MB space is
needed, to support it move malloc down to 0x80b8 from 0x8048 and
bss to 0x80c8 t
K3 devices have runtime type board detection. Make the default defconfig
include the secure configuration. Then remove the HS specific config.
Non-HS devices will continue to boot due to runtime device type detection.
If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS
devices
On K3 HS-SE devices all the firewalls are locked by default
until sysfw comes up. Rom configures some of the firewall for its usage
along with the SRAM for R5 but the PSRAM region is still locked.
The K3 MCU Scratchpad for j721s2 was set to a PSRAM region triggering the
firewall exception before s
K3 devices have runtime type board detection. Make the default defconfig
include the secure configuration. Then remove the HS specific config.
Non-HS devices will continue to boot due to runtime device type detection.
If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS
devices
This series depends on the fixes provided for j721e as that series also
includes some base support for running the other HS platforms.
Link for dependent series
-
https://lore.kernel.org/u-boot/20230324-j721e-upstream-hs-v6-0-5aa43a481...@ti.com/
Signed-off-by: Manorit Chawdhry
---
Manorit Chaw
Add ospi boot media support to load splash image from OSPI memory,
add offset to read image from ospi and necessary flags defininig type
of storage and storage device.
Use CONFIG_IS_ENBALED to use the splash locations at SPL and u-boot
proper.
Signed-off-by: Nikhil M Jain
Reviewed-by: Simon Glas
To enable splash screen at SPL, need to compile cmd/bmp.c which also
includes bmp commands, since SPL doesn't use commands split bmp.c into
common/bmp.c which includes all bmp functions and cmd/bmp.c which only
contains bmp commands.
Add function delclaration for bmp_info in video.h.
Signed-off-b
To support video driver at SPL use CONFIG_IS_ENABLED and CONFIG_VAL,
which checks for stage specific configs and thus enables video support
at respective stage.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Glass
Tested-by: Simon Glass
---
V7:
- Add Reviewed-by a
Remove #ifdef in header file to avoid multiple definitions while
compilation. To improve code readability use if() rather than if's and
'#ifdef's'.
Signed-off-by: Nikhil M Jain
---
V7(patch introduced):
- Replace #ifdef and #if with if's.
common/bmp.c | 12 +++-
common/splash.c | 1
To enable splash screen and loading bmp from boot media, add rules to
compile splash.c and splash_source.c at SPL stage only when
CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_SPLASH_SOURCE are defined.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Glass
---
V7:
- Add R
To support splash screen at both u-boot proper and SPL use
CONFIG_IS_ENABLED and CONFIG_VAL to check for video related Kconfigs at
respective stages.
Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function
at u-boot proper and SPL.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devar
To include video related global data variables and splash functions at
SPL and u-boot proper, use CONFIG_IS_ENABLED.
Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function
at u-boot proper and SPL.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Gl
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS
video driver.
CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if
CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if
CONFIG_VIDEO_TIDSS is defined.
Signed-off-by: Nikhil M Jain
Reviewed-by: Simon Glass
--
To enable video driver at SPL, need to compile video-uclass,
vidconsole-uclass, backlight-uclass, panel-uclass, simple-panel, add
rules to compile them at SPL and u-boot proper. To support
splash_display at SPL, need to compile video-bmp, add rule to compile at
SPL and u-boot proper.
Signed-off-by
Add rule to compile bmp.c at SPL and u-boot proper when CONFIG_SPL_BMP
and CONFIG_BMP are defined.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Glass
Tested-by: Simon Glass
---
V7:
- Add Reviewed-by and Tested-by tag.
V6:
- Add Reviewed-by tag.
V5:
- Remove ob
Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at
u-boot proper and SPL.
Signed-off-by: Nikhil M Jain
Reviewed-by: Simon Glass
Reviewed-by: Devarsh Thakkar
---
V7:
- No change.
V6:
- Added Reviewed-by tag.
V5:
- Added Reviewed-by tag.
V4:
- No change.
common/Kconfig |
To enable tidss display driver only at SPL stage, add necessary config,
CONFIG_SPL_VIDEO_TIDSS.
Signed-off-by: Nikhil M Jain
Reviewed-by: Simon Glass
Reviewed-by: Devarsh Thakkar
---
V7:
- No change
V6:
- Fix commit message.
- Add Reviewed-By tag.
V5:
- No change
V4:
- Add Reviewed-By tag
V
Compile video driver at SPL using CONFIG_SPL_VIDEO.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Glass
Tested-by: Simon Glass
---
V7:
- Add Reviewed-by and Tested-by tag.
V6:
- Add Reviewed-by tag
- Commit message updated.
V5:
- Add rule to build video at SP
Add Kconfigs which enable the video driver and splash screen at SPL
stage only and not at u-boot proper. The existing Kconfigs from u-boot
proper were not used to make SPL splash screen independent to them.
Signed-off-by: Nikhil M Jain
Reviewed-by: Devarsh Thakkar
Reviewed-by: Simon Glass
Teste
To enable splash screen at SPL stage move video driver and splash screen
framework at SPL, which will bring up image on display very quickly and
thus have early display support in SPL.
Changes in V7
- Replace #ifdefs' and #ifs' with if in common/splash and common/bmp.
- Add Reviewed-by and Tested-
Allow U-Boot to load 32 or 64 bits RISC-V Kernel Image
distinguishly. It helps to avoid someone maybe make a mistake
to run 32-bit U-Boot to load 64-bit kernel.
Signed-off-by: Rick Chen
---
The patchset is based on Simon's patch:
riscv: Add a 64-bit image type
---
---
arch/riscv/include/asm/u-b
> From: Simon Glass
> Sent: Monday, April 03, 2023 4:28 AM
> To: U-Boot Mailing List
> Cc: Sean Anderson ; Bin Meng ; Rick
> Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊)
> ; Simon Glass ; Andre Przywara
> ; Marc Kleine-Budde ; SESA644425
> ; Samuel Holland ; Steven
> Lawrance
> Subject: [PATC
93 matches
Mail list logo