Compare commits

...

29 Commits

Author SHA1 Message Date
Tom Rini
05aa6516c6 Prepare v2023.07
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-10 14:13:47 -04:00
Eugen Hristev
0beb649053 MAINTAINERS: correct at91 tree link
This was not done when the tree name was changed, fix it now.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
2023-07-07 11:37:09 -04:00
Heinrich Schuchardt
923de765ee tools: spkgimage: correct printf specifier
Compiling on armv7 results in:

tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’:
tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects
argument of type ‘long int’, but argument 3 has type ‘size_t’
{aka ‘unsigned int’} [-Wformat=]
   76 |         "config error: unknown keyword on line %ld\n",
      |                                                ~~^
      |                                                  |
      |                                                  long int
      |                                                %d
   77 |         line_num);
      |         ~~~~~~~~
      |         |
      |         size_t {aka unsigned int}

The correct printf specifier for size_t is '%zu'.

Fixes: afdfcb11f9 ("tools: spkgimage: add Renesas SPKG format")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-07-05 16:14:54 -04:00
Fabio Estevam
92be5e4f74 colibri-imx7: Call fdt_increase_size()
For changing the USB OTG node status from "okay" to "disabled" more
space is needed, so call fdt_increase_size() to avoid the following
error:

```
 U-Boot 2023.07-rc5-0.0.0-devel+git.580eb31199be (Jun 27 2023 - 13:39:58 +0000)
 CPU:   Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz)
 CPU:   Extended Commercial temperature grade (-20C to 105C) at 30C
 Reset cause: POR
 DRAM:  initcall sequence 8786eafc failed at call 8781b351 (err=-3)
 ### ERROR ### Please RESET the board ###
```

Ideally, fdt_status_disabled() should call fdt_increase_size() internally,
so that there would be no need for manually calling it in board code.

Do it manually for now to fix the regression.

Based on the code from board/CZ.NIC/turris_omnia/turris_omnia.c.

Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Tested-by: Francesco Dolcini <francesco.dolcini@toradex.com> # Toradex Colibri iMX7S
2023-07-05 11:27:52 -04:00
Eugen Hristev
703bb926f9 git-mailrc: add alias for Eugen Hristev
add my patchwork alias

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
2023-07-05 11:27:15 -04:00
Tom Rini
e1bebc16e1 Prepare v2023.07-rc6
Signed-off-by: Tom Rini <trini@konsulko.com>
2023-07-03 13:48:58 -04:00
Fabio Estevam
1b8a1be1a1 spl: spl_legacy: Fix spl_end address
Currently, spl_end points to the __bss_end address, which
is an external RAM address instead of the end of the SPL text
section in the internal RAM.

This causes boot failures on imx6-colibri, for example:

```
Trying to boot from MMC1
SPL: Image overlaps SPL
resetting ...
```
Fix this problem by assigning spl_end to _image_binary_end, as this
symbol properly represents the end of the SPL text section.

From u-boot-spl.map:

.end
 *(.__end)
                0x00000000009121a4                _image_binary_end = .

Fixes: 77aed22b48 ("spl: spl_legacy: Add extra address checks")
Reported-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Tested-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de> # DH i.MX6Q DHCOM PDK2
2023-07-03 10:20:13 -04:00
Fabio Estevam
1758b64f6d microblaze: u-boot-spl.lds: Pass _image_binary_end
Pass _image_binary_end to make a standard way to indicate the end
of the text section in SPL.

The motivation for this is to have a uniform way to handle
the SPL boundary checks.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
2023-07-03 10:20:13 -04:00
Fabio Estevam
a1ddcf7cee sunxi: u-boot-spl.lds: Pass _image_binary_end
Pass _image_binary_end to make a standard way to indicate the end
of the text section in SPL.

The motivation for this is to have a uniform way to handle
the SPL boundary checks.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
2023-07-03 10:20:13 -04:00
Fabio Estevam
f5d98b01e1 doc: imx: habv4: Fix typo in 'signing'
Fix two occurrences where 'signing' is misspelled.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Tim Harvey <tharvey@gateworks.com>
2023-07-03 10:20:13 -04:00
Jonas Karlman
e37650846f rockchip: Restore support for boot scripts in legacy image format
Use of CONFIG_SPL_FIT_SIGNATURE=y cause CONFIG_LEGACY_IMAGE_FORMAT=n as
default, this prevent boot scripts in legacy image format from working
and was an unintended change in the listed fixes commits:

  Wrong image format for "source" command

Add CONFIG_LEGACY_IMAGE_FORMAT=y to defconfig for affected boards to
restore support for boot scripts in legacy image format.

Fixes: 3bf8e40807 ("board: rockchip: add Radxa ROCK5B Rk3588 board")
Fixes: cf777572ca ("rockchip: rockpro64: Use SDMA to boost eMMC performance")
Fixes: 6e2b8344d6 ("rockchip: rock-pi-4: Use SDMA to boost eMMC performance")
Fixes: 1bf49d5a4a ("rockchip: rk3566-radxa-cm3-io: Update defconfig")
Fixes: 703c170b40 ("rockchip: rk3568-evb: Update defconfig")
Fixes: 68000f750a ("rockchip: rk3568-rock-3a: Update defconfig")
Fixes: 6fb02589a6 ("rockchip: rk3588-evb: Update defconfig")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2023-07-03 10:20:13 -04:00
Tom Rini
ac29400f1f Merge tag 'efi-2023-07-rc6' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request efi-2023-07-rc6

Documentation:

* man-pages for the loads and saves commands

UEFI:

* fix implementation of allow_unaligned() for armv7 and arm11
2023-07-01 16:11:51 -04:00
Marek Vasut
2b17dd1d9d ARM: arm11: Add C wrapper for allow_unaligned()
Rename current assembler implementation of allow_unaligned() to
arm11_arch_cp15_allow_unaligned() and add it into arm11.h header,
then add C wrapper of allow_unaligned().

This fixes misbehavior when linking U-Boot, where the CPU specific
allow_unaligned() implementation was ignored and instead the
__weak allow_unaligned() implementation from lib/efi_loader/efi_setup.c
was used, which led to "data abort" just before booting Linux via tftp,
in efi_dp_from_file() -> path_to_uefi() -> utf16_put() .

The problem is triggerd by c7c0ca3767 ("efi_loader: fix efi_dp_from_file()") .
Adding the wrapper fixes the problem.

Fixes: d47a774680 ("arm: arm11: allow unaligned memory access")
Signed-off-by: Marek Vasut <marex@denx.de>
2023-07-01 17:29:15 +02:00
Marek Vasut
c32248601c ARM: armv7: Add C wrapper for allow_unaligned()
Rename current assembler implementation of allow_unaligned() to
v7_arch_cp15_allow_unaligned() and add it into armv7.h header,
then add C wrapper of allow_unaligned().

This fixes misbehavior when linking U-Boot on ARMv7a i.MX6Q, where the
CPU specific allow_unaligned() implementation was ignored and instead the
__weak allow_unaligned() implementation from lib/efi_loader/efi_setup.c
was used, which led to "data abort" just before booting Linux via tftp,
in efi_dp_from_file() -> path_to_uefi() -> utf16_put() .

The problem is triggerd by c7c0ca3767 ("efi_loader: fix efi_dp_from_file()") .
Adding the wrapper fixes the problem.

Fixes: 78f90aaeec ("arm: armv7: allow unaligned memory access")
Signed-off-by: Marek Vasut <marex@denx.de>
2023-07-01 17:29:15 +02:00
Heinrich Schuchardt
62ac1277fe doc: fix typo loady in loadb man-page
%s/loady/loadb/

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-01 17:00:52 +02:00
Heinrich Schuchardt
cf376808f1 doc: saves man-page
Provide a man-page for the saves command.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-01 17:00:52 +02:00
Heinrich Schuchardt
117bcc2683 doc: loads man-page
Provide a man-page for the loads command.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-01 17:00:52 +02:00
Eduard Strehlau
5fa30f2351 smegw01: Fix wrong symbol override
board_mmc_get_env_part() is not called as the default implementation
of mmc_get_env_part() is used.

Fix this problem by directly calling mmc_get_env_part() instead.

Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
2023-06-29 09:55:50 -04:00
Tom Rini
b042cebede CI: Azure: Split keymile jobs out
Currently the PowerPC build job in Azure will hit the maximum time limit
for a build and stop. Looking at the job, the easiest path to reducing
it is to move Keymile vendor boards to their own job and exclude them
from the PowerPC one (and while at this, the ls102 job).

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2023-06-29 09:55:50 -04:00
Ken Sloat
dbdf4a06ec board: freescale: imx93_evk: Fix MMC environment offset boot conflict.
Currently, the imx93_evk is configured with CONFIG_ENV_IS_IN_MMC and the
chosen environment offset in the config is 0x400000. Unless the user
programs the associated fuses, this offset is the default secondary boot
image offset used by the i.MX 93 ROM bootloader. With certain
combinations of environmental variables, the CRC and beginning of the
environment can potentially falsely appear as a valid boot image
container header. If the expected "sw_version" offset within this
mistaken boot image container is greater than the primary's, the ROM
bootloader can skip booting of the primary image altogether and attempt
to boot with the content of the environment data. This will then hang
the system.

To fix this, move the environment from 0x400000 to 0x700000 reserving up
to 3 MB at 0x400000 for any actual secondary user image container.

Signed-off-by: Ken Sloat <ken.s@variscite.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-06-29 09:55:45 -04:00
Tom Rini
bd8de8f4fc Merge tag 'u-boot-rockchip-20230629' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
- rockchip inno phy fix;
- pinctrl driver in SPL arort in specific case;
- fix IO port voltage for rock5b-rk3588 board;
2023-06-29 09:52:48 -04:00
Eugen Hristev
d77d5301d7 board: rockchip: rock5b-rk3588: fix description
Update description with correct specifications

Fixes: 3bf8e40807 ("board: rockchip: add Radxa ROCK5B Rk3588 board")
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-06-29 18:43:42 +08:00
Jonas Karlman
63348d61a8 pinctrl: rockchip: Fix Data Abort exception in SPL
Using CONFIG_ARMV8_SPL_EXCEPTION_VECTORS=y and CONFIG_OF_LIVE=y triggers
a Data Abort exception from unaligned memory access when the pinctrl
driver iterate node properties, e.g. for UART2 on RK3568.

  setting mux of GPIO0-24 to 1
  setting mux of GPIO0-24 to 1
  "Synchronous Abort" handler, esr 0x96000021
  elr: 000000000000e554 lr : 000000000000e54c
  x 0: 0000000000000a5c x 1: 0000000000000a5c
  x 2: 0000000000000007 x 3: 0000000000000065
  x 4: 0000000000000007 x 5: 0000000000022d4e
  x 6: 0000000000000a7c x 7: 00000000000227a4
  x 8: 0000000000021cf0 x 9: 0000000000000a7c
  x10: 0000000000021cf0 x11: 0000000000021cf0
  x12: 00000000003fda1c x13: 0000000000000007
  x14: 00000000003fd9ec x15: 000000000001c0ff
  x16: 0000000007000000 x17: 00000000fdccd028
  x18: 00000000003fde20 x19: 0000000000000018
  x20: 0000000000020670 x21: 0000000000000000
  x22: 00000000003fdb00 x23: 00000000003fef90
  x24: 0000000000020688 x25: 0000000000000000
  x26: 0000000000000001 x27: 00000000003ffc50
  x28: 0000000000000000 x29: 00000000003fda60

  Code: b94083e1 97ffd508 93407c01 37f81260 (f9401038)
  Resetting CPU ...

Fix this by replacing the loop to access node properties with use of
ofnode_for_each_prop instead of the current ifdef.

Also continue to next prop instead of aborting at first sign of an
unknown property.

This fixes the Data Abort exception and also pinconf of e.g. pull and
drive in SPL, e.g. for UART2 on RK3568.

  setting mux of GPIO0-24 to 1
  setting mux of GPIO0-24 to 1
  setting pull of GPIO0-24 to 5
  setting mux of GPIO0-25 to 1
  setting mux of GPIO0-25 to 1
  setting pull of GPIO0-25 to 5

Fixes: e7ae4cf27a ("pinctrl: rockchip: Add common rockchip pinctrl driver")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-06-29 18:42:58 +08:00
Ondrej Jirman
3856a3d644 pinephone-pro: Fix I/O port voltage (GPIO3D4A is 1.8V)
This fixes access to camera sensor over I2C during probe time in
the kernel. (Kernel will fix I/0 port voltage by itself, but the
timing depends on probe order of the drivers, so the fix can
come after the camera sensor driver already failed to probe.)

Signed-off-by: Ondrej Jirman <megi@xff.cz>
Cc: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
2023-06-29 18:32:17 +08:00
Eugen Hristev
3cc537842f phy: rockchip: inno-usb2: fix phy reg=0 case
The support for #address-cells=2 has a loophole: if the reg is actually 0,
but the #address-cells is actually 1, like in such case below:

syscon {
	#address-cells = <1>;

	phy {
		reg = <0 0x10>;
	};
};

then the second u32 of the 'reg' is the size, not the address.

The code should check for the parent's #address-cells value, and not
assume that if the first u32 is 0, then the #address-cells is 2, and the
reg property is something like
	reg = <0 0xff00 0x10>;

Fixed this by looking for the #address-cells value and retrieving the
reg address only if this is ==2.
To avoid breaking anything I also kept the check `if reg==0` as some DT's
may have a wrong #address-cells as parent and even if this commit is
correct, it might break the existing wrong device-trees.

Fixes: d538efb9ad ("phy: rockchip: inno-usb2: Add support #address_cells = 2")
Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-06-29 18:31:48 +08:00
Tom Rini
580eb31199 Merge branch 'riscv-fixes' of https://source.denx.de/u-boot/custodians/u-boot-riscv 2023-06-27 09:39:58 -04:00
Bin Meng
4a3efd71cd riscv: Fix alignment of RELA sections in the linker scripts
In current linker script both .efi_runtime_rel and .rela.dyn sections
are of RELA type whose entry size is either 12 (RV32) or 24 (RV64).
These two are arranged as a continuous region on purpose so that the
prelink-riscv executable can fix up the PIE addresses in one loop.

However there is an 'ALIGN(8)' between these 2 sections which might
cause a gap to be inserted between these 2 sections to satisfy the
alignment requirement on RV32. This would break the assumption of
the prelink process and generate an unbootable image.

Fixes: 9a6569a043 ("riscv: Update alignment for some sections in linker scripts")
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
2023-06-27 10:09:51 +08:00
Heinrich Schuchardt
217b6373b5 MAINTAINERS: update SiFive HiFive Unmatched maintainers
Email account pragnesh.patel@sifive.com does not exist anymore.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-27 10:09:46 +08:00
Yanhong Wang
10fad1f943 board: starfive: Fixed errors reported when executing get_maintainer.pl
Fixed errors reported when executing 'scripts/get_maintainer.pl -f
configs/starfive_visionfive2_defconfig'.

Invalid MAINTAINERS address: 'startfive'

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-06-27 10:09:41 +08:00
40 changed files with 1130 additions and 64 deletions

View File

@@ -492,7 +492,7 @@ stages:
nxp_ls101x:
BUILDMAN: "freescale&ls101"
nxp_ls102x:
BUILDMAN: "freescale&ls102"
BUILDMAN: "freescale&ls102 -x keymile"
nxp_ls104x:
BUILDMAN: "freescale&ls104"
nxp_ls108x:
@@ -507,6 +507,8 @@ stages:
BUILDMAN: "mx -x mx6,imx8,freescale,technexion,toradex"
imx8_imx9:
BUILDMAN: "imx8 imx9"
keymile:
BUILDMAN: "keymile"
keystone2_keystone3:
BUILDMAN: "k2 k3"
sandbox_asan:
@@ -548,7 +550,7 @@ stages:
mips:
BUILDMAN: "mips"
powerpc:
BUILDMAN: "powerpc"
BUILDMAN: "powerpc -x keymile"
siemens:
BUILDMAN: "siemens"
tegra:

View File

@@ -408,7 +408,7 @@ F: configs/uDPU_defconfig
ARM MICROCHIP/ATMEL AT91
M: Eugen Hristev <eugen.hristev@microchip.com>
S: Maintained
T: git https://source.denx.de/u-boot/custodians/u-boot-atmel.git
T: git https://source.denx.de/u-boot/custodians/u-boot-at91.git
F: arch/arm/mach-at91/
F: board/atmel/
F: drivers/cpu/at91_cpu.c

View File

@@ -3,7 +3,7 @@
VERSION = 2023
PATCHLEVEL = 07
SUBLEVEL =
EXTRAVERSION = -rc5
EXTRAVERSION = -rc6
NAME =
# *DOCUMENTATION*

View File

@@ -20,6 +20,7 @@
#include <irq_func.h>
#include <asm/cache.h>
#include <asm/system.h>
#include <asm/arm11.h>
static void cache_flush(void);
@@ -43,6 +44,11 @@ int cleanup_before_linux (void)
return 0;
}
void allow_unaligned(void)
{
arm11_arch_cp15_allow_unaligned();
}
static void cache_flush(void)
{
unsigned long i = 0;

View File

@@ -8,7 +8,7 @@
#include <linux/linkage.h>
/*
* void allow_unaligned(void) - allow unaligned access
* void arm11_arch_cp15_allow_unaligned(void) - allow unaligned access
*
* This routine sets the enable unaligned data support flag and clears the
* aligned flag in the system control register.
@@ -16,10 +16,10 @@
* data abort or undefined behavior but is handled by the CPU.
* For details see the "ARM Architecture Reference Manual" for ARMv6.
*/
ENTRY(allow_unaligned)
ENTRY(arm11_arch_cp15_allow_unaligned)
mrc p15, 0, r0, c1, c0, 0 @ load system control register
orr r0, r0, #1 << 22 @ set unaligned data support flag
bic r0, r0, #2 @ clear aligned flag
mcr p15, 0, r0, c1, c0, 0 @ write system control register
bx lr @ return
ENDPROC(allow_unaligned)
ENDPROC(arm11_arch_cp15_allow_unaligned)

View File

@@ -36,6 +36,7 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
_end = .;
_image_binary_end = .;
.bss :
{

View File

@@ -83,3 +83,8 @@ int cleanup_before_linux(void)
{
return cleanup_before_linux_select(CBL_ALL);
}
void allow_unaligned(void)
{
v7_arch_cp15_allow_unaligned();
}

View File

@@ -8,15 +8,15 @@
#include <linux/linkage.h>
/*
* void allow_unaligned(void) - allow unaligned access
* void v7_arch_cp15_allow_unaligned(void) - allow unaligned access
*
* This routine clears the aligned flag in the system control register.
* After calling this routine unaligned access does no longer lead to a
* data abort but is handled by the CPU.
*/
ENTRY(allow_unaligned)
ENTRY(v7_arch_cp15_allow_unaligned)
mrc p15, 0, r0, c1, c0, 0 @ load system control register
bic r0, r0, #2 @ clear aligned flag
mcr p15, 0, r0, c1, c0, 0 @ write system control register
bx lr @ return
ENDPROC(allow_unaligned)
ENDPROC(v7_arch_cp15_allow_unaligned)

View File

@@ -45,6 +45,7 @@ SECTIONS
. = ALIGN(4);
__image_copy_end = .;
_end = .;
_image_binary_end = .;
.bss :
{

View File

@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2023 Marek Vasut <marex@denx.de>
*/
#ifndef ARM11_H
#define ARM11_H
#ifndef __ASSEMBLY__
void arm11_arch_cp15_allow_unaligned(void);
#endif /* ! __ASSEMBLY__ */
#endif /* ARM11_H */

View File

@@ -156,6 +156,7 @@ void v7_arch_cp15_set_l2aux_ctrl(u32 l2auxctrl, u32 cpu_midr,
u32 cpu_rev);
void v7_arch_cp15_set_acr(u32 acr, u32 cpu_midr, u32 cpu_rev_comb,
u32 cpu_variant, u32 cpu_rev);
void v7_arch_cp15_allow_unaligned(void);
#endif /* ! __ASSEMBLY__ */
#endif

View File

@@ -34,15 +34,15 @@ config TARGET_ROCK5B_RK3588
4x ARM Cortex-A76, 4x ARM Cortex-A55
4/8/16GB memory LPDDR4x
Mali G610MC4 GPU
MIPI CSI 2 multiple lanes connector
2x MIPI CSI 2 multiple lanes connector
eMMC module connector
uSD slot (up to 128GB)
2x USB 2.0, 2x USB 3.0
2x HDMI output, 1x HDMI input
Ethernet port
2x USB 2.0 Type-A, 2x USB 3.0 Type-A, 1x USB 3.0 Type-C
2x HDMI 2.1 output, 1x micro HDMI input
2.5 Gbps Ethernet port
40-pin IO header including UART, SPI, I2C and 5V DC power in
USB PD over USB Type-C
Size: 85mm x 54mm
Size: 100mm x 72mm (Pico-ITX form factor)
config ROCKCHIP_BOOT_MODE_REG
default 0xfd588080

View File

@@ -54,6 +54,7 @@ SECTIONS
__bss_end = .;
}
_end = . ;
_image_binary_end = .;
}
#if defined(CONFIG_SPL_MAX_FOOTPRINT)

View File

@@ -48,7 +48,7 @@ SECTIONS
KEEP(*(SORT(__u_boot_list*)));
}
. = ALIGN(4);
. = ALIGN(8);
.efi_runtime_rel : {
__efi_runtime_rel_start = .;
@@ -57,8 +57,6 @@ SECTIONS
__efi_runtime_rel_stop = .;
}
. = ALIGN(8);
/DISCARD/ : { *(.rela.plt*) }
.rela.dyn : {
__rel_dyn_start = .;

View File

@@ -15,7 +15,8 @@
#include <asm/arch-rockchip/misc.h>
#include <power/regulator.h>
#define GRF_IO_VSEL_BT565_SHIFT 0
#define GRF_IO_VSEL_BT565_GPIO2AB 1
#define GRF_IO_VSEL_AUDIO_GPIO3D4A 2
#define PMUGRF_CON0_VSEL_SHIFT 8
#ifndef CONFIG_SPL_BUILD
@@ -48,7 +49,8 @@ static void setup_iodomain(void)
syscon_get_first_range(ROCKCHIP_SYSCON_PMUGRF);
/* BT565 is in 1.8v domain */
rk_setreg(&grf->io_vsel, 1 << GRF_IO_VSEL_BT565_SHIFT);
rk_setreg(&grf->io_vsel,
GRF_IO_VSEL_BT565_GPIO2AB | GRF_IO_VSEL_AUDIO_GPIO3D4A);
/* Set GPIO1 1.8v/3.0v source select to PMU1830_VOL */
rk_setreg(&pmugrf->soc_con0, 1 << PMUGRF_CON0_VSEL_SHIFT);

View File

@@ -1,6 +1,5 @@
SiFive HiFive Unmatched FU740 BOARD
M: Paul Walmsley <paul.walmsley@sifive.com>
M: Pragnesh Patel <pragnesh.patel@sifive.com>
M: Green Wan <green.wan@sifive.com>
S: Maintained
F: board/sifive/unmatched/

View File

@@ -1,5 +1,5 @@
STARFIVE JH7110 VISIONFIVE2 BOARD
M: startfive
M: Yanhong Wang <yanhong.wang@starfivetech.com>
S: Maintained
F: arch/riscv/include/asm/arch-jh7110/
F: board/starfive/visionfive2/

View File

@@ -102,7 +102,7 @@ int board_late_init(void)
return 0;
}
uint board_mmc_get_env_part(struct mmc *mmc)
uint mmc_get_env_part(struct mmc *mmc)
{
uint part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);

View File

@@ -311,10 +311,23 @@ int ft_board_setup(void *blob, struct bd_info *bd)
#ifdef CONFIG_USB_EHCI_MX7
int board_fix_fdt(void *rw_fdt_blob)
{
int ret;
/* i.MX 7Solo has only one single USB OTG1 but no USB host port */
if (is_cpu_type(MXC_CPU_MX7S)) {
int offset = fdt_path_offset(rw_fdt_blob, "/soc/bus@30800000/usb@30b20000");
/*
* We're changing from status = "okay" to status = "disabled".
* In this case we'll need more space, so increase the size
* a little bit.
*/
ret = fdt_increase_size(rw_fdt_blob, 32);
if (ret < 0) {
printf("Cannot increase FDT size: %d\n", ret);
return ret;
}
return fdt_status_disabled(rw_fdt_blob, offset);
}

View File

@@ -19,7 +19,7 @@
static void spl_parse_legacy_validate(uintptr_t start, uintptr_t size)
{
uintptr_t spl_start = (uintptr_t)_start;
uintptr_t spl_end = (uintptr_t)__bss_end;
uintptr_t spl_end = (uintptr_t)_image_binary_end;
uintptr_t end = start + size;
if ((start >= spl_start && start < spl_end) ||

View File

@@ -22,6 +22,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3568-evb.dtb"
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y

View File

@@ -23,6 +23,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-evb1-v10.dtb"
# CONFIG_DISPLAY_CPUINFO is not set

View File

@@ -7,7 +7,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_NR_DRAM_BANKS=2
CONFIG_ENV_SIZE=0x4000
CONFIG_ENV_OFFSET=0x400000
CONFIG_ENV_OFFSET=0x700000
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="imx93-11x11-evk"
CONFIG_SPL_TEXT_BASE=0x2049A000

View File

@@ -22,6 +22,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3566-radxa-cm3-io.dtb"
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y

View File

@@ -27,6 +27,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3568-rock-3a.dtb"
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_DISPLAY_BOARDINFO_LATE=y

View File

@@ -20,6 +20,7 @@ CONFIG_PCI=y
CONFIG_DEBUG_UART=y
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rock-pi-4a.dtb"
CONFIG_DISPLAY_BOARDINFO_LATE=y
CONFIG_MISC_INIT_R=y

View File

@@ -29,6 +29,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-rock-5b.dtb"
# CONFIG_DISPLAY_CPUINFO is not set

View File

@@ -23,6 +23,7 @@ CONFIG_PCI=y
CONFIG_DEBUG_UART=y
CONFIG_LTO=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_LEGACY_IMAGE_FORMAT=y
CONFIG_BOOTSTAGE=y
CONFIG_BOOTSTAGE_REPORT=y
CONFIG_USE_PREBOOT=y

View File

@@ -48,13 +48,14 @@ Examples::
Current Status
--------------
* U-Boot v2023.04 was released on Mon 03 April 2023.
* U-Boot v2023.07 was released on Mon 10 July 2023.
* The Merge Window for the next release (v2023.07) is **closed**.
* The Merge Window for the next release (v2023.10) is **open** until the -rc1
release on Mon 24 July 2023.
* The next branch is now **open**.
* The next branch is now **closed**.
* Release "v2023.07" is scheduled for 03 July 2023.
* Release "v2023.10" is scheduled for 02 October 2023.
Future Releases
---------------
@@ -62,29 +63,29 @@ Future Releases
.. The following commented out dates are for when release candidates are
planned to be tagged.
For the next scheduled release, release candidates were made on::
.. For the next scheduled release, release candidates were made on::
* U-Boot v2023.07-rc1 was released on Mon 01 May 2023.
.. * U-Boot v2023.10-rc1 was released on Mon 24 July 2023.
* U-Boot v2023.07-rc2 was released on Mon 08 May 2023.
.. * U-Boot v2023.10-rc2 was released on Mon 07 August 2023.
* U-Boot v2023.07-rc3 was released on Mon 29 May 2023.
.. * U-Boot v2023.10-rc3 was released on Mon 21 August 2023.
* U-Boot v2023.07-rc4 was released on Mon 12 June 2023.
.. * U-Boot v2023.10-rc4 was released on Mon 04 September 2023.
* U-Boot v2023.07-rc5 was released on Mon 26 June 2023.
.. * U-Boot v2023.10-rc5 was released on Mon 18 September 2023.
Please note that the following dates are planned only and may be deviated from
as needed.
* "v2023.07": end of MW = Mon, Apr 24, 2023; release = Mon, Jul 03, 2023
* "v2023.10": end of MW = Mon, Jul 24, 2023; release = Mon, Oct 02, 2023
* "v2024.01": end of MW = Mon, Oct 23, 2023; release = Mon, Jan 08, 2024
* "v2024.04": end of MW = Mon, Jan 29, 2024; release = Tue, Apr 02, 2024
* "v2024.07": end of MW = Mon, Apr 22, 2024; release = Mon, Jul 01, 2024
Previous Releases
-----------------
@@ -92,6 +93,8 @@ Note: these statistics are generated by our fork of `gitdm
<https://source.denx.de/u-boot/gitdm>`_, which was originally created by
Jonathan Corbet.
* :doc:`statistics/u-boot-stats-v2023.07` which was released on 10 July 2023.
* :doc:`statistics/u-boot-stats-v2023.04` which was released on 03 April 2023.
* :doc:`statistics/u-boot-stats-v2023.01` which was released on 09 January 2023.

View File

@@ -0,0 +1,844 @@
:orphan:
Release Statistics for U-Boot v2023.07
======================================
* Processed 1668 changesets from 187 developers
* 27 employers found
* A total of 120881 lines added, 46887 removed (delta 73994)
.. table:: Developers with the most changesets
:widths: auto
==================================== =====
Name Count
==================================== =====
Simon Glass 224 (13.4%)
Marek Vasut 173 (10.4%)
Pali Rohár 92 (5.5%)
Heinrich Schuchardt 79 (4.7%)
Tom Rini 60 (3.6%)
Jonas Karlman 51 (3.1%)
Christian Hewitt 47 (2.8%)
Peng Fan 39 (2.3%)
Johan Jonker 39 (2.3%)
Andrew Davis 32 (1.9%)
Ye Li 32 (1.9%)
Christophe Leroy 31 (1.9%)
Hai Pham 25 (1.5%)
Bin Meng 23 (1.4%)
Ioana Ciornei 23 (1.4%)
Nikhil M Jain 22 (1.3%)
Fabio Estevam 21 (1.3%)
Manorit Chawdhry 21 (1.3%)
Samuel Holland 21 (1.3%)
Svyatoslav Ryhel 21 (1.3%)
Eugen Hristev 20 (1.2%)
Mathew McBride 19 (1.1%)
Safae Ouajih 19 (1.1%)
Rasmus Villemoes 18 (1.1%)
Yanhong Wang 16 (1.0%)
Eduard Strehlau 14 (0.8%)
Michal Simek 13 (0.8%)
Jan Kiszka 13 (0.8%)
Dzmitry Sankouski 13 (0.8%)
Kunihiko Hayashi 12 (0.7%)
Ilias Apalodimas 11 (0.7%)
FUKAUMI Naoki 11 (0.7%)
Ralph Siemsen 10 (0.6%)
Jernej Skrabec 10 (0.6%)
Tobias Waldekranz 9 (0.5%)
Tim Harvey 8 (0.5%)
Neha Francis 8 (0.5%)
John Keeping 8 (0.5%)
Ashok Reddy Soma 8 (0.5%)
Andre Przywara 7 (0.4%)
Andrejs Cainikovs 7 (0.4%)
Stefan Herbrechtsmeier 7 (0.4%)
Vladimir Zapolskiy 7 (0.4%)
Abdellatif El Khlifi 7 (0.4%)
Angelo Dureghello 7 (0.4%)
Marcel Ziswiler 7 (0.4%)
Sean Edmond 6 (0.4%)
Jacky Bai 6 (0.4%)
Patrick Delaunay 6 (0.4%)
Linus Walleij 6 (0.4%)
Peter Hoyes 6 (0.4%)
Will Deacon 6 (0.4%)
Patrice Chotard 6 (0.4%)
Emanuele Ghidoli 6 (0.4%)
Álvaro Fernández Rojas 6 (0.4%)
Algapally Santosh Sagar 5 (0.3%)
Baruch Siach 5 (0.3%)
Chris Morgan 5 (0.3%)
Hugo Villeneuve 5 (0.3%)
Marc Zyngier 5 (0.3%)
Tho Vu 5 (0.3%)
Ovidiu Panait 5 (0.3%)
Chunfeng Yun 5 (0.3%)
Josua Mayer 4 (0.2%)
Thomas RIENOESSL 4 (0.2%)
Yang Xiwen 4 (0.2%)
Dario Binacchi 4 (0.2%)
Tony Dinh 4 (0.2%)
Evgeny Bachinin 4 (0.2%)
Sergiu Moga 4 (0.2%)
Xavier Drudis Ferran 3 (0.2%)
Sam Edwards 3 (0.2%)
Dhruva Gole 3 (0.2%)
Stefan Roese 3 (0.2%)
Jon Lin 3 (0.2%)
Christian Gmeiner 3 (0.2%)
Ehsan Mohandesi 3 (0.2%)
Nishanth Menon 3 (0.2%)
Dmitrii Merkurev 3 (0.2%)
Pavel Skripkin 3 (0.2%)
Karl Chan 3 (0.2%)
Frieder Schrempf 3 (0.2%)
Martin Rowe 3 (0.2%)
Loic Poulain 3 (0.2%)
Corentin Guillevic 3 (0.2%)
Markus Niebel 3 (0.2%)
Ivan Mikhaylov 3 (0.2%)
Stephen Carlson 3 (0.2%)
Krzysztof Kozlowski 3 (0.2%)
Kamal Dasu 3 (0.2%)
Francesco Dolcini 2 (0.1%)
Ondrej Jirman 2 (0.1%)
Mark Kettenis 2 (0.1%)
Neil Armstrong 2 (0.1%)
Quentin Schulz 2 (0.1%)
Henrik Grimler 2 (0.1%)
Neal Frager 2 (0.1%)
Judith Mendez 2 (0.1%)
Sergei Antonov 2 (0.1%)
Kishon Vijay Abraham I 2 (0.1%)
Daniel Golle 2 (0.1%)
Bhupesh Sharma 2 (0.1%)
Konrad Dybcio 2 (0.1%)
Apurva Nandan 2 (0.1%)
Christophe Kerello 2 (0.1%)
Phong Hoang 2 (0.1%)
Roman Kopytin 2 (0.1%)
Chris Packham 2 (0.1%)
Philippe Schenker 2 (0.1%)
Janne Grunau 2 (0.1%)
Sinthu Raja 2 (0.1%)
chao zeng 2 (0.1%)
Su Baocheng 2 (0.1%)
Dylan Hung 2 (0.1%)
Heiko Schocher 1 (0.1%)
Ken Sloat 1 (0.1%)
Kever Yang 1 (0.1%)
Peter Robinson 1 (0.1%)
Mingli Yu 1 (0.1%)
Frank Wunderlich 1 (0.1%)
Teik Heng Chong 1 (0.1%)
Clément Léger 1 (0.1%)
Thomas Perrot 1 (0.1%)
Ilko Iliev 1 (0.1%)
Mayuresh Chitale 1 (0.1%)
Detlev Casanova 1 (0.1%)
Adam Ford 1 (0.1%)
LUU HOAI 1 (0.1%)
Hiroyuki Yokoyama 1 (0.1%)
Mattijs Korpershoek 1 (0.1%)
Ben Dooks 1 (0.1%)
Andrea Merello 1 (0.1%)
Dave Gerlach 1 (0.1%)
Bryan Brattlof 1 (0.1%)
Fedor Ross 1 (0.1%)
Wadim Egorov 1 (0.1%)
Wolfgang Zarre 1 (0.1%)
Christopher Obbard 1 (0.1%)
Joseph Chen 1 (0.1%)
Raphael Gallais-Pou 1 (0.1%)
Nuno Sá 1 (0.1%)
Tianling Shen 1 (0.1%)
Vignesh Raghavendra 1 (0.1%)
Dominique Martinet 1 (0.1%)
Christian Kohlschütter 1 (0.1%)
Michael Trimarchi 1 (0.1%)
Ying-Chun Liu (PaulLiu) 1 (0.1%)
Elmar Psilog 1 (0.1%)
Praneeth Bajjuri 1 (0.1%)
Alexander Shirokov 1 (0.1%)
Nitin Yadav 1 (0.1%)
Aradhya Bhatia 1 (0.1%)
Oliver Graute 1 (0.1%)
Patrick Wildt 1 (0.1%)
Jorge Ramirez-Ortiz 1 (0.1%)
Takahiro Kuwano 1 (0.1%)
Sinan Akman 1 (0.1%)
Devarsh Thakkar 1 (0.1%)
Jayesh Choudhary 1 (0.1%)
meitao 1 (0.1%)
Jim Liu 1 (0.1%)
Peter Geis 1 (0.1%)
Jonathan Liu 1 (0.1%)
Jianqun Xu 1 (0.1%)
Vasily Khoruzhick 1 (0.1%)
Kuan Lim Lee 1 (0.1%)
Jianlong Huang 1 (0.1%)
Lionel Debieve 1 (0.1%)
ETIENNE DUBLE 1 (0.1%)
Haibo Chen 1 (0.1%)
Francis Laniel 1 (0.1%)
Tim Lee 1 (0.1%)
Vladimir Oltean 1 (0.1%)
Luca Ceresoli 1 (0.1%)
Quanyang Wang 1 (0.1%)
Tommaso Merciai 1 (0.1%)
Igor Opaniuk 1 (0.1%)
Max Krummenacher 1 (0.1%)
Jean-Marie Lemetayer 1 (0.1%)
Stefan Eichenberger 1 (0.1%)
Claudiu Beznea 1 (0.1%)
Mikhail Lappo 1 (0.1%)
Jiajie Chen 1 (0.1%)
Michael Grzeschik 1 (0.1%)
Pierre-Clément Tosi 1 (0.1%)
Ryan Chen 1 (0.1%)
Claire Lin 1 (0.1%)
==================================== =====
.. table:: Developers with the most changed lines
:widths: auto
==================================== =====
Name Count
==================================== =====
Simon Glass 14640 (10.3%)
Marek Vasut 11805 (8.3%)
Dzmitry Sankouski 9062 (6.4%)
Tom Rini 8562 (6.0%)
Hai Pham 7139 (5.0%)
Yanhong Wang 7001 (4.9%)
Christophe Leroy 6098 (4.3%)
Peng Fan 5493 (3.9%)
Ralph Siemsen 5477 (3.8%)
Christian Hewitt 5207 (3.7%)
Ioana Ciornei 4038 (2.8%)
Adam Ford 3578 (2.5%)
Svyatoslav Ryhel 3377 (2.4%)
Chris Morgan 3010 (2.1%)
Andrew Davis 2844 (2.0%)
Phong Hoang 2503 (1.8%)
LUU HOAI 2126 (1.5%)
Manorit Chawdhry 2116 (1.5%)
Patrick Wildt 1766 (1.2%)
Ye Li 1710 (1.2%)
Pali Rohár 1592 (1.1%)
Eugen Hristev 1463 (1.0%)
Heinrich Schuchardt 1353 (0.9%)
Kunihiko Hayashi 1335 (0.9%)
Tobias Waldekranz 1242 (0.9%)
Sean Edmond 1182 (0.8%)
Oliver Graute 1155 (0.8%)
FUKAUMI Naoki 1140 (0.8%)
Mathew McBride 1129 (0.8%)
Linus Walleij 1117 (0.8%)
Safae Ouajih 1098 (0.8%)
Jonas Karlman 1005 (0.7%)
Kuan Lim Lee 1001 (0.7%)
Johan Jonker 872 (0.6%)
Nikhil M Jain 801 (0.6%)
Jan Kiszka 718 (0.5%)
Abdellatif El Khlifi 677 (0.5%)
Tho Vu 661 (0.5%)
Neil Armstrong 646 (0.5%)
Neha Francis 588 (0.4%)
Yang Xiwen 588 (0.4%)
Fabio Estevam 575 (0.4%)
Jianqun Xu 541 (0.4%)
Jernej Skrabec 525 (0.4%)
Chris Packham 498 (0.3%)
Ehsan Mohandesi 459 (0.3%)
Samuel Holland 441 (0.3%)
Jianlong Huang 427 (0.3%)
Jacky Bai 402 (0.3%)
Andre Przywara 388 (0.3%)
Emanuele Ghidoli 375 (0.3%)
Dmitrii Merkurev 366 (0.3%)
Rasmus Villemoes 341 (0.2%)
Ivan Mikhaylov 336 (0.2%)
Angelo Dureghello 335 (0.2%)
Kever Yang 319 (0.2%)
Marc Zyngier 315 (0.2%)
Daniel Golle 304 (0.2%)
Karl Chan 290 (0.2%)
Roman Kopytin 290 (0.2%)
Su Baocheng 249 (0.2%)
Stephen Carlson 245 (0.2%)
Sergiu Moga 244 (0.2%)
Sergei Antonov 242 (0.2%)
Tim Harvey 227 (0.2%)
Chunfeng Yun 208 (0.1%)
Ilias Apalodimas 192 (0.1%)
Aradhya Bhatia 187 (0.1%)
Mark Kettenis 177 (0.1%)
Kamal Dasu 165 (0.1%)
Eduard Strehlau 162 (0.1%)
Tianling Shen 162 (0.1%)
Thomas RIENOESSL 145 (0.1%)
ETIENNE DUBLE 142 (0.1%)
Lionel Debieve 132 (0.1%)
Kishon Vijay Abraham I 131 (0.1%)
chao zeng 129 (0.1%)
Will Deacon 126 (0.1%)
Vladimir Zapolskiy 118 (0.1%)
Martin Rowe 118 (0.1%)
Xavier Drudis Ferran 114 (0.1%)
Ashok Reddy Soma 105 (0.1%)
Álvaro Fernández Rojas 102 (0.1%)
Jon Lin 101 (0.1%)
Bin Meng 93 (0.1%)
Algapally Santosh Sagar 85 (0.1%)
Ovidiu Panait 85 (0.1%)
Takahiro Kuwano 85 (0.1%)
Michal Simek 83 (0.1%)
Evgeny Bachinin 83 (0.1%)
Marcel Ziswiler 82 (0.1%)
Stefan Herbrechtsmeier 80 (0.1%)
Joseph Chen 77 (0.1%)
Dario Binacchi 76 (0.1%)
Josua Mayer 70 (0.0%)
Andrejs Cainikovs 67 (0.0%)
Claudiu Beznea 64 (0.0%)
Patrice Chotard 59 (0.0%)
Jim Liu 59 (0.0%)
Jayesh Choudhary 53 (0.0%)
Sinthu Raja 51 (0.0%)
Stefan Roese 48 (0.0%)
Pavel Skripkin 43 (0.0%)
Apurva Nandan 43 (0.0%)
Patrick Delaunay 42 (0.0%)
Hugo Villeneuve 39 (0.0%)
Loic Poulain 37 (0.0%)
Markus Niebel 36 (0.0%)
Christophe Kerello 36 (0.0%)
Nitin Yadav 36 (0.0%)
Sinan Akman 35 (0.0%)
Peter Hoyes 34 (0.0%)
John Keeping 31 (0.0%)
Judith Mendez 28 (0.0%)
Teik Heng Chong 26 (0.0%)
Francesco Dolcini 25 (0.0%)
Tony Dinh 24 (0.0%)
Quanyang Wang 24 (0.0%)
Tommaso Merciai 24 (0.0%)
Nishanth Menon 22 (0.0%)
Christopher Obbard 22 (0.0%)
Christian Gmeiner 18 (0.0%)
Francis Laniel 17 (0.0%)
Frieder Schrempf 16 (0.0%)
Elmar Psilog 15 (0.0%)
meitao 13 (0.0%)
Max Krummenacher 13 (0.0%)
Thomas Perrot 12 (0.0%)
Peter Geis 12 (0.0%)
Neal Frager 11 (0.0%)
Jorge Ramirez-Ortiz 11 (0.0%)
Quentin Schulz 10 (0.0%)
Nuno Sá 10 (0.0%)
Dhruva Gole 9 (0.0%)
Luca Ceresoli 9 (0.0%)
Pierre-Clément Tosi 9 (0.0%)
Baruch Siach 8 (0.0%)
Ondrej Jirman 8 (0.0%)
Detlev Casanova 8 (0.0%)
Wolfgang Zarre 8 (0.0%)
Vladimir Oltean 8 (0.0%)
Konrad Dybcio 7 (0.0%)
Hiroyuki Yokoyama 7 (0.0%)
Krzysztof Kozlowski 6 (0.0%)
Bhupesh Sharma 6 (0.0%)
Frank Wunderlich 6 (0.0%)
Devarsh Thakkar 6 (0.0%)
Dylan Hung 5 (0.0%)
Ben Dooks 5 (0.0%)
Sam Edwards 4 (0.0%)
Philippe Schenker 4 (0.0%)
Mattijs Korpershoek 4 (0.0%)
Christian Kohlschütter 4 (0.0%)
Mikhail Lappo 4 (0.0%)
Ryan Chen 4 (0.0%)
Claire Lin 4 (0.0%)
Corentin Guillevic 3 (0.0%)
Janne Grunau 3 (0.0%)
Andrea Merello 3 (0.0%)
Bryan Brattlof 3 (0.0%)
Dominique Martinet 3 (0.0%)
Vasily Khoruzhick 3 (0.0%)
Tim Lee 3 (0.0%)
Jiajie Chen 3 (0.0%)
Henrik Grimler 2 (0.0%)
Mingli Yu 2 (0.0%)
Ilko Iliev 2 (0.0%)
Mayuresh Chitale 2 (0.0%)
Dave Gerlach 2 (0.0%)
Raphael Gallais-Pou 2 (0.0%)
Vignesh Raghavendra 2 (0.0%)
Michael Trimarchi 2 (0.0%)
Ying-Chun Liu (PaulLiu) 2 (0.0%)
Praneeth Bajjuri 2 (0.0%)
Alexander Shirokov 2 (0.0%)
Jonathan Liu 2 (0.0%)
Haibo Chen 2 (0.0%)
Michael Grzeschik 2 (0.0%)
Heiko Schocher 1 (0.0%)
Ken Sloat 1 (0.0%)
Peter Robinson 1 (0.0%)
Clément Léger 1 (0.0%)
Fedor Ross 1 (0.0%)
Wadim Egorov 1 (0.0%)
Igor Opaniuk 1 (0.0%)
Jean-Marie Lemetayer 1 (0.0%)
Stefan Eichenberger 1 (0.0%)
==================================== =====
.. table:: Developers with the most lines removed
:widths: auto
==================================== =====
Name Count
==================================== =====
Tom Rini 5481 (11.7%)
Ioana Ciornei 3633 (7.7%)
Christophe Leroy 2651 (5.7%)
Manorit Chawdhry 1764 (3.8%)
Andrew Davis 443 (0.9%)
Emanuele Ghidoli 240 (0.5%)
Fabio Estevam 235 (0.5%)
Tim Harvey 197 (0.4%)
Stefan Roese 36 (0.1%)
Hugo Villeneuve 34 (0.1%)
Bin Meng 33 (0.1%)
Ovidiu Panait 24 (0.1%)
Francesco Dolcini 23 (0.0%)
Andrejs Cainikovs 22 (0.0%)
Teik Heng Chong 14 (0.0%)
Quentin Schulz 8 (0.0%)
Nishanth Menon 5 (0.0%)
Krzysztof Kozlowski 2 (0.0%)
Sam Edwards 2 (0.0%)
Mikhail Lappo 2 (0.0%)
Quanyang Wang 1 (0.0%)
Dylan Hung 1 (0.0%)
Jiajie Chen 1 (0.0%)
Dave Gerlach 1 (0.0%)
Heiko Schocher 1 (0.0%)
==================================== =====
.. table:: Developers with the most signoffs (total 389)
:widths: auto
==================================== =====
Name Count
==================================== =====
Neil Armstrong 51 (13.1%)
Peng Fan 49 (12.6%)
Marek Vasut 33 (8.5%)
Andre Przywara 30 (7.7%)
Michal Simek 25 (6.4%)
Dario Binacchi 21 (5.4%)
Fabio Estevam 14 (3.6%)
Ying-Chun Liu (PaulLiu) 13 (3.3%)
Hai Pham 12 (3.1%)
Andrejs Cainikovs 10 (2.6%)
Miquel Raynal 10 (2.6%)
Linus Walleij 10 (2.6%)
Simon Glass 7 (1.8%)
Ashok Reddy Soma 5 (1.3%)
Marcel Ziswiler 5 (1.3%)
Jonas Karlman 5 (1.3%)
Eugen Hristev 5 (1.3%)
Tom Rini 4 (1.0%)
Claudiu Beznea 4 (1.0%)
Ilias Apalodimas 4 (1.0%)
Jan Kiszka 4 (1.0%)
Heinrich Schuchardt 4 (1.0%)
Pierre-Clément Tosi 3 (0.8%)
Christian Hewitt 3 (0.8%)
Manorit Chawdhry 2 (0.5%)
Francesco Dolcini 2 (0.5%)
Vignesh Raghavendra 2 (0.5%)
Stefano Babic 2 (0.5%)
Siddharth Vadapalli 2 (0.5%)
Yifeng Zhao 2 (0.5%)
Emil Renner Berthing 2 (0.5%)
Takeshi Kihara 2 (0.5%)
Anatolij Gustschin 2 (0.5%)
Dhruva Gole 2 (0.5%)
Vladimir Zapolskiy 2 (0.5%)
Ivan Mikhaylov 2 (0.5%)
Ye Li 2 (0.5%)
LUU HOAI 2 (0.5%)
Yanhong Wang 2 (0.5%)
Bin Meng 1 (0.3%)
Frank Wunderlich 1 (0.3%)
Geert Uytterhoeven 1 (0.3%)
Jagan Teki 1 (0.3%)
Tero Kristo 1 (0.3%)
Kamlesh Gurudasani 1 (0.3%)
Ren Jianing 1 (0.3%)
Frank Wang 1 (0.3%)
William Wu 1 (0.3%)
Stephen Chen 1 (0.3%)
Manoj Sai 1 (0.3%)
Paweł Jarosz 1 (0.3%)
Cong Dang 1 (0.3%)
Lin Jinhan 1 (0.3%)
Nam Nguyen 1 (0.3%)
Bryan Brattlof 1 (0.3%)
Patrick Delaunay 1 (0.3%)
Thomas Perrot 1 (0.3%)
Apurva Nandan 1 (0.3%)
Neha Francis 1 (0.3%)
Will Deacon 1 (0.3%)
Kamal Dasu 1 (0.3%)
Samuel Holland 1 (0.3%)
Kever Yang 1 (0.3%)
Jianlong Huang 1 (0.3%)
Kuan Lim Lee 1 (0.3%)
Phong Hoang 1 (0.3%)
Svyatoslav Ryhel 1 (0.3%)
==================================== =====
.. table:: Developers with the most reviews (total 991)
:widths: auto
==================================== =====
Name Count
==================================== =====
Simon Glass 291 (29.4%)
Kever Yang 117 (11.8%)
Marek Vasut 69 (7.0%)
Peng Fan 54 (5.4%)
Ramon Fried 49 (4.9%)
Bin Meng 34 (3.4%)
Stefan Roese 29 (2.9%)
Tom Rini 23 (2.3%)
Andre Przywara 21 (2.1%)
Ioana Ciornei 20 (2.0%)
Mattijs Korpershoek 20 (2.0%)
Michael Trimarchi 19 (1.9%)
Jagan Teki 15 (1.5%)
Neil Armstrong 13 (1.3%)
Devarsh Thakkar 13 (1.3%)
Fabio Estevam 12 (1.2%)
Ilias Apalodimas 12 (1.2%)
Heiko Schocher 12 (1.2%)
Christian Gmeiner 12 (1.2%)
Heinrich Schuchardt 11 (1.1%)
Ye Li 10 (1.0%)
Patrick Delaunay 8 (0.8%)
Rick Chen 8 (0.8%)
Patrice Chotard 8 (0.8%)
Michal Simek 7 (0.7%)
Kamlesh Gurudasani 7 (0.7%)
Leo Yu-Chi Liang 7 (0.7%)
Jaehoon Chung 7 (0.7%)
Bryan Brattlof 6 (0.6%)
Konrad Dybcio 5 (0.5%)
Jacky Bai 5 (0.5%)
Jernej Skrabec 5 (0.5%)
Claudiu Beznea 4 (0.4%)
Sean Anderson 4 (0.4%)
Douglas Anderson 4 (0.4%)
Vladimir Oltean 4 (0.4%)
Jonas Karlman 3 (0.3%)
Viacheslav Mitrofanov 3 (0.3%)
Mark Kettenis 3 (0.3%)
Andrejs Cainikovs 2 (0.2%)
Minkyu Kang 2 (0.2%)
Sumit Garg 2 (0.2%)
Joel Stanley 2 (0.2%)
Ying-Chun Liu (PaulLiu) 1 (0.1%)
Miquel Raynal 1 (0.1%)
Marcel Ziswiler 1 (0.1%)
Eugen Hristev 1 (0.1%)
Manorit Chawdhry 1 (0.1%)
Francesco Dolcini 1 (0.1%)
Dhruva Gole 1 (0.1%)
Geert Uytterhoeven 1 (0.1%)
Neha Francis 1 (0.1%)
Andrew Davis 1 (0.1%)
Tim Harvey 1 (0.1%)
Quentin Schulz 1 (0.1%)
Krzysztof Kozlowski 1 (0.1%)
Qu Wenruo 1 (0.1%)
Marek Behún 1 (0.1%)
Pratyush Yadav 1 (0.1%)
Shawn Lin 1 (0.1%)
Alexander Kochetkov 1 (0.1%)
Andrew Pinski 1 (0.1%)
Alice Guo 1 (0.1%)
Chia-Wei Wang 1 (0.1%)
Ray Jui 1 (0.1%)
Peter Robinson 1 (0.1%)
Frieder Schrempf 1 (0.1%)
John Keeping 1 (0.1%)
Sergei Antonov 1 (0.1%)
Chris Packham 1 (0.1%)
Pali Rohár 1 (0.1%)
Adam Ford 1 (0.1%)
==================================== =====
.. table:: Developers with the most test credits (total 210)
:widths: auto
==================================== =====
Name Count
==================================== =====
Michal Simek 41 (19.5%)
Mattijs Korpershoek 19 (9.0%)
Ioana Ciornei 18 (8.6%)
Svyatoslav Ryhel 17 (8.1%)
Conor Dooley 17 (8.1%)
Andreas Westman Dorcsak 15 (7.1%)
Simon Glass 12 (5.7%)
Tony Dinh 8 (3.8%)
Robert Eckelmann 7 (3.3%)
Nicolas Chauvet 7 (3.3%)
Martin Rowe 7 (3.3%)
Bin Meng 6 (2.9%)
Tom Rini 4 (1.9%)
Heiko Schocher 4 (1.9%)
Jonas Karlman 4 (1.9%)
Marek Vasut 2 (1.0%)
Jagan Teki 2 (1.0%)
Viacheslav Mitrofanov 2 (1.0%)
Quentin Schulz 2 (1.0%)
Vagrant Cascadian 2 (1.0%)
Nikhil M Jain 2 (1.0%)
Fabio Estevam 1 (0.5%)
Christian Gmeiner 1 (0.5%)
Patrick Delaunay 1 (0.5%)
Mark Kettenis 1 (0.5%)
Eugen Hristev 1 (0.5%)
Francesco Dolcini 1 (0.5%)
Peter Robinson 1 (0.5%)
Sergei Antonov 1 (0.5%)
Frank Wunderlich 1 (0.5%)
Ion Agorria 1 (0.5%)
Jonas Schwöbel 1 (0.5%)
Alexandre Ghiti 1 (0.5%)
==================================== =====
.. table:: Developers who gave the most tested-by credits (total 210)
:widths: auto
==================================== =====
Name Count
==================================== =====
Svyatoslav Ryhel 45 (21.4%)
Marek Vasut 41 (19.5%)
Safae Ouajih 19 (9.0%)
Pali Rohár 18 (8.6%)
Mathew McBride 18 (8.6%)
Yanhong Wang 15 (7.1%)
Simon Glass 13 (6.2%)
Johan Jonker 7 (3.3%)
Nikhil M Jain 5 (2.4%)
Jonas Karlman 3 (1.4%)
Fabio Estevam 3 (1.4%)
Marcel Ziswiler 3 (1.4%)
Xavier Drudis Ferran 3 (1.4%)
Ehsan Mohandesi 3 (1.4%)
Dhruva Gole 2 (1.0%)
Patrick Wildt 2 (1.0%)
Heinrich Schuchardt 1 (0.5%)
Tim Harvey 1 (0.5%)
Linus Walleij 1 (0.5%)
Jianlong Huang 1 (0.5%)
Kuan Lim Lee 1 (0.5%)
Ondrej Jirman 1 (0.5%)
Francis Laniel 1 (0.5%)
Lionel Debieve 1 (0.5%)
Daniel Golle 1 (0.5%)
Jianqun Xu 1 (0.5%)
==================================== =====
.. table:: Developers with the most report credits (total 20)
:widths: auto
==================================== =====
Name Count
==================================== =====
Tom Rini 7 (35.0%)
Francesco Dolcini 2 (10.0%)
Mark Millard 2 (10.0%)
Pali Rohár 1 (5.0%)
Heinrich Schuchardt 1 (5.0%)
Patrick Delaunay 1 (5.0%)
Mark Kettenis 1 (5.0%)
Frank Wunderlich 1 (5.0%)
Alexandre Ghiti 1 (5.0%)
Andre Przywara 1 (5.0%)
AdityaK 1 (5.0%)
Rob Herring 1 (5.0%)
==================================== =====
.. table:: Developers who gave the most report credits (total 20)
:widths: auto
==================================== =====
Name Count
==================================== =====
Heinrich Schuchardt 5 (25.0%)
Simon Glass 3 (15.0%)
Nishanth Menon 3 (15.0%)
Tom Rini 2 (10.0%)
Patrick Delaunay 2 (10.0%)
Fabio Estevam 2 (10.0%)
Ilias Apalodimas 1 (5.0%)
Ying-Chun Liu (PaulLiu) 1 (5.0%)
Krzysztof Kozlowski 1 (5.0%)
==================================== =====
.. table:: Top changeset contributors by employer
:widths: auto
==================================== =====
Name Count
==================================== =====
(Unknown) 704 (42.2%)
Google, Inc. 234 (14.0%)
Renesas Electronics 163 (9.8%)
Texas Instruments 105 (6.3%)
NXP 102 (6.1%)
DENX Software Engineering 69 (4.1%)
Konsulko Group 60 (3.6%)
Linaro 47 (2.8%)
AMD 28 (1.7%)
Collabora Ltd. 22 (1.3%)
ARM 20 (1.2%)
BayLibre SAS 20 (1.2%)
Toradex 19 (1.1%)
Siemens 17 (1.0%)
ST Microelectronics 16 (1.0%)
Socionext Inc. 12 (0.7%)
Weidmüller Interface GmbH & Co. KG 7 (0.4%)
Amarula Solutions 6 (0.4%)
Rockchip 6 (0.4%)
Bootlin 3 (0.2%)
Wind River 2 (0.1%)
Analog Devices 1 (0.1%)
Broadcom 1 (0.1%)
Intel 1 (0.1%)
Pengutronix 1 (0.1%)
Phytec 1 (0.1%)
Ronetix 1 (0.1%)
==================================== =====
.. table:: Top lines changed by employer
:widths: auto
==================================== =====
Name Count
==================================== =====
(Unknown) 59395 (41.6%)
Renesas Electronics 16879 (11.8%)
Google, Inc. 15141 (10.6%)
NXP 11653 (8.2%)
Konsulko Group 8562 (6.0%)
DENX Software Engineering 7986 (5.6%)
Linaro 7608 (5.3%)
Texas Instruments 6924 (4.9%)
Collabora Ltd. 1493 (1.0%)
Socionext Inc. 1335 (0.9%)
BayLibre SAS 1102 (0.8%)
ARM 1099 (0.8%)
Siemens 1096 (0.8%)
Rockchip 1038 (0.7%)
Toradex 500 (0.4%)
AMD 284 (0.2%)
ST Microelectronics 271 (0.2%)
Amarula Solutions 95 (0.1%)
Weidmüller Interface GmbH & Co. KG 80 (0.1%)
Wind River 26 (0.0%)
Intel 26 (0.0%)
Bootlin 22 (0.0%)
Analog Devices 10 (0.0%)
Broadcom 4 (0.0%)
Pengutronix 2 (0.0%)
Ronetix 2 (0.0%)
Phytec 1 (0.0%)
==================================== =====
.. table:: Employers with the most signoffs (total 389)
:widths: auto
==================================== =====
Name Count
==================================== =====
Linaro 80 (20.6%)
Renesas Electronics 52 (13.4%)
NXP 51 (13.1%)
ARM 30 (7.7%)
AMD 30 (7.7%)
(Unknown) 29 (7.5%)
Amarula Solutions 23 (5.9%)
DENX Software Engineering 18 (4.6%)
Toradex 17 (4.4%)
Texas Instruments 12 (3.1%)
Google, Inc. 11 (2.8%)
Bootlin 11 (2.8%)
Rockchip 7 (1.8%)
Collabora Ltd. 5 (1.3%)
Konsulko Group 4 (1.0%)
Siemens 4 (1.0%)
Canonical 4 (1.0%)
ST Microelectronics 1 (0.3%)
==================================== =====
.. table:: Employers with the most hackers (total 188)
:widths: auto
==================================== =====
Name Count
==================================== =====
(Unknown) 93 (49.5%)
Texas Instruments 18 (9.6%)
Linaro 10 (5.3%)
Renesas Electronics 6 (3.2%)
NXP 6 (3.2%)
Toradex 6 (3.2%)
ST Microelectronics 5 (2.7%)
AMD 4 (2.1%)
DENX Software Engineering 4 (2.1%)
Google, Inc. 4 (2.1%)
Rockchip 4 (2.1%)
ARM 3 (1.6%)
Amarula Solutions 3 (1.6%)
Bootlin 3 (1.6%)
Collabora Ltd. 3 (1.6%)
Siemens 3 (1.6%)
BayLibre SAS 2 (1.1%)
Wind River 2 (1.1%)
Konsulko Group 1 (0.5%)
Socionext Inc. 1 (0.5%)
Weidmüller Interface GmbH & Co. KG 1 (0.5%)
Intel 1 (0.5%)
Analog Devices 1 (0.5%)
Broadcom 1 (0.5%)
Pengutronix 1 (0.5%)
Ronetix 1 (0.5%)
Phytec 1 (0.5%)
==================================== =====

View File

@@ -22,6 +22,7 @@ alias apritzel Andre Przywara <andre.przywara@arm.com>
alias bmeng Bin Meng <bmeng.cn@gmail.com>
alias danielschwierzeck Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
alias dinh Dinh Nguyen <dinguyen@kernel.org>
alias ehristev Eugen Hristev <eugen.hristev@collabora.com>
alias hs Heiko Schocher <hs@denx.de>
alias freenix Peng Fan <peng.fan@nxp.com>
alias iwamatsu Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

View File

@@ -113,7 +113,7 @@ the U-Boot build, the example below is a log for mx7dsabresd_defconfig target:
1.4 Signing the U-Boot binary
------------------------------
The CST tool is used for singing the U-Boot binary and generating a CSF binary,
The CST tool is used for signing the U-Boot binary and generating a CSF binary,
users should input the CSF description file created in the step above and
should receive a CSF binary, which contains the CSF commands, SRK table,
signatures and certificates.

View File

@@ -145,7 +145,7 @@ addresses, the csf_uboot.txt can be used as example:
1.4 Signing the images
-----------------------
The CST tool is used for singing the U-Boot binary and generating a CSF binary,
The CST tool is used for signing the U-Boot binary and generating a CSF binary,
users should input the CSF description file created in the step above and
receive a CSF binary, which contains the CSF commands, SRK table, signatures
and certificates.

View File

@@ -13,7 +13,7 @@ Synopsis
Description
-----------
The loady command is used to transfer a file to the device via the serial line
The loadb command is used to transfer a file to the device via the serial line
using the Kermit protocol.
The number of transferred bytes is saved in environment variable filesize.

96
doc/usage/cmd/loads.rst Normal file
View File

@@ -0,0 +1,96 @@
.. SPDX-License-Identifier: GPL-2.0+:
loads command
=============
Synopsis
--------
::
loads [offset [baud]]
Description
-----------
The loads command is used to transfer a file to the device via the serial line
using the Motorola S-record file format.
offset
offset added to the addresses in the S-record file
baud
baud rate to use for download. This parameter is only available if
CONFIG_SYS_LOADS_BAUD_CHANGE=y
Example
-------
As example file to be transferred we use a script printing 'hello s-record'.
Here are the commands to create the S-record file:
.. code-block:: bash
$ echo 'echo hello s-record' > script.txt
$ mkimage -T script -d script.txt script.scr
Image Name:
Created: Sun Jun 25 10:35:02 2023
Image Type: PowerPC Linux Script (gzip compressed)
Data Size: 28 Bytes = 0.03 KiB = 0.00 MiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 20 Bytes = 0.02 KiB = 0.00 MiB
$ srec_cat script.scr -binary -CRLF -Output script.srec
$ echo -e "S9030000FC\r" >> script.srec
$ cat script.srec
S0220000687474703A2F2F737265636F72642E736F75726365666F7267652E6E65742F1D
S1230000270519566D773EB6649815E30000001700000000000000003DE3D97005070601E2
S12300200000000000000000000000000000000000000000000000000000000000000000BC
S11A00400000000F0000000068656C6C6F20732D7265636F72640A39
S5030003F9
S9030000FC
$
The load address in the first S1 record is 0x0000.
The terminal emulation program picocom is invoked with *cat* as the send
command to transfer the file.
.. code-block::
picocom --send-cmd 'cat' --baud 115200 /dev/ttyUSB0
After entering the *loads* command the key sequence <CTRL-A><CTRL-S> is used to
let picocom prompt for the file name. Picocom invokes the program *cat* for the
file transfer. The loaded script is executed using the *source* command.
.. code-block::
=> loads $scriptaddr
## Ready for S-Record download ...
*** file: script.srec
$ cat script.srec
*** exit status: 0 ***
## First Load Addr = 0x4FC00000
## Last Load Addr = 0x4FC0005B
## Total Size = 0x0000005C = 92 Bytes
## Start Addr = 0x00000000
=> source $scriptaddr
## Executing script at 4fc00000
hello s-record
=>
Configuration
-------------
The command is only available if CONFIG_CMD_LOADS=y. The parameter to set the
baud rate is only available if CONFIG_SYS_LOADS_BAUD_CHANGE=y
Return value
------------
The return value $? is 0 (true) on success, 1 (false) otherwise.

88
doc/usage/cmd/saves.rst Normal file
View File

@@ -0,0 +1,88 @@
.. SPDX-License-Identifier: GPL-2.0+:
saves command
=============
Synopsis
--------
::
saves [offset [size [baud]]]
Description
-----------
The *saves* command is used to transfer a file from the device via the serial
line using the Motorola S-record file format.
offset
start address of memory area to save, defaults to 0x0
size
size of memory area to save, defaults to 0x0
baud
baud rate to use for upload. This parameter is only available if
CONFIG_SYS_LOADS_BAUD_CHANGE=y
Example
-------
In the example the *screen* command is used to connect to the U-Boot serial
console.
In a first screen session a file is loaded from the SD-card and the *saves*
command is invoked. <CTRL+A><k> is used to kill the screen session.
A new screen session is started which logs the output to a file and the
<ENTER> key is hit to start the file output. <CTRL+A><k> is issued to kill the
screen session.
The log file is converted to a binary file using the *srec_cat* command.
A negative offset of -1337982976 (= -0x4c000000) is applied to compensate for
the offset used in the *saves* command.
.. code-block::
$ screen /dev/ttyUSB0 115200
=> echo $scriptaddr
0x4FC00000
=> load mmc 0:1 $scriptaddr boot.txt
124 bytes read in 1 ms (121.1 KiB/s)
=> saves $scriptaddr $filesize
## Ready for S-Record upload, press ENTER to proceed ...
Really kill this window [y/n]
$ screen -Logfile out.srec -L /dev/ttyUSB0 115200
S0030000FC
S3154FC00000736574656E76206175746F6C6F616420AD
S3154FC000106E6F0A646863700A6C6F6164206D6D633E
S3154FC0002020303A3120246664745F616464725F72B3
S3154FC00030206474620A6C6F6164206D6D6320303AC0
S3154FC000403120246B65726E656C5F616464725F72DA
S3154FC0005020736E702E6566690A626F6F74656669C6
S3154FC0006020246B65726E656C5F616464725F7220CB
S3114FC00070246664745F616464725F720A38
S70500000000FA
## S-Record upload complete
=>
Really kill this window [y/n]
$ srec_cat out.srec -offset -1337982976 -Output out.txt -binary 2>/dev/null
$ cat out.txt
setenv autoload no
dhcp
load mmc 0:1 $fdt_addr_r dtb
load mmc 0:1 $kernel_addr_r snp.efi
bootefi $kernel_addr_r $fdt_addr_r
$
Configuration
-------------
The command is only available if CONFIG_CMD_SAVES=y. The parameter to set the
baud rate is only available if CONFIG_SYS_LOADS_BAUD_CHANGE=y
Return value
------------
The return value $? is 0 (true) on success, 1 (false) otherwise.

View File

@@ -68,6 +68,7 @@ Shell commands
cmd/load
cmd/loadb
cmd/loadm
cmd/loads
cmd/loadx
cmd/loady
cmd/mbr
@@ -84,6 +85,7 @@ Shell commands
cmd/read
cmd/reset
cmd/rng
cmd/saves
cmd/sbi
cmd/sf
cmd/scp03

View File

@@ -259,7 +259,7 @@ static int rockchip_usb2phy_probe(struct udevice *dev)
}
/* support address_cells=2 */
if (reg == 0) {
if (dev_read_addr_cells(dev) == 2 && reg == 0) {
if (ofnode_read_u32_index(dev_ofnode(dev), "reg", 1, &reg)) {
dev_err(dev, "%s must have reg[1]\n",
ofnode_get_name(dev_ofnode(dev)));

View File

@@ -12,7 +12,6 @@
#include <fdtdec.h>
#include <linux/bitops.h>
#include <linux/libfdt.h>
#include <asm/global_data.h>
#include "pinctrl-rockchip.h"
@@ -433,13 +432,7 @@ static int rockchip_pinctrl_set_state(struct udevice *dev,
int prop_len, param;
const u32 *data;
ofnode node;
#ifdef CONFIG_OF_LIVE
const struct device_node *np;
struct property *pp;
#else
int property_offset, pcfg_node;
const void *blob = gd->fdt_blob;
#endif
struct ofprop prop;
data = dev_read_prop(config, "rockchip,pins", &count);
if (count < 0) {
debug("%s: bad array size %d\n", __func__, count);
@@ -473,24 +466,15 @@ static int rockchip_pinctrl_set_state(struct udevice *dev,
node = ofnode_get_by_phandle(conf);
if (!ofnode_valid(node))
return -ENODEV;
#ifdef CONFIG_OF_LIVE
np = ofnode_to_np(node);
for (pp = np->properties; pp; pp = pp->next) {
prop_name = pp->name;
prop_len = pp->length;
value = pp->value;
#else
pcfg_node = ofnode_to_offset(node);
fdt_for_each_property_offset(property_offset, blob, pcfg_node) {
value = fdt_getprop_by_offset(blob, property_offset,
&prop_name, &prop_len);
ofnode_for_each_prop(prop, node) {
value = ofprop_get_property(&prop, &prop_name, &prop_len);
if (!value)
return -ENOENT;
#endif
continue;
param = rockchip_pinconf_prop_name_to_param(prop_name,
&default_val);
if (param < 0)
break;
continue;
if (prop_len >= sizeof(fdt32_t))
arg = fdt32_to_cpu(*(fdt32_t *)value);

View File

@@ -73,7 +73,7 @@ static int spkgimage_parse_config_line(char *line, size_t line_num)
conf.padding = check_range(name, value, 1, INT_MAX);
} else {
fprintf(stderr,
"config error: unknown keyword on line %ld\n",
"config error: unknown keyword on line %zu\n",
line_num);
return -EINVAL;
}