On 14.12.2016 20:13, Moritz Fischer wrote:
> Whoops,
>
> On Thu, Dec 8, 2016 at 12:11 PM, Moritz Fischer
> wrote:
>> This is not currently implemented. Add support for this so that the
>> Chrome OS EC can be used reliably.
>>
>> Signed-off-by: Moritz Fischer
>> Cc: Jagan Teki
>> Cc: Simon Glass
On 14.12.2016 16:00, Mike Looijmans wrote:
>
>> I am not marketing guy to say how often there are designs with only
>> different DDR size like Mike's example but in fpga world you are not
>> buying this chip to have only static part but you want to use fpga part
>> and for that you need to use des
Hi Kever & Simon,
在 2016年12月14日 15:07, Kever Yang 写道:
Hi Simon,
On 12/12/2016 04:27 AM, Simon Glass wrote:
Hi Nickey,
On 8 December 2016 at 21:39, Nickey Yang
wrote:
isp-camera image will be broken when enter dual screen display mode.
We set isp qos high to solve this problem.
Signed-off
From: Hou Zhiqiang
Signed-off-by: Hou Zhiqiang
---
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 6772584..28d474b 100644
--- a/arch/arm/cpu/armv8/fsl-
From: Mingkai Hu
For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
set. The SMPEN bit should be set before enabling the data cache.
If not enabled, the cache is not coherent with other cores and
data corruption could occur.
For A57/A72, SMPEN bit enables the processor to rec
On 12/15/2016 11:12 AM, Marek Vasut wrote:
> On 12/15/2016 03:02 AM, Jaehoon Chung wrote:
>> This patch fixes for the below warning.
>>
>> drivers/usb/gadget/dwc2_udc_otg.c:72:19: warning: 'driver_desc' defined but
>> not used [-Wunused-const-variable=]
>> static const char driver_desc[] = DRIVER
Hi.
The recent GCC versions catch unused variables.
This makes build testing noisy.
Of course, we could use old GCC when running Buildman,
but it would be nicer to eliminate the root causes.
I got the following when I recently ran Buildman with arm/aarch64 GCC 6.1.
drivers/usb/gadget/dwc2_udc
Enable driver model and device tree on this board. Set it to use the new
driver-model serial driver.
Signed-off-by: Simon Glass
---
configs/bf537-stamp_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/bf537-stamp_defconfig b/configs/bf537-stamp_defconfig
index 599a4a0
Add a serial driver that supports driver model. So far it only works with
the v1 serial port.
Signed-off-by: Simon Glass
---
arch/blackfin/include/asm/serial1.h | 2 +
drivers/serial/Kconfig | 8 ++
drivers/serial/serial_bfin.c| 192
Since all drivers are now converted, we can update the README to cover
this.
Signed-off-by: Simon Glass
---
doc/driver-model/serial-howto.txt | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/doc/driver-model/serial-howto.txt
b/doc/driver-model/serial-howto.txt
ind
The debug_uart function is useful for debugging early init problems. While
blackfin has its own means of doing this, it would be better to support
the standard approach. Add a call to init the debug UART early in
start-up.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c | 5 +
1 file
Enable device-tree control for this board, as an example for others. This
pushes the size of U-Boot over the 256KB limit, so extend this limit to
512KB.
Signed-off-by: Simon Glass
---
arch/blackfin/dts/Makefile| 18 ++
arch/blackfin/dts/bf537-stamp.dts | 11 +++
This driver has been converted, so drop it from the hit list.
Signed-off-by: Simon Glass
---
doc/driver-model/serial-howto.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/doc/driver-model/serial-howto.txt
b/doc/driver-model/serial-howto.txt
index a0df9a7..67d0983 100644
--- a/doc/driver
Update blackfin to support device-tree control.
Signed-off-by: Simon Glass
---
arch/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index ffc7b45..722889d 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -25,6 +25,7 @@ config AVR32
config BLACKFIN
In some cases it can take a enough time to output serial characters that
the watchdog triggers. Add a reset call to avoid this. This mirrors a
similar call on input.
Signed-off-by: Simon Glass
---
drivers/serial/serial-uclass.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/seria
Blackfin currently uses BSS variables before location. The device tree
overlaps with the BSS region, meaning that it gets overwritten by any BSS
variable accesses. To work around this, copy it out of the way early in
boot.
The correct fix would be to adjust blackfin to avoid using BSS so early,
bu
We have already set up gd in the standard board_init_f_init_reserve()
function. Drop the duplicate setup.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/arch/blackfin/cpu/cpu.c b/arch/blackfin/cpu/cpu.c
index d46e251..25c97b
Move the setting of the RAM size out of the function which now only deals
with bd_info. This will allow us to rename it.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/blackfin/cpu/cpu.c b/arch/blackfin/cpu/cpu.c
At present bd_info is set up very early in boot, before board_init_f() is
called. But the board info is supposed to be allocated in board_init_f(),
with a call to reserve_board().
To fix this, drop the current static variable for board info and set up
the information at the end of the board_init_f
Rather than jumping directly to the assembler relocation code, call a C
function first. This will allow us to add board-specific adjustments.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c| 7 +++
arch/blackfin/cpu/start.S | 6 +++---
arch/blackfin/include/asm/u
This is not used in U-Boot. Drop it from the whitelist.
Signed-off-by: Simon Glass
---
scripts/config_whitelist.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ea1350d..8f65c0f 100644
--- a/scripts/config_whitelist.txt
+++
This is not needed now that we calculate the stack base at run time. Drop
it.
Signed-off-by: Simon Glass
---
arch/blackfin/include/asm/config.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/blackfin/include/asm/config.h
b/arch/blackfin/include/asm/config.h
index 27e8f3d..ea30ff8 1
This is not used in U-Boot, so drop it from the config. Since this is the
last user, drop it from the whitelist also.
Signed-off-by: Simon Glass
---
arch/blackfin/include/asm/config.h | 3 ---
scripts/config_whitelist.txt | 1 -
2 files changed, 4 deletions(-)
diff --git a/arch/blackfin/
This should not really be a CONFIG option since it is only used as a way
of controlling another option. Rename it and remove it from the whitelist.
Signed-off-by: Simon Glass
---
include/configs/tegra-common.h| 2 +-
include/configs/tegra114-common.h | 2 +-
include/configs/tegra124-common.
Adjust the call sequence a little so that it follows ARM: board_init_f()
is called from assembly code.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c | 6 --
arch/blackfin/cpu/start.S | 3 ++-
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/arch/blackfin/cpu/cpu.c b
This is not used in U-Boot with generic board so there is no sense in
defining it. It just adds confusion.
Drop it from the config files.
Signed-off-by: Simon Glass
---
cmd/bdinfo.c | 2 --
include/configs/gr_cpci_ax2000.h | 5 +
include/configs/gr_ep2s60.h|
Rather than using a hard-coded stack address, call
board_init_f_alloc_reserve() and board_init_f_init_reserve() and use the
stack address thus obtained. This makes blackfin more like other archs.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/start.S | 9 +++--
1 file changed, 7 insertion
We should not be setting up board info so early. With generic board the
gd->bd pointer is not valid until reserve_board() is called, much later in
the init sequence.
As a first step, adjust print_cpuinfo() to use the CONFIG instead of the
board info.
Signed-off-by: Simon Glass
---
arch/blackfi
We don't need to clear BSS in assembler. Move it to C to reduce the amount
of assembly code needed.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/cpu.c | 3 +++
arch/blackfin/cpu/start.S | 13 -
2 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/arch/blackfin/cpu/
The P3 register is used to hold the global_data pointer. At present this
is not set up until cpu_init_f() is called, but we want to instead set it
up using the standard board_init_f_init_reserve() function. To avoid it
being overwritten use P2 instead of P3 in early init.
Signed-off-by: Simon Glas
With generic board, U-Boot expects to have a regions of memory to use
before relocation for the stack and early malloc(). Blackfin works around
this and 'accurately guesses' the final location of several regions very
early during boot. It also uses BSS space to hold global_data.
It would be better
Adjust the code to work as on ARM, where the compiler generates the BSS
symbols. This makes it easier to move the BSS memset() to C code.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/start.S| 4 ++--
arch/blackfin/cpu/u-boot.lds | 18 --
arch/blackfin/lib/sections.c |
On blackfin we need to relocate the device tree early on during boot
because it breaks the rules of not accessing BSS before relocation. To
accommodate this, add a check to see if the device tree pointer is already
set up. If it is, leave it alone.
Signed-off-by: Simon Glass
---
lib/fdtdec.c |
There is an extra blank line in this script. Drop it.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/u-boot.lds | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/blackfin/cpu/u-boot.lds b/arch/blackfin/cpu/u-boot.lds
index 30964ad..1c0df25 100644
--- a/arch/blackfin/cpu/u-boot.lds
+++ b
Add _image_copy_start, __end and __image_binary_end so we can use the
standard mechanism for locating the device tree. This only works if data
follow text, so use an #ifdef to ensure that for now.
Signed-off-by: Simon Glass
---
arch/blackfin/cpu/u-boot.lds | 5 +
1 file changed, 5 insertion
At present the only serial driver that is not converted to driver mode is
blackfin. As I recently obtained a suitable board from a kind donor I have
decided to convert the driver over, as the unpalatable alternative would
be to remove blackfin support from U-Boot.
Blackfin's init sequence is someo
These are not used since the 'mtest' command is not enabled on blackfin.
They are also a pain since they pre-suppose the memory layout. Drop them.
Signed-off-by: Simon Glass
---
arch/blackfin/include/asm/config.h | 6 --
include/configs/bf609-ezkit.h | 1 -
2 files changed, 7 deletions
On 12/15/2016 03:02 AM, Jaehoon Chung wrote:
> This patch fixes for the below warning.
>
> drivers/usb/gadget/dwc2_udc_otg.c:72:19: warning: 'driver_desc' defined but
> not used [-Wunused-const-variable=]
> static const char driver_desc[] = DRIVER_DESC;
>
> Signed-off-by: Jaehoon Chung
Masahi
This patch fixes for the below warning.
drivers/usb/gadget/dwc2_udc_otg.c:72:19: warning: 'driver_desc' defined but not
used [-Wunused-const-variable=]
static const char driver_desc[] = DRIVER_DESC;
Signed-off-by: Jaehoon Chung
---
drivers/usb/gadget/dwc2_udc_otg.c | 2 --
1 file changed, 2 d
On Wed, Dec 14, 2016 at 04:36:58PM +0100, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks!
> Jagan.
>
> The following changes since commit 136179bec19f4bc84227cba138214ea392a723ea:
>
> colibri_pxa270: transition to driver model for serial (2016-11-23 13:53:20
> +0100)
>
> a
Hi,
On Wed, Dec 14, 2016 at 11:28:43 CET, Maxime Ripard wrote:
> Hi,
>
> On Tue, Dec 13, 2016 at 09:13:11PM +0100, Jernej Škrabec wrote:
> > Hi,
> >
> > On Tue, Dec 13, 2016 at 16:40:55 CET, Maxime Ripard wrote:
> > > Hi,
> > >
> > > On Tue, Dec 13, 2016 at 01:36:29AM +0100, Jernej Skrabec wrot
Whoops,
On Thu, Dec 8, 2016 at 12:11 PM, Moritz Fischer
wrote:
> This is not currently implemented. Add support for this so that the
> Chrome OS EC can be used reliably.
>
> Signed-off-by: Moritz Fischer
> Cc: Jagan Teki
> Cc: Simon Glass
> Cc: u-boot@lists.denx.de
Cc: Michal Simek
> ---
>
Hi Bin,
Thanks for your review!
B.R
Zhiqiang
> -Original Message-
> From: Bin Meng [mailto:bmeng...@gmail.com]
> Sent: 2016年12月13日 15:48
> To: Z.Q. Hou
> Cc: U-Boot Mailing List ; Albert ARIBAUD
> ; Prabhakar Kushwaha
> ; Alison Wang ;
> Sumit Garg ; Ruchika Gupta ;
> york sun ; M.H. Li
Hello,
I am currently working on u-boot mainline code supporting Marvell
Armada armv8 platforms (80x0, 70x0, 37x0).
During this coding and testing cycles I found a very strange issue
related to u-boot e1000 network driver.
The PCIe e1000 NIC is tested on 2 platforms based on the same SoC (8040).
O
On Tue, Dec 6, 2016 at 5:07 PM, Maxime Ripard
wrote:
> On Mon, Dec 05, 2016 at 07:47:21PM +0100, Jelle van der Waa wrote:
>> The nanopi already had the CONFIG_SUN8I_EMAC=y enabled in it's defconfig
>> file, but was missing the &emac the device tree entry.
>>
>> Signed-off-by: Jelle van der Waa
>
I am not marketing guy to say how often there are designs with only
different DDR size like Mike's example but in fpga world you are not
buying this chip to have only static part but you want to use fpga part
and for that you need to use design tools. Because every design is
unique you can gene
Hi Tom,
Please pull this PR.
thanks!
Jagan.
The following changes since commit 136179bec19f4bc84227cba138214ea392a723ea:
colibri_pxa270: transition to driver model for serial (2016-11-23 13:53:20
+0100)
are available in the git repository at:
git://git.denx.de/u-boot-spi.git master
for
On Fri, Dec 9, 2016 at 4:03 PM, Phil Edworthy wrote:
> As long as the memory mapped size specifeid in the DT is the same or
> bigger than the device size, it will work. So do not force the sizes
> to be identical.
>
> Signed-off-by: Phil Edworthy
Applied to u-boot-spi/master
thanks!
--
Jagan T
Hi Simon, Igor,
On 12/14/2016 02:53 PM, Igor Grinberg wrote:
> On 12/13/16 22:29, Simon Glass wrote:
>
> I think two above debug() are very legitimate - no need to shout if no
> FIT image
> or no splash in it...
>
>> + res = fit_image_get_data_offset(fit_header, node_o
Adopt usb ether gadget and rndis driver to adopt driver model
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 152 ++---
drivers/usb/gadget/rndis.c | 13 +++-
drivers/usb/gadget/rndis.h | 19 --
include/net.h | 8 +++
4 f
This patch series adopts driver model for usb ether gadget
driver. This series is tested with MUSB driver model conversion
on AM335x GP evm and AM335x BBB (logs [1]).
Also pushed a branch for testing [2]
Changes from v3:
* Removed the patches already applied.
* Changed to possitive approach for #
when both DM_USB and DM_ETH are defined which denoted that
usb_ether has been registered from a usb device. So registering a
USB device doesn't do any thing and de-register leads to crash as
it try to remove its own parent. Sample dm-tree output below.
eth [ + ]|-- ethernet@4a1000
tmp variable in eth_bind() is never used any where, so remove it.
Signed-off-by: Mugunthan V N
---
drivers/usb/gadget/ether.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index bcc8be86a5..e8d9e4a9c9 100644
--- a/drivers/usb/gadge
From: Konstantin Porotchkin
Fix the MMU mapping for A8K device family:
- Separate CP110 master and slave memory regions
- Fix memory regions by including IO mapping for all
3 PCIe interfaces existing on each connected CP110 controller
This patch fixes the "Synchronous Abort" exception trigge
On 12/13/16 22:29, Simon Glass wrote:
> Hi Igor,
>
> On 12 December 2016 at 01:37, Igor Grinberg wrote:
>> On 12/11/16 22:27, Simon Glass wrote:
>>> Hi Igor,
>>>
>>> On 11 December 2016 at 10:37, Igor Grinberg wrote:
Hi Tomas, Simon,
Sorry, to break in that late...
I have a q
On 12/14/2016 06:30 AM, Masahiro Yamada wrote:
> GCC 6.1 complains about this.
>
> drivers/usb/gadget/dwc2_udc_otg.c:72:19: warning: 'driver_desc'
> defined but not used [-Wunused-const-variable=]
> static const char driver_desc[] = DRIVER_DESC;
>^~~
>
> Signed-off-by
Hi,
On Tue, Dec 13, 2016 at 09:13:11PM +0100, Jernej Škrabec wrote:
> Hi,
>
> On Tue, Dec 13, 2016 at 16:40:55 CET, Maxime Ripard wrote:
> > Hi,
> >
> > On Tue, Dec 13, 2016 at 01:36:29AM +0100, Jernej Skrabec wrote:
> > > This patch adds support for hdmi output. It is designed in the same
> > >
On Wed, 14 Dec 2016 11:37:38 +0200
Alexander Graf wrote:
>
>
> > Am 14.12.2016 um 11:25 schrieb Maxime Ripard
> > :
> >
> >> On Wed, Dec 14, 2016 at 11:02:33AM +0800, Chen-Yu Tsai wrote:
> >>> On Wed, Dec 14, 2016 at 5:16 AM, Icenowy Zheng wrote:
> >>>
> >>>
> >>> 14.12.2016, 04:29, "Simon
> Am 14.12.2016 um 11:25 schrieb Maxime Ripard
> :
>
>> On Wed, Dec 14, 2016 at 11:02:33AM +0800, Chen-Yu Tsai wrote:
>>> On Wed, Dec 14, 2016 at 5:16 AM, Icenowy Zheng wrote:
>>>
>>>
>>> 14.12.2016, 04:29, "Simon Glass" :
Hi,
> On 12 December 2016 at 19:36, Jernej Skrabec
>
On Wed, Dec 14, 2016 at 11:02:33AM +0800, Chen-Yu Tsai wrote:
> On Wed, Dec 14, 2016 at 5:16 AM, Icenowy Zheng wrote:
> >
> >
> > 14.12.2016, 04:29, "Simon Glass" :
> >> Hi,
> >>
> >> On 12 December 2016 at 19:36, Jernej Skrabec
> >> wrote:
> >>> This patch series add support for HDMI output. S
On Wed, Dec 14, 2016 at 09:37:58AM +0100, Hans de Goede wrote:
> Hi,
>
> On 13-12-16 21:28, Simon Glass wrote:
> > Hi,
> >
> > On 12 December 2016 at 19:36, Jernej Skrabec
> > wrote:
> > > This patch series add support for HDMI output. Support for other,
> > > newer, SoCs, which also uses DE2 a
Hi York,
Thanks a lot for your comments!
> -Original Message-
> From: york sun
> Sent: 2016年12月14日 0:59
> To: Z.Q. Hou ; u-boot@lists.denx.de; Prabhakar
> Kushwaha ; Mingkai Hu
> ; Pratiyush Srivastava
> Subject: Re: [PATCH] armv8/fsl_lsch2: Add the OCRAM initialization
>
> On 12/13/201
It depends on qemu v2.8.0-rc3 which includes device loader property.
Signed-off-by: Michal Simek
---
It requires this change
https://github.com/swarren/uboot-test-hooks/pull/12
---
.travis.yml | 6 ++
1 file changed, 6 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 4b328209e22
Hi,
On 13-12-16 21:28, Simon Glass wrote:
Hi,
On 12 December 2016 at 19:36, Jernej Skrabec wrote:
This patch series add support for HDMI output. Support for other,
newer, SoCs, which also uses DE2 and same or similar HDMI controller
and PHY can be easily added later (A83T/A64/H5/R40). Current
64 matches
Mail list logo