On Tuesday 21 February 2023 11:22:29 Tom Rini wrote:
> From: Pali Rohár
>
> Now that the Dockerfile creates images which have the binaries we
> require included, have CI make symlinks for them and update the existing
> script to support this.
>
> Signed-off-by: Tom Rini
&g
idate data checksum of v1 images")
Fixes: aa6943ca3122 ("kwbimage: Add support for extracting images via dumpimage
tool")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 29 -
1 file changed, 29 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwb
k for A38x image data checksum")
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 6bb84da03ed6..2bcdf145f64a 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -738
srcaddr in bytes. This change fixes loading of SDIO images via
kwboot over UART.
Fixes: 792e42355083 ("tools: kwboot: Patch source address in image header")
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 4
1 file changed, 4 deletions(-)
diff --git a/tools/kwboot.c b/tools/kwbo
cksum")
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 1efbe2e607ca..6bb84da03ed6 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -747,9 +747,6 @@ static int check_image_header(void)
as relative offset to the main header. This change fixes
loading of SATA images via kwboot over UART.
Fixes: 792e42355083 ("tools: kwboot: Patch source address in image header")
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
di
BOOT_DEVICE_MMC2 and BOOT_DEVICE_MMC2_2 are representing mmc dev 1 but all
Armada SoCs have only one mmc controller. So remove references to
non-existent second mmc controller.
Fixes: f830703f4284 ("arm: mvebu: Check that kwbimage blockid matches boot
mode")
Signed-off-by: Pali Rohár
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 1b08ca9298c2..74ea037dda98 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -725,9 +725,8 @@ static int
ation address to DDR area for
SPI image")
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/kwboot.c b/tools/kwboot.c
index f624edc7798f..cb31d5b858ce 100644
--- a/tools/kwboot.c
+++ b/tools/kwboot.c
@@ -2022
There is no need to export these local functions and structures.
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 72ed87b89ec3..820d342ae100 100644
--- a/cmd/mvebu/bubt.c
+++ b
changes are untested, hence this patch series is just RFC.
So please test changes before applying, idealy on SPI, SATA and SD/MMC.
Nevertheless all patches on github passed CI testing in this PR:
https://github.com/u-boot/u-boot/pull/275
Pali Rohár (59):
tools: kwbimage: Fix generating, verifying
is needed to interpret srcaddr as relative offset to
the main header. This change fixes booting of U-Boot proper from SPL code
in SATA image.
Fixes: 2226ca173486 ("arm: mvebu: Load U-Boot proper binary in SPL code based
on kwbimage header")
Signed-off-by: Pali Rohár
---
arch/arm/
Support for burning into the correct eMMC HW boot partition was broken and
removed in commit 96be2f072768 ("mvebu: bubt: Drop dead code"). Reimplement
this functionality and bring it back again.
Fixes: 96be2f072768 ("mvebu: bubt: Drop dead code")
Signed-off-by: Pali Rohár
-
'secure_mode' and 'fuse_read_u64' are used only on A38x and A37xx.
Fixes: f7b0bbca2b62 ("cmd: mvebu/bubt: Check for A38x/A37xx OTP secure bits and
secure boot")
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 7 +--
1 file changed, 5 insertions(+), 2 deleti
For 32-bit Armada boards which use SPL we can determinate boot device from
existing MVEBU_SPL_BOOT_DEVICE_* option. For all other boards (e.g. 64-bit
Armada) default option still needs to be set manually.
Signed-off-by: Pali Rohár
---
cmd/mvebu/Kconfig | 4
1 file changed, 4 insertions
Add reference to Avanta Boot Flow documentation, BobCat2, AlleyCat3 and
PONCat3 BootROM Firmware documentation and links to public Marvell tools:
hdrparser.c and doimage.c
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/tools
eader")
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/Kconfig | 1 +
arch/arm/mach-mvebu/spl.c | 40 -
2 files changed, 32 insertions(+), 9 deletions(-)
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5303b1cbb965..28
equire any initialization).
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 28 +---
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 7ebb625d03b9..309657a5637b 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -1887
This makes updating of u-boot/firmware on Marvell boards easier.
Signed-off-by: Pali Rohár
---
cmd/mvebu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu/Kconfig
index 029f722096b1..e83a98294912 100644
--- a/cmd/mvebu/Kconfig
+++ b/cmd/mvebu/Kconfig
This new clearfog_sata_defconfig file is copy of existing
clearfog_defconfig file and changed to instruct build system to
generate final kwbimage for SATA booting.
This change is more readable via git option --find-copies-harder.
Signed-off-by: Pali Rohár
---
configs/{clearfog_defconfig
Use for it pretty print function: genimg_print_size(). This makes it more
human readable, like other offset and sizes printed by this tool.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/kwbimage.c b/tools
Skip filling legacy_img_hdr structure for XIP images which do not use
legacy_img_hdr structure header. Adding unwanted header to other image
formats, like kwbimage cause generation of broken image.
Signed-off-by: Pali Rohár
---
tools/mkimage.c | 4 +++-
1 file changed, 3 insertions(+), 1
Mention fact about changing baudrate back when -B is used.
Signed-off-by: Pali Rohár
---
doc/kwboot.1 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/kwboot.1 b/doc/kwboot.1
index a528fbbe8c38..5cda3b4d88a8 100644
--- a/doc/kwboot.1
+++ b/doc/kwboot.1
@@ -159,7 +159,8
: Pali Rohár
---
cmd/mvebu/bubt.c | 39 +--
doc/mvebu/cmd/bubt.txt | 2 +-
2 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 1d51fde579b5..df6b73c6a172 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
gated also
into the add_secure_header_v1() function. Fix this issue by decreasing size
of buffer by 4 bytes from which is calculated secure boot data image
signature.
Fixes: 37cb9c15d70d ("tools: kwbimage: Simplify aligning and calculating
checksum")
Signed-off-by: Pali Rohár
---
tools/
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/cpu.c b/arch/arm/mach-mvebu/cpu.c
index 1f8cdf8744e6..c5089a91c747 100644
--- a/arch/arm/mach-mvebu/cpu.c
+++ b/arch/arm/mach-mvebu/cpu.c
@@ -25,7 +25,7
add a check for this and if it
happens then show human readable message that option -d was not specified.
Signed-off-by: Pali Rohár
---
tools/mkimage.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 955a1f39a419..c53768f8d8de 100644
--- a/tools/mkim
.
This change is more readable via git option --find-copies-harder.
Signed-off-by: Pali Rohár
---
...-88f6820-amc_defconfig => db-88f6820-amc_nand_defconfig} | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
copy configs/{db-88f6820-amc_defconfig => db-88f6820-amc_nand_defconfi
Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1'
option")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 1719b0415da1..a6f6f1578c7
To make add_secure_header_v1() function more readable, call it directly
with arguments: header pointer with header size and data image pointer with
data image size. No functional change.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 15 +--
1 file changed, 5 insertions(+), 10
cpu.c to be available in Proper U-Boot too.
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/cpu.c | 9 +
arch/arm/mach-mvebu/include/mach/cpu.h | 5 +
arch/arm/mach-mvebu/spl.c | 13 -
3 files changed, 14 insertions(+), 13 deletions(-)
diff
In SPL are active memory maps set by the BootROM. Define them in cpu.h file
to the correct values. Some peripherals are not mapped at all.
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/include/mach/cpu.h | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/mach
Add information of all available image types and where they should be
stored. Storage location offsets where documented from the disassembly of
the A385 BootROM image dump.
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 62 ++
1 file changed, 62
some cases it is possible to load very small image into L2SRAM and when
DDR init code is not required. So check for L2SRAM load address and skip
DDR init code check in this case.
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 48
1 file changed
page size (16 KB for a 512B page or small page
NAND and 64 KB for a large page NAND flash).
Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1'
option")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 10 --
1 file changed, 8 insertions(+),
Show image type and version during parsing of kwbimage.
And show reasons in error messages when parsing failed.
This can help to debug issues with invalid images.
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 39 ++-
1 file changed, 34 insertions(+), 5
Variable image_size contains size of the header, not size of the whole
image. Rename this variable to reflect content.
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index
MMC and SD compatible devices. Not for
SDIO devices. In most cases used for eMMC or SD card.
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 5abcdc4972ab
Signed-off-by: Pali Rohár
---
.../serdes/a38x/high_speed_env_spec.c | 4 +--
.../serdes/a38x/high_speed_env_spec.h | 4 +--
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.c | 14 +++--
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h | 30 ---
4 files changed, 8
: 2b0980c24027 ("tools: kwbimage: Fill the real header size into the main
header")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 41 ++---
1 file changed, 14 insertions(+), 27 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index a8a59c1
For all images except SATA is data offset in bytes. For SATA it is in LBA
format (number of sectors). This is how Marvell BootROM interprets it.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index
1'
option")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 67b45503e466..1719b0415da1 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -2148,6 +
CONFIG_SPL_BOOTROM_SUPPORT option) and BootROM then start
executing U-Boot proper.
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/Kconfig | 4
arch/arm/mach-mvebu/Makefile | 3 +++
2 files changed, 7 insertions(+)
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
: f76ae2571fe0 ("tools: kwbimage: Add support for dumping extended and
binary v0 headers")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 0c3b40d075e9..eb99ac944d24 100644
-
All fields in kwbimage header are in little endian format.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 1128c934dda9..97be3bed79cb 100644
--- a/tools/kwbimage.c
+++ b/tools
Before starting parsing of kwbimage, first validate that all optional v1
headers and correct. This prevents kwboot crashes on invalid input.
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 8
1 file changed, 8 insertions(+)
diff --git a/tools/kwboot.c b/tools/kwboot.c
index
When mkimage was instructed to skip datafile via option -s then do not try
to validate or open datafile as it does not have to exist or to be
specified via -d option.
This change allows to use -s option for skipping datafile when -d option
for datafile was not specified.
Signed-off-by: Pali
BootROM, it is needed to interpret srcaddr in bytes. This change
fixes booting of U-Boot proper from SPL code stored in SDIO image.
Fixes: 2226ca173486 ("arm: mvebu: Load U-Boot proper binary in SPL code based
on kwbimage header")
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu
) and for compatibility with the rest of
the code manually insert data checksum into the in-memory image after the
executable code, without overwriting it.
This should allow to boot UART images generated by Marvell tools.
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 15 +--
1 file
roper binary in SPL code based
on kwbimage header")
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/Kconfig | 1 +
arch/arm/mach-mvebu/spl.c | 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 59
generating final kwbimage.
CONFIG_MVEBU_SPL_NAND_BADBLK_LOCATION is a new mvebu specific Kconfig
option which is set into kwbimage NAND_BADBLK_LOCATION header field.
Signed-off-by: Pali Rohár
---
arch/arm/mach-mvebu/Kconfig | 13 +
arch/arm/mach-mvebu/Makefile| 10
Change checksum verification code so it does require to modify image.
Signed-off-by: Pali Rohár
---
cmd/mvebu/bubt.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 820d342ae100..1b08ca9298c2 100644
--- a/cmd/mvebu/bubt.c
+++ b
mkimage -F option (re-sign existing FIT image) signaled by fflag is not
supported by kwbimage. So mark its usage as invalid parameter.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index
Variable imagesz in functions image_create_v0(), image_create_v1() and
kwbimage_set_header() stores offset to data from the beginning of the main
header. So it is not image size.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 20 ++--
1 file changed, 10 insertions(+), 10
ksum of v1 images")
Fixes: aa6943ca3122 ("kwbimage: Add support for extracting images via dumpimage
tool")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 24 +++-
1 file changed, 7 insertions(+), 17 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
limitations.
Signed-off-by: Pali Rohár
---
common/spl/Kconfig | 9 +
common/spl/spl_mmc.c | 12 +++-
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index d774c930a80b..fdee0bd06936 100644
--- a/common/spl/Kconfig
+++ b
6828311A-BA55-42A4-BCDE-A89BB5EDECAE (Marvell Armada 3700 Boot partition).
Signed-off-by: Pali Rohár
---
cmd/mvebu/Kconfig | 12 +
cmd/mvebu/bubt.c | 109 -
doc/mvebu/cmd/bubt.txt | 2 +-
3 files changed, 121 insertions(+), 2 deletions
32-bit Armada SoCs uses u-boot binary packed in kwbimage format. Name of
the image is in CONFIG_BUILD_TARGET option. So use it as a default option
in Kconfig.
Signed-off-by: Pali Rohár
---
cmd/mvebu/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/mvebu/Kconfig b/cmd/mvebu
images there
is always nandbadblklocation field.
Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1'
option")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/kwbimage.c b/to
80 ("tools: kwbimage: Properly set srcaddr in kwbimage v0")
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index b6deb978f611..1128c934dda9 100644
--- a/tools/kwbimage.c
+++ b/tools/k
(used
for parallel NOR) at 0xD800-0xDFFF.
Add support for generating XIP kwbimages by mkimage -x flag and mark xflag
as valid option in kwbimage.c.
Signed-off-by: Pali Rohár
---
tools/kwbimage.c | 96
1 file changed, 89 insertions(+), 7
On Tuesday 21 February 2023 15:06:16 Tony Dinh wrote:
> Hi Pali,
>
> On Tue, Feb 21, 2023 at 12:22 PM Pali Rohár wrote:
> >
> > This patch series contains various improvements and fixes for existing
> > logical errors. Boot phase was adjusted to match behavior o
On Tuesday 21 February 2023 21:45:07 Tony Dinh wrote:
> Hi Pali,
>
> On Tue, Feb 21, 2023 at 3:14 PM Pali Rohár wrote:
> >
> > On Tuesday 21 February 2023 15:06:16 Tony Dinh wrote:
> > > Hi Pali,
> > >
> > > On Tue, Feb 21, 2023 at 12:22 PM Pali
pinctrl-0 = <µsom_sdhci_pins
> &clearfog_sdhci_cd_pins>;
>
> On Wed, 22 Feb 2023 at 07:58, Pali Rohár wrote:
> >
> > On Tuesday 21 February 2023 21:45:07 Tony Dinh wrote:
> > > Hi Pali,
On Wednesday 22 February 2023 10:55:54 Stefan Roese wrote:
> Hi Pali,
>
> On 2/21/23 21:18, Pali Rohár wrote:
> > Support for burning into the correct eMMC HW boot partition was broken and
> > removed in commit 96be2f072768 ("mvebu: bubt: Drop dead code"). Reimple
On Wednesday 22 February 2023 21:20:58 Martin Rowe wrote:
> Hi
>
> > Could you send a patch which adds appropriate defconfig file for SPI
> > boot? So this configuration would be tested in U-Boot CI automatically.
>
> Will do. Does it need to be the same as the other defconfigs
> otherwise? I sug
On Wednesday 22 February 2023 14:16:36 Tony Dinh wrote:
> Hi Pali,
>
> On Tue, Feb 21, 2023 at 11:58 PM Pali Rohár wrote:
> >
> > On Tuesday 21 February 2023 21:45:07 Tony Dinh wrote:
> > > Hi Pali,
> > >
> > > On Tue, Feb 21, 2023 at 3:14 PM
On Wednesday 22 February 2023 15:16:06 Tony Dinh wrote:
> Hi Pali,
>
> On Wed, Feb 22, 2023 at 3:06 PM Pali Rohár wrote:
> >
> > On Wednesday 22 February 2023 14:16:36 Tony Dinh wrote:
> > > Hi Pali,
> > >
> > > On Tue, Feb 21, 2023 at 11:58 PM
On Wednesday 22 February 2023 16:17:32 Tony Dinh wrote:
> Hi Pali,
>
> On Wed, Feb 22, 2023 at 3:40 PM Pali Rohár wrote:
> >
> > On Wednesday 22 February 2023 15:16:06 Tony Dinh wrote:
> > > Hi Pali,
> > >
> > > On Wed, Feb 22, 2023 at 3:06 PM Pa
On Thursday 23 February 2023 07:17:26 Stefan Roese wrote:
> Hi Pali,
>
> On 2/22/23 19:06, Pali Rohár wrote:
> > On Wednesday 22 February 2023 10:55:54 Stefan Roese wrote:
> > > Hi Pali,
> > >
> > > On 2/21/23 21:18, Pali Rohár wrote:
> > >
On Wednesday 22 February 2023 11:59:35 Martin Rowe wrote:
> A388 Clearfog Base (SD card model):
> - MMC from SD card works
> - UART works
> - SATA with new defconfig works
> - SPI (if you select MVEBU_SPL_BOOT_DEVICE_SPI yourself) works
> A388 Clearfog Pro (eMMC model):
> - MMC from eMMC works, but
On Thursday 23 February 2023 12:11:46 Martin Rowe wrote:
> > > > Have you tried booting from eMMC boot partition or eMMC user data
> > > > partition? Because all 3 options should work, but I'm not fully sure if
> > > > BootROM choose partition from eMMC register or if tries all 3 in some
> > > > or
On Friday 24 February 2023 06:27:49 Martin Rowe wrote:
> > > boot0 - zeroed
> > > boot1 - u-boot (with local version 'boot1')
> > > user - u-boot (with local version 'user')
> > Can you check if boot_ack argument has some effect on the initial
> > choice? Or if completely disabling boot partitions
On Friday 24 February 2023 15:07:43 Martin Rowe wrote:
> [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting
>
> This new clearfog_spi_defconfig file is copy of existing
> clearfog_defconfig file and changed to instruct build system to
> generate final kwbimage for SPI booting and to s
On Saturday 25 February 2023 11:42:20 Martin Rowe wrote:
> This new clearfog_spi_defconfig file is copy of existing
> clearfog_defconfig file and changed to instruct build system to
> generate final kwbimage for SPI booting and to store the
> environment in SPI as well.
>
> Signed-off-by: Martin R
On Saturday 25 February 2023 11:47:07 Martin Rowe wrote:
> > While I haven't tested this patchset - I have tested SPI booting with
> > v2022.01 after applying lots of patches.
> > I found that the magic value reported by bootrom when booting from SPI will
> > be 0x34 on clearfog.
> > The current
On Saturday 25 February 2023 13:23:33 Tom Rini wrote:
> On Tue, Feb 21, 2023 at 11:22:29AM -0500, Tom Rini wrote:
>
> > From: Pali Rohár
> >
> > Now that the Dockerfile creates images which have the binaries we
> > require included, have CI make symlinks fo
On Friday 24 February 2023 19:58:37 Tony Dinh wrote:
> Hi Pali,
>
> On Tue, Feb 21, 2023 at 12:22 PM Pali Rohár wrote:
> >
> > Proper U-Boot moves SPI0 CS0 Flash mapping from 0xD400 to 0xF400
> > and change its size from 64 MB to 8 MB. Definitions are a
On Saturday 25 February 2023 01:18:26 Martin Rowe wrote:
> > When generating this patch, use git options -M, -C and
> > --find-copies-harder. It will detect that you created this file as copy
> > from other file and generate better diff.
>
> Will do.
>
> This thread has gotten quite long! I've:
>
On Saturday 25 February 2023 13:48:25 Tom Rini wrote:
> On Sat, Feb 25, 2023 at 07:35:28PM +0100, Pali Rohár wrote:
> > On Saturday 25 February 2023 13:23:33 Tom Rini wrote:
> > > On Tue, Feb 21, 2023 at 11:22:29AM -0500, Tom Rini wrote:
> > >
> > > > From
On Friday 24 February 2023 19:23:23 Tony Dinh wrote:
> Enable 512MB PXA3XX NAND flash when u-boot is running.
>
> Signed-off-by: Tony Dinh
Acked-by: Pali Rohár
> ---
>
> configs/n2350_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/config
etter option for ignoring card-detect pin
in u-boot, so:
Acked-by: Pali Rohár
> ---
> configs/clearfog_defconfig | 3 +--
> configs/clearfog_sata_defconfig | 8
> 2 files changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/configs/clearfog_defconfig b/conf
On Saturday 25 February 2023 11:51:28 Josua Mayer wrote:
> While I haven't tested this patchset
Are you going to test it?
> I have tested SPI booting with
> v2022.01 after applying lots of patches.
> I found that the magic value reported by bootrom when booting from SPI will
> be 0x34 on clearfog
On Tuesday 21 February 2023 21:18:26 Pali Rohár wrote:
> This patch series contains various improvements and fixes for existing
> logical errors. Boot phase was adjusted to match behavior of Armada 385
> BootROM by inspecting and disassembling of BootROM binary dump itself.
> Important
On Saturday 25 February 2023 22:49:56 Pali Rohár wrote:
> On Saturday 25 February 2023 11:42:19 Martin Rowe wrote:
> > A388 Clearfog MMC is either SD Card or eMMC with different behaviour for
> > both. Setting MMC_BROKEN_CD allows both to correctly detect MMC.
> >
> >
On Sunday 26 February 2023 01:56:23 Martin Rowe wrote:
> On Sat, 25 Feb 2023 at 21:16, Pali Rohár wrote:
> > I think that the remaining part is to patch linux DTB file at runtime
> > for emmc support. So if u-boot mmc device is of eMMC type then fixup
> > linux dtb file
On Saturday 25 February 2023 20:56:10 Tony Dinh wrote:
> Hi Martin,
>
> On Sat, Feb 25, 2023 at 6:17 PM Martin Rowe wrote:
> >
> > > > > I'm not sure how to run proper timing tests on the process, but
> > > > > stopwatch timing just between seeing "Trying to boot" and "U-Boot
> > > > > 2023.04-rc
On Sunday 26 February 2023 01:45:16 Martin Rowe wrote:
> On Sat, 25 Feb 2023 at 22:14, Pali Rohár wrote:
> > On Saturday 25 February 2023 22:49:56 Pali Rohár wrote:
> > > On Saturday 25 February 2023 11:42:19 Martin Rowe wrote:
> > > > A388 Clearfog MMC is either
On Monday 27 February 2023 08:44:30 Stefan Roese wrote:
> Hi Pali,
>
> On 2/25/23 23:00, Pali Rohár wrote:
> > On Tuesday 21 February 2023 21:18:26 Pali Rohár wrote:
> > > This patch series contains various improvements and fixes for existing
> > > logical errors.
On Mon, Feb 27, 2023 at 1:57 PM Tony Dinh wrote:
> > > >
> > > > Hi Stefan,
> > > >
> > > > On Sun, Feb 26, 2023 at 11:40 PM Stefan Roese wrote:
> > > > >
> > > > > Hi Tony,
> > > > >
> > > >
On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote:
> Hi Martin,
> Hi Pali,
>
> On 2/27/23 12:29, Martin Rowe wrote:
> > On Mon, 27 Feb 2023 at 08:04, Pali Rohár > <mailto:p...@kernel.org>> wrote:
> >
> > On Monday 27 February 2023 08:44
On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote:
> Hi Pali,
>
> On 2/28/23 10:54, Pali Rohár wrote:
> > On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote:
> > > Hi Martin,
> > > Hi Pali,
> > >
> > > On 2/27/23 12:29, Martin Row
On Tuesday 28 February 2023 11:10:21 Pali Rohár wrote:
> On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote:
> > Hi Pali,
> >
> > On 2/28/23 10:54, Pali Rohár wrote:
> > > On Tuesday 28 February 2023 08:03:47 Stefan Roese wrote:
> > > > Hi Martin,
&g
On Friday 13 January 2023 09:10:18 Fabio Estevam wrote:
> On Fri, Jan 13, 2023 at 4:53 AM Pali Rohár wrote:
>
> > > you can browse it online at:
> > > -https://source.codeaurora.org/external/qoriq/qoriq-yocto-sdk/boot-format
> > > +https://github.com/nxp-qoriq-y
On Tuesday 28 February 2023 10:48:24 Pali Rohár wrote:
> On Monday 27 February 2023 17:17:31 Tony Dinh wrote:
> > Hi Pali,
> >
> > On Mon, Feb 27, 2023 at 4:42 PM Tony Dinh wrote:
> > >
> > > Hi Pali,
> > >
> > > On Mon, Feb 27,
On Tuesday 28 February 2023 13:51:24 Tony Dinh wrote:
> Hi Pali,
>
> On Tue, Feb 28, 2023 at 10:52 AM Pali Rohár wrote:
> >
> > On Tuesday 28 February 2023 10:48:24 Pali Rohár wrote:
> > > On Monday 27 February 2023 17:17:31 Tony Dinh wrote:
> > > > Hi
On Tuesday 28 February 2023 11:16:03 Stefan Roese wrote:
> Hi Pali,
>
> On 2/28/23 11:10, Pali Rohár wrote:
> > On Tuesday 28 February 2023 11:01:55 Stefan Roese wrote:
> > > Hi Pali,
> > >
> > > On 2/28/23 10:54, Pali Rohár wrote:
> > > > O
Hello! I'm not rockchip maintainer, so please do not send me rockchip
patches unless it is something for which I really should take an
attention.
On Thursday 02 March 2023 15:12:57 Kever Yang wrote:
> rk3588 evb1 v10 is a evalution board from Rockchip, it is a dev board for
> rockchip and also a r
Ping again? Or silence means no care from CZ.NIC side?
On Tuesday 31 January 2023 19:53:23 Pali Rohár wrote:
> Gentle ping? Does CZ.NIC care about Turris routers and u-boot support?
>
> On Monday 07 November 2022 21:28:31 Pali Rohár wrote:
> > Hello! Just beware of these tw
Boot configuration stored in EXT_CSC register is completely ignored by BootROM.
Fixes: fa03279e198d ("tools: kwboot: Add image type documentation")
Signed-off-by: Pali Rohár
---
tools/kwboot.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/kwboot
1 - 100 of 2646 matches
Mail list logo