Add fastboot support for U-Boot proper
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 17 +
configs/imx8mm_evk_defconfig| 13 -
include/configs/imx8mm_evk.h| 14 ++
3 files changed, 43 insertions(+), 1 deletion(-)
diff
From: Sherry Sun
Convert the ci_udc driver to driver model by using the uclass
UCLASS_USB_GADGET_GENERIC. The clk and power of USB controller and USB
PHY both are initialized by parsing the device tree nodes.
If CONFIG_DM_USB_GADGET is defined, we use the ci_udc driver in DM way,
if it does not
Add optional clk for nop phy
Signed-off-by: Peng Fan
---
drivers/phy/nop-phy.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/phy/nop-phy.c b/drivers/phy/nop-phy.c
index a5eed20f3f..a1afdef736 100644
--- a/drivers/phy/nop-phy.c
+++
Add tcpc port and pd switch code board code
Add U-Boot specific dtsi property, we use nop-phy driver for the phy
Add relevant config options
Test:
u-boot=> usb start
starting USB...
Bus usb@32e4: USB EHCI 1.00
scanning bus usb@32e4 for devices... 2 USB Device(s) found
scanning usb
This driver is a modifed and cleaned-up version of drivers/usb/host/ehci-mx6.c,
it is to replace the original ehci-mx6.c driver.
It dropped the hardcoding code and only support driver model with
phy/clk/regulator/etc enabled.
The usbmisc code is handling "fsl,usbmisc" related driver code,
Enable usb power domain, we are not using a power domain driver now.
Currently NXP use a ARM SIP based power domain driver, but this has been
rejected by Linux Kernel, so we are thinking SCMI, however kernel stuff
still not settle down, to make uboot feature work, we directly use SIP
call for
From: Ye Li
The functionalities in this driver include:
1. USB power delivery support at dead battery
2. Support configure to UFP or DFP mode
3. Support callback to setup external PD switch. When PD process is enabled,
we call this function only when SINK_VBUS is enabled to avoid system power
This patchset is based on
https://patchwork.ozlabs.org/project/uboot/list/?series=202112
https://patchwork.ozlabs.org/project/uboot/list/?series=202117
In this patchset, A new pure DM USB driver was added to driver/use/imx
which will be used to hold i.MX DM USB stuff, the ehci-mx6.c will retire
Add dummy helper to enabling the header could be included when
DM REGULATOR not enabled.
Signed-off-by: Peng Fan
---
include/power/regulator.h | 114 ++
1 file changed, 114 insertions(+)
diff --git a/include/power/regulator.h b/include/power/regulator.h
When using cygwin64 "dd (coreutils) 8.26 Packaged by Cygwin (8.26-2)",
the last not 512bytes aligned data wat cut off and not burned into SD
card.
Saying the flash.bin size is 1085608 bytes, not 512bytes aligned. It only
burned 1085440 bytes, the leaving 168 bytes were not burnned and cause
boot
> Subject: Re: [PATCH 00/17] Add support for MMC higher speed modes for TI's
> am65x, j721e and j7200 platforms
>
> Hi Peng,
>
> On 08/10/20 10:42 am, Faiz Abbas wrote:
> > The following patches add support for higher speeds in the SD card and
> > eMMC for TI's am65x, j721e, j7200 platforms.
> >
Hi,
On 08/10/20 10:42 am, Faiz Abbas wrote:
> Add a set_voltage() function which handles the switch from 3.3V to 1.8V
> for SD card UHS modes.
>
> Signed-off-by: Faiz Abbas
> ---
Travisci is showing build issues for this patch with some boards. Will
fix and repost for v2.
Thanks,
Faiz
Hello Holger,
Am 09.10.2020 um 17:21 schrieb Holger Brunck:
Instead having a hard coded value for "cramfsaddr" after compile time,
we change it to take the variable "cramfsaddr" for the ubicopy variable.
This makes sure that ubicopy uses the right address, even when
the value for "cramfsaddr"
Hello Holger,
Am 09.10.2020 um 17:21 schrieb Holger Brunck:
Due to increasing kernel image sizes we get problems when decompressing
the kernel image. To fix this we need to change the addresses where we
load and where we extract the kernel. Also we need to adapt the address
where to load the
On Wed, 30 Sep 2020 at 02:22, mingming lee wrote:
>
> From: Mingming Lee
>
> add i2c dts node support for mt8512
>
> Signed-off-by: Mingming Lee
> ---
> arch/arm/dts/mt8512-bm1-emmc.dts | 12 ++
> arch/arm/dts/mt8512.dtsi | 38 +++-
> 2 files
On Wed, 30 Sep 2020 at 02:22, mingming lee wrote:
>
> From: Mingming Lee
>
> Enable MTK I2C
> Enable I2C basic command
>
> Signed-off-by: Mingming Lee
> ---
> configs/mt8512_bm1_emmc_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass
Please check that the sorting
On Tue, 6 Oct 2020 at 20:22, Naoki Hayama wrote:
>
> Fix some comments about functions.
> Move genimg_get_comp_name() above genimg_get_short_name() because
> genimg_get_comp_name() is related to get_table_entry_name().
>
> Signed-off-by: Naoki Hayama
> ---
>
> common/image.c | 20
On Sun, 4 Oct 2020 at 14:30, Sean Anderson wrote:
>
> Half of this driver is a DM-based timer driver, and half is RISC-V-specific
> IPI code. Move the timer portions in with the other timer drivers. The
> KConfig is not moved, since it also enables IPIs. It could also be split
> into two configs,
On Tue, 6 Oct 2020 at 14:40, Alper Nebi Yasak wrote:
>
> Found this by comparing it to the coreboot driver, a form of this call
> was introduced there in their commit b9a7877568cf ("rockchip/*: refactor
> edp driver"). This is copy-pasted from U-Boot's link_train_cr() slightly
> above it.
>
>
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> This header is necessary for the dev_xxx macros.
>
> Signed-off-by: Sean Anderson
> ---
>
> drivers/firmware/scmi/mailbox_agent.c | 1 +
> drivers/firmware/scmi/scmi_agent-uclass.c | 1 +
> drivers/firmware/scmi/smt.c | 1 +
On Wed, 7 Oct 2020 at 01:21, Rasmus Villemoes
wrote:
>
> This is primarily to add a test of the new "call" command, but we
> might as well add some very basic tests as well.
>
> Signed-off-by: Rasmus Villemoes
> ---
> configs/sandbox64_defconfig | 1 +
> configs/sandbox_defconfig | 1 +
>
Hi Rasmus,
On Mon, 5 Oct 2020 at 08:10, Rasmus Villemoes
wrote:
>
> Hi,
>
> I'm trying to keep our board in sync with upstream, but when trying to
> port it to v2020.10-rc4, the kernel verification fails:
>
> ## Loading kernel from FIT Image at 0300 ...
>Using 'conf-def.dtb'
On Tue, 6 Oct 2020 at 20:22, Naoki Hayama wrote:
>
> In show_valid_options(), this patch introduces checking whether
> a category has an entry ID. If not, adding it to a list for output
> is skipped before calling qsort().
> This patch will affect all kinds of image header categories
> (-A, -C,
On Wed, 30 Sep 2020 at 02:22, mingming lee wrote:
>
> From: Mingming Lee
>
> add bindings for mediatek i2c driver
Should indicate which version of linux this file comes from.
>
> Signed-off-by: Mingming Lee
> ---
> doc/device-tree-bindings/i2c/i2c-mtk.txt | 39
> 1
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> Necessary for dev_xxx.
>
> Signed-off-by: Sean Anderson
> ---
>
> drivers/timer/timer-uclass.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass
Also sorting the includes
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> The functions in log.h are already mostly documented, so add them to the
> generated documentation.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - Add % before constants in kerneldocs
> - Document log_level_t and
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This function exposes a way to specify flags when creating a filter.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> common/log.c | 6 --
> include/log.h | 29 +++--
> 2 files changed, 31
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This reduces duplicate code, and makes adding new sub-commands easier.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> cmd/log.c | 37 +++--
> 1 file changed, 7 insertions(+), 30
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This is the compliment of the existing behavior to match only messages with
complement
> a log level less than a threshold. This is primarily useful in conjunction
> with LOGFF_DENY.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> Without this flag, log filters can only explicitly accept messages.
> Allowing denial makes it easier to filter certain subsystems. Unlike
> allow-ing filters, deny-ing filters are added to the beginning of the
> filter list. This should do
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This is probably what a typical user is least interested in. Move it to the
> end of the description.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> cmd/log.c | 10 +-
> 1 file changed, 5 insertions(+), 5
On Thu, 8 Oct 2020 at 12:51, Heinrich Schuchardt wrote:
>
> When building on a 32bit host the following warning occurs:
>
> tools/image-host.c: In function ‘fit_image_read_data’:
> tools/image-host.c:296:56: warning: format ‘%ld’ expects argument of
> type ‘long int’, but argument 3 has type
Hi Marek,
On Sun, 11 Oct 2020 at 10:03, Marek Vasut wrote:
>
> Add another flag to the DM core which could be assigned to drivers and
> which makes those drivers call their remove callbacks last, just before
> booting OS and after all the other drivers finished with their remove
> callbacks.
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This tests log filters matching on a minimum level.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> test/log/log_test.c | 23 +++
> test/py/tests/test_log.py | 5 +
> 2 files changed, 28
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This makes the log level command print all valid log levels. The default
> log level is annotated. This provides an easy way to see which log levels
> are compiled-in.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - New
>
>
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> These functions are required by "cmd: log: Add commands to manipulate
> filters" and "test: Add a test for log filter-*".
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - Expose log_has_cat and log_has_file for filter tests
>
>
On Sat, 10 Oct 2020 at 02:28, Heiko Schocher wrote:
>
> split from env_import_redund() the part which checks
> which Environment is valid into a separate function
> called env_check_redund() and call it from env_import_redund().
>
> So env_check_redund() can be used from places which also
> need
On Wed, 7 Oct 2020 at 01:21, Rasmus Villemoes
wrote:
>
> Currently, the only way to emulate functions with arguments in the
> U-Boot shell is by doing "foo=arg1; bar=arg2; run func" and having
> "func" refer to $foo and $bar. That works, but is a bit clunky, and
> also suffers from foo and bar
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This adds several commands to add, list, and remove log filters. Due to the
> complexity of adding a filter, `log filter-list` uses options instead of
> positional arguments.
>
> These commands have been added as subcommands to log by using a
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This exercises a few success and failure modes of the log filter-*
> commands. log filter-list is not tested because it's purely informational.
> I don't think there's a good way to test it except by testing if the output
> of the command
On Sun, 11 Oct 2020 at 06:22, Dario Binacchi wrote:
>
> The previous version of am335x-fb.c contained the functionalities of two
> drivers that this patch has split. It was a video type driver that used
> the same registration compatible string that now registers a panel type
> driver. The proof
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This updates logging documentation with some examples of the new commands
> added in the previous commits. It also removes some items from the to-do
> list which have been implemented.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This allows users to query which categories and drivers are available on
> their system. This allows them to construct filter-add commands without
> (e.g.) adjusting the log format to show categories and drivers.
>
> Signed-off-by: Sean
On Sun, 11 Oct 2020 at 06:27, Dario Binacchi wrote:
>
> Replace 'a the' with 'the' in include/dm/device.h.
>
> Signed-off-by: Dario Binacchi
> ---
>
> include/dm/device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass
On Mon, 5 Oct 2020 at 00:35, Heinrich Schuchardt wrote:
>
> Add the missing Sphinx documentation for struct global_data and
> gd_board_type().
>
> Signed-off-by: Heinrich Schuchardt
> ---
> v3:
> Avoid duplicate comments: comments replaced by Sphinx documentation
> should be
On Tue, 6 Oct 2020 at 20:21, Naoki Hayama wrote:
>
> Add a generic function which can check whether a category has an
> entry ID.
>
> Signed-off-by: Naoki Hayama
> ---
>
> common/image.c | 18 ++
> include/image.h | 9 +
> 2 files changed, 27 insertions(+)
>
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> Move parsing of log level into its own function so it can be re-used. This
> also adds support for using log level names instead of just the integer
> equivalent.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - Print an error
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> Now that linux/compat.h does not define these macros, we do not need to
> undefine them.
>
> Signed-off-by: Sean Anderson
> ---
>
> include/dm/device_compat.h | 20
> 1 file changed, 20 deletions(-)
>
Reviewed-by: Simon
On Sun, 4 Oct 2020 at 14:30, Sean Anderson wrote:
>
> This matches the naming scheme of other timer drivers.
>
> Signed-off-by: Sean Anderson
> ---
>
> arch/riscv/cpu/ax25/Kconfig | 2 +-
> drivers/timer/Kconfig | 2 +-
> drivers/timer/Makefile | 2 +-
> 3 files changed, 3
On Sat, 10 Oct 2020 at 13:44, Sean Anderson wrote:
>
> This adds some tests for log filters which deny if they match.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> test/log/log_test.c | 69 +++
> test/py/tests/test_log.py | 21
On Sat, 10 Oct 2020 at 13:43, Sean Anderson wrote:
>
> Checkpatch complains about using #ifdef for CONFIG variables.
>
> Signed-off-by: Sean Anderson
> ---
>
> (no changes since v1)
>
> cmd/log.c | 4 ++--
> test/log/log_test.c | 2 +-
> 2 files changed, 3 insertions(+), 3
On Fri, 9 Oct 2020 at 15:44, Heinrich Schuchardt wrote:
>
> Without resizing the SDL window showed by
>
> ./u-boot -D -l
>
> is not legible on a high resolution screen.
>
> Allow resizing the window
>
> Signed-off-by: Heinrich Schuchardt
> ---
> v2:
> Do not maximize the window.
>
On Sat, 10 Oct 2020 at 02:28, Heiko Schocher wrote:
>
> Enable the new Kconfig option ENV_SPI_EARLY if you want
> to use Environment in SPI flash before relocation.
> Call env_init() and than you can use env_get_f() for
> accessing Environment variables.
>
> Signed-off-by: Heiko Schocher
> ---
>
On Sat, 10 Oct 2020 at 13:43, Sean Anderson wrote:
>
> Without every category between LOGC_NONE and LOGC_COUNT present in
> log_cat_name, log_get_cat_by_name will dereference NULL pointers if it
> doesn't find a name early enough.
>
> Fixes: c3aed5db59 ("sandbox: spi: Add more logging")
> Fixes:
On Wed, 7 Oct 2020 at 07:40, Michal Simek wrote:
>
> Don't know reason but in regular flow addr_hi/low are swapped in ATF. It
> means when fpga load is done from EL3 there is a need to swap it for PMUFW
> to load bitstream.
>
> Signed-off-by: Michal Simek
> ---
>
>
On Wed, 7 Oct 2020 at 07:39, Pali Rohár wrote:
>
> This change fixes two issues when building u-boot-nodtb.bin target:
>
> * Remove intermediate binary u-boot-nodtb.bin from disk when static_rela
> call (which modifies u-boot-nodtb.bin binary) failed. It is required
> because previous objcopy
On Thu, 8 Oct 2020 at 12:53, Heinrich Schuchardt wrote:
>
> Remove initialization of ret with unused value.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> lib/rsa/rsa-verify.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass
On Wed, 7 Oct 2020 at 01:21, Rasmus Villemoes
wrote:
>
> A later patch will add handling of $1 through $9 as well as $#, using
> the same SPECIAL_VAR_SYMBOL handling as is currently used for $?. So
> move that case to an explicit #ifdef __U_BOOT__ branch, and
> consolidate a few of the #ifndef
On Sat, 10 Oct 2020 at 13:43, Sean Anderson wrote:
>
> Both these arrays and their members are const. Fixes checkpatch complaint.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - New
>
> common/log.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon
On Mon, 5 Oct 2020 at 02:53, Michal Simek wrote:
>
> SPL is creating fit-images DT node when loadables are recorded in selected
> configuration. Entries which are created are using entry-point and
> load-addr property names. But there shouldn't be a need to use non standard
> properties because
On Tue, 29 Sep 2020 at 08:18, Sean Anderson wrote:
>
> This adds a test for the various methods of extracting ram_base and
> ram_size from a device tree.
>
> Signed-off-by: Sean Anderson
> ---
>
> arch/sandbox/dts/test.dts | 12 ++
> configs/sandbox64_defconfig| 2 +-
>
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> All users of these functions now include dm/device_compat.h directly.
>
> Signed-off-by: Sean Anderson
> ---
>
> include/linux/compat.h | 28
> 1 file changed, 28 deletions(-)
>
Reviewed-by: Simon Glass
On Mon, 5 Oct 2020 at 02:53, Michal Simek wrote:
>
> The commit 9f45aeb93727 ("spl: fit: implement fdt_record_loadable") which
> introduced fdt_record_loadable() state there spl_fit.c is not 64bit safe.
> Based on my tests on Xilinx ZynqMP zcu102 platform there shouldn't be a
> problem to record
On Sun, 4 Oct 2020 at 14:29, Sean Anderson wrote:
>
> This is a regular timer driver, and should live with the other timer
> drivers.
>
> Signed-off-by: Sean Anderson
> ---
>
> MAINTAINERS| 1 +
> arch/riscv/Kconfig
On Wed, 7 Oct 2020 at 12:37, Sean Anderson wrote:
>
> This adds kerneldocs for .
>
> I don't know who should maintain doc/api/timer.rst, since the timer
> subsystem seems to be maintained by SoC maintainers. MAINTAINERS is left
> un-updated for the moment.
>
> Signed-off-by: Sean Anderson
> ---
On Wed, 30 Sep 2020 at 02:22, mingming lee wrote:
>
> From: Mingming Lee
>
> add Mediatek i2c controller driver to ARM MEDIATEK.
>
> Signed-off-by: Mingming Lee
> ---
> MAINTAINERS | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Simon Glass
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> We call log_debug, but do not have a category set.
>
> Signed-off-by: Sean Anderson
> ---
>
> drivers/core/syscon-uclass.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Simon Glass
On Tue, 29 Sep 2020 at 08:18, Sean Anderson wrote:
>
> This is very similar to fdtdec_setup_mem_size_base_lowest, except we pick
> the highest ram bank, instead of the lowest. This is helpful for boards
> which use separate but contiguous ram banks, as it leaves the most space
> for loading
On Sun, 4 Oct 2020 at 19:40, Sean Anderson wrote:
>
> Necessary for dev_xxx.
>
> Signed-off-by: Sean Anderson
> ---
>
> drivers/tee/optee/core.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass
Hi Heinrich,
On Wed, 30 Sep 2020 at 16:59, Heinrich Schuchardt wrote:
>
> In the UEFI context we use colored output. When printing truetype letters
> we have to interpolate the pixel color between the foreground and
> background color according to the gray value of the font pixel.
>
> We could
Hi Tom,
Thanks for the review.
> -Original Message-
> From: Tom Rini
> Sent: Thursday, October 8, 2020 11:52 PM
> To: ChiaWei Wang
> Cc: Ryan Chen ; max...@google.com;
> u-boot@lists.denx.de; BMC-SW
> Subject: Re: [PATCH 0/2] Refactor AST2500 reset control
>
> On Thu, Oct 08, 2020 at
Hi Peng,
On 08/10/20 10:42 am, Faiz Abbas wrote:
> The following patches add support for higher speeds in the SD card and
> eMMC for TI's am65x, j721e, j7200 platforms.
>
> After these patches j721e and j7200 will support ultra high speed while
> am65x will support upto high speed modes.
>
>
The System Control Unit (SCU) controller of Aspeed
SoCs provides the reset control for each peripheral.
This patch refactors the reset method to leverage
the SCU reset control. Thus the driver dependency
on watchdog including dedicated WDT API and reset
flag encoding can be eliminated.
The
This patch series refactors the reset method to use the
System Control Unit (SCU) reset control for simplicity.
In addition, the naming of reset driver and Kconfig
option is also refined for future consistency.
v2:
- Rebase patches to fix conflict
Chia-Wei, Wang (2):
reset: ast2500:
1. Rename AST2500 reset driver from ast2500-reset.c
to reset-ast2500.c
2. Rename AST2500 reset kconfig option from AST2500_RESET
to RESET_AST2500
Signed-off-by: Chia-Wei, Wang
---
drivers/reset/Kconfig | 2 +-
drivers/reset/{ast2500-reset.c => reset-ast2500.c}
On Sun, Sep 27, 2020 at 09:55:34AM -0600, Simon Glass wrote:
> At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file
> (before log.h inclusion) causes _log() to be executed for every log()
> call, regardless of the build- or run-time logging level.
>
> However there is no
On Sat, Sep 12, 2020 at 12:28:48PM -0600, Simon Glass wrote:
> This is not needed as the Makefile only builds the file if CONFIG_LOG_TEST
> is enabled. Drop it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sat, Sep 12, 2020 at 12:28:49PM -0600, Simon Glass wrote:
> At present all log devices are enabled by default. Add a function to allow
> devices to be disabled or enabled at runtime.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
On Mon, Sep 14, 2020 at 10:12:19AM +0200, Heinrich Schuchardt wrote:
> doc/README.log was already moved to doc/develop/logging.rst but has been
> recreated by an incorrect merge.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
On Sat, Sep 12, 2020 at 12:28:50PM -0600, Simon Glass wrote:
> This driver interferes with other sandbox tests since it causes log output
> to be interspersed with "No ethernet found." messages. Disable this driver
> by default.
>
> Enable it for the syslog tests so that they still pass.
>
>
On Sat, Sep 12, 2020 at 05:45:44PM -0400, Sean Anderson wrote:
> Since the previous patch, net_init now exposes some errors, so check for
> them.
>
> Signed-off-by: Sean Anderson
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sat, Sep 12, 2020 at 05:45:43PM -0400, Sean Anderson wrote:
> net_init does not always succeed, and there is no existing mechanism to
> discover errors. This patch allows callers of net_init (such as net_init)
> to handle errors. The root issue is that eth_get_dev can fail, but
> net_init_loop
On Sat, Sep 12, 2020 at 11:13:34AM -0600, Simon Glass wrote:
> At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file
> (before log.h inclusion) causes _log() to be executed for every log()
> call, regardless of the build- or run-time logging level.
>
> However there is no
On Sat, Sep 12, 2020 at 12:28:47PM -0600, Simon Glass wrote:
> At present there is no way to disable a log driver. But the syslog driver
> causes (attempted) network traffic in sandbox every time a log message
> is printed, which is often.
>
> Add a flag to enable a log driver. Adjust struct
On Sat, Sep 12, 2020 at 11:13:35AM -0600, Simon Glass wrote:
> It is sometimes useful to output hex dumps in SPL. Add a config option to
> allow this.
>
> Signed-off-by: Simon Glass
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
Signed-off-by: Du Huanpeng
---
arch/mips/dts/Makefile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile
index dc85901..c07bbc5 100644
--- a/arch/mips/dts/Makefile
+++ b/arch/mips/dts/Makefile
@@ -1,8 +1,7 @@
#
Hi Simon,
On Sun, 19 Jul 2020 13:55:58 -0600
Simon Glass wrote:
> Add a simple binman config and enable CONFIG_HAS_ROM so that U-Boot
> produces a ROM for bob.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v4:
> - Use CONFIG_ROCKCHIP_SPI_IMAGE to select the image
>
>
Add another flag to the DM core which could be assigned to drivers and
which makes those drivers call their remove callbacks last, just before
booting OS and after all the other drivers finished with their remove
callbacks. This is necessary for things like clock drivers, where the
other drivers
Once all the other drivers got torn down in preparation for the OS
to start, tear down the clock controller last. The clock controller
must be torn down last as some of the clock which get turned off
might have still been needed during the teardown stage of the other
drivers.
Signed-off-by: Marek
Synchronize Gen2 MSTP teardown tables with datasheet Rev.2.00
Feb 01, 2016. This corrects the following bits:
- added H2 MSTP3[10] SCIF2
- added H2/M2/E2 MSTP7[29] TCON
- removed E2 MSTP5[22] Thermal Sensor
- removed E2 MSTP10[31,24:22] SRC0, SRC7:9
Signed-off-by: Marek Vasut
Cc:
The clock driver used a heavy-handed approach where it turned off
all available clocks, while also possibly setting bits which are not
documented in the R-Car datasheet. Update the tables so that only
the bits which are documented are set or cleared when tearing down
the clock driver.
Note that
Hi François,
On Sun, Oct 11, 2020 at 12:27 PM François Perrad
wrote:
> In interactive mode, I found a mismatch with ftdfile.
> Now, it works.
> And I could update MX6 Cubox on Buildroot.
Excellent, just saw your Buildroot fix, thanks!
Le dim. 11 oct. 2020 à 16:18, Fabio Estevam a écrit :
> Hi François,
>
> On Sun, Oct 11, 2020 at 5:08 AM François Perrad
> wrote:
>
> > After changing the 3 occurrences of "mmc 0:1",the fdt file and kernel
> are not correctly loaded.
> > (nothing happens after the message "Starting kernel ...")
Hi François,
On Sun, Oct 11, 2020 at 5:08 AM François Perrad
wrote:
> After changing the 3 occurrences of "mmc 0:1",the fdt file and kernel are not
> correctly loaded.
> (nothing happens after the message "Starting kernel ...")
>
> Here the full log :
>
> U-Boot SPL 2020.07 (Oct 11 2020 -
The series was born from the need to manage the PWM backlight of the
display connected to my beaglebone board. To hit the target, I had to
develop drivers for PWM management which in turn relied on drivers for
managing timers and clocks, all developed according to the driver model.
My intention
For levels equal to the maximum value, the duty cycle must be equal to
the period.
Signed-off-by: Dario Binacchi
Reviewed-by: Simon Glass
---
drivers/video/pwm_backlight.c | 2 +-
test/dm/panel.c | 12 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git
As suggested by Grygorii Strashko I have removed these patches from the
'Add DM support for omap PWM backlight' series and grouped them into
this one. One of the two patches has already been reviewed by Simon Glass.
Dario Binacchi (2):
video: backlight: fix pwm data structure description
The description of the 'max_level' field was incorrectly assigned to the
'min_level' field.
Signed-off-by: Dario Binacchi
---
drivers/video/pwm_backlight.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c
index
On 10/11/20 8:13 AM, Dario Binacchi wrote:
> It returns the rate which will be set if you ask clk_set_rate() to set
> that rate. It provides a way to query exactly what rate you'll get if
> you call clk_set_rate() with that same argument.
> So essentially, clk_round_rate() and clk_set_rate() are
Replace 'a the' with 'the' in include/dm/device.h.
Signed-off-by: Dario Binacchi
---
include/dm/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/dm/device.h b/include/dm/device.h
index ac3b6c1b8a..993c9e6c5a 100644
--- a/include/dm/device.h
+++
1 - 100 of 137 matches
Mail list logo