Hi Tom,
I have put together that CMD_DM enabling we have discussed (and small
Kconfig changes). I have rebased it on Friday and travis also looks
good. https://travis-ci.org/michalsimek/u-boot/builds/408812930
There will be more and more collisions when new stuff is coming that's
why please consi
For these boards, the GPMC timings are more determined by
processor speed/type than the NAND/PoP memory. This code
is never invoked, so disable the config option, so it doesn't
take the time to compile it in.
Signed-off-by: Adam Ford
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_lo
CONFIG_SYS_NAND_ADDR is defined and never referenced. This patch
removes the dead code.
Signed-off-by: Adam Ford
---
include/configs/am3517_crane.h | 2 --
include/configs/am3517_evm.h| 2 --
include/configs/cm_t35.h| 2 --
include/configs/cm_t3517.h | 2 --
include/configs/dev
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
---
Changes in v2: None
drivers/pci/pci-emul-uclass.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drive
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
---
Changes in v2: None
arch/sandbox/include/asm/test.h | 8
drivers/misc/swap
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
---
Changes in v2:
- Mask header_type with 0x7f
drivers/pci/pci-uclass.c | 68 ++
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, dm_t
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
---
Changes in v2: None
doc/driver-model/pci-info.txt
This adds a U_BOOT_PCI_DEVICE() declaration to the swap_case driver.
Signed-off-by: Bin Meng
---
Changes in v2: None
arch/sandbox/include/asm/test.h | 4
drivers/misc/swap_case.c| 7 +++
2 files changed, 11 insertions(+)
diff --git a/arch/sandbox/include/asm/test.h b/arch/san
Signed-off-by: Bin Meng
---
Changes in v2: None
arch/sandbox/dts/test.dts | 16 ++--
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 0bce6d0..44d24f9 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/
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
---
Changes in v2: None
test/dm/pci.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/test/dm/pci.c b/test/dm/pci
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
---
Changes in v2: None
arch/sandbox/dts/test.dts | 18 ++
test/dm/pci.c | 63
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 v2: None
drivers/pci/pci-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/pci-uclass
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)
test/dm/
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 v2: None
include/pci.h | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/include/pci.h b/in
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
---
Changes in v2: None
arch/sandbox/dts/test.dts | 7 +++
test/dm/pci.c | 37 +
2 files changed, 4
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 Men
So far we missed the testing for PCI configuration space access.
Signed-off-by: Bin Meng
---
Changes in v2: None
test/dm/pci.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/test/dm/pci.c b/test/dm/pci.c
index 727ec34..089b72e 100644
--- a/test/dm
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
---
Changes in v2: None
test/dm/pci.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/dm/pci.c b/test/dm/pc
We don't have the live-tree version of fdtdec_get_pci_vendev().
This adds the API.
Signed-off-by: Bin Meng
---
Changes in v2: None
drivers/core/ofnode.c | 36
include/dm/ofnode.h | 13 +
2 files changed, 49 insertions(+)
diff --git a/drivers/
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
---
Changes in v2: None
drivers/pci/pci-uclass.c | 11 +--
1 file
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
---
Changes in v2: None
drivers/pci/pci-uclass.c | 2 ++
1 file changed, 2 insertions(+)
di
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
---
Changes in v2: None
include/pci.h | 15 ---
1 file changed, 15 deletions(-)
diff --git a/include/pci.h b/include/pci.h
index
Correct typos in the comment block of uclass_first/next_device_check().
Signed-off-by: Bin Meng
---
Changes in v2: None
include/dm/uclass.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dm/uclass.h b/include/dm/uclass.h
index 9fbaa7d..0e882ce 100644
--- a/incl
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 series contains 20+
patches!
This series is available for testing at
在 2018-07-27五的 18:48 +0530,Jagan Teki写道:
> On Thu, Jul 26, 2018 at 12:35 PM, Icenowy Zheng
> wrote:
> >
> >
> > 于 2018年7月26日 GMT+08:00 下午3:02:50, Jagan Teki <
> > ja...@amarulasolutions.com> 写到:
> > > On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng
> > > wrote:
> > > > This patchset trys to add
Add comments for runtime service functions.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_runtime.c | 153 ++-
1 file changed, 149 insertions(+), 4 deletions(-)
diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c
index 351db8d8ed5
On 07/29/2018 02:40 AM, Bin Meng wrote:
> Hi Heinrich,
>
> On Sat, Jul 28, 2018 at 11:42 PM, Heinrich Schuchardt
> wrote:
>> Debian Buster has upgraded gcc to version 8.1.
>
> Do you know any pre-built gcc 8.1 that can be used on other
> distributions than Debian Buster, so that I can take a loo
The Sphinx documentation system uses restructured text.
Make the README.iscsi file compatible.
Signed-off-by: Heinrich Schuchardt
---
doc/README.iscsi | 130 +--
1 file changed, 68 insertions(+), 62 deletions(-)
diff --git a/doc/README.iscsi b/doc/REA
Create separate html pages for linker lists, the serial subsystem,
and the EFI subsystem.
Add a table of content.
Signed-off-by: Heinrich Schuchardt
---
Documentation/efi.rst | 16 +
Documentation/index.rst| 122 +++--
Documentation/linker_lists
Hello Wolfgang,
On 07/28/2018 03:56 PM, Wolfgang Denk wrote:
> Dear Yaniv,
>
> In message <20180727153444.5602-1-yaniv.levin...@compulab.co.il> you wrote:
>> U-Boot fails to load read-only variables from storage after a reset. It
>> happens because the environment hash table prevents creating rea
Describe the interface of environment variable callback functions.
Signed-off-by: Heinrich Schuchardt
---
README | 11 +++
1 file changed, 11 insertions(+)
diff --git a/README b/README
index aee0f7371c4..179d6d74a4a 100644
--- a/README
+++ b/README
@@ -3943,6 +3943,17 @@ If CONFIG_REGEX
Add parameter description.
Signed-off-by: Heinrich Schuchardt
---
drivers/serial/serial.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 63b232b536c..c84fd83f210 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.
Since U-Boot tools are being built anyways it's much nicer
to use them instead of relying on some of them bein installed
on build host (which might easily not be the case).
Signed-off-by: Alexey Brodkin
---
board/synopsys/axs10x/config.mk | 2 +-
board/synopsys/hsdk/config.mk | 2 +-
2 files c
Hi Heinrich,
On Sun, Jul 29, 2018 at 3:49 PM, Heinrich Schuchardt wrote:
> The function crc32() is needed by the EFI subsystem at runtime. So it has
> to be linked into the runtime section together with all dependencies.
>
> Eliminate empty defines local and ZEXPORT.
>
> Mark variables as static
The crc32 of the runtime services table must be updated after detaching.
efi_update_table_header_crc32() must be __efi_runtime. So move it to
efi_runtime.c
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
v4:
rebase on current master
---
include/efi_loader.h | 3 +++
The function crc32() is needed by the EFI subsystem at runtime. So it has
to be linked into the runtime section together with all dependencies.
Eliminate empty defines local and ZEXPORT.
Mark variables as static which are not exported.
Signed-off-by: Heinrich Schuchardt
---
v4:
put all
Update the crc32 of the runtime services table when detaching.
Travis results where ok except for two file size limits exceeded:
https://travis-ci.org/xypron2/u-boot/builds/409390055
v4:
Remove patches accepted for efi-next
Rebase on current master
Do not put functions int
Even if ARC core might handle unaligned access to data this
hardware feature by default is disabled.
But GCC starting from 8.1.0 unconditionally uses it for ARC HS cores.
Which leads to quite strange and fatal run-time failures like the one
below if HW is not configured properly:
| hsdk# sf probe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 07/29/2018 03:33 AM, Tom Rini wrote:
> On Sat, Jul 28, 2018 at 11:32:56PM +0200, Heinrich Schuchardt
> wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA512
>>
>> On 07/28/2018 08:33 PM, Tom Rini wrote:
>>> On Sat, Jul 28, 2018 at 07:10:39PM
These two routines are internal to pch_gbe driver.
Signed-off-by: Bin Meng
---
drivers/net/pch_gbe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c
index d31c45f..2286dd0 100644
--- a/drivers/net/pch_gbe.c
+++ b/drivers/net/
On 07/20/2018 04:57 AM, AKASHI Takahiro wrote:
> The error message to be matched is wrong. Fix it.
>
> Signed-off-by: AKASHI Takahiro
> ---
> test/fs/fs-test.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh
> index 2e8d5ee4df..7
42 matches
Mail list logo