Hi Tom,
On 1 October 2016 at 18:46, Tom Rini wrote:
> On Sat, Oct 01, 2016 at 06:29:42PM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 1 October 2016 at 18:15, Tom Rini wrote:
>> > On Wed, Sep 28, 2016 at 09:46:25AM -0600, Simon Glass wrote:
>> >> Hi Tom,
Provide a function to run the Vesa BIOS for a given PCI device and obtain
the resulting configuration (e.g. display size) for use by the video
uclass. This makes it easier to write a video driver that uses vesa and
supports driver model.
Signed-off-by: Simon Glass
---
Update the configuration to use the new driver. Drop the existing plumbing
code and unused header files.
Signed-off-by: Simon Glass
---
arch/x86/cpu/ivybridge/Makefile | 1 -
arch/x86/cpu/ivybridge/bd82x6x.c | 12 -
Update the samus driver to avoid the direct call to the video BIOS setup.
Signed-off-by: Simon Glass
---
arch/x86/cpu/broadwell/sdram.c | 1 -
drivers/video/broadwell_igd.c | 39 +++
2 files changed, 7 insertions(+), 33 deletions(-)
At present we use the legacy vesa driver for graphics. Add a driver which
supports driver model. This can be probed only when needed, removing the
need to start up the display if it is not used.
Signed-off-by: Simon Glass
---
drivers/video/Kconfig | 12 +
Update the common configuration so that it works correctly when
CONFIG_DM_VIDEO is enabled. This involves dropping the legacy CONFIG_VIDEO
option and changing the stdio device from "vga" to "vidconsole".
Signed-off-by: Simon Glass
---
include/configs/x86-chromebook.h | 10
At present all video devices are probed on start-up. It would be better to
probe a device only when it is needed. This can happen if it is referenced
in the stdout environment variable, for example.
Add support for this by searching for a suitable device when needed, probing
it, and finding the
We have list_first_entry() but in some cases it is useful to find the last
item added to the list. Add a macro for this.
Signed-off-by: Simon Glass
---
include/linux/list.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/linux/list.h
'enabled' should be 'enables'. Fixit.
Signed-off-by: Simon Glass
---
drivers/video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 8361a71..97dbb64 100644
--- a/drivers/video/Kconfig
+++
Bring in a faster memmove() from Linux 4.7. This speeds up scrolling on the
display.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/string.h | 2 +-
arch/x86/lib/Makefile | 1 +
arch/x86/lib/memmove.c| 193 ++
This function should return -1 if there is no trailing integer in the
string. Instead it returns 0. Fix it by checking for this condition at the
start.
Signed-off-by: Simon Glass
---
lib/strto.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
At present samus uses driver model but link does not. This series fixes
this and adds a few features to make it easier to support driver-model
video on other machines that use vesa.
It also includes a faster memmove() function which speeds up scrolling
dramatically.
Simon Glass (12):
Revert
It is useful in debug() statements to display the name of the uclass for a
device. Add a simple function to provide this.
Signed-off-by: Simon Glass
---
drivers/core/uclass.c | 9 +
include/dm/uclass.h | 8
2 files changed, 17 insertions(+)
diff --git
This makes the assumption that setting up pinctrl in cpu_init_r() is safe.
On samus we need GPIOs before relocation in order to support power control.
This commit fixes the following message on boot:
initcall sequence ffe5c6f4 failed at call ffe01d3d (err=-1)
### ERROR ### Please RESET the
The only content of this file is CONFIG options which are no-longer present
in U-Boot. Drop it.
Signed-off-by: Simon Glass
---
doc/README.imx31 | 29 -
1 file changed, 29 deletions(-)
delete mode 100644 doc/README.imx31
diff --git
This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
Signed-off-by: Simon Glass
---
doc/README.nand | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/README.nand b/doc/README.nand
index f1c20ff..2295bb2 100644
--- a/doc/README.nand
+++ b/doc/README.nand
This appears to be calculated automatically now. Drop the old reference.
Signed-off-by: Simon Glass
---
README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README
index 614a81c..17dc34b 100644
--- a/README
+++ b/README
@@ -4480,7 +4480,7 @@
This option is not used now.
Signed-off-by: Simon Glass
---
doc/README.mpc83xxads | 1 -
1 file changed, 1 deletion(-)
diff --git a/doc/README.mpc83xxads b/doc/README.mpc83xxads
index 7a8b706..372fdd9 100644
--- a/doc/README.mpc83xxads
+++ b/doc/README.mpc83xxads
@@ -50,7
This issue covered by this doc appears to be fixed, so let's remove the
README.
Signed-off-by: Simon Glass
---
doc/README.at91-soc | 48
1 file changed, 48 deletions(-)
delete mode 100644 doc/README.at91-soc
diff --git
CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used
in U-Boot, so drop them.
Signed-off-by: Simon Glass
---
README | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 0c90415..614a81c 100644
--- a/README
+++
This is not used in U-Boot so drop it.
Signed-off-by: Simon Glass
---
README | 5 -
1 file changed, 5 deletions(-)
diff --git a/README b/README
index 17dc34b..1d7d2e3 100644
--- a/README
+++ b/README
@@ -4539,11 +4539,6 @@ Low Level (hardware related) configuration
This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by: Simon Glass
---
README | 2 --
1 file changed, 2 deletions(-)
diff --git a/README b/README
index 7f5de6b..0c90415 100644
--- a/README
+++ b/README
@@ -2273,8 +2273,6 @@ CBFS (Coreboot
This is not used in U-Boot.
Signed-off-by: Simon Glass
---
README | 4
1 file changed, 4 deletions(-)
diff --git a/README b/README
index 43e4d99..7f5de6b 100644
--- a/README
+++ b/README
@@ -1481,10 +1481,6 @@ The following options need to be configured:
This is not used in U-Boot.
Signed-off-by: Simon Glass
---
README | 4
1 file changed, 4 deletions(-)
diff --git a/README b/README
index da1c033..43e4d99 100644
--- a/README
+++ b/README
@@ -1297,10 +1297,6 @@ The following options need to be configured:
This is not used in U-Boot.
Signed-off-by: Simon Glass
---
README | 5 -
1 file changed, 5 deletions(-)
diff --git a/README b/README
index 703c5f4..da1c033 100644
--- a/README
+++ b/README
@@ -695,11 +695,6 @@ The following options need to be configured:
There appear to be neither implemented nor used. Drop them.
Signed-off-by: Simon Glass
---
README| 12 +---
doc/README.JFFS2 | 43 +++
doc/README.JFFS2_NAND | 20 ++--
3 files changed, 6
Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass
---
README | 20
include/configs/ls2080a_simu.h | 3 ---
2 files changed, 23 deletions(-)
diff --git a/README b/README
index cdd58db..703c5f4 100644
--- a/README
These are no-longer present in U-Boot. Drop them.
Signed-off-by: Simon Glass
---
README | 25 -
1 file changed, 25 deletions(-)
diff --git a/README b/README
index 5499a4c..e0c78fb 100644
--- a/README
+++ b/README
@@ -325,27 +325,6 @@ The following
This is no longer in the U-Boot source code, so drop this note from the
README.
Signed-off-by: Simon Glass
---
README | 14 --
1 file changed, 14 deletions(-)
diff --git a/README b/README
index bc626dc..5499a4c 100644
--- a/README
+++ b/README
@@ -578,20 +578,6
Change this to CONFIG_ENV_OFFSET_REDUND.
Signed-off-by: Simon Glass
---
README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README b/README
index e0c78fb..57dd79c 100644
--- a/README
+++ b/README
@@ -4156,7 +4156,7 @@ to save the current settings.
These have now landed upstream. The naming is different and in one case the
function signature has changed. Update the code to match.
This applies the following upstream commits by
Thierry Reding :
604e61e fdt: Add functions to retrieve strings
8702bd1 fdt: Add a
The signature for this macro has changed. Bring in the upstream version and
adjust U-Boot's usages to suit.
Signed-off-by: Simon Glass
---
arch/arm/mach-tegra/xusb-padctl-common.c | 4 ++--
common/image-fit.c | 2 +-
common/image-sig.c
The README mentions various options that are not used in U-Boot. This
series tidies these up.
There are also some other README files that are out of date, or reference
old options. This series tidies up/removes some of these also.
Simon Glass (16):
README: Drop old Intel Monahans comment
The fdt_path_offset() function is not inlined in upstream libfdt. Adjust
U-Boot's version to match.
Signed-off-by: Simon Glass
---
include/libfdt.h| 5 +
lib/libfdt/fdt_ro.c | 5 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/libfdt.h
This includes small changes to the following functions, from upstream
commit 6d1832c:
- fdt_get_max_phandle() (upstream commit 84e0e134)
- fdt_node_check_compatible (upstream commit 53bf130b)
- fdt_setprop_inplace_namelen_partial() to remove useless brackets and
use idx instead of index
-
From: David Gibson
Using pointer arithmetic to generate a pointer outside a known object is,
technically, undefined behaviour in C. Unfortunately, we were using that
in fdt_offset_ptr() to detect overflows.
To fix this we need to do our bounds / overflow checking
Hi Tom,
Here is a second installment for rockchip - more rk3399 support and
some other fairly minor changes.
The following changes since commit 45b047e557bdcf68dc08e61cf207dd35b9ba8bbc:
Merge branch 'master' of git://git.denx.de/u-boot-nds32 (2016-09-30
21:59:11 -0400)
are available in the
On 22 September 2016 at 07:50, Simon Glass wrote:
> On 20 September 2016 at 10:10, Hannes Schmelzer wrote:
>>
>> From: Hannes Schmelzer
>>
>> Sometimes devicetree nodes and or properties are added out of the u-boot
>>
Like a sd card. I have emmc to sd adapter, so
dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8
and then just solder emmc to my board.
2 окт. 2016 г. 23:08 пользователь "Jagan Teki"
написал:
On Sun, Oct 2, 2016 at 7:13 PM, Alexandr Bochkarev
Hi!
MMC boot on the ClearFog (base) still seems to fail (uart boot works
fine apart from uart detection). The SPL seems to finish successfully
and jump to u-boot but there is no further output then. I'm trying to
enable even more `DEBUG` but help is indeed welcome!
Regards
Christoph
Emmc Card was the new one, so i just burn a dump of working sd. Previously
sd have been wired to board for test.
Board is a custom, like olinuxino lime which with nand and sd slot, 512 mb
ram. So i using it defconfig and in case of sd card, it works.
Emmc lines has external pullups according to
Already tried. The same output:
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
> 2 окт. 2016 г., в 19:38, Jagan Teki написал(а):
>
> On Sun, Oct 2, 2016 at 1:07 PM, Alexandr
Dear Robert,
In message you wrote:
>
> i'm going to assume other net-related commands have this behaviour
> as well, yes? like ping? which would explain why ping'ing even the
> alleged gateway didn't work in this context.
Yes. This is
I guess I'm not sure what you're saying then; do you want a smaller
config? Or something else? Currently bananapi-r1 does not work at
all without its own config and .dts file. Do you have a different
solution? BTW, I also have kernel dts patches but everything hinges
on correctly setting up
On Sun, Oct 2, 2016 at 11:26 PM, Stephen Arnold
wrote:
> It can't. Ethernet and USB are both fubar'd using lamobo-r1 on
> bananapi-r1. Mainly the GMAC delay is different, If you buy one and
> test it, you will find that they are definitely *not* compatible.
>
On 25 September 2016 at 15:52, Simon Glass wrote:
> There is no need to pass a node path separately. Instead we should use the
> path for the node provided. Correct this.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Add new patch to adjust
On 25 September 2016 at 15:52, Simon Glass wrote:
> We need to test both the normal (Python libfdt module) and fallback (fdtget)
> implementations of the Fdt class. Add a way to select which implementation
> to use.
>
> Signed-off-by: Simon Glass
> ---
>
>
On 25 September 2016 at 15:52, Simon Glass wrote:
> This does not actually call fdtget correctly when requesting a particular
> type. Fix it.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Add a new patch to fix a bug in GetProp()
>
>
It can't. Ethernet and USB are both fubar'd using lamobo-r1 on
bananapi-r1. Mainly the GMAC delay is different, If you buy one and
test it, you will find that they are definitely *not* compatible.
Period.
Steve
On Sun, Oct 2, 2016 at 10:17 AM, Jagan Teki wrote:
> On
On Sun, Oct 2, 2016 at 10:45 PM, AneoX wrote:
> Like a sd card. I have emmc to sd adapter, so
>
> dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8
I guess you cleaned[1] the card before doing this?
>
> and then just solder emmc to my board.
OK, which a20 board?
On Sun, Oct 2, 2016 at 10:06 AM, Stephen Arnold
wrote:
> From: Steve Arnold
>
> * needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)
> * tested with 4.8_rc6 b53-mdio and kernel dts switch nodes
>
> Signed-off-by: Stephen Arnold
On Sun, Oct 2, 2016 at 7:13 PM, Alexandr Bochkarev
wrote:
> Already tried. The same output:
>
> mmc_load_image_raw_sector: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
Need few more info, how exactly you wrote
Hi Paul,
2016-10-01 23:19 GMT+09:00 Paul Burton :
> README states that CONFIG_SYS_SDRAM_BASE should be the physical address
> of the base of SDRAM memory. This is expected by some code such as the
> PCI layer, which uses CONFIG_SYS_SDRAM_BASE to set up a region for
>
On Sun, Oct 2, 2016 at 1:07 PM, Alexandr Bochkarev
wrote:
> Hi!
>
> I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no
> success.
> Commenting mmc_change_freq has no effect.
> U-Boot 2016.03 just says Could not determine boot source
>
> I have found,
From: Jagan Teki
Add FEC dts support for Engicam i.CoreM6 dql modules.
Cc: Joe Hershberger
Cc: Stefano Babic
Cc: Matteo Lisi
Cc: Michael Trimarchi
Signed-off-by: Jagan
From: Jagan Teki
Use CONFIG_DM_ETH and remove board_eth_init code
from board files.
Cc: Joe Hershberger
Cc: Peng Fan
Cc: Stefano Babic
Cc: Michael Trimarchi
Signed-off-by:
From: Jagan Teki
This patch add driver model support for fec_mxc driver.
Cc: Simon Glass
Cc: Joe Hershberger
Cc: Peng Fan
Cc: Stefano Babic
Cc: Michael Trimarchi
From: Jagan Teki
This series convert fec_mxc to DM and tested both dm and
non-dm code. This is on top of engicam qdl[1]
Changes for v3:
- Add ARM: dts: imx6qdl-icore: Add FEC support
- icorem6: Use CONFIG_DM_ETH support
Changes for v2:
- Add
Hi Tom,
On Sun, Oct 2, 2016 at 7:03 AM, Tom Rini wrote:
> On Mon, Aug 29, 2016 at 07:46:47AM +0200, Heiko Schocher wrote:
>
>> when using tftp on the smartweb board, it prints, when
>> using the tftp command:
>>
>> Using ethernet@fffc4000 device
>> TFTP from server
From: Steve Arnold
* needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)
* tested with 4.8_rc6 b53-mdio and kernel dts switch nodes
Signed-off-by: Steve Arnold
---
arch/arm/dts/Makefile | 1 +
Hi!
I am trying to boot my A20 board from eMMC KLM4G1FE3B-B001, but has no success.
Commenting mmc_change_freq has no effect.
U-Boot 2016.03 just says Could not determine boot source
I have found, that it stucks in sunxi_mmc_has_egon_boot_signature.
int
From: Steve Arnold
* needs different GMAC_TX_DELAY than lamobo-r1 (not compatible)
* tested with 4.8_rc6 b53-mdio and kernel dts switch nodes
Signed-off-by: Stephen Arnold
Cc: Ian Campbell
Cc: Hans De Goede
On Mon, Aug 29, 2016 at 07:46:47AM +0200, Heiko Schocher wrote:
> when using tftp on the smartweb board, it prints, when
> using the tftp command:
>
> Using ethernet@fffc4000 device
> TFTP from server 192.168.1.1; our IP address is 192.168.20.80
> Filename
On 01.10.16 23:32, Stefan Brüns wrote:
> allocate_pool has to return a buffer which is 8-byte aligned. Shift the
> region returned by allocate_pages by 8 byte and store the size in the
> headroom. The 8 byte overhead is neglegible, but provides the required
> size when freeing the allocation
On 01.10.16 23:32, Stefan Brüns wrote:
> Implementation essentially unchanged, but use EFI_PAGE_MASK/SHIFT
> instead of numeric constants.
Sorry for being nitpicky about the commit message again. Imagine you're
a distribution maintainer for U-Boot and you need to read the commit
messages of all
On 01.10.16 23:32, Stefan Brüns wrote:
> Do not overwrite the specified size of the provided buffer without
> having checked it is sufficient.
>
> If the buffer is to small, memory_map_size is updated to indicate the
> required size, and an error code is returned.
>
> Signed-off-by: Stefan
On 01.10.16 23:32, Stefan Brüns wrote:
> In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where
> changed, but the description was kept.
>
> Signed-off-by: Stefan Brüns
Reviewed-by: Alexander Graf
Alex
On Sat, 1 Oct 2016, Wolfgang Denk wrote:
... snip ...
> Actually the TFTP will not access the environment directly to
> determine the boot parameters like bootfile, ipaddr, gatewayip,
> netmask, serverip, etc.; instead, it uses internal variables. So
> your environment settings for "ipaddr" and
On Sat, 1 Oct 2016, Wolfgang Denk wrote:
> Dear Robert,
>
> In message you
> wrote:
> >
> > > 244 /* If there is a callback, call it */
> > > 245 if (htab->table[idx].entry.callback &&
> >
Hi Paul,
On 01/10/2016 16:19, Paul Burton wrote:
Most architectures currently supported by U-Boot use trivial
implementations of map_to_physmem & virt_to_phys which simply cast a
physical address to a pointer for use a virtual address & vice-versa.
This results in a lot of duplicate
Dear Paul,
On 01/10/2016 16:19, Paul Burton wrote:
Convert the m68k architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for m68k this is primarily a matter of emoving code.
Feedback from architecture maintainers
71 matches
Mail list logo