From: Alice Guo
Distro Boot requires a U-Boot-specific script named boot.scr or
boot.scr.uimg which contains boot commands to boot the system. The
boot.cmd is such a file. Use mkimage to generate boot.scr or
boot.scr.uimg from boot.cmd, and the command is:
mkimage -A arm -O linux -T script -C non
From: Alice Guo
Supported boot device types in iMX8MP: MMC.
CONFIG_CMD_PART is added for command part and CONFIG_CMD_FS_GENERIC is
for command fstype.
scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be
loaded to prior to execution. kernel_addr_r is the location in RAM where
From: Alice Guo
Supported boot device types in iMX8MQ: MMC, DHCP.
CONFIG_CMD_PART is added for command part and CONFIG_CMD_FS_GENERIC is
for command fstype.
scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be
loaded to prior to execution.
kernel_addr_r is the location in RAM
From: Alice Guo
Distro Boot requires a U-Boot-specific script named boot.scr or
boot.scr.uimg which contains boot commands to boot the system. The
boot.cmd is such a file. Use mkimage to generate boot.scr or
boot.scr.uimg from boot.cmd, and the command is:
mkimage -A arm -O linux -T script -C non
From: Alice Guo
Distro Boot requires a U-Boot-specific script named boot.scr or
boot.scr.uimg which contains boot commands to boot the system. The
boot.cmd is such a file. Use mkimage to generate boot.scr or
boot.scr.uimg from boot.cmd, and the command is:
mkimage -A arm -O linux -T script -C non
From: Alice Guo
Supported boot device types in iMX8MM: MMC, DHCP.
CONFIG_CMD_PART is added for command part and CONFIG_CMD_FS_GENERIC is
for command fstype.
CONFIG_BOOTCOMMAND which is defined in include/configs/imx8mm_evk.h is
deleted because "run distro_bootcmd" is required to be the default
On 18.12.20 07:04, Jan Kiszka wrote:
> On 18.12.20 05:46, Lokesh Vutla wrote:
>> Hi Jan,
>> Sorry for the delayed response.
>>
>> On 04/12/20 1:29 pm, Jan Kiszka wrote:
>>> This is the baseline support for the SIMATIC IOT2050 devices.
>>>
>>> Allows to boot mainline 5.10 kernels, but not the o
On 18.12.20 05:46, Lokesh Vutla wrote:
> Hi Jan,
> Sorry for the delayed response.
>
> On 04/12/20 1:29 pm, Jan Kiszka wrote:
>> This is the baseline support for the SIMATIC IOT2050 devices.
>>
>> Allows to boot mainline 5.10 kernels, but not the original BSP-derived
>> kernel we currently s
Hi Jan,
Sorry for the delayed response.
On 04/12/20 1:29 pm, Jan Kiszka wrote:
> This is the baseline support for the SIMATIC IOT2050 devices.
>
> Allows to boot mainline 5.10 kernels, but not the original BSP-derived
> kernel we currently ship as reference. This is due to the TI sysfw AB
Hi Pratyush,
On Thu, 17 Dec 2020 at 08:19, Pratyush Yadav wrote:
>
> [Dropping Jean-Jacques Hiblot because his email will bounce anyway.]
>
> Hi Simon,
>
> On 16/12/20 08:25AM, Simon Glass wrote:
> > Most drivers use these access methods but a few do not. Update them.
> >
> > In some cases the a
From: Chee Hong Ang
Booting Agilex and Stratix 10 with ATF support.
SPL now loads ATF (BL31), U-Boot proper and DTB from FIT
image. The new boot flow with ATF support is as follow:
SPL -> ATF (BL31) -> U-Boot proper -> OS (Linux)
U-Boot proper now starts at 0x20 (CONFIG_SYS_TEXT_BASE).
ATF
Add new build target "fit-itb" for FIT image generation.
In preparation to support Vendor Authorized Boot (VAB) for Intel
SOC64 device in near future. With VAB, u-boot proper, dtb and
arm trusted firmware need to be signed before FIT image generation.
To align user experience for ATF boot with an
Add binman node to device tree to generate the FIT image for u-boot
(u-boot.itb) and OS kernel (kernel.itb).
u-boot.itb contains arm trusted firmware (ATF), u-boot proper and
u-boot device tree for ATF u-boot flow.
kernel.itb contains Linux Image and Linux device tree.
Signed-off-by: Siew Chin L
From: Chee Hong Ang
SPL already setup the Clock Manager with the handoff data
from OCRAM. When the Clock Manager's driver get probed again
in SSBL, it shall skip the handoff data access in OCRAM.
Signed-off-by: Chee Hong Ang
---
arch/arm/mach-socfpga/wrap_pll_config_s10.c | 3 ++-
1 file chang
From: Chee Hong Ang
Since SSBL is running in DRAM, it shall setup the stack in DRAM
instead of OCRAM which is occupied by SPL and handoff data.
Signed-off-by: Chee Hong Ang
---
include/configs/socfpga_soc64_common.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/socfp
From: Chee Hong Ang
mbox_reset_cold() will invoke ATF's PSCI service when running in
non-secure mode (EL2).
Signed-off-by: Chee Hong Ang
---
arch/arm/mach-socfpga/mailbox_s10.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-socfpga/mailbox_s10.c
b/arch/arm/mach-socfpga
From: Chee Hong Ang
In non-secure mode (EL2), FPGA reconfiguration driver calls the
SMC/PSCI services provided by ATF to configure the FPGA.
Signed-off-by: Chee Hong Ang
---
drivers/fpga/intel_sdm_mb.c | 139
1 file changed, 139 insertions(+)
diff
From: Chee Hong Ang
In non-secure mode (EL2), Reset Manager driver calls the
SMC/PSCI service provided by ATF to enable/disable the
SOCFPGA bridges.
Signed-off-by: Chee Hong Ang
Signed-off-by: Siew Chin Lim
---
arch/arm/mach-socfpga/reset_manager_s10.c | 13 +
1 file changed, 13 i
From: Chee Hong Ang
In non-secure mode (EL2), MAC driver calls the SMC/PSCI services
provided by ATF to setup the PHY interface.
Signed-off-by: Chee Hong Ang
Signed-off-by: Siew Chin Lim
---
v2
---
Call secure register access helper function to write the secure register
---
drivers/net/dwmac
From: Chee Hong Ang
In non-secure mode (EL2), MMC driver calls the SMC/PSCI services
provided by ATF to set SDMMC's DRVSEL and SMPLSEL.
Signed-off-by: Chee Hong Ang
Signed-off-by: Siew Chin Lim
---
v2
---
Call secure register access helper function to write the secure register
---
drivers/mm
These secure register access functions allow U-Boot proper running
at EL2 (non-secure) to access System Manager's secure registers
by calling the ATF's PSCI runtime services (EL3/secure).
Signed-off-by: Siew Chin Lim
---
arch/arm/mach-socfpga/Makefile | 1 +
.../mach-socfpga
From: Chee Hong Ang
This header file defines the Secure Monitor Call (SMC) message
protocol for ATF (BL31) PSCI runtime services. It includes all
the PSCI SiP function identifiers for the secure runtime services
provided by ATF. The secure runtime services include System Manager's
registers acces
From: Chee Hong Ang
invoke_smc() allow U-Boot proper running in non-secure mode (EL2)
to invoke SMC call to ATF's PSCI runtime services such as
System Manager's registers access, 2nd phase bitstream FPGA
reconfiguration, Remote System Update (RSU) and etc.
smc_send_mailbox() is a send mailbox co
From: Chee Hong Ang
Override 'lowlevel_init' to make sure secondary CPUs trapped
in ATF instead of SPL. After ATF is initialized, it will signal
the secondary CPUs to jump from SPL to ATF waiting to be 'activated'
by Linux OS via PSCI call.
Signed-off-by: Chee Hong Ang
---
arch/arm/mach-socfpg
From: Chee Hong Ang
Standard PSCI function "CPU_ON" provided by ATF is now used
by Linux kernel to bring up the secondary CPUs to enable SMP
booting in Linux on SoC 64bits platform.
Signed-off-by: Chee Hong Ang
---
arch/arm/mach-socfpga/Kconfig | 2 --
1 file changed, 2 deletions(-)
diff --gi
From: Chee Hong Ang
Instead of loading u-boot proper image (u-boot.img), SPL
now loads FIT image (u-boot.itb) which includes u-boot
proper, ATF and u-boot proper's DTB.
For OS, u-boot now loads FIT images (kernel.itb) which
includes Linux Image and Linux's DTB.
Signed-off-by: Chee Hong Ang
Sig
From: Chee Hong Ang
Add board_fit_config_name_match() for matching board name with
device tree files in FIT image. This will ensure correct DTB
file is loaded for different board type. Currently, we are not
supporting multiple device tree files in FIT image therefore this
function basically do no
This is the 4th version of patchset to enable ARM Trusted Firmware
for U-Boot for Intel Stratix10 and Agilex platform.
New U-boot flow with ARM Trusted Firmware (ATF) support:
SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1)
SPL loads the u-boot.itb which consist of:
1) u-boot-no
Hi Heinrich,
On Mon, 14 Dec 2020 at 15:16, Simon Glass wrote:
>
> Hi Heinrich,
>
> On Mon, 14 Dec 2020 at 15:03, Heinrich Schuchardt wrote:
> >
> > Am 14. Dezember 2020 16:49:36 MEZ schrieb Simon Glass :
> > >Hi Heinrich,
> > >
> > >I see this failure here:
> > >
> > >https://gitlab.denx.de/u-bo
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: 2020年12月17日 19:21
> To: Alice Guo (OSS) ; sba...@denx.de;
> feste...@gmail.com; Peng Fan
> Cc: dl-uboot-imx ; Ye Li ;
> u-boot@lists.denx.de; Alice Guo
> Subject: [EXT] RE: [PATCH v1 1/2] imx8mp: configs: add support for distro boot
Am 17. Dezember 2020 12:27:39 MEZ schrieb Marek Szyprowski
:
>Add a 'mbr' command to let user create or verify MBR partition layout
>based on the provided text description. The partition layout is
>altearnatively read from 'mbr_parts' environment variable. This can be
>used in scripts to help syst
Am 17. Dezember 2020 12:27:39 MEZ schrieb Marek Szyprowski
:
>Add a 'mbr' command to let user create or verify MBR partition layout
>based on the provided text description. The partition layout is
>altearnatively read from 'mbr_parts' environment variable. This can be
>used in scripts to help syst
If one of the reads fails when importing redundant environments (a
single read failure), the env_flags wouldn't get initialized in
env_import_redund(). If a user then calls saveenv, the new environment
will have the wrong flags value. So on the next load the new environment
will be ignored.
While
This has the wrong name. Fix it.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/pmu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/include/asm/pmu.h b/arch/x86/include/asm/pmu.h
index b76bdf64a30..818e80881ec 100644
--- a/arch/x86/include/asm/pmu.h
+++
Update various drivers to use of_match_ptr() and to avoid including debug
strings in TPL. Omit the WiFi driver entirely, since it is not used in
TPL.
This reduces the TPL binary size by about 608 bytes.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/lpc.c| 13 -
These errors are only really for development purposes. Drop them to reduce
the size of TPL. The error numbers are still reported.
This reduces the TPL binary size on coral by about 160 bytes.
Signed-off-by: Simon Glass
---
drivers/pinctrl/intel/pinctrl.c | 11 ---
1 file changed, 8 ins
Update this driver to use of_match_ptr().
This reduces the TPL binary size by about 32 bytes.
Signed-off-by: Simon Glass
---
arch/x86/lib/tpl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/tpl.c b/arch/x86/lib/tpl.c
index 15b0212d190..04ff32277fd 100644
-
At present several strings from this file appear in the TPL binary. Add
preprocessor checks to drop them.
This reduces the TPL binary size by about 128 bytes.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/hostbridge.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-
When this code is not used (e.g. by TPL) we want it to be excluded from
the image. Put it in its own section so that this happens.
Signed-off-by: Simon Glass
---
arch/x86/cpu/i386/call64.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/cpu/i386/call64.S b/arch/x86/cpu/i386/call64.
At present these settings are in the node for host-bridge and so are
visible in TPL as well as SPL. But they are only used for SPL.
Move them to a subnode so that TPL does not included them.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/fsp_m.c | 5 -
arch/x86/dts/chromebook_cor
Update these declarations to const to ensure that the data ends up in the
rodata section.
Signed-off-by: Simon Glass
---
arch/x86/cpu/apollolake/pmc.c| 2 +-
arch/x86/cpu/intel_common/p2sb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/cpu/apollolake/pmc.c
At present we simply record the name of a driver parsed from its
implementation file. We also need to get the uclass and a few other
things so we can instantiate devices at build time. Add support for
collecting this information. This requires parsing each driver file.
Signed-off-by: Simon Glass
At present this member holds a simple list of driver names. Update it to
be a dict of DriverInfo, with the name being the key. This will allow more
information to be added about each driver, in future patches.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 21 +
Update the regex for the of_match member to allow of_match_ptr() so it
matches both:
.of_match = apl_hostbridge_ids,
and
.of_match = of_match_ptr(apl_hostbridge_ids),
Without this, dtoc emits warnings and cannot find the drivers.
Signed-off-by: Simon Glass
---
tool
At present several test drivers are part of the test file itself. Some of
these are useful for of-platdata tests. Separate them out so we can use
them for other things also.
A few adjustments are needed so this driver can build for sandbox_spl as
well.
Signed-off-by: Simon Glass
---
drivers/mi
Reduce the length of output_node() futher by moving the struct-output
functionality into a two separate functions.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 50 ++
1 file changed, 34 insertions(+), 16 deletions(-)
diff --git a/tools/dtoc/dt
Reduce the length of output_node() by moving the device-output
functionality into a separate function.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 33 ++---
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/tools/dtoc/dtb_platdata.py b/t
It is annoying to have this function inside its parent since it makes the
parent longer and hard to read. Move it to the top level.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 80 +++---
1 file changed, 40 insertions(+), 40 deletions(-)
diff --gi
At present the entire test state is effective passed into a test driver
just to record which device was removed. This is unnecessary and makes it
harder to track what is going on.
Use a simple boolean instead.
Also drop the unused 'removed' member while we are here.
Signed-off-by: Simon Glass
-
This error should not happen in normal use. Reduce the length of it to
save space in the image.
Add an empty spl.h file to sh since it appears to lack this.
Signed-off-by: Simon Glass
---
lib/time.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/time.c b/lib
At present it is not possible to include spl.h in on these architectures
since the asm/spl.h file is not present. We want to be able to use the
spl_phase() function, so add empty headers to make things build.
Signed-off-by: Simon Glass
---
arch/arc/include/asm/spl.h| 0
arch/m68k/include/as
Use a minimal error message to save space. Sort the header files while we
are here.
Signed-off-by: Simon Glass
---
drivers/sysreset/sysreset-uclass.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/sysreset/sysreset-uclass.c
b/drivers/sysreset/sysreset-
This is not used with of-platdata, so remove it in that case.
Signed-off-by: Simon Glass
---
drivers/pinctrl/pinctrl-uclass.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c
index aba88104747..4e474cbff73
This series includes some refactoring of the dtoc tool and some changes
to a few drivers (particularly on x86) to reduce TPL size.
It is available at u-boot-dm/prep-working
Simon Glass (20):
pinctrl: Drop post_bind() method when not needed
sysreset: Use a shorter error with SPL
arc: m68k:
On 17.12.2020 17:09, Tim Small wrote:
> Hi,
>
Hello,
> I'm in the process of adding support to U-Boot for an AT91 SAMA5D27
> based board. There may be a USB port configuration change pending, but
> otherwise it's functionally complete.
>
> The design is quite similar to the Microchip SAMA5D2 Xp
Hi,
I am reading the code in env/sf.c file (to add the .erase opt
and support of "env erase" command), and I have a question about
the static variable env_flash.
Today it is a global flash pointer, initialized by the function
setup_flash_device()
And it is called in all the functions before to
Add board detection support for K2G ICE with FlagChip 1GHz silicon.
Signed-off-by: Lokesh Vutla
---
board/ti/ks2_evm/board.c | 4 ++--
board/ti/ks2_evm/board.h | 8
board/ti/ks2_evm/board_k2g.c | 7 +--
board/ti/ks2_evm/ddr3_k2g.c | 2 +-
board/ti/ks2_evm/mux-k2g.h | 2 +-
On Thu, 17 Dec 2020 11:47:11 +0100
Marek Szyprowski wrote:
> Show the interface name (i.e. 'mmc') in the information string to ease
> user checking which device is exported via USB Mass Storage protocol.
>
> Signed-off-by: Marek Szyprowski
> ---
> cmd/usb_mass_storage.c | 4 ++--
> 1 file chan
> Does anyone have any experience with RK3399 DSI and panel bringup in u-
> boot? I believe I have the vopl and mipi configured - I can see the
> backlight come on at least - but I think I need a panel-specific
> driver. Simple-panel doesn't send dsi commands so the panel never
> inits. And I'm
> From: Marek Szyprowski
> Date: Thu, 17 Dec 2020 10:06:24 +0100
>
> For the proper reboot Odroid C4 board requires to switch TFLASH_VDD_EN
> pin to the input (high impedance?) mode, otherwise the board is stuck
> in the middle of loading early stages of the bootloader from SD card.
>
> This has
Does anyone have any experience with RK3399 DSI and panel bringup in u-
boot? I believe I have the vopl and mipi configured - I can see the
backlight come on at least - but I think I need a panel-specific
driver. Simple-panel doesn't send dsi commands so the panel never
inits. And I'm not clear
[Dropping Jean-Jacques Hiblot because his email will bounce anyway.]
Hi Simon,
On 16/12/20 08:25AM, Simon Glass wrote:
> Most drivers use these access methods but a few do not. Update them.
>
> In some cases the access is not permitted, so mark those with a FIXME tag
> for the maintainer to chec
Hi,
I'm in the process of adding support to U-Boot for an AT91 SAMA5D27
based board. There may be a USB port configuration change pending, but
otherwise it's functionally complete.
The design is quite similar to the Microchip SAMA5D2 Xplained Board, to
the extent that I have only 6 lines of code
Set the default bus for the onboard SPI flash to 1.
This fixes booting from U-Boot in SPI flash on the
roc-pc-rk3399 board and it's mezzanine variant.
Signed-off-by: Markus Reichl
---
configs/roc-pc-mezzanine-rk3399_defconfig | 1 +
configs/roc-pc-rk3399_defconfig | 1 +
2 files change
Hi,
I am playing with an orange pi zero plus + latest armbian buster available
image.
When booting, i see the following error message from u-boot:
*** Reading file would overwrite reserved memory **Failed to load
'/boot/boot.bmp'*
*There is no valid bmp file at the given address*
The file itse
From: Harini Katakam
This patch add ethernet node gem1 to zcu1285 RevB.
GMII to RGMII converter sits between MAC and external
phy connected over GMII to MAC and RGMMI to external phy
Signed-off-by: Harini Katakam
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-zcu1285-revA.dts | 23 +
From: Siva Durga Prasad Paladugu
This patch add ethernet node gem1 to zc1275 RevB.
GMII to RGMII converter sits between MAC and external
phy connected over GMII to MAC and RGMMI to external phy.
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-zcu
Hi Harald,
Yes, we have board code that will call this function with a different value to
generate a soft reset (i.e. no pulse on "RESOUT_N"). We have a need to be able
to reset the processor (soft or hard) based on the need to generate or not a
pulse on RESOUT_N signal.
We will be able to kee
From: T Karthik Reddy
When unaligned 3 bytes data write operation is performed, 3rd byte
is being over written by 1st byte of 3 bytes data. This patch
fixes it.
Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
---
drivers/spi/zynqmp_gqspi.c | 6 ++
1 file changed, 2 insertions(
From: T Karthik Reddy
Add parallel nor device to distroboot for microblaze.
Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
---
include/configs/microblaze-generic.h | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/include/configs/microblaze-gen
From: T Karthik Reddy
Set script_offset_nor env variable using CONFIG_BOOT_SCRIPT_OFFSET
and nor flash start address to keep bootscript offset configurable.
Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
---
board/xilinx/microblaze-generic/microblaze-generic.c | 5 -
1 file c
On Wed, Dec 16, 2020 at 07:10:58PM -0700, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 15 Dec 2020 at 09:28, Simon Glass wrote:
> >
> > Hi Tom,
> >
> > On Tue, 15 Dec 2020 at 07:06, Tom Rini wrote:
> > >
> > > On Mon, Dec 14, 2020 at 08:50:53AM -0700, Simon Glass wrote:
> > >
> > > > Hi Tom,
> > > >
Hello Peng,
Just a gentle ping here: can you take a look at the failure reported below?
I've also added Alice Guo since there was some work done om imx8mp_evk board,
and uboot-imx list here.
Thanks a lot!
> -Original Message-
> From: ZHIZHIKIN Andrey
> Sent: Tuesday, December 8, 2020 2:
Reinitialize DFU USB gadget after flashing the 'SCRIPT' entity to ensure
that the potential changes to the 'dfu_alt_info' environment variable are
applied.
Signed-off-by: Marek Szyprowski
---
cmd/dfu.c| 14 +-
common/dfu.c | 3 +++
2 files changed, 16 insertions(+), 1 deletion(-
Hi All,
This patchset adds support for SKIP and SCRIPT entity types to the DFU
subsystem. They significantly extends the flexibility of the DFU
subsystem. Together with the recently posted 'Add MBR partition table
creation and verify command' patchset it allows to create the whole
partition table
Use the default MMC device set in the command line if entity specifies it
as -1. This allows to use the same dfu_alt_info string for different MMC
devices (like embedded eMMC and external SD card if data layout is the
same on both devices).
Signed-off-by: Marek Szyprowski
---
drivers/dfu/dfu_mmc
Reinitialize dfu_env_entities after flashing the 'SCRIPT' entity to
ensure that the potential changes to the 'dfu_alt_info' environment
variable are applied.
Signed-off-by: Marek Szyprowski
---
cmd/thordown.c | 19 ---
drivers/usb/gadget/f_thor.c | 3 +++
include/th
From: Jaehoon Chung
Define a new 'SKIP' type for DFU entities. The flashed data are simply
ignored without returning any error values.
This allows to have the same board flashing procedure and images for the
different board types or variants, where each board uses only the images
relevant to it
Define a new 'SCRIPT' type for DFU entities. The downloaded data are
treated as simple u-boot's scripts and executed with run_command_list()
function.
Flashing the 'SCRIPT' entity might result in changing the 'dfu_alt_info'
environment variable from the flashed script, so add a global variable
for
Add some handy defines for some hardcoded magic numbers related to
extended partition handling.
Signed-off-by: Marek Szyprowski
---
disk/part_dos.c | 6 +++---
disk/part_dos.h | 3 +++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/disk/part_dos.c b/disk/part_dos.c
index ef706fb5
Hi All,
This patchset adds 'mbr' command to let one create or verify MBR (Master
Boot Record) partition layout based on the provided text description.
This can be used in scripts to help system flashing tools/scripts to
ensure proper partition layout. It has been inspired by the 'gpt' command
alre
write_mbr_partition() function name is a bit misleading, so rename it to
write_mbr_sector(). This is a preparation for adding code for writing a
complete MBR partition layout.
Signed-off-by: Marek Szyprowski
---
disk/part_dos.c | 2 +-
drivers/fastboot/fb_mmc.c | 2 +-
include/part.h
Use a generic helper for reading LE32 integers.
Signed-off-by: Marek Szyprowski
---
disk/part_dos.c | 28 +---
1 file changed, 9 insertions(+), 19 deletions(-)
diff --git a/disk/part_dos.c b/disk/part_dos.c
index 20d35dc9cd..3b79b9b1b8 100644
--- a/disk/part_dos.c
+++ b/
Add a 'mbr' command to let user create or verify MBR partition layout
based on the provided text description. The partition layout is
altearnatively read from 'mbr_parts' environment variable. This can be
used in scripts to help system image flashing tools to ensure proper
partition layout.
The sy
Add a code for creating and writing MBR partition layout. The code generates
similar layout of EBRs (Exteneded Block Records) and logical volumes as
Linux's fdisk utility.
Signed-off-by: Marek Szyprowski
---
disk/part_dos.c | 167
disk/part_dos.h
Make functions not used outside this file static.
Signed-off-by: Marek Szyprowski
---
disk/part_dos.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/disk/part_dos.c b/disk/part_dos.c
index 3b79b9b1b8..2c4ad0b6ba 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -302,
Hello Alice,
> -Original Message-
> From: U-Boot On Behalf Of Alice Guo (OSS)
> Sent: Thursday, December 17, 2020 11:29 AM
> To: sba...@denx.de; feste...@gmail.com; peng@nxp.com
> Cc: uboot-...@nxp.com; ye...@nxp.com; u-boot@lists.denx.de; Alice Guo
>
> Subject: [PATCH v1 1/2] imx8mp
Show the interface name (i.e. 'mmc') in the information string to ease
user checking which device is exported via USB Mass Storage protocol.
Signed-off-by: Marek Szyprowski
---
cmd/usb_mass_storage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/usb_mass_storage.c b
From: Alice Guo
Distro Boot requires a U-Boot-specific script named boot.scr or
boot.scr.uimg which contains boot commands to boot the system. The
boot.cmd is such a file. Use mkimage to generate boot.scr or
boot.scr.uimg from boot.cmd, and the command is:
mkimage -A arm -O linux -T script -C non
From: Alice Guo
Supported boot device types in iMX8MP: MMC.
CONFIG_CMD_PART is added for command part and CONFIG_CMD_FS_GENERIC is
for command fstype.
scriptaddr is the location in RAM where boot.scr.uimg/boot.scr will be
loaded to prior to execution. kernel_addr_r is the location in RAM where
Hello Sylvain,
On Tue, 2020-12-15 at 17:29 +, Sylvain Lemieux wrote:
> Hi,
>
> This functionality (soft vs hard reset) is used in multiple LPC32xx
> products with our custom hardware.
>
> If this support is remove from upstream, we will have to maintain this
> patch locally (out of tree).
M
On Thu, Dec 17, 2020 at 1:16 AM Andy Shevchenko
wrote:
> There is no need to call ->start() for already started device. All the same,
an already
> there is no need to call ->stop() for devices still in use.
>
> For now enforce this only for CONSOLE_MUX case.
now, enforce
the CONSOLE_MUX
...
>
Hi Eugen,
This series of patches break my side of work(patches) so you need to create
patches after my patches are going into master branch because my patches are
already reviewed and tested.
Regards
Padmarao
From: Eugen Hristev - M18282
Sent: Wednesday, Decemb
For the proper reboot Odroid C4 board requires to switch TFLASH_VDD_EN
pin to the input (high impedance?) mode, otherwise the board is stuck
in the middle of loading early stages of the bootloader from SD card.
This has been achieved by hijacking reset_misc() callback from the PSCI
firmware in the
On 12/17/20 5:43 PM, Neil Armstrong wrote:
> On 17/12/2020 08:26, Marek Szyprowski wrote:
>> Add the board specific code for reading built-in ethernet MAC address
>> from efuse.
>>
>> Signed-off-by: Marek Szyprowski
>> ---
>> board/amlogic/vim3/vim3.c | 19 +++
>> 1 file changed,
On 17/12/2020 08:26, Marek Szyprowski wrote:
> Add the board specific code for reading built-in ethernet MAC address
> from efuse.
>
> Signed-off-by: Marek Szyprowski
> ---
> board/amlogic/vim3/vim3.c | 19 +++
> 1 file changed, 19 insertions(+)
>
> diff --git a/board/amlogic/vi
96 matches
Mail list logo