On Thu, Oct 3, 2019 at 8:47 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Two functions in this file return early for no good reason. Adjust the
> > code to match the standard DM style of returning 0 at the end of the
> > function on success.
> >
> > Oddly eno
On Thu, Oct 3, 2019 at 8:47 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > The pr_debug() functions do not response to setting the log level and in
> > fact have their own separate log level. Use U-Boot logging instead.
> >
> > Perhaps we should make these opti
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present this function is never called when of-platdata is enabled since
> > we never have a device tree. However, this function is responsible for
> > copying over the of-platdata, so
On Thu, Oct 3, 2019 at 8:48 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > These functions cannot work with of-platdata since libfdt is not
> > available. At present when dev_read_...() functions are used it produces
> > error messages about ofnode which is con
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present when multiple 'ut dm' commands are executed, all but the first
> > is run with a flat tree, even if live tree is enabled. This is because the
> > live tree node pointer is set
On Thu, Oct 3, 2019 at 8:47 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Sometimes devices don't appear and it can be confusing. Add a few notes to
> > help with this situation.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > doc/driver-model/debugging.r
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present tests that are marked as only for livetree fail when executed
> > on sandbox_flattree. They cannot actually be executed, but we should not
> > resport them as 'not found', sin
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > This should perhaps be a period but it is not necessary. Remove it.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > test/dm/test-main.c | 2 +-
> > 1 file changed, 1 insertion(+), 1
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > This function returns -ENODEV when there is no device. This is
> > inconsistent with other functions, such as uclass_find_next_device(),
> > which returns 0.
> >
> > Update it and tidy u
On Sat, Oct 5, 2019 at 9:58 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present address translation does not work since there is no ranges
> > property in the spmi nodes. Add empty ranges properties and a little more
> > logging so that this shows the err
On Fri, Oct 4, 2019 at 5:44 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > We have a 'safe' version of this function but sometimes it is not needed.
> > Add a normal version too and update a few places that can use it.
> >
> > Signed-off-by: Simon Glass
> > --
On Sat, Oct 5, 2019 at 9:58 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present running sandbox with valgrind produces some warnings due to the
> > MMC emulator not filling in all the expected fields. Fix it.
> >
> > Signed-off-by: Simon Glass
> > ---
>
On Sat, Oct 5, 2019 at 10:01 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > These functions are available on x86 but not sandbox. They are useful
> > shortcuts and clarify the code, so add them to sandbox.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > ar
On Sat, Oct 5, 2019 at 10:01 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Some functions and a struct should be marked static since they are not
> > used outside this file. Update them.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > drivers/misc/swap_ca
On Sat, Oct 5, 2019 at 10:01 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > This method is not used anymore since the bus/device/function of PCI
> > devices can be obtained from their (parent's per-child) platform data.
> > Drop it.
> >
> > Signed-off-by: Simon
On Sat, Oct 5, 2019 at 9:58 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Rename this ID to SANDBOX_PCI_SWAP_CASE_EMUL_ID since it is more
> > descriptive and allows us to add new PCI emulators without any conflict or
> > confusion.
> >
> > Signed-off-by: Simo
On Sat, Oct 5, 2019 at 10:17 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > This function is useful in PCI emulators. More it into the header file to
> > avoid duplicating it in other drivers.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > drivers/misc/sw
On Sat, Oct 5, 2019 at 11:13 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > U-Boot already supports using -D to indicate that it should use the normal
> > device tree. It is sometimes useful to run with the test device tree, e.g.
> > when running a test. Add a
On Sat, Oct 5, 2019 at 11:14 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Increase the memory space so we can support the p2sb bus which needs
> > multiples of 1MB.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > arch/sandbox/dts/test.dts | 2 +-
> > 1 f
On Sat, Oct 5, 2019 at 11:30 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present these functions are stubbed out. For more comprehensive testing
> > with PCI devices it is useful to be able to fully emulate I/O access. Add
> > simple implementations for t
On Sat, Oct 5, 2019 at 1:03 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Sandbox i2c works using emulation drivers which are currently children of
>
> pci
>
> > the i2c device:
>
> pci
Fixed these, and
>
> >
> > pci-controller {
> >
On Sat, Oct 5, 2019 at 1:03 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Update the debugging info a little to show the result of trying to bind
> > a PCI device.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > drivers/pci/pci-uclass.c | 3 ++-
> > 1 fil
On Sat, Oct 5, 2019 at 1:03 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present PCI emulation devices are not probed before use, since they
> > used to be children of the device that used them, and children cannot be
> > probed before their parents.
> >
>
On Sat, Oct 5, 2019 at 1:03 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Fix these spelling errors the header file and documentation.
>
> in the header
>
> >
> > Fix a small typo in the PCI documentation.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > d
On Sat, Oct 5, 2019 at 1:03 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present U-Boot runs autoconfig in SPL but this is best left to U-Boot
> > proper. For TPL and SPL we can normally used fixed BARs and save code size
> > and time.
> >
> > Signed-off-b
Hi Adam,
(Adding MMC and i.MX maintainers to Cc)
On Fri, Sep 27 2019, Adam Ford wrote:
> On Fri, Sep 27, 2019 at 4:38 AM Jonathan Gray wrote:
>>
>> On Thu, Sep 26, 2019 at 05:07:21PM -0300, Fabio Estevam wrote:
>> > Hi Vagrant,
>> >
>> > On Thu, Sep 26, 2019 at 4:16 PM Vagrant Cascadian
>> > w
%s/plaforms/platforms/g
Signed-off-by: Heinrich Schuchardt
---
.gitlab-ci.yml | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1c5b4fc76..0c4343468d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -59,7 +59,7 @@ stages:
On Sun, Oct 6, 2019 at 6:26 PM Heinrich Schuchardt wrote:
>
> %s/plaforms/platforms/g
>
> Signed-off-by: Heinrich Schuchardt
> ---
>
> .gitlab-ci.yml | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Reviewed-by: Bin Meng
___
U-Boot m
On Sat, Oct 5, 2019 at 9:12 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > If PCI auto-config runs out of memory, show a few more details to help
> > diagnose the problem.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > drivers/pci/pci_auto_common.c | 3 ++
On Sat, Oct 5, 2019 at 9:12 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > When this UART is used early in boot (before PCI is set up) it is
> > convenient to store the PCI BDF of the UART so that it can be manually
> > configured. This is useful when it is use
On Sat, Oct 5, 2019 at 9:12 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present this fails silently which can be confusing since some devices
> > on the PCI bus may not work correctly. Show a message in this case
>
> nits: missing . after case
Fixed, and
On Sat, Oct 5, 2019 at 9:12 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present PCI address transaction is not supported so drivers must
> > manually read the correct BAR after reading the device tree info. The
> > ns16550 has a suitable implementation, s
On Sat, Oct 5, 2019 at 10:42 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Some x86 sections have special offsets which currently result in empty
> > data being returned from the 'extract' command. Fix this by taking account
> > of the skip-at-start property.
On Sat, Oct 5, 2019 at 10:42 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > Provide these values which are part of the EC interface now.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > include/ec_commands.h | 4
> > 1 file changed, 4 insertions(+)
> >
On Sat, Oct 5, 2019 at 10:41 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present this function is not present in the Entry base class so it is
> > hard to find the documentation for it. Move the docs from the section
> > class and expand it a little.
> >
On Sat, Oct 5, 2019 at 10:42 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > If a log statement includes a variable and logging is disabled, this can
> > generate warnings about unused variables. Add a bit more complexity to the
> > macros to avoid this for the
On Sat, Oct 5, 2019 at 10:42 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > The image-header currently sets it offset assuming that skip-at-start is
> > zero. This does not work on x86 where offsets end at 4GB. Add in this
> > value so that the offset is correc
On Sat, Oct 5, 2019 at 9:12 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present the verbose flag only works for the 'build' command. This is
> > not intended, nor is it useful. Update the code to support the verbose
> > flag and make use of a command exce
Macro ERRNO_MSG() ignores the error number but we should still use the same
constants as in include/linux/errno.h.
Signed-off-by: Heinrich Schuchardt
---
lib/errno_str.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/errno_str.c b/lib/errno_str.c
index 0ba950e970..fb
> > I just tested mx6cuboxi with 2019.10-rc4, and it fails to load
> > u-boot.img from MMC:
> >
> > 1 2019-09-26_17:31:27.63089 U-Boot SPL 2019.10-rc4+dfsg-1 (Sep 24 2019 -
> > 08:03:23 +)
> > 2 2019-09-26_17:31:27.63092 Trying to boot from MMC2
> > 3 2019-09-26_17:31:27.63095 MMC Device 1 not
On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
>
> Hi Adam,
>
> (Adding MMC and i.MX maintainers to Cc)
>
> On Fri, Sep 27 2019, Adam Ford wrote:
> > On Fri, Sep 27, 2019 at 4:38 AM Jonathan Gray wrote:
> >>
> >> On Thu, Sep 26, 2019 at 05:07:21PM -0300, Fabio Estevam wrote:
> >> > Hi Vagrant
In cmd/regulator.c an error occurs with GCC 9.2.1 if CONFIG_ERRNO_STR is
not defined:
cmd/regulator.c: In function ‘failure’:
cmd/regulator.c:20:2: error: ‘%s’ directive argument is null
[-Werror=format-overflow=]
20 | printf("Error: %d (%s)\n", ret, errno_str(ret));
| ^
On Sun, Oct 6, 2019 at 6:30 AM Adam Ford wrote:
>
> On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
> >
> > Hi Adam,
> >
> > (Adding MMC and i.MX maintainers to Cc)
> >
> > On Fri, Sep 27 2019, Adam Ford wrote:
> > > On Fri, Sep 27, 2019 at 4:38 AM Jonathan Gray wrote:
> > >>
> > >> On Thu, S
Hi Adam,
On Sun, Oct 06 2019, Adam Ford wrote:
> On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
>> (Adding MMC and i.MX maintainers to Cc)
>>
>> On Fri, Sep 27 2019, Adam Ford wrote:
>> > On Fri, Sep 27, 2019 at 4:38 AM Jonathan Gray wrote:
>> >>
>> >> On Thu, Sep 26, 2019 at 05:07:21PM -030
On Sun, Oct 6, 2019 at 7:22 AM Baruch Siach wrote:
>
> Hi Adam,
>
> On Sun, Oct 06 2019, Adam Ford wrote:
> > On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
> >> (Adding MMC and i.MX maintainers to Cc)
> >>
> >> On Fri, Sep 27 2019, Adam Ford wrote:
> >> > On Fri, Sep 27, 2019 at 4:38 AM Jona
errno_str() should not return a random pointer for unknown error codes.
Provide a unit test for errno_str().
Heinrich Schuchardt (2):
lib: errno: check for unsupported error number
test: provide test for errno_str()
lib/errno_str.c | 8 ++-
test/lib/Makefile | 1 +
t
If errno_str() is called with an unsupported error number, do not return a
random pointer but a reasonable text.
Signed-off-by: Heinrich Schuchardt
---
lib/errno_str.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/errno_str.c b/lib/errno_str.c
index fbe56395d1..2
Provide a unit test for errno_str(). Test that known and unknown error
numbers are handled correctly.
Signed-off-by: Heinrich Schuchardt
---
test/lib/Makefile | 1 +
test/lib/test_errno_str.c | 50 +++
2 files changed, 51 insertions(+)
create mode 10
If errno_str() is called with an unsupported error number, do not return a
random pointer but a reasonable text.
Signed-off-by: Heinrich Schuchardt
---
lib/errno_str.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lib/errno_str.c b/lib/errno_str.c
index fbe56395d1..2
On 10/6/19 2:33 PM, Heinrich Schuchardt wrote:
If errno_str() is called with an unsupported error number, do not return a
random pointer but a reasonable text.
Signed-off-by: Heinrich Schuchardt
This mail was sent by mistake. The correct patch is
[PATCH 1/2] lib: errno: check for unsupported
On Sun, Oct 6, 2019 at 7:30 AM Adam Ford wrote:
>
> On Sun, Oct 6, 2019 at 7:22 AM Baruch Siach wrote:
> >
> > Hi Adam,
> >
> > On Sun, Oct 06 2019, Adam Ford wrote:
> > > On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
> > >> (Adding MMC and i.MX maintainers to Cc)
> > >>
> > >> On Fri, Sep
Hi Adam,
On Sun, Oct 06 2019, Adam Ford wrote:
> On Sun, Oct 6, 2019 at 7:30 AM Adam Ford wrote:
>>
>> On Sun, Oct 6, 2019 at 7:22 AM Baruch Siach wrote:
>> >
>> > Hi Adam,
>> >
>> > On Sun, Oct 06 2019, Adam Ford wrote:
>> > > On Sun, Oct 6, 2019 at 5:23 AM Baruch Siach wrote:
>> > >> (Adding
With upcoming patches u-boot.kwb gets too large.
Save 3740 bytes in u-boot.kwb by disabling Unicode support in the UEFI
sub-system.
Signed-off-by: Heinrich Schuchardt
---
configs/sheevaplug_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sheevaplug_defconfig b/configs/shee
On 10/6/19 1:25 AM, Dalon L Westergreen wrote:
> On Sat, 2019-10-05 at 01:49 +0200, Marek Vasut wrote:
>> On 10/5/19 12:30 AM, Dalon Westergreen wrote:
>>> From: Dalon Westergreen
>>> Add a common u-boot devicetree include file for the SocFPGAArria10 device.
>>
>> Isn't arch/arm/dts/socfpga_arria1
On 10/6/19 1:19 AM, Dalon L Westergreen wrote:
> On Sat, 2019-10-05 at 01:51 +0200, Marek Vasut wrote:
>> On 10/5/19 12:30 AM, Dalon Westergreen wrote:
>>> From: Dalon Westergreen
>>> Generic handoff devicetree include uses a header generated bythe qts-filter-
>>> a10.sh script in mach-socfpga. T
The growth of the UEFI sub-system leads to build failures for systems with
strict limits on the U-Boot image size.
CMD_NVEDIT_EFI supports displaying and editing of UEFI variables. The
setting is not needed for booting. Disabling it by default reduces the
size of the U-Boot image by 2 KiB.
Signed
On Sun, Oct 6, 2019 at 7:48 AM Baruch Siach wrote:
>
> Hi Adam,
>
> On Sun, Oct 06 2019, Adam Ford wrote:
> > On Sun, Oct 6, 2019 at 7:30 AM Adam Ford wrote:
> >>
> >> On Sun, Oct 6, 2019 at 7:22 AM Baruch Siach wrote:
> >> >
> >> > Hi Adam,
> >> >
> >> > On Sun, Oct 06 2019, Adam Ford wrote:
>
Set environment variables needed for colored output.
Signed-off-by: Heinrich Schuchardt
---
Hello Tom,
I do not have my own Gitlab to test this. But we should get a more legible
output with these variables set.
Best regards
Heinrich
---
Dockerfile | 4
1 file changed, 4 insertions(+)
di
Hi Adam,
On Sun, Oct 06 2019, Adam Ford wrote:
> On Sun, Oct 6, 2019 at 7:48 AM Baruch Siach wrote:
>> On Sun, Oct 06 2019, Adam Ford wrote:
>> > On Sun, Oct 6, 2019 at 7:30 AM Adam Ford wrote:
>> >>
>> >> On Sun, Oct 6, 2019 at 7:22 AM Baruch Siach wrote:
>> >> >
>> >> > Hi Adam,
>> >> >
>> >>
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> Remove the duplicate definition as it is not needed.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/broadwell/cpu.c | 2 +-
> arch/x86/cpu/broadwell/cpu_full.c | 2 +-
> arch/x86/cpu/intel_common/cpu.c | 2 +-
> arch/x86/inclu
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> This code appears in a few places, so move it to a common file.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/broadwell/cpu_full.c| 20 +---
> arch/x86/cpu/intel_common/cpu.c | 22 ++
> a
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> Modern Intel CPUs use a standard bus clock value of 100MHz, so put this in
> a common file and tidy up the copies.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/broadwell/cpu.c | 2 +-
> arch/x86/cpu/broadwell/c
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> Some MSR registers are defined twice in different parts of the file. Move
> them together and remove the duplicates. Also drop some thermal defines
> which are not used.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/baytrail/cpu.c
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> These functions are the same on modern Intel CPUs, so use common code to
> set them.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/broadwell/cpu.c | 7 ++
> arch/x86/cpu/broadwell/cpu_full.c | 9 --
On Mon, Oct 7, 2019 at 12:09 AM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > These functions are the same on modern Intel CPUs, so use common code to
> > set them.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > arch/x86/cpu/broadwell/cpu.c
On Sun, Oct 6, 2019 at 10:55 AM Baruch Siach wrote:
>
> Hi Adam,
>
> On Sun, Oct 06 2019, Adam Ford wrote:
> > On Sun, Oct 6, 2019 at 7:48 AM Baruch Siach wrote:
> >> On Sun, Oct 06 2019, Adam Ford wrote:
> >> > On Sun, Oct 6, 2019 at 7:30 AM Adam Ford wrote:
> >> >>
> >> >> On Sun, Oct 6, 2019
These two patches fix small issues with the Rockchip RK3328 SDRAM
driver that prevented my PINE64 ROCK64 from booting and running
normally using U-Boot's TPL [1].
The first patch updates the phy_dll_bypass_set() function to use the
correct units for its DDR-frequency parameter, which is already
sp
Fix a pair of tests in phy_dll_bypass_set() that used incorrect units
for the DDR frequency, causing the DRAM controller to be misconfigured
in most cases.
Signed-off-by: Simon South
---
drivers/ram/rockchip/sdram_rk3328.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d
Fix a typo that caused incorrect values to be loaded into the DRAM
controller's deskew registers.
Signed-off-by: Simon South
---
drivers/ram/rockchip/sdram_rk3328.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ram/rockchip/sdram_rk3328.c
b/drivers/ram/rockchip/sdr
On Sun, Oct 06, 2019 at 05:12:02PM +0200, Heinrich Schuchardt wrote:
> Set environment variables needed for colored output.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> Hello Tom,
>
> I do not have my own Gitlab to test this. But we should get a more legible
> output with these variables set.
Hi Jean-Jacques,
On Fri, 2019-09-20 at 17:28 +0200, Jean-Jacques Hiblot wrote:
> To reduce the complexity of the Makefile, let the generator tell what its
> dependencies are. For this purpose use the "--deps" option.
>
We recently added a generic FIT generator script for RISC-V, located at
arch/
On Sun, Oct 06, 2019 at 04:57:29PM +, Auer, Lukas wrote:
> Hi Jean-Jacques,
>
> On Fri, 2019-09-20 at 17:28 +0200, Jean-Jacques Hiblot wrote:
> > To reduce the complexity of the Makefile, let the generator tell what its
> > dependencies are. For this purpose use the "--deps" option.
> >
>
>
On Sun, Oct 06, 2019 at 03:53:42PM +0200, Heinrich Schuchardt wrote:
> The growth of the UEFI sub-system leads to build failures for systems with
> strict limits on the U-Boot image size.
>
> CMD_NVEDIT_EFI supports displaying and editing of UEFI variables. The
> setting is not needed for booting
On Sun, 2019-10-06 at 15:44 +0200, Marek Vasut wrote:
> On 10/6/19 1:19 AM, Dalon L Westergreen wrote:
> > On Sat, 2019-10-05 at 01:51 +0200, Marek Vasut wrote:
> > > On 10/5/19 12:30 AM, Dalon Westergreen wrote:
> > > > From: Dalon Westergreen Generic handoff
> > > > devicetree include uses a head
Hi Jagan,
On Sun, 2019-09-29 at 13:12 +0530, Jagan Teki wrote:
> Sync the hifive-unleashed-a00 dts from Linux with
> below commit details:
> commit 11ae2d892139a1086f257188d457ddcb71ab5257
> Author: Paul Walmsley
> Date: Thu Jul 25 13:41:31 2019 -0700
>
> riscv: dts: fu540-c000: drop "time
Hi Jagan,
On Wed, 2019-10-02 at 15:57 +0530, Jagan Teki wrote:
> On Mon, Sep 30, 2019 at 3:35 PM Bin Meng wrote:
> > Hi Jagan,
> >
> > On Sun, Sep 29, 2019 at 3:42 PM Jagan Teki
> > wrote:
> > > Sync the hifive-unleashed-a00 dts from Linux with
> > > below commit details:
> > > commit 11ae2d89
Am 06.10.2019 um 19:44 schrieb Dalon L Westergreen:
On Sun, 2019-10-06 at 15:44 +0200, Marek Vasut wrote:
On 10/6/19 1:19 AM, Dalon L Westergreen wrote:
On Sat, 2019-10-05 at 01:51 +0200, Marek Vasut wrote:
On 10/5/19 12:30 AM, Dalon Westergreen wrote:
From: Dalon Westergreen <
dalon.westergr
From: Joseph Chen
Trusted-Firmware can also initialize a secure payload to use as a trusted
execution environment. In general for the arm64 case this is provided as
separate image and uboot is supposed to also place it in a predetermined
location in memory and add the necessary parameters to the
A trusted execution environment should also get loaded as loadable from
a fit image, so add the possibility to present a tee.elf to make_fit_atf.py
that then gets included as additional loadable into the generated its.
For ease of integration the additional loadable is created as atf_(x+1)
after a
The following changes since commit dac51e9aaf6fd38298007b266feb6a80e9ec91ee:
Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-10-05
20:06:58 -0400)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git
tags/efi-2020-01-rc1
for you to fetc
On Thu, Oct 03, 2019 at 06:32:11PM +0200, Maxime Ripard wrote:
> I'm not at bootlin anymore, and my mail address doesn't work any longer.
>
> Signed-off-by: Maxime Ripard
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
__
On Thu, Aug 22, 2019 at 04:47:39PM +0900, AKASHI Takahiro wrote:
> With the patch below applied, host_block_dev structure was switched
> to be placed in platdata rather than priv. The command "host info"
> must be aligned with this change. Otherwise, we will see "Segmentation
> Fault."
>
> Fixes:
On Sat, Oct 05, 2019 at 10:10:11PM +0200, Simon Goldschmidt wrote:
> These boards don't have a watchdog enabled in SPL, so make sure
> CONFIG_SPL_WDT is not enabled.
>
> Fixes: commit 6874cb72204f ("watchdog: Split WDT from SPL_WDT")
>
> Signed-off-by: Simon Goldschmidt
Applied to u-boot/maste
On Sun, Oct 06, 2019 at 12:26:16PM +0200, Heinrich Schuchardt wrote:
> %s/plaforms/platforms/g
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Bin Meng
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-
On Sun, Oct 06, 2019 at 10:50:45PM +0200, Heinrich Schuchardt wrote:
> 'make tests' requires cbfstool. But this file is not built by U-Boot.
>
> cbfstool can be built from https://github.com/coreboot/coreboot.git
> after copying some include files from
> https://github.com/coreboot/vboot.git but
With the __packed attribute sandbox_defconfig cannot be compiled with GCC
9.2.1:
fs/cbfs/cbfs.c: In function ‘file_cbfs_fill_cache’:
fs/cbfs/cbfs.c:164:16: error: taking address of packed member of
‘struct cbfs_cachenode’ may result in an unaligned pointer value
[-Werror=address-of-packed-member]
On Sun, 2019-10-06 at 20:05 +0200, Simon Goldschmidt wrote:
> Am 06.10.2019 um 19:44 schrieb Dalon L Westergreen:
> > On Sun, 2019-10-06 at 15:44 +0200, Marek Vasut wrote:
> > > On 10/6/19 1:19 AM, Dalon L Westergreen wrote:
> > > > On Sat, 2019-10-05 at 01:51 +0200, Marek Vasut wrote:
> > > > > On
On Sun, 2019-10-06 at 15:44 +0200, Marek Vasut wrote:
> On 10/6/19 1:19 AM, Dalon L Westergreen wrote:
> > On Sat, 2019-10-05 at 01:51 +0200, Marek Vasut wrote:
> > > On 10/5/19 12:30 AM, Dalon Westergreen wrote:
> > > > From: Dalon Westergreen Generic handoff
> > > > devicetree include uses a head
On Mon, Oct 7, 2019 at 6:37 AM Heinrich Schuchardt wrote:
>
> With the __packed attribute sandbox_defconfig cannot be compiled with GCC
> 9.2.1:
>
> fs/cbfs/cbfs.c: In function ‘file_cbfs_fill_cache’:
> fs/cbfs/cbfs.c:164:16: error: taking address of packed member of
> ‘struct cbfs_cachenode’ may
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> Add a few more CPU functions that are common on Intel CPUs. Also add
> attribution for the code source.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/cpu/intel_common/cpu.c | 60 +++
> arch/x86/include/asm/
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> This function ise effectively replaced by ofnode_read_pci_addr() which
> works with flat tree. Delete it to avoid code duplication.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/core/fdtaddr.c | 13 --
> include/fdtdec.h |
Hi Simon,
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> This function can be called before the timer is set up. Make sure that the
> init function is called so that it works correctly.
>
> Signed-off-by: Simon Glass
> ---
>
> drivers/timer/tsc_timer.c | 2 ++
> 1 file changed, 2 inser
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> At present these uclasses assumes that they are used with a device tree.
> Update them to support of-platdata as well.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/x86/lib/lpc-uclass.c | 2 ++
> drivers/pch/pch-uclass.c | 2 ++
> 2 files
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
>
> The code in swapcase can be used by other sandbox drivers. Move it into a
> common place to allow this.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/sandbox/include/asm/test.h | 15 +++
> drivers/misc/Makefile | 2 +-
On Sat, Oct 05, 2019 at 08:53:39AM +0200, Heinrich Schuchardt wrote:
> On 10/4/19 3:20 AM, AKASHI Takahiro wrote:
> >With this patch, when setting UEFI variable with "env set -e" command,
> >we will be able to
> >- specify vendor guid with "-guid guid",
> >- specify variable attributes, BOOTSERVIC
On Sat, Oct 5, 2019 at 11:18 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present the 'iod' command differs from 'md' in that it only shows a
> > single value. It is useful to see a dump of multiple values, particularly
> > when x86 peripherals contain reg
On Sat, Oct 5, 2019 at 11:18 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present this is defined in Kconfig but there is a separate one in the
> > CONFIG whitelist. It looks like these are duplicates.
> >
> > Rename the non-Kconfig one and remove it from
On Sat, Oct 5, 2019 at 11:18 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > This is currently a decimal value which is not as convenient or
> > meaningful. Also U-Boot tends to use hex everywhere.
> >
> > Convert this option to hex and add a comment for the siz
On Sat, Oct 5, 2019 at 11:18 PM Bin Meng wrote:
>
> On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> >
> > At present there is only one control for this and it is used for both SPL
> > and TPL. But SPL might have a lot more space than TPL so the extra cost of
> > a full printf() might be acc
Hi Simon,
On Sun, Oct 6, 2019 at 5:15 PM Bin Meng wrote:
>
> On Thu, Oct 3, 2019 at 8:48 PM Bin Meng wrote:
> >
> > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass wrote:
> > >
> > > These functions cannot work with of-platdata since libfdt is not
> > > available. At present when dev_read_...() fu
1 - 100 of 123 matches
Mail list logo