timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_aclint_timer.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/timer/riscv_aclint_timer.c
b/drivers/timer/riscv_aclint_t
This adds to support bootstage for risc-v. timer_get_boot_us function
is required to record each boot stages with microsecond timestamp.
Chanho Park (3):
riscv: bootstage: correct bootstage_report guard
riscv: timer: add timer_get_boot_us for BOOTSTAGE
timer: riscv_aclint_timer: add timer_ge
Below warning can be occurred when CONFIG_BOOTSTAGE and
!CONFIG_SPL_BOOTSTAGE. It should be guarded by using CONFIG_IS_ENABLED
for SPL build.
arch/riscv/lib/bootm.c:46:9: warning: implicit declaration of
function 'bootstage_report'
46 | bootstage_report();
| ^~
timer_get_boot_us function is required to record the boot stages as
us-based timestamp.
Signed-off-by: Chanho Park
---
drivers/timer/riscv_timer.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/timer/riscv_timer.c b/drivers/timer/riscv_timer.c
index 3627ed79b8
The cn9130.dtsi defines a pinctrl node for SPI1 (until recently it was
mislabeled as spi0). Use this instead of having a duplicate definition
with a different label.
Signed-off-by: Chris Packham
---
arch/arm/dts/cn9130-crb.dtsi | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff -
The CN9130-DB uses the SPI1 interface but had the pinctrl node labelled
as "cp0_spi0_pins". Use the label "cp0_spi1_pins" and update the node
name to "cp0-spi-pins-1" to avoid confusion with the pinctrl options for
SPI0.
Signed-off-by: Chris Packham
---
arch/arm/dts/cn9130-db.dtsi | 2 +-
arch/
Nodes with bootph-pre-sram/ram props are bound in multiple phases:
1. At TPL (bootph-pre-sram) or SPL (bootph-pre-ram) phase
2. At U-Boot proper pre-relocation phase
3. At U-Boot proper normal phase
However the binding and U-Boot Driver Model documentation indicate that
only nodes marked with boot
On Sat, 12 Aug 2023 at 21:32, Marek Vasut
wrote:
>
> The pinctrl-single driver uses %pa to print register value
> in its single_get_pin_muxing() output. Handle this properly
> in the test based on CONFIG_PHYS_64BIT .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> test/dm/pinmux.
On Sat, 12 Aug 2023 at 18:16, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> SPI NOT bootdev. This fixes ut_bootstd_bootdev_test_cmd_hunt test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Mario Six
> Cc: Simon Glass
> ---
> configs/sandbox64_defco
On Sat, 12 Aug 2023 at 19:18, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Increase the
> console record size. This fixes ut_bootstd_bootflow_cmd_scan_e .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Mario Six
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig
On Sat, 12 Aug 2023 at 20:57, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> MC34708 PMIC driver. This fixes ut_dm_dm_test_power_pmic_mc34708_get test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig | 1
On Sat, 12 Aug 2023 at 21:06, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> BUTTON ADC driver. This fixes ut_dm_dm_test_button_keys_adc test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig | 1 +
> 1 fi
On Sat, 12 Aug 2023 at 21:32, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> PINCTRL single driver. This fixes ut_dm_dm_test_pinctrl_single test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig | 1 +
> 1
On Sat, 12 Aug 2023 at 23:15, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> 16bpp and 24bpp video support. This fixes ut_dm_dm_test_video_bmp16
> and ut_dm_dm_test_video_bmp24 tests .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
>
On Sat, 12 Aug 2023 at 23:15, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> 12x22 font support. This fixes ut_dm_dm_test_video_text_12x22 test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig | 1 +
> 1
On Sun, 13 Aug 2023 at 13:50, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> CCF and Sandbox CCF drivers. This fixes ut_dm_dm_test_clk_ccf test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defconfig | 2 ++
> 1
On Sun, 13 Aug 2023 at 13:52, Marek Vasut
wrote:
>
> Align the sandbox64 defconfig with sandbox defconfig. Enable missing
> PCI register multi-entry support. This fixes ut_dm_dm_test_pci_bus_to_phys
> test .
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Simon Glass
> ---
> configs/sandbox64_defcon
On Sun, 13 Aug 2023 at 13:52, Marek Vasut
wrote:
>
> Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64
> the same way drivers/cpu/cpu_sandbox.c does, that is in case
> CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else
> assume 32bit address width. This fixes ut_dm_dm_tes
On 8/20/23 21:23, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 22:10:17 GMT+03:00, Marek Vasut написав(-ла):
On 8/20/23 20:32, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 21:14:15 GMT+03:00, Marek Vasut написав(-ла):
On 8/20/23 09:13, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 05:23:14 GMT+03:0
20 серпня 2023 р. 22:10:17 GMT+03:00, Marek Vasut написав(-ла):
>On 8/20/23 20:32, Svyatoslav Ryhel wrote:
>> 20 серпня 2023 р. 21:14:15 GMT+03:00, Marek Vasut
>> написав(-ла):
>>> On 8/20/23 09:13, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 05:23:14 GMT+03:00, Marek Vasut
написав(
On 8/20/23 20:32, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 21:14:15 GMT+03:00, Marek Vasut написав(-ла):
On 8/20/23 09:13, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 05:23:14 GMT+03:00, Marek Vasut написав(-ла):
On 8/19/23 17:06, Svyatoslav Ryhel wrote:
Some devices (like ASUS TF201) may no
Add acknowledgments for porting and modifying the script. Of course, the
license, author, and copyright notice remain the same as in the original
script.
Signed-off-by: Joao Marcos Costa
---
scripts/gen_compile_commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/gen_compile_c
The referred tool is now in U-Boot. Replace "the Linux kernel" by
"U-Boot" to make the docstring coherent.
Signed-off-by: Joao Marcos Costa
---
scripts/gen_compile_commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compil
For U-Boot's context, the regular expression defined by _LINE_PATTERN
should be adapted. Replace 'savedcmd' by 'cmd'.
Signed-off-by: Joao Marcos Costa
---
scripts/gen_compile_commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/gen_compile_commands.py b/scripts
This script generates a database of compiler flags, namely
compile_commands.json. It is quite useful for text editors that use
clangd LSP (e.g. Vim, Neovim).
It was ported from Linux's sources:
- tag: v6.4
- revision 6995e2de6891c724bfeb2db33d7b87775f913ad1
Modifications for U-Boot compatibility
Hello U-Boot community,
I'm submitting a patch series that ports the gen_compile_commands.py
script from the Linux kernel's sources to U-Boot. This script, originally
located in scripts/clang-tools/gen_compile_commands.py, enables the
generation of compile_commands.json files for improved code nav
20 серпня 2023 р. 21:14:15 GMT+03:00, Marek Vasut написав(-ла):
>On 8/20/23 09:13, Svyatoslav Ryhel wrote:
>> 20 серпня 2023 р. 05:23:14 GMT+03:00, Marek Vasut
>> написав(-ла):
>>> On 8/19/23 17:06, Svyatoslav Ryhel wrote:
Some devices (like ASUS TF201) may not have fuse based xcvr setup
>>
On 8/20/23 09:13, Svyatoslav Ryhel wrote:
20 серпня 2023 р. 05:23:14 GMT+03:00, Marek Vasut написав(-ла):
On 8/19/23 17:06, Svyatoslav Ryhel wrote:
Some devices (like ASUS TF201) may not have fuse based xcvr setup
which will result in not working USB line. To fix this situation
allow xcvr setu
On Sun, Aug 20, 2023 at 11:49:21AM -0600, Simon Glass wrote:
> Hi,
>
> The deadline has passed for the non-driver model SCSI code. The boards
> below still have this enabled:
>
> $ ./tools/moveconfig.py -f SCSI ~DM_SCSI
> controlcenterdc am57xx_hs_evm_usb ls1088ardb_sdcard_qspi_SECURE_BOOT
> ls10
On Sun, Aug 20, 2023 at 11:49:21AM -0600, Simon Glass wrote:
> Hi,
>
> The deadline has passed for the non-driver model SCSI code. The boards
> below still have this enabled:
>
> $ ./tools/moveconfig.py -f SCSI ~DM_SCSI
> controlcenterdc am57xx_hs_evm_usb ls1088ardb_sdcard_qspi_SECURE_BOOT
> ls10
Hi,
The deadline has passed for the non-driver model SCSI code. The boards
below still have this enabled:
$ ./tools/moveconfig.py -f SCSI ~DM_SCSI
controlcenterdc am57xx_hs_evm_usb ls1088ardb_sdcard_qspi_SECURE_BOOT
ls1046ardb_sdcard_SECURE_BOOT ls1021atsn_qspi ls1021atsn_sdcard
highbank ls1021at
Hi Heinrich,
On Sun, 20 Aug 2023 at 04:00, Heinrich Schuchardt wrote:
>
> On 8/19/23 23:22, Simon Glass wrote:
> > When booted from coreboot, U-Boot does not build the SMBIOS tables, but
> > it should still pass them on to the OS. Add a new option which indicates
> > whether SMBIOS tables are pre
On Sat, 19 Aug 2023 at 08:24, Marek Vasut wrote:
>
> Switch sandbox to DM_USB_GADGET, DM is the future.
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Angus Ainslie
> Cc: Dmitrii Merkurev
> Cc: Eddie Cai
> Cc: Kever Yang
> Cc: Lukasz Majewski
> Cc: Miquel Raynal
> Cc: Mattijs Korpershoek
> Cc:
On Sat, 19 Aug 2023 at 08:24, Marek Vasut wrote:
>
> Remove local usb_gadget_register_driver()/usb_gadget_unregister_driver()
> implementation which is implemented in udc-core.c instead if DM_USB_GADGET
> is enabled. Add no-op dm_usb_gadget_handle_interrupts() implementation.
>
> Signed-off-by: Ma
On Sun, Aug 20, 2023 at 03:43:28AM +0200, Marek Vasut wrote:
> The following changes since commit a5899cc69a99379f01e8e2f9f98e0e09b24f1656:
>
> Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog (2023-08-10
> 11:40:09 -0400)
>
> are available in the Git repository at:
>
> https
On Sat, Aug 19, 2023 at 05:54:25AM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit e34efcf51df86eb2b07d9deb171596940586c666:
>
> rockchip: rk3566-anbernic-rgxx3: Rename defconfig to include SoC name
> (2023-08-18 10:25:03 -0400)
>
> are available in the Gi
- We have added more TODO/etc comments since this task was created and
never focused on removing them.
- The output of sloccount isn't preserved or looked at, and if desired
should be in the release stats pages instead somehow.
- The results of cppcheck aren't investigated and require modeling
These jobs are to confirm specific build targets, on a Linux host. We
can safely combine these two build tests, with a make mrproper in
between.
Signed-off-by: Tom Rini
---
.azure-pipelines.yml | 13 ++---
.gitlab-ci.yml | 12
2 files changed, 6 insertions(+), 19 dele
Now that we have 3600 minutes per build job, condense and rework things
such that our overall time largely doesn't change, but we can also
largely avoid having to re-tweak this job to avoid timeouts. Given that
we have 10 threads, we also move a few of the specific sandbox test
builds to a prior s
As per current Azure Pipelines documentation we qualify for 3600 minutes
per job, if specified, as the timeout. The default unspecified timeout
is 60 minutes. Rework things to specify 0 as the timeout (and so maximum
allowed) so that we don't have failures due to running slightly past 60
minutes to
The patch removes the legacy mode of displaying the ST logo and adopts
the approach introduced by the commit 284b08fb51b6 ("board: stm32mp1: add
splash screen with stmicroelectronics logo"). It was necessary to use a
specific logo for the stm32f746-disco board.
Furthermore, the previous version di
The patch fixes the y-resolution, which was causing the creation of a
framebuffer larger than actually needed, resulting in memory waste.
Fixes: cc1b0e7b8e55b ("board: Add display to STM32F746 SoC discovery board")
Signed-off-by: Dario Binacchi
---
configs/stm32f746-disco_defconfig | 2 +-
From: Frank Wunderlich
Add Bananapi R2 Pro board.
Till now evb dts could be used, but iodomain is different
(evb has 1v8 on vccio2 and vccio4 which are 3v3 on r2pro)
and with iodomain driver this can cause hardware fault.
Devicetree in mainline-Linux:
https://git.kernel.org/pub/scm/linux/kernel
On 8/19/23 23:22, Simon Glass wrote:
When booted from coreboot, U-Boot does not build the SMBIOS tables, but
it should still pass them on to the OS. Add a new option which indicates
whether SMBIOS tables are present, however they were built.
Flip the ordering so that the dependency is listed fir
On 19/08/2023 15:39, Marek Vasut wrote:
> Clean the function up a bit further. Return immediatelly on match
> and return ARRAY_SIZE() - 1 on failure. Add proper comment in that
> case.
>
> Signed-off-by: Marek Vasut
> ---
> Cc: Biju Das
> Cc: Paul Barker
> ---
> arch/arm/mach-rmobile/cpu_info.
20 серпня 2023 р. 05:23:14 GMT+03:00, Marek Vasut написав(-ла):
>On 8/19/23 17:06, Svyatoslav Ryhel wrote:
>> Some devices (like ASUS TF201) may not have fuse based xcvr setup
>> which will result in not working USB line. To fix this situation
>> allow xcvr setup to be performed from device tree v
46 matches
Mail list logo