When u-boot is used as a chain-loaded bootloader (replacing OS kernel),
previous bootloader leaves data in RAM, that can be reused.
For example, on recent arm linux system, when chainloading u-boot,
there are initramfs and fdt in RAM prepared for OS booting. Initramfs
may be modified to store u-bo
When u-boot is used as a chain-loaded bootloader (replacing OS kernel),
previous bootloader leaves data in RAM, that can be reused.
For example, on recent arm linux system, when chainloading u-boot,
there are initramfs and fdt in RAM prepared for OS booting. Initramfs
may be modified to store u-bo
U-boot is intended to replace linux kernel in android boot image(ABL), and
it's FIT payload to replace initramfs file. The boot process is similar to
boot image with linux:
- android bootloader (ABL) unpacks android boot image
- ABL sets `linux,initrd-start property` in chosen node in unpacked FDT
U-boot is intended to replace linux kernel in android boot image(ABL), and
it's FIT payload to replace initramfs file. The boot process is similar to
boot image with linux:
- android bootloader (ABL) unpacks android boot image
- ABL sets `linux,initrd-start property` in chosen node in unpacked FDT
This patch series reimplemented in more generic way in
`save prev bootloader data, when u-boot chainloaded`
patch series
вт, 11 янв. 2022 г. в 19:19, Tom Rini :
> On Tue, Jan 11, 2022 at 07:01:59PM +0300, Dzmitry Sankouski wrote:
>
> > - add FIT image support
> > - increase LMB_MAX_REGIONS, to st
Hi Heiko,
> Il giorno 30 gen 2022, alle ore 07:39, Heiko Thiery
> ha scritto:
>
> This option is selected implicitly when [SPL_]CLK_IMXRT10{20|50} is selected.
>
> Signed-off-by: Heiko Thiery
Thank you
Reviewed-by: Giulio Benetti
Best regards
—-
Giulio Benetti
Benetti Engineering sas
> -
Hi Heiko,
> Il giorno 30 gen 2022, alle ore 07:38, Heiko Thiery
> ha scritto:
>
> The clock composite is required when using the clock framework. So
> select it automatically.
>
> Signed-off-by: Heiko Thiery
Thank you
Reviewed-by: Giulio Benetti
Best regards
—-
Giulio Benetti
Benetti Engi
just test today, I find the code doesn't work as expect.
add kaslr-seed to fdt returns -ERR_FDT_NOSPACE, after review code for
dtb_overlay, I guess I need to resize main fdt to hold the new property.
I will resend patch after I comfirm it work.
On Sun, Jan 30, 2022 at 01:10:09PM +0800, Zhang N
Hi Fabio,
On 2022-01-29 10:58, Fabio Estevam wrote:
Hi Angus,
On Fri, Jan 28, 2022 at 1:21 PM Angus Ainslie wrote:
SION (Software Input On Field) - force the select mode input path
Signed-off-by: Angus Ainslie
---
arch/arm/dts/imx8mq-pinfunc.h | 1 +
1 file changed, 1 insertion(+)
diff -
Hi Angus,
On Sun, Jan 30, 2022 at 10:10 AM Angus Ainslie wrote:
> I added this because I wanted to use it in the SPL. I can put it in the
> header file for my board but I think it would be better in an imx8m
> header file. If not the pinfunc header is there another imx8m header you
> could sugge
During H616 boot0 blob and H6 boot0 sources analysis, I noticed that
SPL doesn't set resistor calibration and PLL LDO on H6. Tests didn't
show any observable difference, but nevertheless it's better to mimick
boot0 behaviour.
In the process I also added names for few PRCM registers so it's
clearer
H6 and H616 SPL code has a few writes to unknown PRCM registers. Now
that we know what they are, let's replace magic offsets with proper
register names.
Signed-off-by: Jernej Skrabec
---
arch/arm/include/asm/arch-sunxi/prcm_sun50i.h | 10 ++
arch/arm/mach-sunxi/clock_sun50i_h6.c
BSP boot0 executes resistor calibration before clocks are initialized.
Let's do that.
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/clock_sun50i_h6.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-sunxi/clock_sun50i_h6.c
b/arch/arm/mach-sunxi/
BSP boot0 adjust PLL LDO regulator before clocks are initialized.
Let's do that.
Signed-off-by: Jernej Skrabec
---
arch/arm/mach-sunxi/clock_sun50i_h6.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-sunxi/clock_sun50i_h6.c
b/arch/arm/mach-sunxi/clock_sun50i_h6.c
index
At present it is not actually possible to discover the defconfig file that
was used to build U-Boot, so far as I can tell. Write this out to a file
in the build directory, so this is visible.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/kconfig/Makefile | 2 ++
1 file changed,
More than a year after this migration message appeared, we still have new
boards being added with this option. Add a check against this.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase to master
Makefile | 6
scripts/fit_gen_whitelist.txt | 65
On 1/30/22 8:27 AM, Jernej Skrabec wrote:
> H6 and H616 SPL code has a few writes to unknown PRCM registers. Now
> that we know what they are, let's replace magic offsets with proper
> register names.
>
> Signed-off-by: Jernej Skrabec
Reviewed-by: Samuel Holland
On 1/30/22 16:52, Simon Glass wrote:
More than a year after this migration message appeared, we still have new
boards being added with this option. Add a check against this.
Signed-off-by: Simon Glass
---
Changes in v2:
- Rebase to master
Makefile | 6
scripts
On 30/01/2022 00:09, Simon Glass wrote:
> On Sat, 29 Jan 2022 at 08:22, Alper Nebi Yasak
> wrote:
>> Commit 37f815cad07d ("moveconfig: Use a function to read files") adds a
>> helper function that can read a file as lines, but strips the newline
>> characters. This change broke parts of moveconfi
Hi Tom,
a bit delayed, the first batch of the sunxi pull request for this cycle.
This is mostly collecting some patches that were lying around for a while,
plus some recent fixes. Nothing too exciting at this point, but of course
they should be merged nevertheless.
There is the much bigger F1C100s
On Sat, 29 Jan 2022 16:58:43 +0100
Jernej Skrabec wrote:
> Although it isn't known what bit 0 in PHY reg 8 does, it's obvious that
> it has to be set before read calibration and cleared afterwards. This is
> already done for first rank, but not for second (copy & paste error.)
Indeed looks like
On Sat, 29 Jan 2022 16:58:42 +0100
Jernej Skrabec wrote:
> Kconfig symbol is missing CONFIG_ prefix, so compiler will always
> skip ODT configuration.
>
> Fix symbol name.
Oops, nice catch!
Reviewed-by: Andre Przywara
Applied to sunxi/master.
Cheers,
Andre
>
> Fixes: f4317dbd06b6 ("sunxi:
The Globalscale Technologies Dreamplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.
- Currently, CONFIG_RESET_PHY_R symbol is used in
arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood
boards with mv8831116
Hi Alper,
On Sun, 30 Jan 2022 at 13:14, Alper Nebi Yasak wrote:
>
> On 30/01/2022 00:09, Simon Glass wrote:
> > On Sat, 29 Jan 2022 at 08:22, Alper Nebi Yasak
> > wrote:
> >> Commit 37f815cad07d ("moveconfig: Use a function to read files") adds a
> >> helper function that can read a file as lin
Hi Heinrich,
On Sat, 29 Jan 2022 at 14:40, Heinrich Schuchardt
wrote:
>
>
>
> On 1/29/22 22:09, Simon Glass wrote:
> > Hi Heinrich,
> >
> > On Fri, 28 Jan 2022 at 11:42, Heinrich Schuchardt
> > wrote:
> >>
> >> On RISC-V a new UEFI protocol has been introduced. Support printing
> >> its GUID usi
Hi Troy,
On Fri, 7 Jan 2022 at 11:33, Troy Kisky wrote:
>
> On 1/7/2022 7:12 AM, Tom Rini wrote:
> > On Thu, Jan 06, 2022 at 01:14:40PM -0800, Troy Kisky wrote:
> >> On 12/28/2021 5:11 AM, Tom Rini wrote:
> >>> On Tue, Dec 28, 2021 at 01:33:05AM -0700, Simon Glass wrote:
> Hi Troy,
>
>
Hi Troy,
On Thu, 6 Jan 2022 at 14:09, Troy Kisky wrote:
>
> On 12/28/2021 12:33 AM, Simon Glass wrote:
> > Hi Troy,
> >
> > On Fri, 17 Dec 2021 at 16:02, Troy Kisky
> > wrote:
> >>
> >> Let the board specific include file live in the board directory.
> >>
> >> Signed-off-by: Troy Kisky
> >> --
On Sat, 29 Jan 2022 at 12:21, Sughosh Ganu wrote:
>
> Use parenthesis for the device_get_ops macro argument. This prevents
> errors when using an expression for the parameter.
>
> Signed-off-by: Sughosh Ganu
> ---
> include/dm/device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Rev
Hi Michal,
On Sun, 30 Jan 2022 at 12:41, Michal Simek wrote:
>
>
>
> On 1/30/22 16:52, Simon Glass wrote:
> > More than a year after this migration message appeared, we still have new
> > boards being added with this option. Add a check against this.
> >
> > Signed-off-by: Simon Glass
> > ---
>
Hi Jan,
On Fri, 28 Jan 2022 at 12:37, Jan Kiszka wrote:
>
> From: Jan Kiszka
>
> We can and should run the node generator only when creating a new image.
> When we read it back, there is no need to generate nodes - they already
> exits, and binman does not dive that deep into the image - and the
Hi Tom,
Thanks for testing, I confirmed the error.
CC cmd/dfu.o
cmd/dfu.c: In function ‘do_dfu’:
cmd/dfu.c:53:30: error: ‘interface’ undeclared (first use in this
function); did you mean ‘usb_interface’?
53 | ret = dfu_init_env_entities(interface, devstring);
|
Hi,
thanks to the tireless work of Jesse, I think the basic Allwinner
F1C100s support for mainline U-Boot is now ready to be merged. Since I
don't have the hardware, can any of you who have boards please give it a
try on their hardware? I would really love to see some confirmations
before I merge
On 1/30/22 21:04, Andre Przywara wrote:
Hi,
thanks to the tireless work of Jesse, I think the basic Allwinner
F1C100s support for mainline U-Boot is now ready to be merged. Since I
don't have the hardware, can any of you who have boards please give it a
try on their hardware? I would really l
On Sun, Jan 30, 2022 at 10:10:56PM +, Andre Przywara wrote:
> Hi Tom,
>
> a bit delayed, the first batch of the sunxi pull request for this cycle.
> This is mostly collecting some patches that were lying around for a while,
> plus some recent fixes. Nothing too exciting at this point, but of
Hi,
Here is the 2nd version of improving DFU subsystem series.
This improves dfu_alt_info parser and fixing documents etc.
In this version I fixed a build error of cmd/dfu.c so that
it can be build without DFU_OVER_USB and DFU_OVER_TFTP
(in this case, the platform will use the DFU only for EFI
c
Use strlcpy() instead of strcpy() to prevent copying the
entity name over the name buffer size.
Signed-off-by: Masami Hiramatsu
---
drivers/dfu/dfu.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c
index af3975925a..66c41b5e76 100644
-
If dfu_alt_info has repeated spaces or tab (for indentation or
readability), the dfu fails to parse it. For example, if
dfu_alt_info="mtd nor1=image raw 10 20" (double spaces
after "raw"), the image entity start address is '0' and the size
'0x10'. This is because the repeated space is
When parsing the dfu_alt_info, check the number of arguments
and argument string strictly. If there is any garbage data
(which is not able to be parsed correctly) in dfu_alt_info,
that means something wrong and user may make a typo or mis-
understanding about the syntax. Since the dfu_alt_info is
u
Fix some typo and wrong information about dfu_alt_info.
- Add the parameter format, decimal only or hexadecimal.
- Use same parameter name for the same kind of parameters.
(e.g. dev -> dev_id)
Signed-off-by: Masami Hiramatsu
---
doc/usage/dfu.rst | 57 +---
Since dfu is not only used for USB, and some platform only
supports DFU_OVER_TFTP or EFI capsule update, dfu_alt_info
is defined on such platforms too.
For such platform, 'dfu list' command is useful to check
how the current dfu_alt_info setting is parsed.
Signed-off-by: Masami Hiramatsu
---
Ch
ymodem_read_fit() driver will end copying up to BUF_SIZE boundary even
when requested size of copy operation is less than that.
For example, if offset = 0, size = 1440B, ymodem_read_fit() ends up
copying 2KB from offset = 0, to destination buffer addr
This causes data corruption when malloc'd buff
From: Siva Durga Prasad Paladugu
Read only one byte at a time from txbuf as txbuf may not be
aligned and accessing more than a byte at a time may cause
alignment issues. This fixes the issue of data abort exception
while writing to flash device.
Signed-off-by: Siva Durga Prasad Paladugu
Signed-
This patch series does below updates to zynq qspi driver.
1. Fix typecast to rxbuf in zynq_qspi_read_data()
2. Fix data abort issue incase of un-aligned writes
3. Add a check for baudrate and if not in limits set to default
4. Add zynq_qspi_exec_op() to avoid spi_mem_exec_op() from spi-mem
frame
From: Siva Durga Prasad Paladugu
This patch typecasts and accesses rx buf properly as
an unaligned rxbuf, typecasting with u16 and accessing
it causes data abort exception and this patch fixes it.
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Michal Simek
Signed-off-by: Ashok Reddy
From: Siva Durga Prasad Paladugu
Add a check afer baudrate calculation to see if the resultant value
falls within the range, else set it to default baudrate value.
Signed-off-by: Siva Durga Prasad Paladugu
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynq_qspi.c | 6 ++
1 file changed
From: T Karthik Reddy
Spi memory operation interface is added to zynq qspi
driver to provide an high-level interface to execute
qspi controller specific memory operations by avoiding
spi_mem_exec_op() from spi-mem framework.
Signed-off-by: T Karthik Reddy
Signed-off-by: Ashok Reddy Soma
---
Hi Stefano
Can you help to review and merge this patch series.
Regards
Gaurav Jain
> -Original Message-
> From: Gaurav Jain
> Sent: Wednesday, January 12, 2022 7:02 PM
> To: u-boot@lists.denx.de
> Cc: Stefano Babic ; Fabio Estevam ;
> Peng Fan ; Simon Glass ; Michael
> Walle ; Priyanka J
On 1/31/22 00:14, Simon Glass wrote:
Hi Heinrich,
On Sat, 29 Jan 2022 at 14:40, Heinrich Schuchardt
wrote:
On 1/29/22 22:09, Simon Glass wrote:
Hi Heinrich,
On Fri, 28 Jan 2022 at 11:42, Heinrich Schuchardt
wrote:
On RISC-V a new UEFI protocol has been introduced. Support printing
i
On 1/31/22 00:02, Tony Dinh wrote:
The Globalscale Technologies Dreamplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.
- Currently, CONFIG_RESET_PHY_R symbol is used in
arch/arm/mach-kirkwood/include/mach/config.h f
There are no boards that define CONFIG_SYS_RESET_ADDR, so drop the
remaining comments referencing it and also the config_whitelist.txt entry.
Signed-off-by: Ovidiu Panait
---
include/configs/10m50_devboard.h | 9 -
include/configs/3c120_devboard.h | 9 -
scripts/config_whitelist
There are no boards that define CONFIG_SYS_RESET_ADDRESS, so drop the
associated mpc8xx code that checks for it.
Signed-off-by: Ovidiu Panait
---
arch/powerpc/cpu/mpc8xx/cpu.c | 11 ++-
scripts/config_whitelist.txt | 1 -
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a
Am 2021-11-15 23:45, schrieb Michael Walle:
Add support for the sl28cpld management controller found on this board.
This is especially useful, because of the integrated watchdog in this
controller. It is used to supervise the bootup of the bootloader and
will
automatically switch to the failsafe
52 matches
Mail list logo