Hello Pankaj,
The requirement of LX2160ARD, LX2160AQDS has been taken care by the patch
http://patchwork.ozlabs.org/patch/867403/ in upstream u-boot.
Regards
Priyanka
From: Pankaj Bansal
Sent: Friday, August 3, 2018 12:09 PM
To: joe.hershber...@ni.com; u-boot
Cc: Varun Sethi ; Priyanka Jain
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v2: None
include/linux/bitrev.h | 102 -
lib/bitrev.c | 28 +-
2 files changed, 102 insertions(+), 28 deletions(-)
diff --git a/include/linux/bitrev.h
Imply CONFIG_BITREVERSE for Sandbox.
Signed-off-by: Bin Meng
---
Changes in v2:
- Change to imply in the Kconfig
arch/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index bf1b4a9..11900b0 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -78,6 +78,7 @@
On 2.8.2018 22:37, Simon Glass wrote:
> On 26 July 2018 at 08:16, Michal Simek wrote:
>> Not all 4 fpga loadmk FIT image commands
>
> I don't understand this. Can you explain what you mean?
hm not sure why I have written this short commit message.
Maybe I wanted to extend it later when I was
Hi All,
I have a query about phy devices that implement phy identification registers at
non-standard locations.
The IEEE 802.3 specifies these registers as phy ID registers:
22.2.4.3.1 PHY Identifier (Registers 2 and 3)
Registers 2 and 3 provide a 32-bit value, which shall constitute a unique
The documentation in regmap.h is not in kernel-doc format. Correct this.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
include/regmap.h | 48 +++-
1 file
It would be convenient if one could use the regmap API in conjunction
with register maps defined as structs (i.e. structs that directly mirror
the memory layout of the registers in question). A similar approach was
planned with the regmap_write32/regmap_read32 macros, but was never
used.
Hence,
Add some debug output in cases where the initialization of a regmap
fails.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
drivers/core/regmap.c | 10 --
1 file changed, 8 insertions(+), 2
Currently only devfn is extracted in child_post_bind(). Now that
we have the live-tree version API to look up PCI vendor and device
id from the compatible string, let's extract and save them too.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
These macros should not be put in the generic pci.h header file.
Since they are not referenced anywhere, remove them completely.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3:
- Change commit title to use "440ep-specific"
Changes in v2: None
include/pci.h | 15
This fixes several bugs in dm pci driver, as well as updating test
cases running on Sandbox to test dm pci.
It turns out adding test cases for v1 (3 commits) reveals more design
limitations/bugs of sandbox pci driver. Now the v2/v3 series contains
20+ patches!
This series is available for
This introduces two new APIs dm_pci_find_capability() and
dm_pci_find_ext_capability() to get PCI capability address and
PCI express extended capability address for a given PCI device.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Mask header_type
With struct pci_device_id, it's possible to pass a driver data for
bound driver to use. This adds a test case for this functionality.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/pci.c | 17 +
1 file changed, 17
This adds a U_BOOT_PCI_DEVICE() declaration to the swap_case driver.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/include/asm/test.h | 4
drivers/misc/swap_case.c| 7 +++
2 files changed, 11 insertions(+)
diff
On Fri, Aug 3, 2018 at 1:57 PM, Miquel Raynal wrote:
> Hi Jagan, Tom,
>
> Miquel Raynal wrote on Wed, 1 Aug 2018
> 10:18:21 +0200:
>
>> During the last months, Boris Brezillon shared his work to support
>> serial flashes within Linux. First, he delivered (and merged) a new
>> layer called
Hi Vikas
On 08/03/2018 02:48 AM, Vikas Manocha wrote:
> Hi Patrice,
>
> On 08/02/2018 05:18 AM, Patrice Chotard wrote:
>> Commit 1473b12ad0b3 ("lib: fdtdec: Update ram_base to store ram start
>> adddress") brings regression on STM32F7 which can't boot.
>>
>> Use fdtdec_setup_mem_size_base() to
Since commit bfea69ad2793 ("stm32f7: sdram: correct sdram
configuration as per micron sdram"), CONFIG_SYS_RAM_FREQ_DIV
flag is no more used, remove it.
Signed-off-by: Patrice Chotard
---
include/configs/stm32f429-discovery.h | 1 -
include/configs/stm32f429-evaluation.h | 1 -
Add support for generation of unique MAC address
that is derived from board serial.
Algorithm for generation of MAC taken from LK.
Signed-off-by: Ramon Fried
---
arch/arm/mach-snapdragon/include/mach/misc.h | 1 +
arch/arm/mach-snapdragon/misc.c | 16
2 files
Change the way MAC address fixup is done:
1. Stop using LK handed device-tree and calculate
the MAC address our own.
2. Allow overriding the generated MACS with environment variables:
"wlanaddr" and "btaddr".
Signed-off-by: Ramon Fried
---
.../dragonboard410c/dragonboard410c.c |
This commit adds a function to get the board
serial number.
In snapdragon it's actually the eMMC serial number.
Function added in a new file misc.c that will
include further snapdragon miscellaneous functions.
Signed-off-by: Ramon Fried
---
arch/arm/mach-snapdragon/Makefile| 1 +
Hi Anatolij,
On Thu, Aug 2, 2018 at 12:01 AM, Anatolij Gustschin wrote:
> Hi Mario,
>
> On Tue, 31 Jul 2018 12:01:04 +0200
> Mario Six mario@gdsys.cc wrote:
>
>> The regmap functions currently assume that all register map accesses
>> have a data width of 32 bits, but there are maps that have
Add test for regmap_{set,get} functions.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
test/dm/regmap.c | 28
1 file changed, 28 insertions(+)
diff --git a/test/dm/regmap.c
Document the regmap_alloc() function.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
drivers/core/regmap.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/core/regmap.c
In the Sandbox test configuration, PCI bus#0 only has static devices
while bus#1 only has dynamic devices. Create a bus#2 that has both
types of devices and test such.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/dts/test.dts | 18
So far there is only one PCI host controller in the sandbox test
configuration. This is normally the case for x86, but it can be
common on other architectures like ARM/PPC to have more than one
PCI host controller in the system.
This updates the case to cover such scenario.
Signed-off-by: Bin
In case the slow clock is not properly configured, the UTMI clock
cannot lock the PLL, because UPLLCOUNT will "wait X slow clock cycles".
In this case U-boot will loop indefinitely.
Added a timeout in this case, to start U-boot even if UTMI clock is
not enabled, so the user can use different media
Add DISTRO_DEFAULT support to be able to boot on mmc
by default on boot.
Signed-off-by: Patrice Chotard
---
configs/stm32f469-discovery_defconfig | 11 ---
include/configs/stm32f469-discovery.h | 19 ++-
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git
Add DISTRO_DEFAULT support to be able to boot on mmc
by default on boot.
Signed-off-by: Patrice Chotard
---
configs/stm32h743-eval_defconfig | 12 +++-
include/configs/stm32h743-eval.h | 16 ++--
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git
Hi Priyanka,
Yes this patch takes care of cortina phy id.
The problem arises, when we have two or more phys in one system that implement
the phy ID at two different non-standard location.
Like we have in our upcoming boards LX2160AQDS/LX2160ARDB : inphi phy and
cortina phy.
In which file we
On 08/02/2018 23:26 PM, York Sun wrote:
> On 08/01/2018 02:50 AM, Zhao Qiang wrote:
>> Recently the FMan Port and MAC compatibles were changed.
>> This patch aligns the FMan Port and MAC compatibles to the new FMan
>> device tree binding document.
>> The FMan device tree binding document
The correct driver data comes from the matching 'id' instead of
'find_id' in pci_find_and_bind_driver().
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/pci/pci-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Correct typos in the comment block of uclass_first/next_device_check().
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/dm/uclass.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dm/uclass.h
Hi Jagan, Tom,
Miquel Raynal wrote on Wed, 1 Aug 2018
10:18:21 +0200:
> During the last months, Boris Brezillon shared his work to support
> serial flashes within Linux. First, he delivered (and merged) a new
> layer called spi-mem. He also initiated in Linux MTD subsystem the move
> of all
On 08/03/2018 10:40 AM, Simon Goldschmidt wrote:
>
>
> On 01.08.2018 09:34, Marek Vasut wrote:
>> On 08/01/2018 09:29 AM, Goldschmidt Simon wrote:
>>>
>>> On 30.07.2018 16:04, Marek Vasut wrote:
On 07/30/2018 04:03 PM, Simon Goldschmidt wrote:
>
> On 12.05.2018 22:28, Marek Vasut
Marek Vasut schrieb am Fr., 3. Aug. 2018, 11:00:
> On 08/03/2018 10:40 AM, Simon Goldschmidt wrote:
> >
> >
> > On 01.08.2018 09:34, Marek Vasut wrote:
> >> On 08/01/2018 09:29 AM, Goldschmidt Simon wrote:
> >>>
> >>> On 30.07.2018 16:04, Marek Vasut wrote:
> On 07/30/2018 04:03 PM, Simon
Add DISTRO_DEFAULT support to be able to boot on mmc
by default on boot.
Signed-off-by: Patrice Chotard
---
configs/stm32f429-evaluation_defconfig | 11 ---
include/configs/stm32f429-evaluation.h | 19 ++-
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git
This series :
- Remove unused configs flags in include/configs/stm32fxx files
- Enable instruction and data caches for stm32f4
_ Migrate CMD_CACHE flag from include/configs/ to defconfig for
stm32f746 and stm32h7
- Add DISTRO_DEFAULT support for stm32f4 and stm32h7 boards
Patrice
Remove CONFIG_CMD_CACHE from include/configs/stm32f746-disco.h
and enable it in stm32f746-disco_defconfig
Signed-off-by: Patrice Chotard
---
configs/stm32f746-disco_defconfig | 1 +
include/configs/stm32f746-disco.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git
Remove CONFIG_CMD_CACHE from include/configs/stm32h7xx.h
and enable it in stm32h7xx_defconfig
Signed-off-by: Patrice Chotard
---
configs/stm32h743-disco_defconfig | 1 +
configs/stm32h743-eval_defconfig | 1 +
include/configs/stm32h743-disco.h | 1 -
include/configs/stm32h743-eval.h | 1 -
4
Since commit aa5e3e22f4d6 ("board: stm32: switch to DM STM32 timer")
SYS_CLK_FREQ is useless, remove it from stm32f4 and stm32f7 boards.
Signed-off-by: Patrice Chotard
---
include/configs/stm32f429-discovery.h | 2 --
include/configs/stm32f429-evaluation.h | 1 -
arch/arm/Makefile has a list of options for mtune, but the
entry for CONFIG_CPU_V7A is empty. By tuning for generic-armv7-a
both the size of SPL and u-boot shrink a little. For those
with limited resources in SPL, every little bit helps.
The following size changed apply to omap3_logic
Since more c files will include ns_access.h, this move will fix some
compiling warnings and make it sense.
Signed-off-by: Ran Wang
---
Change in v3:
- New file
.../include/asm/arch-fsl-layerscape/ns_access.h| 80 --
board/freescale/common/ns_access.c
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which
supports initialization of the FPGA, as well as information gathering.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
* Switched from 'res' as the name for return variables to 'ret'
v2 -> v3:
* Fixed style
It is useful to be able to treat the different ranges of a regmap
separately to be able to use distinct offset for them, but this is
currently not implemented in the regmap API.
To preserve backwards compatibility, add regmap_read_range and
regmap_write_range functions that take an additional
Makefile entries should be sorted.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
New in v3
---
drivers/misc/Makefile | 60 +++
1 file changed, 32 insertions(+), 28
At present we have two PCI buses in the test configuration. Both
buses have static device-tree config devices. Now we switch the
2nd bus to use dynamic PCI devices for testing.
Signed-off-by: Bin Meng
---
Changes in v3:
- Describe test configuration in the commit message
Changes in v2: None
With the newly added testing of more than one device, we get:
=> ut dm pci_swapcase
Test: dm_test_pci_swapcase: pci.c
test/dm/pci.c:88, dm_test_pci_swapcase(): "tHIS IS A tESt" = ptr:
Expected "tHIS IS A tESt", got "this is a test"
Test: dm_test_pci_swapcase: pci.c (flat tree)
The flag to control whether to scan multi-function device during
enumeration should be cleared at the beginning of each iteration
if the device's function number equals to zero.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
The check on uclass_get_device() and device_active() is unnecessary
as the follow-up test operations will implicitly probe the driver.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
test/dm/pci.c | 4 +---
1 file changed, 1 insertion(+), 3
We have "struct sandbox_pci_priv" in pci_sandbox driver. To avoid
confusion, rename the emul's priv to "struct sandbox_pci_emul_priv".
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/pci/pci-emul-uclass.c | 8
1 file changed, 4
On 01.08.2018 09:34, Marek Vasut wrote:
On 08/01/2018 09:29 AM, Goldschmidt Simon wrote:
On 30.07.2018 16:04, Marek Vasut wrote:
On 07/30/2018 04:03 PM, Simon Goldschmidt wrote:
On 12.05.2018 22:28, Marek Vasut wrote:
Pull the serial port configuration from DT and use DM serial instead
Use gd->bd->bi_dram[0].start initialized from DT instead of using
hardcoded CONFIG_SYS_SDRAM_BASE from config file.
Remove unused CONFIG_SYS_RAM_BASE and CONFIG_SYS_SDRAM_BASE defines.
Signed-off-by: Patrice Chotard
---
board/st/stm32f429-discovery/stm32f429-discovery.c | 2 +-
1. Add FIT support for DB410c defconfig.
2. Don't overwrite bootargs (they're already
defined in Linux device tree for DB410c.
Signed-off-by: Ramon Fried
---
configs/dragonboard410c_defconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
Hi Simon,
On Thu, Aug 2, 2018 at 2:20 PM, Simon Glass wrote:
> Hi Mario,
>
> On 31 July 2018 at 04:01, Mario Six wrote:
>> The regmap functions currently assume that all register map accesses
>> have a data width of 32 bits, but there are maps that have different
>> widths.
>>
>> To rectify
Hi Simon,
On Thu, Aug 2, 2018 at 6:56 PM, Simon Glass wrote:
> On 31 July 2018 at 04:01, Mario Six wrote:
>> Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which
>> supports initialization of the FPGA, as well as information gathering.
>>
>> Signed-off-by: Mario Six
>> ---
>>
Hi Simon,
On Thu, Aug 2, 2018 at 6:56 PM, Simon Glass wrote:
> Hi Mario,
>
> On 31 July 2018 at 04:00, Mario Six wrote:
>> The documentation in regmap.h is not in kernel-doc format. Correct this.
>>
>> Signed-off-by: Mario Six
>> ---
>>
>> v2 -> v3:
>> New in v3
>>
>> ---
>> include/regmap.h
Program Central Security Unit (CSU) to grant access
permission for USB 2.0 controller, otherwiase EHCI funciton will down.
Signed-off-by: Ran Wang
---
Change in v3:
- None
Change in v2:
- Add EL checking code to make sure related programming only happen
in EL3
The regmap functions currently assume that all register map accesses
have a data width of 32 bits, but there are maps that have different
widths.
To rectify this, implement the regmap_raw_read and regmap_raw_write
functions from the Linux kernel API that specify the width of a desired
read or
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with
an error, which is not currently checked during regmap initialization.
Since the indentation depth is already quite deep, extract a new
'init_range' method to do the initialization.
Reviewed-by: Anatolij Gustschin
ofnode_read_simple_addr_cells may fail and return a negative error code.
Check for this when initializing regmaps.
Also check if both_len is zero, since this is perfectly possible, and
would lead to a division-by-zero further down the line.
Reviewed-by: Anatolij Gustschin
Reviewed-by: Simon
This patch adds a driver for the bus associated with a IHS FPGA.
Reviewed-by: Simon Glass
Signed-off-by: Mario Six
---
v3 -> v4:
No changes
v2 -> v3:
* Fixed style violations
* Added bindings file
* Added more debug output in case of errors
* Switched all printfs to debug
* Documented the
Currently we don't have a complete list of capability and extended
capability ids. This adds them.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
include/pci.h | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git
Add several PCI capability and extended capability ID registers
in the swap_case driver, so that we can add test case for
dm_pci_find_capability() and dm_pci_find_ext_capability().
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
At present all emulated sandbox pci devices must be present in the
device tree in order to be used. The real world pci uclass driver
supports pci device driver matching, and we should add such support
on sandbox too.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3:
- Update
On 08/03/2018 11:10 AM, Simon Goldschmidt wrote:
>
>
> Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3.
> Aug. 2018, 11:00:
>
> On 08/03/2018 10:40 AM, Simon Goldschmidt wrote:
> >
> >
> > On 01.08.2018 09:34, Marek Vasut wrote:
> >> On 08/01/2018 09:29 AM, Goldschmidt
This flag is not used, remove it.
Signed-off-by: Patrice Chotard
---
include/configs/stm32f429-discovery.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/stm32f429-discovery.h
b/include/configs/stm32f429-discovery.h
index e0f604db0e21..38af704c3b96 100644
---
Hi Simon,
On Thu, Aug 2, 2018 at 2:21 PM, Simon Glass wrote:
> On 31 July 2018 at 04:01, Mario Six wrote:
>> Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with
>> an error, which is not currently checked during regmap initialization.
>>
>> Since the indentation depth is
The upcoming changes to the regmap interface will contain a proper check
for plausibility when reading/writing from/to a register map. To still
have the current tests pass, increase the size of the memory region for
the syscon0 device, since one of the tests reads and writes beyond this
range.
With the newly added test cases for PCI configuration access, we get:
=> ut dm pci_busdev
Test: dm_test_pci_busdev: pci.c
test/dm/pci.c:49, dm_test_pci_busdev(): SANDBOX_PCI_VENDOR_ID == vendor:
Expected 4660, got 65535
Test: dm_test_pci_busdev: pci.c (flat tree)
test/dm/pci.c:49,
We don't have the live-tree version of fdtdec_get_pci_vendev().
This adds the API.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
drivers/core/ofnode.c | 36
include/dm/ofnode.h | 13 +
2 files
So far we missed the testing for PCI configuration space access.
This adds tests for it, as well as removing some redundant asserts.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3:
- Update commit message to mention removing redundant asserts
Changes in v2: None
It's quite common to have more than one device on the same PCI bus.
This updates the test case to test such scenario.
Signed-off-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/dts/test.dts | 7 +++
test/dm/pci.c | 37
Add DISTRO_DEFAULT support to be able to boot on
mmc by default on boot.
Signed-off-by: Patrice Chotard
---
configs/stm32h743-disco_defconfig | 12 +++-
include/configs/stm32h743-disco.h | 16 ++--
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git
Enable instruction and data caches.
Fix boot_sd command as since commit d409c962169b ("armv7m: disable
icache before linux booting"), instruction cache is automatically
disable before linux booting. "icache off" from boot_sd command
becomes useless, remove it.
Signed-off-by: Patrice Chotard
---
This patchset gives U-boot ownership on generating WLAN/BT mac
addresses for WCNSS chip on Dragonboard410.
Previously, this was done by LK and U-boot only read the
results from the patched DTB LK fixed-up.
This is is part of my ongoing effort to get rid of LK once and
for all for Snapdragon ARCH.
This patch is to enable eSDHC for ls1021a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/ls1021a.dtsi |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi
index 5b3fc6a..59c97d5 100644
--- a/arch/arm/dts/ls1021a.dtsi
+++
On Tue, Jul 25, 2017 at 11:08 AM Tom Rini wrote:
>
> On Tue, Jul 25, 2017 at 08:14:57AM -0500, Adam Ford wrote:
>
> > The readme file for OMAP indicates that we compile using armv5 to "to
> > allow more compilers to work"
> >
> > We have our arch/arm/mach-omap2/omap3/lowlevel_init.S file also
Activate the serial rx buffer.
Prepare console MUX activation with vidconsole, and avoid console
performance issue (missing character for copy-paste).
Signed-off-by: Patrick Delaunay
---
configs/stm32mp15_basic_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git
Add test to avoid access to rx buffer when this buffer is empty.
In this case directly call getc() function to avoid issue when tstc()
is not called.
Signed-off-by: Patrick Delaunay
---
drivers/serial/serial-uclass.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
Unify the fgetc function when MUX is activated or not:
- always call tstc() : it is the normal behavior expected
by serial uclass (call tstc then getc) and that avoids
issue when SERIAL_RX_BUFFER is activated
- reload WATCHDOG in the char waiting loop
This patch allow to have the same
When I activate CONFIG_SERIAL_RX_BUFFER on my board without CONSOLE_MUX,
I have a strange behavior in console: a new prompt is displayed
continuously
I check the call stack
cread_line (common/cli_readline.c)
=> getcmd_getch (common/cli_readline.c)
==> fgetc (common/console.c)
===> console_tstc
Hallo Mark,
In message you wrote:
>
> I am wondering whether U-Boot already has the functionality to
> retrieve the number of seconds since beginning of the 1970-01-01
> epoch. I would like to use this value in a Hush script.
There is no such feature in U-Boot (yet).
> Alternative proposals
Hi,
I am wondering whether U-Boot already has the functionality to retrieve the
number of seconds since beginning of the 1970-01-01 epoch. I would like to use
this value in a Hush script.
For a product I have the requirement to detect if the current booting happens
within x seconds of the
This patch is to add eSDHC node for ls1046a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1046a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi
index 4acbaf7..7687d12 100644
---
This patch is to add eSDHC node for ls1043a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1043a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi
index ff40122..a804f51 100644
---
Hi Simon
On 08/02/2018 06:57 PM, Simon Glass wrote:
> On 1 August 2018 at 09:58, Patrice Chotard wrote:
>> Signed-off-by: Patrice Chotard
>> ---
>>
>> Changes in v2:
>>- Add sandbox serial test
>>
>> drivers/serial/sandbox.c | 14 ++
>> include/common.h | 1 +
>>
Handle getch error (when getch return 0x0) to avoid display issue
in the console.
Signed-off-by: Patrick Delaunay
---
common/cli_readline.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/cli_readline.c b/common/cli_readline.c
index 60a232b..99b6317 100644
---
Replace stm32_serial_setparity by stm32_serial_setconfig
which allows to set serial bits number, parity and stop
bits number.
Only parity setting is implemented.
Signed-off-by: Patrick Delaunay
Signed-off-by: Patrice Chotard
---
Changes in v3:
- Replace u8 by uint for parity/bits/stop in
Signed-off-by: Patrice Chotard
---
Changes in v3:
- Update serial test when wrong serial options are specified
- Add SERIAL_CONFIG(par, bits, stop) macro to create serial mask
Changes in v2:
- Add sandbox serial test
drivers/serial/sandbox.c | 14 +
include/common.h
This series :
- Replace setparity ops by more complete setconfig in serial uclass
- Replace setparity by setconfig in STM32 serial driver
_ Adds test for serial setconfig
Changes in v3:
- Update SERIAL_PAR_MASK definition
- Don't remove setparity ops declaration in patch 1 to not
Commit 1473b12ad0b3 ("lib: fdtdec: Update ram_base to store ram start
adddress") brings regression on STM32F7 which can't boot.
Use fdtdec_setup_mem_size_base() to setup memory base and size.
Use fdtdec_setup_memory_banksize() to setup memory bank base and size.
Reported-by: Mark Olsson
Hi Simon
On 08/02/2018 06:56 PM, Simon Glass wrote:
> Hi Patrice,
>
> On 1 August 2018 at 09:58, Patrice Chotard wrote:
>> From: Patrick Delaunay
>>
>> Replace setparity by more generic setconfig ops
>> to allow uart parity, bits word length and stop bits
>> number change.
>>
>> Adds
This enables the folowing to Kconfig:
CONFIG_BLK
CONFIG_DM_MMC
Signed-off-by: Yinbo Zhu
---
Change in v3:
Changed this patch's order
configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++
configs/ls1021atwr_nor_defconfig |2 ++
This patch is to add eSDHC node for ls1088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls1088a.dtsi |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi
index 077caf3..72d755a 100644
---
This patch is to add eSDHC node for ls2088a.
Signed-off-by: Yinbo Zhu
---
arch/arm/dts/fsl-ls2080a.dtsi |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi
index b0f8517..2d537ae 100644
---
This patch is to enable BLK code configuration for SD boot.
Signed-off-by: Yinbo Zhu
---
Change in v3:
update the commit information as above
include/mmc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/mmc.h b/include/mmc.h
index
This patch adds esdhc clock support for ls1088a and ls2088a.
Signed-off-by: Yinbo Zhu
---
Change in v2:
Changed this patch's order
.../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git
Marek Vasut schrieb am Fr., 3. Aug. 2018, 11:22:
> On 08/03/2018 11:10 AM, Simon Goldschmidt wrote:
> >
> >
> > Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3.
> > Aug. 2018, 11:00:
> >
> > On 08/03/2018 10:40 AM, Simon Goldschmidt wrote:
> > >
> > >
> > > On 01.08.2018
On Fri, Aug 3, 2018 at 3:20 PM, Jagan Teki wrote:
> On Fri, Aug 3, 2018 at 1:57 PM, Miquel Raynal
> wrote:
>> Hi Jagan, Tom,
>>
>> Miquel Raynal wrote on Wed, 1 Aug 2018
>> 10:18:21 +0200:
>>
>>> During the last months, Boris Brezillon shared his work to support
>>> serial flashes within
Hi Simon
On 08/02/2018 06:57 PM, Simon Glass wrote:
> Hi Patrice,
>
> On 1 August 2018 at 09:58, Patrice Chotard wrote:
>> Replace stm32_serial_setparity by stm32_serial_setconfig
>> which allows to set serial bits number, parity and stop
>> bits number.
>> Only parity setting is implemented.
1 - 100 of 122 matches
Mail list logo