Since we are now using the bytes type in Python 3, the conversion in
fdt32_to_cpu() is not necessary, so drop it.
Also use 'int' instead of 'long' to convert the integer value, since
'long' is not present in Python 3.
With this, test_fdt passes with both Python 2 and 3:
Add the missing 's' to the required '%s' here.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/binman/ftest.py b/tools/binman/ftest.py
index 48fec501790..d0a8b751a2c 100644
--- a/tools/binman/ftest.py
+++
With Python 3 we want to use the 'bytes' type instead of 'str'. Adjust the
code accordingly so that it works on both Python 2 and Python 3.
Signed-off-by: Simon Glass
---
tools/binman/elf_test.py| 5 +-
tools/binman/etype/_testing.py | 2 +-
These files are text files so should be read as such, so that
string-equality assertions work as expected.
With this binman tests work correctly on Python 2 and Python 3:
PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt \
python ./tools/binman/binman -t
Change first line of binman.py
This code works OK in Python 2 but Python 3 complains. Adjust it to avoid
deleting elements from a dict while iterating through it.
Signed-off-by: Simon Glass
---
tools/binman/control.py | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tools/binman/control.py
This code reads a binary value and then uses it as a string to look up
another value. Add conversions to make this work as expected on Python 3.
Signed-off-by: Simon Glass
---
tools/binman/etype/text.py | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git
Since binman can run tests in parallel, document this.
Signed-off-by: Simon Glass
---
tools/binman/README | 14 ++
1 file changed, 14 insertions(+)
diff --git a/tools/binman/README b/tools/binman/README
index 927fa856acf..ac193f16cf7 100644
--- a/tools/binman/README
+++
At present this test does not check the upper 32 bits of the returned
value. Add some additional tests to cover this.
Signed-off-by: Simon Glass
---
tools/dtoc/test_fdt.py | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/tools/dtoc/test_fdt.py
A few minor changes have been made including one new entry. Update the
documentation with:
$ binman -E >tools/binman/README.entries
Signed-off-by: Simon Glass
---
tools/binman/README.entries | 15 +++
1 file changed, 15 insertions(+)
diff --git a/tools/binman/README.entries
The only change needed is to update get_value() to support the 'bytes'
type correctly with Python 3.
With this the dtoc unit tests pass with both Python 2 and 3:
PYTHONPATH=/tmp/b/sandbox_spl/scripts/dtc/pylibfdt python \
./tools/dtoc/dtoc -t
This needs special care to ensure that the bytes type is used for
binary data. Add conversion code to deal with strings and bytes
correctly.
Signed-off-by: Simon Glass
---
tools/binman/etype/fmap.py | 3 ++-
tools/binman/fmap_util.py | 12 +---
2 files changed, 11 insertions(+), 4
While reading files in binary mode is the norm, sometimes we want to use
text mode. Add an optional parameter to handle this.
Signed-off-by: Simon Glass
---
tools/patman/tools.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/patman/tools.py
We need slightly different commands to run code coverage with Python 3.
Update the RunTestCoverage() function to handle this.
Signed-off-by: Simon Glass
---
tools/patman/test_util.py | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/tools/patman/test_util.py
Add a simple unit test for one of the cases of this function, so that any
fault can be seen directly, rather than appearing through the failure of
another test.
Signed-off-by: Simon Glass
---
tools/dtoc/test_fdt.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
The reload() function is in a different place in Python 3. Update the code
to handle this.
Signed-off-by: Simon Glass
---
tools/binman/entry_test.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/binman/entry_test.py b/tools/binman/entry_test.py
index
The difference between the bytes and str types in Python 3 requires a
number of minor changes to this function. Update it to handle the input
data using the 'bytes' type. Create two useful helper functions which can
be used by other modules too.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py
The .dtb files are binary so we should open them as binary files. This
allows Python 3 to use the correct 'bytes' type.
Signed-off-by: Simon Glass
---
tools/dtoc/test_fdt.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/dtoc/test_fdt.py
Update this class to work correctly on Python 3 and to pass its unit
tests.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py
index cbd9cbabe31..f051ce67632 100644
---
In Python 3 bytes and str are separate types. Use bytes to ensure that
the code functions correctly with Python 3.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 14 +-
tools/dtoc/test_fdt.py | 18 +-
tools/patman/tools.py | 25 +
3
Use this helper function which works on both Python 2 and Python 3.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 6 --
tools/dtoc/test_fdt.py | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/tools/dtoc/fdt.py b/tools/dtoc/fdt.py
index
This method does not actually use any members of the Prop class. Move it
out of the class so that it is easier to add unit tests.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 104 +++---
1 file changed, 53 insertions(+), 51 deletions(-)
diff --git
At present the order of struct field emitted by this tool depends on the
internal workings of a Python dictionary. Sort the fields to remove this
uncertainty, so that tests are deterministic.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 3 ++-
tools/dtoc/test_dtoc.py| 12
Update this class to work correctly on Python 3 and to pass its unit
tests. The only required change is to deal with a difference in the
behaviour of sorting with a None value.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff
Update a few things in this tool so that they support Python 3:
- print statements
- iteritems()
- xrange()
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 4 ++--
tools/dtoc/dtoc.py | 8 +---
tools/dtoc/test_dtoc.py| 4 +++-
tools/dtoc/test_fdt.py | 8 +---
This series updates both binman and dtoc to support Python 3 as well as
Python 2. This mostly involves moving the code to use the 'bytes' type
on Python 3 (with associated unicode conversions) but there are various
other tweaks required as well.
Simon Glass (24):
dtoc: Adjust code for Python 3
On 17/05/2019 19:41, André Przywara wrote:
> On 17/05/2019 19:15, Vasily Khoruzhick wrote:
>> On Wed, May 15, 2019 at 5:46 PM Andre Przywara
>> wrote:
>>>
>>> Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine
>>> baseboard, Pine64-LTS, Pinebook) was not working under
On Sat, May 18, 2019 at 2:26 AM Marek Vasut wrote:
>
> Add DM support and support for probing the iMX PCI driver from DT.
> The legacy non-DM support is retained, however shall be removed once
> DM PCI is the only option remaining.
>
> Signed-off-by: Marek Vasut
> Cc: Bin Meng
> Cc: Fabio
On Sat, May 18, 2019 at 2:26 AM Marek Vasut wrote:
>
> The driver limits the config space base to 32bit, however it can be
> 64bit on 64bit iMX hardware too. Remove that limitation. This patch
> has no impact on the iMX6, which is the only SoC currently supported
> by this driver.
>
>
On Sat, May 18, 2019 at 2:26 AM Marek Vasut wrote:
>
> Pull out hard-coded register base addresses into driver private
> structure in preparation for DM conversion. No functional change.
>
> Signed-off-by: Marek Vasut
> Cc: Bin Meng
> Cc: Fabio Estevam
> Cc: Stefano Babic
> ---
>
On Sat, May 18, 2019 at 2:26 AM Marek Vasut wrote:
>
> Pass the driver private data around the driver as much as possible, instead
> of having it as a static global variable. This is done in preparation for
> the DM conversion, no functional change.
>
> Signed-off-by: Marek Vasut
> Cc: Bin Meng
On Sat, May 18, 2019 at 2:26 AM Marek Vasut wrote:
>
> The DM iMX PCI driver has DM_FLAG_OS_PREPARE set and will call
> imx_pcie_remove() from the .remove callback. Do not call it from
> the architecture code again.
>
> Signed-off-by: Marek Vasut
> Cc: Bin Meng
> Cc: Fabio Estevam
> Cc:
On 10/20/15 1:10 PM, Tom Rini wrote:
On Tue, Oct 20, 2015 at 12:57:32PM -0600, Stephen Warren wrote:
On 10/02/2015 12:06 AM, Stephen Warren wrote:
Enhance f_read() to find the maximum contiguous set of clusters to read,
and read it all at once (which is fast) rather one by one (which is
slow).
On Fri, 2019-05-17 at 17:24 +0200, Eugeniu Rosca wrote:
> Hi All,
>
> cc: Stephen, Jeremy
>
> FWIW/jFYI, the patchwork frontend appears to mangle/skip spaces
> in the patch subjects. Examples:
> - https://patchwork.ozlabs.org/cover/1101106/
> - https://patchwork.ozlabs.org/patch/1101108/
> -
Enable DM Serial support on iMX6SX VINING|2000.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
board/softing/vining_2000/vining_2000.c | 12
configs/vining_2000_defconfig | 3 +++
include/configs/vining_2000.h | 3 ---
Import iMX6SX VINING|2000 device tree from Linux 5.1.1 b724e9356404 .
Enable DT control in full U-Boot .
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/imx6sx-softing-vining-2000.dts |
Enable DM PCI support on iMX6SX VINING|2000.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
configs/vining_2000_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/vining_2000_defconfig b/configs/vining_2000_defconfig
index
Enable DM USB support on iMX6SX VINING|2000.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
configs/vining_2000_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/vining_2000_defconfig b/configs/vining_2000_defconfig
index
Enable DM block and DM MMC support on iMX6SX VINING|2000 .
Convert board code to match the DM support. This disables
USB mass storage support due to missing DM USB, however
that will be re-enabled in subsequent patch.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano
Enable DM GPIO support on iMX6SX VINING|2000 and fix up
board code where applicable.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
board/softing/vining_2000/vining_2000.c | 1 +
configs/vining_2000_defconfig | 1 +
2 files changed, 2
Enable DM pin control support on iMX6SX VINING|2000.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
configs/vining_2000_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/vining_2000_defconfig b/configs/vining_2000_defconfig
index
The company Samtec was merged into Softing, migrate the board over to
the new name and update copyright headers.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
arch/arm/mach-imx/mx6/Kconfig | 6 +++---
board/{samtec =>
Update Softing VINING|2000 to DM / DT and remove the warnings.
This depends on the following patches / series:
http://patchwork.ozlabs.org/patch/1101222/
http://patchwork.ozlabs.org/patch/1101230/
https://patchwork.ozlabs.org/project/uboot/list/?series=108463
Marek Vasut (8):
ARM: imx:
Currently, when the spl_boot_device checks the boot device, it
will only return MMC1 when it's either sd or eMMC regardless
of whether or not it's MMC1 or MMC2. This is a problem when
booting from MMC2 if MMC isn't being manually configured like in
the DM_SPL case with SPL_OF_CONTROL.
This patch
Add compatible string for iMX6SX.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Silvio Fricke
Cc: Stefano Babic
---
drivers/serial/serial_mxc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
index 476df25805..a435e68005 100644
On Fri, 17 May 2019 20:22:31 +0200
Marek Vasut ma...@denx.de wrote:
> Pull the vidconsole_put_string() function from DM tests, make it
> available to e.g. boards that want to display information on the
> LCD on boot.
>
> Signed-off-by: Marek Vasut
> Cc: Anatolij Gustschin
Reviewed-by:
From: Christoph Fritz
This patch configures pinmux for pin usdhc4 reset.
Signed-off-by: Christoph Fritz
---
board/softing/vining_2000/vining_2000.c | 4
1 file changed, 4 insertions(+)
diff --git a/board/softing/vining_2000/vining_2000.c
b/board/softing/vining_2000/vining_2000.c
index
On 17/05/2019 19:15, Vasily Khoruzhick wrote:
> On Wed, May 15, 2019 at 5:46 PM Andre Przywara wrote:
>>
>> Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine
>> baseboard, Pine64-LTS, Pinebook) was not working under U-Boot.
>> This is due to the PHY for those pins being
Enable DM PCI support on iMX6Q Novena.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: New patch
---
configs/novena_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/novena_defconfig b/configs/novena_defconfig
index
Enable DM USB support on iMX6Q Novena.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: No change
---
configs/novena_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/novena_defconfig b/configs/novena_defconfig
index
Enable DM block, DM MMC and DM SATA support on iMX6Q Novena
convert board code to match the DM support.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: - Drop the ad-hoc sata binding, this is superseded by
CONFIG_DWC_AHSATA_AHCI=y resp.
Enable DM Video support on iMX6Q Novena and fix minor details
to restore previous behavior of the system.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: Print U-Boot version information on the LCD
---
board/kosagi/novena/novena.c | 13
Enable DM GPIO support on iMX6Q Novena and fix up board code
where applicable.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: No change
---
board/kosagi/novena/novena.c | 2 ++
board/kosagi/novena/video.c | 3 +++
configs/novena_defconfig |
Import iMX6Q Novena device tree from Linux 5.1-rc7 37624b58542f .
Enable DT control in full U-Boot .
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: No change
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/imx6q-novena.dts | 792
Update Kosagi Novena to DM / DT and remove the warnings.
This depends on the following patches / series:
https://patchwork.ozlabs.org/patch/1095618/
https://patchwork.ozlabs.org/patch/1101171/
https://patchwork.ozlabs.org/project/uboot/list/?series=108463
Marek Vasut (7):
ARM: dts: imx:
Enable DM pin control support on iMX6Q Novena.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Stefano Babic
Cc: Vagrant Cascadian
---
V2: No change
---
configs/novena_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/novena_defconfig b/configs/novena_defconfig
Add DM support and support for probing the iMX PCI driver from DT.
The legacy non-DM support is retained, however shall be removed once
DM PCI is the only option remaining.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Stefano Babic
---
drivers/pci/pcie_imx.c | 111
The driver limits the config space base to 32bit, however it can be
64bit on 64bit iMX hardware too. Remove that limitation. This patch
has no impact on the iMX6, which is the only SoC currently supported
by this driver.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Stefano
Pass the driver private data around the driver as much as possible, instead
of having it as a static global variable. This is done in preparation for
the DM conversion, no functional change.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Stefano Babic
---
The DM iMX PCI driver has DM_FLAG_OS_PREPARE set and will call
imx_pcie_remove() from the .remove callback. Do not call it from
the architecture code again.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/mach-imx/cpu.c | 2 +-
1 file changed, 1
Pull out hard-coded register base addresses into driver private
structure in preparation for DM conversion. No functional change.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Stefano Babic
---
drivers/pci/pcie_imx.c | 75 +-
1 file
Pull the vidconsole_put_string() function from DM tests, make it
available to e.g. boards that want to display information on the
LCD on boot.
Signed-off-by: Marek Vasut
Cc: Anatolij Gustschin
---
drivers/video/vidconsole-uclass.c | 17 +++--
include/video_console.h | 16
On Wed, May 15, 2019 at 5:46 PM Andre Przywara wrote:
>
> Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine
> baseboard, Pine64-LTS, Pinebook) was not working under U-Boot.
> This is due to the PHY for those pins being shared with the OTG
> controller, which we didn't even
On Fri, May 17, 2019 at 04:26:23PM +0100, Stephen Finucane wrote:
[..]
> http://patchwork.ozlabs.org/patch/1099264/
>
> We're just waiting for ozlabs to apply that patch.
>
> Stephen
Thanks!
--
Best Regards,
Eugeniu.
___
U-Boot mailing list
Hi All,
cc: Stephen, Jeremy
FWIW/jFYI, the patchwork frontend appears to mangle/skip spaces
in the patch subjects. Examples:
- https://patchwork.ozlabs.org/cover/1101106/
- https://patchwork.ozlabs.org/patch/1101108/
- https://patchwork.ozlabs.org/patch/1101107/
The same patches look fine on
Superseded by https://patchwork.ozlabs.org/cover/1101106/
("[PATCH v2 0/2] Add 'bcb' command to read/modify/write Android BCB")
--
Best Regards,
Eugeniu.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Fri, 2019-05-17 at 11:52 -0300, Fabio Estevam wrote:
> Hi Igor,
>
> On Fri, May 17, 2019 at 11:49 AM Igor Opaniuk <
> igor.opan...@toradex.com> wrote:
> > Extend size of the malloc() pool for use before relocation, from
> > 0x400
> > (default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
>
On Fri, 2019-05-17 at 11:52 -0300, Fabio Estevam wrote:
> Hi Igor,
>
> On Fri, May 17, 2019 at 11:49 AM Igor Opaniuk <
> igor.opan...@toradex.com> wrote:
> > Extend size of the malloc() pool for use before relocation, from
> > 0x400
> > (default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
>
Enable DM block and DM MMC support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
board/dhelectronics/dh_imx6/dh_imx6.c | 59 +--
Enable DM GPIO support on DHCOM iMX6 PDK2 and fix up board code
where applicable.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
board/dhelectronics/dh_imx6/dh_imx6.c | 10 ++
configs/dh_imx6_defconfig | 1 +
2 files
The SPI nCS signal is active low, make it so.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
arch/arm/dts/imx6q-dhcom-som.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/imx6q-dhcom-som.dtsi
Enable DM SPI and SF support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
board/dhelectronics/dh_imx6/dh_imx6.c | 10 --
configs/dh_imx6_defconfig | 4
Import DHCOM iMX6 PDK2 device tree from Linux 5.1.1 b724e9356404 .
Enable DT control in full U-Boot .
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/imx6q-dhcom-pdk2.dts | 151
Enable DM USB host support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
configs/dh_imx6_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git
Enable DM SATA support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: Drop the ad-hoc sata binding, this is superseded by
CONFIG_DWC_AHSATA_AHCI=y resp. drivers/ata/dwc_ahsata.c
---
Enable DM pin control support on DHCOM iMX6 PDK2.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Ludwig Zenz
Cc: Stefano Babic
---
V2: No change
---
configs/dh_imx6_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
index
Hi Stefano
On Fri, May 17, 2019 at 4:52 PM Stefano Babic wrote:
>
> On 14/05/19 22:56, Andrea Scian - DAVE Embedded Systems wrote:
> >
> > Hi Michael,
> > On 14/05/19 20:44, Michael Nazzareno Trimarchi wrote:
> >> Hi all
> >>
> >> On Tue, Jan 29, 2019 at 3:40 PM Andrea Scian
> >> wrote:
> >>>
>
Hi Igor,
On Fri, May 17, 2019 at 11:49 AM Igor Opaniuk wrote:
>
> Extend size of the malloc() pool for use before relocation, from 0x400
> (default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
> as adding of DM_FLAG_PRE_RELOC flag to simple-bus driver introduced a
> regression on multiple
On Fri, May 17, 2019 at 10:49 PM Igor Opaniuk wrote:
>
> Extend size of the malloc() pool for use before relocation, from 0x400
> (default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
> as adding of DM_FLAG_PRE_RELOC flag to simple-bus driver introduced a
> regression on multiple boards,
On 14/05/19 22:56, Andrea Scian - DAVE Embedded Systems wrote:
>
> Hi Michael,
> On 14/05/19 20:44, Michael Nazzareno Trimarchi wrote:
>> Hi all
>>
>> On Tue, Jan 29, 2019 at 3:40 PM Andrea Scian
>> wrote:
>>>
>>> mxs_nand_command() implementation assume that it's working with a
>>> LP NAND,
Extend size of the malloc() pool for use before relocation, from 0x400
(default one) to 0x2000 (CONFIG_SYS_MALLOC_F_LEN=0x2000),
as adding of DM_FLAG_PRE_RELOC flag to simple-bus driver introduced a
regression on multiple boards, because of more intensive usage of malloc()
pool and therefore a
On Thu, 2019-05-16 at 13:49 -0400, Tom Rini wrote:
> On Thu, May 16, 2019 at 02:53:55PM +, Marcel Ziswiler wrote:
> > Hi Tom
> >
> > On Mon, 2019-05-06 at 09:26 -0400, Tom Rini wrote:
> > > Hey folks,
> ...
> > > So, what should we do about this? Is there still active interest
> > > in
> > >
Perform the following updates:
- Relocate the commit id from the file to the description of U-Boot
commit. The AOSP commit is c784ce50e8c10eaf70e1f97e24e8324aef45faf5.
This is done to avoid stale references in the file itself. The
reasoning is in
'Bootloader Control Block' (BCB) is a well established term/acronym in
the Android namespace which refers to a location in a dedicated raw
(i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc",
which is used as media for exchanging messages between Android userspace
(particularly
The motivation behind the 'bcb' command is largely explained
in the second patch. The other patch performs polishing of
https://patchwork.ozlabs.org/patch/1099689/, which is a hard
prerequisite for this series.
v2:
- [Heinrich Schuchardt] Implement sub-commands via U_BOOT_CMD_MKENT.
- Polished
Hi Ashish,
> Hi Vignesh
>
> Is this taken care now, plain text version was posted here
> http://patchwork.ozlabs.org/patch/1090121/
>
A similar patch[1] was proposed in meantime which has been merged to
mainline U-Boot. So this issue must now be resolved. Let me know if the
issue still
For bcm7445 and bcm7260, this patch enables CONFIG_DM_MMC and updates
the bcmstb SDHCI driver to use the new driver model. This allows
removal of SDHCI configuration handling from bcmstb.c, and eliminates
a board removal compile warning.
Signed-off-by: Thomas Fitzsimmons
---
On 17.05.19 14:17, Thomas Fitzsimmons wrote:
For bcm7445 and bcm7260, this patch enables CONFIG_DM_MMC and updates
the bcmstb SDHCI driver to use the new driver model. This allows
removal of SDHCI configuration handling from bcmstb.c, and eliminates
a board removal compile warning.
This allows to enable Ethernet and use driver for
Synopsys Ethernet QoS device
Signed-off-by: Christophe Roullier
---
Changes in v2:
-remark from Joe Hershberger to replace "int interface" with "phy_interface_t
interface"
and manage return values "-1", "0" with PHY_INTERFACE_MODE_NONE and
Add default SERVERIP address
Enable noncached memory region required by ethernet driver
Add PXE support
Signed-off-by: Christophe Roullier
---
Changes in v2: None
include/configs/stm32mp1.h | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
On Fri, 17 May 2019 07:31:38 -0500
Adam Ford wrote:
> On Thu, May 16, 2019 at 9:48 PM Bin Meng wrote:
> >
> > Hi Lukasz,
> >
> > On Fri, May 17, 2019 at 6:16 AM Lukasz Majewski
> > wrote:
> > >
> > > This commit brings the files from Linux kernel to provide clocks
> > > support as it is used
Support all PHY config:
PHY_MODE (MII,GMII, RMII, RGMII)
Phy wo crystal (25Mhz and 50 Mhz), No 125Mhz from PHY config
Changes in v2:
-remark from Joe Hershberger to replace "int interface" with "phy_interface_t
interface"
and manage return values "-1", "0" with
This patch add Ethernet support on stm32mp157 eval board
Signed-off-by: Christophe Roullier
---
Changes in v2: None
arch/arm/dts/stm32mp157-pinctrl.dtsi | 9 +++--
arch/arm/dts/stm32mp157c-ev1.dts | 2 +-
arch/arm/dts/stm32mp157c.dtsi| 16 ++--
3 files changed,
Synopsys GMAC 4.20 is used. And Phy mode for eval and disco is RMII
with PHY Realtek RTL8211 (RGMII)
We also support some other PHY config on stm32mp157c
PHY_MODE(MII,GMII, RMII, RGMII) and in normal,
PHY wo crystal (25Mhz and 50Mhz), No 125Mhz from PHY config
Signed-off-by: Christophe
From: Patrick Delaunay
ETHCK_K is the identifier the kernel clock for ETH in kernel
binding, selected by ETHKSELR / gated by ETHCKEN = BIT(7).
U-Boot driver need to use the same identifier, so change ETHCK
to ETHCK_K.
Signed-off-by: Patrick Delaunay
Signed-off-by: Christophe Roullier
---
Called to configure Ethernet PHY interface selection and
configure clock selection in RCC Ethernet clock tree.
Signed-off-by: Christophe Roullier
---
Changes in v2: None
board/st/stm32mp1/stm32mp1.c | 68 ++--
1 file changed, 65 insertions(+), 3 deletions(-)
On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote:
>
> Hi Adam,
>
> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11.
> v2018.09 is fine.
>
> The first breakage occurred with commit 21af33ed0319 ("ARM: davinci:
> omapl138_lcdk: Enable DM_MMC"). This commit moved to DM_MMC for
On Fri, 17 May 2019 09:39:31 -0300
Fabio Estevam wrote:
> On Thu, May 16, 2019 at 11:29 PM Peng Fan wrote:
>
> > You could enable DEBUG in SPL, and disable SPL_SDP because of size
> > will exceeds. Then see what happends.
>
> Even without DEBUG enabled we get useful error messages:
>
>
On 5/17/19 8:39 AM, Jagan Teki wrote:
> On Fri, May 17, 2019 at 2:06 AM Marek Vasut wrote:
>>
>> On 4/19/19 9:00 AM, Jagan Teki wrote:
>>
>> Hello Jagan,
>>
>>> Dropped
>>> - sh_spi driver
>>> - CONFIG_SH_SPI,SH_SPI_BASE
>>>
>>> Dropped due to:
>>> - no active updates
>>> - no dm conversion
>>> -
On Thu, May 16, 2019 at 11:29 PM Peng Fan wrote:
> You could enable DEBUG in SPL, and disable SPL_SDP because of size will
> exceeds.
> Then see what happends.
Even without DEBUG enabled we get useful error messages:
U-Boot SPL 2019.07-rc2 (May 17 2019 - 09:30:33 -0300)
Trying to boot from
Hi Adam,
MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11.
v2018.09 is fine.
The first breakage occurred with commit 21af33ed0319 ("ARM: davinci:
omapl138_lcdk: Enable DM_MMC"). This commit moved to DM_MMC for U-Boot
while keeping legacy mode for SPL.
The "#ifndef
1 - 100 of 140 matches
Mail list logo