Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-13 Thread Prabhakar Kushwaha
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, May 11, 2016 9:30 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: Calvin Johnson ; Pratiyush Srivastava > ; Abhimanyu Saini > > Subject: Re: [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012

Re: [U-Boot] [PATCH] sunxi: Increase the SPL header size to 48 bytes to avoid code corruption

2016-05-13 Thread Siarhei Siamashka
On Sat, 14 May 2016 03:14:25 +0300 Siarhei Siamashka wrote: > The current SPL header, created by the 'mksunxiboot' tool, has size > 32 bytes. But the code in the boot ROM stores the information about > the boot media at the offset 0x28 before passing control to the SPL. > For example, when bootin

[U-Boot] [PATCH v2] sunxi: Increase SPL header size to 64 bytes to avoid code corruption

2016-05-13 Thread Siarhei Siamashka
The current SPL header, created by the 'mksunxiboot' tool, has size 32 bytes. But the code in the boot ROM stores the information about the boot media at the offset 0x28 before passing control to the SPL. For example, when booting from the SD card, the magic number written by the boot ROM is 0. And

[U-Boot] [PATCH] sunxi: Increase the SPL header size to 48 bytes to avoid code corruption

2016-05-13 Thread Siarhei Siamashka
The current SPL header, created by the 'mksunxiboot' tool, has size 32 bytes. But the code in the boot ROM stores the information about the boot media at the offset 0x28 before passing control to the SPL. For example, when booting from the SD card, the magic number written by the boot ROM is 0. And

[U-Boot] [PATCH] mailbox: implement a sandbox test

2016-05-13 Thread Stephen Warren
From: Stephen Warren This adds a sandbox mailbox implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: Stephen Warren --- This depends on "Add a mailbox driver framework/uclass". arch/sandbox/dt

Re: [U-Boot] "make clean" not traversing into board-specific directories?

2016-05-13 Thread James Chargin
Hi, On 05/13/2016 01:50 PM, Fabio Estevam wrote: Hi Jörg, On Fri, May 13, 2016 at 1:57 PM, wrote: Hello, I am using u-boot 2015.04 and have a mechanism implemented in the board-specific Makefile for our board, which uses xsltproc to generate header-files from xml input files - this part is w

[U-Boot] [PATCH] mailbox: add Tegra186 HSP driver

2016-05-13 Thread Stephen Warren
From: Stephen Warren Tegra186's HSP module implements doorbells, mailboxes, semaphores, and shared interrupts. This patch provides a driver for HSP, and hooks it into the mailbox API. Currently, only doorbells are supported. Signed-off-by: Stephen Warren --- This patch depends on: 1) "Add a mai

[U-Boot] [PATCH V2] Add a mailbox driver framework/uclass

2016-05-13 Thread Stephen Warren
From: Stephen Warren A mailbox is a hardware mechanism for transferring small message and/or notifications between the CPU on which U-Boot runs and some other device such as an auxilliary CPU running firmware or a hardware module. This patch defines a standard API that connects mailbox clients t

Re: [U-Boot] [PATCH] Add a mailbox driver framework/uclass

2016-05-13 Thread Stephen Warren
On 05/13/2016 02:05 PM, Simon Glass wrote: Hi Stephen, On 12 May 2016 at 16:27, Stephen Warren wrote: From: Stephen Warren A mailbox is a hardware mechanism for transferring small message and/or notifications between the CPU on which U-Boot runs and some other device such as an auxilliary CP

Re: [U-Boot] "make clean" not traversing into board-specific directories?

2016-05-13 Thread Fabio Estevam
Hi Jörg, On Fri, May 13, 2016 at 1:57 PM, wrote: > Hello, > > I am using u-boot 2015.04 and have a mechanism implemented in the > board-specific Makefile for our board, > which uses xsltproc to generate header-files from xml input files - this > part is working by now. > > what is still not worki

Re: [U-Boot] [PATCH v2 03/11] drivers: usb: musb: add ti musb misc driver for wrapper

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 05:18:08PM +0530, Mugunthan V N wrote: > Add a misc driver for MUSB wrapper, so that based on dr_mode the > USB devices can bind to USB host or USB device drivers. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [PATCH v2 06/11] drivers: usb: musb: add ti musb host driver with driver model support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 05:18:11PM +0530, Mugunthan V N wrote: > Add a TI MUSB host driver with driver model support and the > driver will be bound by the MUSB wrapper driver based on the > dr_mode device tree entry. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.a

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-05-13 Thread Tom Rini
On Wed, May 11, 2016 at 12:56:07PM +0300, Nikita Kiryanov wrote: > Hi Tom, Marek, > > For the time being I do not wish to make additional refactoring to the > code as I think it is better to wait until an alternative to the bus > number is found. My changes follow the current implementation of t

Re: [U-Boot] test, tools: update tbot documentation

2016-05-13 Thread Tom Rini
On Thu, Apr 28, 2016 at 08:17:28AM +0200, Heiko Schocher wrote: > update tbot documentation in U-Boot, as I just > merged the event system into tbots master > branch. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 05/11] drivers: usb: musb: adopt musb backend driver to driver model

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 05:18:10PM +0530, Mugunthan V N wrote: > Currently all backend driver ops uses hard coded physical > address, so to adopt the driver to DM, add device pointer to ops > call backs so that drivers can get physical addresses from the > usb driver priv/plat data. > > Signed-of

Re: [U-Boot] [PATCH 2/8] board: am33xx: fit: add support for selecting dtb dynamically

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:18PM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH 09/12] cmd: qfw: workaround qfw build issue

2016-05-13 Thread Tom Rini
On Fri, May 13, 2016 at 10:00:37PM +0800, Bin Meng wrote: > Hi Miao, > > On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > > The qfw command interface makes use of CONFIG_LOADADDR and > > CONFIG_RAMDISKADDR to setup kernel. But not all boards have these macro, > > which causes build problem on t

Re: [U-Boot] [PATCH 6/8] ARM: dts: AM335x-evmsk: Add initial support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:22PM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM335x-evm sk. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH 3/8] ARM: dts: am335x-bone: Enable uart and timer

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:19PM +0530, Lokesh Vutla wrote: > Allow am335x-bone.dts to be built and enable uart and timer > for all beaglebones. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 03/12] cmd: qfw: remove qemu_fwcfg_free_files()

2016-05-13 Thread Tom Rini
On Fri, May 13, 2016 at 10:00:05PM +0800, Bin Meng wrote: > Hi Miao, > > On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > > This patch is part of the qfw refactor work. > > > > The qemu_fwcfg_free_files() function is only used in error handling in > > ACPI table generation, let's not make this

Re: [U-Boot] [PATCH 5/8] ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:21PM +0530, Lokesh Vutla wrote: > From: Mugunthan V N > > As per mmc device tree binding documentation card detect gpio has > to be active low signal. When a hardware is designed with active > high card detect, gpio polarity has to be changed with > cd-inverted dt p

Re: [U-Boot] [PATCH 7/8] ARM: dts: AM335x-BBG: Add initial support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:23PM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM335x-BBG > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] [PATCH 8/8] configs: Add AM335x-ICEv2 defconfig

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:55PM +0530, Lokesh Vutla wrote: > Adding separate defconfig fro ICEv2 board as the serial console used by this > is different from other AM335x platforms. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 7/8] ARM: dts: AM335x-ICEv2: Add minimal dts support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:54PM +0530, Lokesh Vutla wrote: > Add minimal dts support for AM335x-ICEv2 board > > Signed-off-by: Lokesh Vutla > Signed-off-by: Roger Quadros Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 5/8] board: AM335x-ICEv2: Add cpsw support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:52PM +0530, Lokesh Vutla wrote: > In order to enable cpsw on AM335x ICEv2 board, the following needs to be done: > > 1)There are few on board jumper settings which gives a choice between > cpsw and PRUSS, that needs to be properly selected[1]. Even after selecting >

Re: [U-Boot] [PATCH 6/8] config: env: Set AM335x-ICEv2 board specific env

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:53PM +0530, Lokesh Vutla wrote: > Populate the right dtb file and console for AM335x-ICEv2 board. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [PATCH 5/6] ARM: dts: AM437x-IDK Initial Support

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 04:38:51PM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM437x-IDK evm. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH 1/8] board: AM335x-ICEv2: Add epprom support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:48PM +0530, Lokesh Vutla wrote: > Similar to other TI's AM335x platforms, AM335x ICEv2 also has an > eeprom populated for its unique identification. Adding this info > so that AM335x ICEv2 specific initialization can be done. > > Signed-off-by: Lokesh Vutla Reviewe

Re: [U-Boot] [PATCH 2/8] board: AM335x-ICEv2: Add pinmux support

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:49PM +0530, Lokesh Vutla wrote: > Add necessary pinmux support for AM335x ICEv2 board. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH 6/6] ARM: AM43xx: configs: Update usb host boot defconfig

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 04:38:52PM +0530, Lokesh Vutla wrote: > Convert usb host boot defconfig to use DM, DT. Also enable FIT > support. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 3/8] board: AM335x-ICEv2: Add DDR data

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:50PM +0530, Lokesh Vutla wrote: > AM335x ICEv2 contains a 2Gbit(128Mx16) of DDR3 SDRAM(MT41J128M16JT-125), > capable of running at 400MHz. Adding this specific DDR configuration > details running at 400MHz. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini --

Re: [U-Boot] [PATCH 4/8] ARM: AM33xx: Add support for Clock Synthesizer

2016-05-13 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:51PM +0530, Lokesh Vutla wrote: > The CDCE913 and CDCEL913 devices are modular PLL-based, low cost, > high performance , programmable clock synthesizers. They generate > upto 3 output clocks from a single input frequency. Each output can > be programmed for any clock-

Re: [U-Boot] [PATCH 4/6] ARM: dts: AM43x-EPOS Initial Support

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 04:38:50PM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM43-EPOS evm. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH v2] tests: py: fix NameError exception if bdi cmd is not supported

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 10:08:24AM +0200, Heiko Schocher wrote: > test/py raises an error, if a board has not enabled bdi command > > > pytest.skip('bdinfo command not supported') > E NameError: global name 'pytest' is not defined > > import pytest in test/py/u_boot_utils.py

Re: [U-Boot] [PATCH 2/6] board: am43xx: fit: add support for selecting dtb dynamically

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 04:38:48PM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH 3/6] ARM: AM43: Enable FIT

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 04:38:49PM +0530, Lokesh Vutla wrote: > Use a single defconfig for all AM43xx platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 4/5] ARM: dts: AM572x-IDK Initial Support

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 11:43:29AM +0530, Lokesh Vutla wrote: > From: Schuyler Patton > > Add initial DTS support for AM572-IDK evm. > > Signed-off-by: Schuyler Patton > Signed-off-by: Nishanth Menon > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 5/5] ti_omap5_common: Add right dtb file for AM572x-IDK

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 11:43:30AM +0530, Lokesh Vutla wrote: > Add proper dtb file name for AM572x-IDK in env. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 3/5] ARM: AM57xx: Enable FIT

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 11:43:28AM +0530, Lokesh Vutla wrote: > Enable FIT support for AM57xx platforms > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 2/5] board: am57xx: fit: add support for selecting dtb dynamically

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 11:43:27AM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs away to > detect the right dtb to be used. Adding support for the same for am57xx > platforms. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.a

Re: [U-Boot] [PATCH 1/5] board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM

2016-05-13 Thread Tom Rini
On Mon, May 09, 2016 at 11:43:26AM +0530, Lokesh Vutla wrote: > board/am57xx supports all boards based on am57xx. Rename the taget > as TARGET_AM57XX_EVM. > > Fixes: 74cc8b097d9af ("board: ti: beagle_x15: Rename to indicate support for > TI am57xx evms") > Signed-off-by: Lokesh Vutla Reviewed-

[U-Boot] "make clean" not traversing into board-specific directories?

2016-05-13 Thread Joerg . Scheuermann
Hello, I am using u-boot 2015.04 and have a mechanism implemented in the board-specific Makefile for our board, which uses xsltproc to generate header-files from xml input files - this part is working by now. what is still not working is the removal of those generated files upon calling "make

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-05-13 Thread Kevin Hilman
Carlo Caione writes: > On Fri, May 13, 2016 at 3:46 PM, Kevin Hilman wrote: >> Carlo Caione writes: >> >>> From: Carlo Caione >>> >>> This is a port / rewrite of the Amlogic driver shipped whithin the >>> Amlogic SDK for the Meson GXBaby (S905) SoC. >>> >>> Signed-off-by: Carlo Caione >> >> [

Re: [U-Boot] [PATCH] Add a mailbox driver framework/uclass

2016-05-13 Thread Simon Glass
Hi Stephen, On 12 May 2016 at 16:27, Stephen Warren wrote: > From: Stephen Warren > > A mailbox is a hardware mechanism for transferring small message and/or > notifications between the CPU on which U-Boot runs and some other device > such as an auxilliary CPU running firmware or a hardware modu

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread York Sun
On 05/13/2016 12:36 PM, Alexander Graf wrote: > > > On 13.05.16 19:05, York Sun wrote: >> On 05/13/2016 10:03 AM, Alexander Graf wrote: >>> >>> Am 13.05.2016 um 18:21 schrieb York Sun : > On 05/13/2016 07:32 AM, Alexander Graf wrote: > >> Am 13.05.2016 um 16:26 schrieb Stuar

Re: [U-Boot] [PATCH 2/5] ls2080: Disable dcache during ddr init

2016-05-13 Thread Alexander Graf
On 13.05.16 18:28, York Sun wrote: > On 05/13/2016 05:21 AM, Alexander Graf wrote: >> While trying something completely different I saw the DDR probe hang on >> boot reliably depending on how big my code ended up. Adding simple "nop" >> instructions in my code (completely unrelated) flow made the

[U-Boot] [PATCH v2 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Alexander Graf
Most new systems in U-Boot these days make use of the generic "distro" framework which allows a user to have U-Boot scan for a bootable OS on all available media types. This patch extends the LS2080ARDB board to use that framework if the hard coded NOR flash location does not contain a bootable im

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Alexander Graf
On 13.05.16 19:05, York Sun wrote: > On 05/13/2016 10:03 AM, Alexander Graf wrote: >> >> >>> Am 13.05.2016 um 18:21 schrieb York Sun : >>> On 05/13/2016 07:32 AM, Alexander Graf wrote: > Am 13.05.2016 um 16:26 schrieb Stuart Yoder : > > > >> -Original Message

Re: [U-Boot] U-Boot NOR Flash Copy Time Reduction

2016-05-13 Thread Wolfgang Denk
Dear yyurtcan, In message <1463133956025-254877.p...@n7.nabble.com> you wrote: > We have P4080DS board and u-boot for bootloader. We want to reduce to time to > copy kernel image from NOR Flash to RAM. Can we optimize p4080ds u-boot NOR > Flash copy time? If so, How? If you think about it, then

Re: [U-Boot] [RFC] fastboot: sparse image handling and sessionId

2016-05-13 Thread Steve Rae
On Mon, May 9, 2016 at 8:00 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi Steve, > > Sorry for the late reply. > > On Fri, Apr 15, 2016 at 09:14:41PM -0700, Steve Rae wrote: > > Maxime, > > > > I suspect that the issue fixed > > in commit c7529dbfastboot: sparse: fix bloc

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread York Sun
On 05/13/2016 10:03 AM, Alexander Graf wrote: > > >> Am 13.05.2016 um 18:21 schrieb York Sun : >> >>> On 05/13/2016 07:32 AM, Alexander Graf wrote: >>> Am 13.05.2016 um 16:26 schrieb Stuart Yoder : > -Original Message- > From: Alexander Graf [mailto:ag...@suse.

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Alexander Graf
> Am 13.05.2016 um 18:21 schrieb York Sun : > >> On 05/13/2016 07:32 AM, Alexander Graf wrote: >> >>> Am 13.05.2016 um 16:26 schrieb Stuart Yoder : >>> >>> >>> -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Friday, May 13, 2016 7:22 AM To: u-

[U-Boot] Adding SPI slave devices To DM

2016-05-13 Thread Lad, Prabhakar
Hello All, It's quite a long time, since I touched u-boot code, I was working on adding a slave SPI device to DM, can anyone point me to a sample driver. Cheers, --Prabhakar Lad ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] [PATCH 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-05-13 Thread York Sun
On 05/13/2016 01:50 AM, Alison Wang wrote: > To support loading a 32-bit OS, the execution state will change from > AArch64 to AArch32 when jumping to kernel. > > The architecture information will be got through checking FIT > image, then U-Boot will load 32-bit OS or 64-bit OS automatically. > >

Re: [U-Boot] [PATCH 2/2] armv8: fsl-layerscape: SMP support for loading 32-bit OS

2016-05-13 Thread York Sun
On 05/13/2016 04:15 AM, Alexander Graf wrote: > > > On 13.05.16 10:40, Alison Wang wrote: >> Spin-table method is used for secondary cores to load 32-bit OS. The >> architecture information will be got through checking FIT image and >> saved in the os_arch element of spin-table, then the secondar

Re: [U-Boot] [PATCH 2/5] ls2080: Disable dcache during ddr init

2016-05-13 Thread York Sun
On 05/13/2016 05:21 AM, Alexander Graf wrote: > While trying something completely different I saw the DDR probe hang on > boot reliably depending on how big my code ended up. Adding simple "nop" > instructions in my code (completely unrelated) flow made the DDR probe > work again. > > So we're acc

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread York Sun
On 05/13/2016 07:32 AM, Alexander Graf wrote: > >> Am 13.05.2016 um 16:26 schrieb Stuart Yoder : >> >> >> >>> -Original Message- >>> From: Alexander Graf [mailto:ag...@suse.de] >>> Sent: Friday, May 13, 2016 7:22 AM >>> To: u-boot@lists.denx.de >>> Cc: Stuart Yoder ; york sun >>> Subject:

[U-Boot] [PATCH] kbuild: fixdep: Check fstat(2) return value

2016-05-13 Thread Tom Rini
Coverity has recently added a check that will find when we don't check the return code from fstat(2). Copy/paste the checking logic that print_deps() has with an appropriate re-wording of the perror() message. [ Linux commit : 46fe94ad18aa7ce6b3dad8c035fb538942020f2b ] Signed-off-by: Tom Rini S

[U-Boot] [PATCH] mmc: dw_mmc: fix the wrong AND operation

2016-05-13 Thread Jaehoon Chung
These condition checking are wrong. Original Author's intention might be "&" instead of "&&". It can know whether receive or transmit data request with BIT[4]/BIT[5] of RINTSTS register. Signed-off-by: Jaehoon Chung --- drivers/mmc/dw_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Alexander Graf
> Am 13.05.2016 um 16:26 schrieb Stuart Yoder : > > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Friday, May 13, 2016 7:22 AM >> To: u-boot@lists.denx.de >> Cc: Stuart Yoder ; york sun >> Subject: [PATCH 5/5] ls2080ardb: Convert to distro boot >> >>

Re: [U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Stuart Yoder
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, May 13, 2016 7:22 AM > To: u-boot@lists.denx.de > Cc: Stuart Yoder ; york sun > Subject: [PATCH 5/5] ls2080ardb: Convert to distro boot > > Most new systems in U-Boot these days make use of the generic "d

Re: [U-Boot] U-Boot 2016.03 on Altera Cyclone 5 SOCKIT

2016-05-13 Thread Nathan Barrett
Hey Anatolij, Thanks for getting back to me. I actually just solved this a few minutes ago. Here's the relevant patch: --- git.old/include/configs/socfpga_common.h +++ git/include/configs/socfpga_common.h @@ -365,9 +365,12 @@ #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME"u-boot-dtb.i

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-05-13 Thread Kevin Hilman
Carlo Caione writes: > From: Carlo Caione > > This is a port / rewrite of the Amlogic driver shipped whithin the > Amlogic SDK for the Meson GXBaby (S905) SoC. > > Signed-off-by: Carlo Caione [...] > +static const struct udevice_id meson_mmc_match[] = { > + { .compatible = "amlogic,meson-

Re: [U-Boot] [PATCH 09/12] cmd: qfw: workaround qfw build issue

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > The qfw command interface makes use of CONFIG_LOADADDR and > CONFIG_RAMDISKADDR to setup kernel. But not all boards have these macro, > which causes build problem on those platforms. > > This patch fixes this issue. > > Signed-off-by: Mi

Re: [U-Boot] [PATCH 12/12] x86: qemu: rename qemu/acpi_table.c

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > Rename qemu/acpi_table.c to qemu/e820.c, because ACPI stuff is moved > to qfw core, this file only contains code for installing e820 table. > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/qemu/Makefile | 3 +-- > arch/x86/cpu/qe

Re: [U-Boot] [PATCH 11/12] cmd: qfw: bring ACPI generation code into qfw core

2016-05-13 Thread Bin Meng
On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > Loading ACPI table from QEMU's fw_cfg interface is not x86 specific > (ARM64 may also make user of it). So move the code common place. typo: use > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/qemu/acpi_table.c | 211 > --

Re: [U-Boot] [PATCH 04/12] cmd: qfw: make fwcfg_present and fwcfg_dma_present public

2016-05-13 Thread Bin Meng
On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > This patch is part of the qfw refactor work. This patch makes > qemu_fwcfg_present() and qemu_fwcfg_dma_present() public functions. > > Signed-off-by: Miao Yan > --- > cmd/qemu_fw_cfg.c | 37 - > include/q

Re: [U-Boot] [PATCH 10/12] cmd: qfw: do not depend on x86

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > The qfw command interface used to depend on X86, this patch removes > this restriction so it can be built for sandbox for testing. For normal > usage, it can only be used with CONFIG_QEMU. > > Signed-off-by: Miao Yan > --- Reviewed-by:

Re: [U-Boot] [PATCH 08/12] cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h]

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > Make file names aligned with CONFIG_QFW > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/mp_init.c | 2 +- > arch/x86/cpu/qemu/acpi_table.c | 2 +- > arch/x86/cpu/qemu/cpu.c| 2 +- > arch/x86/cpu/qemu/qemu.c

Re: [U-Boot] [PATCH 07/12] x86: qemu: add comment about qfw register endianness

2016-05-13 Thread Bin Meng
On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > This patch adds some comments about qfw register endianness for clarity. > > Signed-off-by: Miao Yan > --- > arch/x86/cpu/qemu/qemu.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Reviewed-by: Bin Meng _

Re: [U-Boot] [PATCH 05/12] x86: qemu: split qfw command interface and qfw core

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > This patch splits qfw command interface and qfw core function into two > files, and introduces a new Kconfig option (CONFIG_QFW). for > qfw core. > > Now when qfw command interface is enabled, it will automatically select > qfw core. Thi

Re: [U-Boot] [PATCH 06/12] x86: qemu: move x86 specific operations out of qfw core

2016-05-13 Thread Bin Meng
On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > The original implementation of qfw includes several x86 specific > operations, like directly calling outb/inb and using some inline > assembly code which prevents it being ported to other architectures. > > This patch adds callback functions and m

Re: [U-Boot] [PATCH 1/2] mmc: Add Amlogic Meson driver

2016-05-13 Thread Carlo Caione
On Fri, May 13, 2016 at 3:46 PM, Kevin Hilman wrote: > Carlo Caione writes: > >> From: Carlo Caione >> >> This is a port / rewrite of the Amlogic driver shipped whithin the >> Amlogic SDK for the Meson GXBaby (S905) SoC. >> >> Signed-off-by: Carlo Caione > > [...] > >> +static const struct udev

Re: [U-Boot] [PATCH 03/12] cmd: qfw: remove qemu_fwcfg_free_files()

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > This patch is part of the qfw refactor work. > > The qemu_fwcfg_free_files() function is only used in error handling in > ACPI table generation, let's not make this a core function and move it > to the right place. > But I suspect this

Re: [U-Boot] [PATCH 02/12] cmd: qfw: add API to iterate firmware list

2016-05-13 Thread Bin Meng
On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > This patch is part of the refactor work of qfw. It adds 3 APIs to qfw > core to iterate firmware list. > > Signed-off-by: Miao Yan > --- > cmd/qemu_fw_cfg.c | 25 ++--- > include/qemu_fw_cfg.h | 9 + > 2 files ch

Re: [U-Boot] [PATCH 01/12] x86: qemu: fix ACPI Kconfig options

2016-05-13 Thread Bin Meng
Hi Miao, On Fri, May 13, 2016 at 2:29 PM, Miao Yan wrote: > CONFIG_GENENRATE_ACPI_TABLE controls the generation of ACPI table which > uses U-Boot's built-in methods and CONFIG_QEMU_ACPI_TABLE controls whether > to load ACPI table from QEMU's fw_cfg interface. > > But with commit "697ec431469ce0a4

Re: [U-Boot] U-Boot 2016.03 on Altera Cyclone 5 SOCKIT

2016-05-13 Thread Anatolij Gustschin
Hi Nathan, On Thu, 12 May 2016 20:11:00 + Nathan Barrett nathan.barr...@ndc.com wrote: > Hello All, > > I'm trying to run U-Boot 2016 on a Terasic Cyclone 5 SoC Kit. I've got > everything running up to this point: > > U-Boot SPL 2016.03 (May 12 2016 - 14:56:58) > ../drivers/ddr/altera/seq

Re: [U-Boot] [PATCH v2 00/25] exynos: video: Convert exynos LCD driver to use driver model

2016-05-13 Thread Jaehoon Chung
Hi Simon, On 05/09/2016 08:00 PM, Minkyu Kang wrote: > Hi Jaehoon, > > On 08/05/16 06:25, Simon Glass wrote: >> Hi, >> >> On 1 March 2016 at 18:51, Minkyu Kang wrote: >>> Hi, >>> >>> On 29/02/16 16:18, Jaehoon Chung wrote: Hi, On 02/29/2016 01:23 PM, Simon Glass wrote: > Hi, >

Re: [U-Boot] [PATCH 0/4] am57xx: beagle-x15: get usb host working

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:39 PM, Roger Quadros wrote: > On 13/05/16 15:17, Roger Quadros wrote: >> Hi, >> >> This series fixes dwc3 usb config issues and am57xx-evm USB configuration >> to get USB host ports working properly on am57xx-evm and beagle-x15. > > Small update. Super-Speed devices are still not

Re: [U-Boot] [PATCH v2 2/4] board: ti: am57xx: Fix USB configuration

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:36 PM, Roger Quadros wrote: > Currently CONFIG_USB_DWC3 is not selected so doing a usb start > command results in a serious error [1]. Why does this error happen ? That is what should be fixed. Selecting some random options seems like papering over a bug. > Fix that by enabling C

Re: [U-Boot] [PATCH 4/4] usb: gadget: udc: Build on USB_GADGET

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:29 PM, Roger Quadros wrote: > On 13/05/16 15:24, Marek Vasut wrote: >> On 05/13/2016 02:17 PM, Roger Quadros wrote: >>> udc-core is a generic framework and not specific to dwc3. >>> So build it based on USB_GADGET. >>> >>> Signed-off-by: Roger Quadros >>> --- >>> drivers/usb/gadg

Re: [U-Boot] [PATCH 1/4] usb: dwc3: fix kconfig

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:27 PM, Roger Quadros wrote: > On 13/05/16 15:23, Marek Vasut wrote: >> On 05/13/2016 02:17 PM, Roger Quadros wrote: >>> DWC3 can be used in host only or gadget only mode. >>> >>> Signed-off-by: Roger Quadros >>> --- >>> drivers/usb/dwc3/Kconfig | 9 + >>> 1 file changed,

Re: [U-Boot] [PATCH 0/4] am57xx: beagle-x15: get usb host working

2016-05-13 Thread Roger Quadros
On 13/05/16 15:17, Roger Quadros wrote: > Hi, > > This series fixes dwc3 usb config issues and am57xx-evm USB configuration > to get USB host ports working properly on am57xx-evm and beagle-x15. Small update. Super-Speed devices are still not working, but that is a different issue which seems to

[U-Boot] [PATCH v2 2/4] board: ti: am57xx: Fix USB configuration

2016-05-13 Thread Roger Quadros
Currently CONFIG_USB_DWC3 is not selected so doing a usb start command results in a serious error [1]. Fix that by enabling CONFIG_USB_DWC3 and other related options CONFIG_USB_DWC3_PHY_OMAP and CONFIG_USB_DWC3_OMAP. [1] => usb start starting USB... USB0: data abort pc : [] lr : [] rel

Re: [U-Boot] [PATCH 1/4] usb: dwc3: fix kconfig

2016-05-13 Thread Roger Quadros
On 13/05/16 15:23, Marek Vasut wrote: > On 05/13/2016 02:17 PM, Roger Quadros wrote: >> DWC3 can be used in host only or gadget only mode. >> >> Signed-off-by: Roger Quadros >> --- >> drivers/usb/dwc3/Kconfig | 9 + >> 1 file changed, 5 insertions(+), 4 deletions(-) >> >> diff --git a/dri

Re: [U-Boot] drivers/crypto/fsl/Makefile: strange assignment

2016-05-13 Thread Tom Rini
On Thu, May 12, 2016 at 11:22:17PM -0300, Fabio Estevam wrote: > On Thu, May 12, 2016 at 11:12 PM, Fabio Estevam wrote: > > Hi Raul, > > > > In commit 0200020bc2b8192 ("imx6: Added DEK blob generator command") you > > did: > > > > diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Make

Re: [U-Boot] [PATCH 4/4] usb: gadget: udc: Build on USB_GADGET

2016-05-13 Thread Roger Quadros
On 13/05/16 15:24, Marek Vasut wrote: > On 05/13/2016 02:17 PM, Roger Quadros wrote: >> udc-core is a generic framework and not specific to dwc3. >> So build it based on USB_GADGET. >> >> Signed-off-by: Roger Quadros >> --- >> drivers/usb/gadget/udc/Makefile | 2 +- >> 1 file changed, 1 insertion

Re: [U-Boot] [PATCH 2/4] board: ti: am57xx: Fix USB configuration

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:17 PM, Roger Quadros wrote: > This fixes build. This commit message needs a fix. > Signed-off-by: Roger Quadros > --- > include/configs/am57xx_evm.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h > index

[U-Boot] U-Boot 2016.03 on Altera Cyclone 5 SOCKIT

2016-05-13 Thread Nathan Barrett
Hello All, I'm trying to run U-Boot 2016 on a Terasic Cyclone 5 SoC Kit. I've got everything running up to this point: U-Boot SPL 2016.03 (May 12 2016 - 14:56:58) ../drivers/ddr/altera/sequencer.c: Preparing to start memory calibration ../drivers/ddr/altera/sequencer.c: CALIBRATION PASSED ../dr

[U-Boot] U-Boot NOR Flash Copy Time Reduction

2016-05-13 Thread yyurtcan
We have P4080DS board and u-boot for bootloader. We want to reduce to time to copy kernel image from NOR Flash to RAM. Can we optimize p4080ds u-boot NOR Flash copy time? If so, How? Best Regards. -- View this message in context: http://u-boot.10912.n7.nabble.com/U-Boot-NOR-Flash-Copy-Time-Red

Re: [U-Boot] [PATCH 3/4] usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:17 PM, Roger Quadros wrote: > It is pointless to build gadget driver if USB_GADGET is disabled. > > Signed-off-by: Roger Quadros Acked-by: Marek Vasut > --- > drivers/usb/dwc3/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc3/

Re: [U-Boot] [PATCH 4/4] usb: gadget: udc: Build on USB_GADGET

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:17 PM, Roger Quadros wrote: > udc-core is a generic framework and not specific to dwc3. > So build it based on USB_GADGET. > > Signed-off-by: Roger Quadros > --- > drivers/usb/gadget/udc/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/u

Re: [U-Boot] [PATCH 1/4] usb: dwc3: fix kconfig

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:17 PM, Roger Quadros wrote: > DWC3 can be used in host only or gadget only mode. > > Signed-off-by: Roger Quadros > --- > drivers/usb/dwc3/Kconfig | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconf

Re: [U-Boot] [PATCH 0/4] am57xx: beagle-x15: get usb host working

2016-05-13 Thread Marek Vasut
On 05/13/2016 02:17 PM, Roger Quadros wrote: > Hi, Hi! > This series fixes dwc3 usb config issues and am57xx-evm USB configuration > to get USB host ports working properly on am57xx-evm and beagle-x15. CCing Masahiro as he also did some DWC3 work and submitted some patches. > -- > cheers, > -ro

[U-Boot] [PATCH 5/5] ls2080ardb: Convert to distro boot

2016-05-13 Thread Alexander Graf
Most new systems in U-Boot these days make use of the generic "distro" framework which allows a user to have U-Boot scan for a bootable OS on all available media types. This patch converts the LS2080ARDB board to use that framework instead of booting from a hard coded flash offset. Signed-off-by:

[U-Boot] [PATCH 3/5] efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3

2016-05-13 Thread Alexander Graf
Some boards decided not to run ATF or other secure firmware in EL3, so they instead run U-Boot there. The uEFI spec doesn't know what EL3 is though - it only knows about EL2 and EL1. So if we see that we're running in EL3, let's get into EL2 to make payloads happy. Signed-off-by: Alexander Graf -

[U-Boot] [PATCH 1/5] ls2080: Exit dpaa only right before exiting U-Boot

2016-05-13 Thread Alexander Graf
On ls2080 we have a separate network fabric component which we need to shut down before we enter Linux (or any other OS). Along with that also comes configuration of the fabric using a description file. Today we always stop and configure the fabric in the boot script and (again) exit it on device

[U-Boot] [PATCH 2/5] ls2080: Disable dcache during ddr init

2016-05-13 Thread Alexander Graf
While trying something completely different I saw the DDR probe hang on boot reliably depending on how big my code ended up. Adding simple "nop" instructions in my code (completely unrelated) flow made the DDR probe work again. So we're accessing some RAM - probably the page table - and rely on th

[U-Boot] [PATCH 4/5] ls2080ardb: Reserve DP-DDR RAM

2016-05-13 Thread Alexander Graf
The DP-DDR shouldn't be exposed as conventional memory to an OS, so let's rather claim it's a reserved region in the EFI memory map Signed-off-by: Alexander Graf --- board/freescale/ls2080ardb/ls2080ardb.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board/freescale/ls2080ardb/ls

[U-Boot] [PATCH 0/5] LS2080ARDB: Enable EFI boot support

2016-05-13 Thread Alexander Graf
We now have EFI support in U-Boot which worked out of the box on all systems that I tried it on so far. Except for the LS2080ARDB. With this patch set I can successfully boot grub2 and Linux from there on such a system - even using PXE. Alexander Graf (5): ls2080: Exit dpaa only right before exi

  1   2   >