Signed-off-by: Andrey VOLKOV
---
arch/arm/Kconfig | 19 +-
arch/arm/Makefile | 1 -
arch/arm/mach-ipq40xx/Kconfig | 15 --
arch/arm/mach-ipq40xx/Makefile| 9 -
arch/arm/mach-ipq40xx/include/mach/gpio.h
Add APQ8016/APQ8096/QCS40X decls to the KConfig, convert SDM845 declaration to
the hidden one (selected by target),
and update mach-snapdragon/Makefile accordingly.
Also move 'CONFIG_ARM64' choice to the new declarations, since 'Snapdragon'
contains Cortex A7A members too.
Signed-off-by: Andrey
Hi Robert, Tom,
Updated patches are following, could you review/accept them?
Le 04/11/2022 à 12:05, Robert Marko a écrit :
> On Tue, Oct 25, 2022 at 3:31 AM Andrey Volkov wrote:
>> SoC: qcom: Add missing Qualcomm's SOCs definitions to the arch KConfig
>>
>> From: Andrey VOLKOV
>>
>> Add APQ8016/
AllocatePages() can be called with Type=AllocateAddress. Such a call can
only succeed if *Memory points to the address of an unallocated page range.
A call with *Memory being an address that is not page aligned must not
succeed. The UEFI specification requires returning EFI_OUT_OF_RESOURCES
if the
On 11/6/22 01:37, Pali Rohár wrote:
On Sunday 06 November 2022 00:44:53 Heinrich Schuchardt wrote:
alarm(), read(), write(), ... are not system calls but POSIX functions.
Well, read() and write() are system calls as opposite of the printf()
read() and write() are library functions on all
On Sunday 06 November 2022 00:44:53 Heinrich Schuchardt wrote:
> alarm(), read(), write(), ... are not system calls but POSIX functions.
Well, read() and write() are system calls as opposite of the printf()
which is library function. But on every modern operating system there is
wrapper function i
AllocatePages() and FreePages() call efi_check_allocated() to check if a
memory address is allocated or not.
The function should consider the number of pages in the request and
either check if the full range is deallocated or the full range is
allocated.
https://source.denx.de/u-boot/custodi
alarm(), read(), write(), ... are not system calls but POSIX functions.
Signed-off-by: Heinrich Schuchardt
---
include/os.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/os.h b/include/os.h
index 54874f5e0e..b62d8bbd66 100644
--- a/include/os.h
+++
On 10/30/22 02:47, Simon Glass wrote:
Add the documentation to avoid a warning with 'make htmldocs'.
Fixes: 10107efedd5 ("sandbox: add SIGALRM-based watchdog device")
Signed-off-by: Simon Glass
---
include/os.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/os.h b/include/
On 11/6/22 00:04, Simon Glass wrote:
From: Tom Rini
Add a new flag to buildman so that we will in turn pass
BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI.
Please, document all arguments of binman in doc/develop/package/binman.rst.
Best regards
Heinrich
Allow the settings
On 11/6/22 00:04, Simon Glass wrote:
From: Tom Rini
While it is possible and documented on how to re-run buildman to replace
faked required binary files after the fact, this behavior ends up being
more confusing than helpful in practice. Switch to requiring
BINMAN_ALLOW_MISSING=1 to be passed o
On 11/5/22 22:54, Ard Biesheuvel wrote:
(cc Heinrich and Ilias)
On Sat, 5 Nov 2022 at 21:27, Linus Torvalds
wrote:
On Sat, Nov 5, 2022 at 1:18 PM Ard Biesheuvel wrote:
Yeah just rip it out. In the beginning, we tended to make these
warnings noisy so people will actually notice.
Rip it
From: Tom Rini
Add a new flag to buildman so that we will in turn pass
BINMAN_ALLOW_MISSING=1 to 'make'. Make use of this flag in CI.
Allow the settings file to control this.
Cc: Rasmus Villemoes
Cc: Simon Glass
Signed-off-by: Tom Rini
Signed-off-by: Simon Glass
---
Changes in v3:
- Add te
Buildman should consider a build as a success (with warnings) if missing
blobs have been dealt with by binman, even though buildman itself returns
and error code overall. This is how other warnings are dealt with.
We cannot easily access the 103 exit code, so detect the problem in the
output.
Wit
At present binman returns success when told to handle missing blobs.
This is confusing this in fact the resulting image cannot work.
Use exit code 103 to signal this problem, with a -W option to convert
it to a warning.
Add documentation about exit codes while we are here.
Signed-off-by: Simon G
From: Tom Rini
While it is possible and documented on how to re-run buildman to replace
faked required binary files after the fact, this behavior ends up being
more confusing than helpful in practice. Switch to requiring
BINMAN_ALLOW_MISSING=1 to be passed on the 'make' line to enable this
behavi
Support for some architectures has been removed since buildman was first
written. Also all toolchains are now available at kernel.org so we don't
need the links.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to drop mention of old architectures
tools/buildman/bsettings.py | 2
This script was removed about 6 years ago so most people should be aware
that it is not needed anymore. Drop mention of it.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add new patch to drop mention of MAKEALL
tools/buildman/buildman.rst | 110
1 file ch
This currently uses if_changed on a phony target. Use a real file as the
target and add FORCE at the end, as required. Drop the 'inputs' phony
since it is not needed.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Use a separate rule for running binman
Makefile | 11 +++
This is out-of-date now. Fix it.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/Kbuild.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 9c14310ad40..62e0207f91b 100644
--- a/scripts/Kbuild.include
++
This series attempts to tidy up the problem of missing blobs, making
U-Boot default to failing the build, but providing ways to configure this
so that buildman can still be used for build testing by people who don't
have the blobs or don't care about them.
This is based on discussion in [1] as wel
This function is useful for other tests. Move it into common code.
Signed-off-by: Simon Glass
---
test/py/tests/fs_helper.py| 54
test/py/tests/test_fs/conftest.py | 58 ---
2 files changed, 60 insertions(+), 52 deletions(-)
crea
This is not used anymore. Drop it.
Signed-off-by: Simon Glass
---
cmd/host.c| 4 --
drivers/block/sandbox.c | 102 --
include/sandboxblockdev.h | 3 --
3 files changed, 109 deletions(-)
Applied to u-boot-dm, thanks!
Add the documentation to avoid a warning with 'make htmldocs'.
Fixes: 10107efedd5 ("sandbox: add SIGALRM-based watchdog device")
Signed-off-by: Simon Glass
---
include/os.h | 4
1 file changed, 4 insertions(+)
Applied to u-boot-dm, thanks!
Tidy this up so that pylint is happy. Use hex for the 1MB size and make
sure it is not a floating-point value.
Add a little main program to allow the code to be tried out, since at
present is only called from a long-running test.
Signed-off-by: Simon Glass
---
test/py/tests/fs_helper.py | 38 +
This is not needed since the flag takes care of all differences. Make use
of the common function.
Signed-off-by: Simon Glass
---
test/dm/test-dm.c | 49 ---
1 file changed, 4 insertions(+), 45 deletions(-)
Applied to u-boot-dm, thanks!
Some tests access data in block devices and so cause the cache to fill
up. This results in memory being allocated.
Some tests check the malloc usage at the beginning and then again at the
end, to ensure there is no memory leak caused by the test. The block cache
makes this difficult, since the any
Sort this and put the command summary at the top instead of the bottom.
Adjust it so that the newlines are at the start of the strings, so that
there is not a blank line at the end.
Signed-off-by: Simon Glass
---
test/cmd_ut.c | 57 +--
1 file ch
The select_name parameter is not used anymore. Drop it.
Signed-off-by: Simon Glass
---
test/test-main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Applied to u-boot-dm, thanks!
Before adding more options, document this command.
Signed-off-by: Simon Glass
---
doc/usage/cmd/ut.rst | 102 +++
doc/usage/index.rst | 1 +
2 files changed, 103 insertions(+)
create mode 100644 doc/usage/cmd/ut.rst
Applied to u-boot-dm, thanks!
Add a 'ut info' command to show the number of suites and tests. This is
useful to get a feel for the scale of the tests.
Signed-off-by: Simon Glass
---
doc/usage/cmd/ut.rst | 6 ++
test/cmd_ut.c| 16 +++-
2 files changed, 21 insertions(+), 1 deletion(-)
Applied to u-bo
Sandbox supports block devices which can access files on the host machine.
At present there is no uclass for this. The devices are attached to the
root devic. The block-device type is therefore set to UCLASS_ROOT which
is confusing.
Block devices should be attached to a 'media' device instead, som
When running unit tests, some may have side effects which cause a
subsequent test to break. This can sometimes be seen when using 'ut dm'
or similar.
Add a new argument which allows a particular (failing) test to be run
immediately after a certain number of tests have run. This allows the
test cau
This function now finds its block-device child by looking for a child
device of the correct uclass (UCLASS_BLK). It cannot produce a device of
any other type, so drop the superfluous check.
Provide a version which does not probe the device, since that is often
needed when setting up the device's p
Create a block driver for the new HOST uclass. This handles attaching and
detaching host files.
For now the uclass is not used but this will be plumbed in with future
patches.
Signed-off-by: Simon Glass
---
drivers/block/Makefile | 2 +-
drivers/block/host_dev.c | 142 +
Document the 'host' command and also the internals of how it is
implemented.
Signed-off-by: Simon Glass
---
doc/arch/index.rst | 2 +-
doc/arch/sandbox/block_impl.rst| 39 ++
doc/arch/sandbox/index.rst | 12 +++
doc/arch/{ => sandbox}/sandbox.rst | 9 ++
Add some unit tests for this.
Signed-off-by: Simon Glass
---
test/dm/Makefile | 1 +
test/dm/host.c | 195 +
test/py/tests/fs_helper.py | 6 +-
test/py/tests/test_ut.py | 6 ++
4 files changed, 206 insertions(+), 2 deletions(-)
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-synched with v6.1-rc3.
arch/arm/dts/imx8mp-dhcom-pdk2.dts| 29 +-
arch/arm/dts/imx8mp-dhcom-som.dtsi| 20 +-
arch/arm/dts/imx8mp-evk.dts
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-synched with v6.1-rc3.
arch/arm/dts/imx8mm-beacon-baseboard.dtsi | 4 +-
arch/arm/dts/imx8mm-evk.dtsi | 43 +++
arch/arm/dts/imx8mm-icore-m
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-based after Adam's common imx8mn-u-boot device tree creation.
- Re-synched with v6.1-rc3.
arch/arm/dts/imx8mn-beacon-baseboard.dtsi | 4 +-
arch/arm/dts/imx8mn-evk.dtsi
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-synched with v6.1-rc3.
Changes in v2:
- imx8ulp: Re-added s400_mu device tree node.
arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 15 +-
arch/arm/dts/imx8ulp-evk.dts
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-synched with v6.1-rc3.
arch/arm/dts/imx8mq-evk.dts | 43 +++
arch/arm/dts/imx8mq-librem5-r3.dtsi | 45 +++
arch/arm/dts/imx8mq-librem5-r4.dts
From: Marcel Ziswiler
Migrate to using automatic build system included -u-boot.dtsi device
tree include files.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-named commit subject and re-worded commit message to indicate
migration to automatic build system included -u-boot.dtsi devic
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Note: Nowadays, the intent is for them regular device trees to just be
synchronised from them Linux kernel device trees and any and all U-Boot
specific changes need to go into the -u-boot.dtsi device tree include
files which BTW
From: Marcel Ziswiler
This series synchronises them imx device trees with the upstream Linux
kernel (v6.1-rc3). I split it into two parts. This is part 1.
It also fixes a few issues as discussed during/after the pre-mature
application of my first series [1].
I am not touching kontron-sl-mx6ul
From: Marcel Ziswiler
Synchronise device tree with linux v6.1-rc3.
Signed-off-by: Marcel Ziswiler
---
Changes in v4:
- Re-synched with v6.1-rc3 which now already contains the recent DDR
pinmux addition.
arch/arm/dts/vf610-pinfunc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
46 matches
Mail list logo