Re: [U-Boot] [PATCH v10 5/6] drivers: Enable FPGA driver build on SPL

2017-06-26 Thread Dinh Nguyen
On 06/07/2017 11:33 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Enable FPGA driver build for SPL because FPGA driver is needed for SPL > to configure and getting DDR up before loading U-boot into DDR and > booting from there. > > FPGA driver build

Re: [U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-26 Thread Stefan Roese
Hi Bin, On 27.06.2017 02:01, Bin Meng wrote: On Tue, Jun 27, 2017 at 2:07 AM, Marek Vasut wrote: On 06/24/2017 03:57 AM, Bin Meng wrote: Hi Marek, On Sat, Jun 24, 2017 at 2:02 AM, Marek Vasut wrote: On 06/23/2017 11:54 AM, Bin Meng wrote: xHCI spec says: the

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-26 Thread Stefan Roese
Hi Bin, On 27.06.2017 01:34, Bin Meng wrote: Hi Stefan, On Tue, Jun 27, 2017 at 2:42 AM, Simon Glass wrote: Hi, On 26 June 2017 at 03:11, Bin Meng wrote: Hi Stefan, On Mon, Jun 26, 2017 at 3:29 PM, Stefan Roese wrote: Hi Bin, On

Re: [U-Boot] am335x uboot TFTP via SPL over usb is failing

2017-06-26 Thread Vignesh R
Hi, On Monday 26 June 2017 05:12 PM, Ravi Kumar Prasad wrote: > Hi, > > I'm developing a node.js usb bootloader server for the am335x (BeagleBone) > platform which can boot it into USB mass storage mode. The server TFTPs SPL > over usb and then TFTPs uboot (configured for ums) via SPL. > > The

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-26 Thread Stefan Roese
Hi Simon, On 26.06.2017 20:42, Simon Glass wrote: Hi, On 26 June 2017 at 03:11, Bin Meng wrote: Hi Stefan, On Mon, Jun 26, 2017 at 3:29 PM, Stefan Roese wrote: Hi Bin, On 24.06.2017 14:08, Bin Meng wrote: Hi Stefan, On Sat, Jun 24, 2017 at 6:29 PM,

Re: [U-Boot] [PATCH] Revert "x86: Convert MMC to driver model"

2017-06-26 Thread Simon Glass
On 26 June 2017 at 17:36, Bin Meng wrote: > This reverts commit ddb3ac3c716f56cead695444e65a7ba7b0946555. > > With MMC converted to driver model, SCSI driver is broken due to > zero address access at (ops->read) in block_dread() function. > > The fix (SCSI driver converted to

Re: [U-Boot] armv8: cache_v8: mmu setup have the wrong pte attribute

2017-06-26 Thread Cao Jie
hi Who's the maintainer of arch/arm/cpu/armv8? Please take a look at this issue, thanks a lot. Thanks, Jay -Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Cao Jie Sent: Friday, June 23, 2017 4:36 PM To: u-boot@lists.denx.de Subject: [U-Boot] armv8:

[U-Boot] am335x uboot TFTP via SPL over usb is failing

2017-06-26 Thread Ravi Kumar Prasad
Hi, I'm developing a node.js usb bootloader server for the am335x (BeagleBone) platform which can boot it into USB mass storage mode. The server TFTPs SPL over usb and then TFTPs uboot (configured for ums) via SPL. The SPL binary gets transferred successfully, but SPL can't TFTP the uboot binary

[U-Boot] [PATCH v4 18/18] mtd: nand: make nand_info array static

2017-06-26 Thread Grygorii Strashko
Make make nand_info array static, since all direct users of nand_info array have been converted to use get_nand_dev_by_index() API. Signed-off-by: Grygorii Strashko --- drivers/mtd/nand/nand.c | 2 +- include/nand.h | 1 - 2 files changed, 1 insertion(+), 2

[U-Boot] [PATCH v4 15/18] board: BuR: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko Reviewed-by: Hannes Schmelzer

[U-Boot] [PATCH v4 03/18] dfu: dfu_nand: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- drivers/dfu/dfu_nand.c | 12 +--- 1

[U-Boot] [PATCH v4 16/18] board: toradex: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Reviewed-by: Marcel Ziswiler Signed-off-by: Grygorii Strashko

[U-Boot] [PATCH v4 17/18] armv8: fsl-layerscape: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Cc: Albert Aribaud Cc: York Sun Signed-off-by: Grygorii

[U-Boot] [PATCH v4 05/18] cmd: jffs2: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- cmd/jffs2.c | 7 --- 1 file changed, 4

[U-Boot] [PATCH v4 11/18] mtd: nand: drv: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly Signed-off-by: Grygorii Strashko --- drivers/mtd/nand/fsmc_nand.c | 2 +-

[U-Boot] [PATCH v4 10/18] net: fm: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko Reviewed-by: Joe Hershberger

[U-Boot] [PATCH v4 04/18] cmd: bootm: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- cmd/bootm.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH v4 14/18] board: ronetix: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- board/ronetix/pm9261/pm9261.c | 2 +-

[U-Boot] [PATCH v4 00/17] nand: remove direct acces to nand_info array

2017-06-26 Thread Grygorii Strashko
This is a preparation required for adding Nand DM support. This series introduces new API get_nand_dev_by_index() to avoid direct acces to nand_info array and updates u-boot to use it. As result, nand_info array is made static in the last patch. Changes in v4: - rebased on top of

[U-Boot] [PATCH v4 13/18] board: atmel: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- board/atmel/at91sam9261ek/at91sam9261ek.c

[U-Boot] [PATCH v4 08/18] cmd: nand: remove direct access to struct mtd_info->priv

2017-06-26 Thread Grygorii Strashko
Replace direct access to struct mtd_info->priv with proper accessor mtd_to_nand(). Signed-off-by: Grygorii Strashko --- cmd/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nand.c b/cmd/nand.c index f2b440e..d9de978 100644 --- a/cmd/nand.c

[U-Boot] [PATCH v4 12/18] cmd: mvebu: bubt: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- cmd/mvebu/bubt.c | 14 ++ 1 file

[U-Boot] [PATCH v4 01/18] cmd: nand: abstract global variable usage for dm conversion

2017-06-26 Thread Grygorii Strashko
From: Mugunthan V N nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion. Signed-off-by: Mugunthan V N Signed-off-by: Grygorii Strashko --- cmd/nand.c

[U-Boot] [PATCH v4 09/18] net: phy: cortina: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly Signed-off-by: Grygorii Strashko Reviewed-by: Joe Hershberger

[U-Boot] [PATCH v4 02/18] common: env_nand: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- common/env_nand.c | 33

[U-Boot] [PATCH v4 06/18] common: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- common/fb_nand.c | 2 +-

[U-Boot] [PATCH v4 07/18] fs: use get_nand_dev_by_index()

2017-06-26 Thread Grygorii Strashko
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by: Grygorii Strashko --- fs/jffs2/jffs2_1pass.c | 9 +++--

Re: [U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-26 Thread Bin Meng
Hi Marek, On Tue, Jun 27, 2017 at 2:07 AM, Marek Vasut wrote: > On 06/24/2017 03:57 AM, Bin Meng wrote: >> Hi Marek, >> >> On Sat, Jun 24, 2017 at 2:02 AM, Marek Vasut wrote: >>> On 06/23/2017 11:54 AM, Bin Meng wrote: xHCI spec says: the values of the 'route

Re: [U-Boot] [PATCH 07/16] usb: hub: Translate USB 3.0 hub port status into old version

2017-06-26 Thread Bin Meng
Hi Marek, On Tue, Jun 27, 2017 at 2:06 AM, Marek Vasut wrote: > On 06/24/2017 03:53 AM, Bin Meng wrote: >> Hi Marek, >> >> On Sat, Jun 24, 2017 at 1:59 AM, Marek Vasut wrote: >>> On 06/23/2017 11:54 AM, Bin Meng wrote: USB 3.0 hub port status field has

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-26 Thread Bin Meng
Hi Stefan, On Tue, Jun 27, 2017 at 2:42 AM, Simon Glass wrote: > Hi, > > On 26 June 2017 at 03:11, Bin Meng wrote: >> >> Hi Stefan, >> >> On Mon, Jun 26, 2017 at 3:29 PM, Stefan Roese wrote: >> > Hi Bin, >> > >> > >> > On 24.06.2017 14:08,

[U-Boot] [PATCH] Revert "x86: Convert MMC to driver model"

2017-06-26 Thread Bin Meng
This reverts commit ddb3ac3c716f56cead695444e65a7ba7b0946555. With MMC converted to driver model, SCSI driver is broken due to zero address access at (ops->read) in block_dread() function. The fix (SCSI driver converted to DM) is ready in u-boot-dm branch, but it is too late for this relese to

Re: [U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-26 Thread Tom Rini
On Sun, Jun 25, 2017 at 02:54:56PM -0700, Alison Chaiken wrote: > On Sun, Jun 18, 2017 at 4:03 AM, Wolfgang Denk wrote: > > > Dear Alison, > > > > In message

Re: [U-Boot] [PATCH] arm64: use psci reset on snapdragon

2017-06-26 Thread Alexander Graf
On 06/26/2017 03:22 PM, Rob Clark wrote: This actually works on snapdragon.. not sure why we weren't using it. Fixes reboot/poweroff when using UEFI. Signed-off-by: Rob Clark Reviewed-by: Alexander Graf Alex

Re: [U-Boot] [PATCH 0/3] GPIO support for Meson GXBB and Odroid-C2

2017-06-26 Thread Beniamino Galvani
On Mon, Jun 26, 2017 at 12:24:24PM +0200, Jerome Brunet wrote: > From the recipient list, I'm guessing this patch is addressed to the u-boot > community, right ? Correct. > Would you mind stating it a bit more clearly next time ? especially if you > include linux-amlogic list. Yeah, I'll do

[U-Boot] [RFC PATCH v2 2/3] net: ag7xxx: Propagate errors on phy access

2017-06-26 Thread Joe Hershberger
Don't wait forever. Pass errors back to the caller. Signed-off-by: Joe Hershberger --- Changes in v2: - Isolate error propagation changes drivers/net/ag7xxx.c | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git

[U-Boot] [RFC PATCH v2 3/3] net: ag7xxx: No longer ignore link status

2017-06-26 Thread Joe Hershberger
In the case of the WAN port, pay attention to the link status. In the case of LAN ports, stop reading the link status since we don't care. Signed-off-by: Joe Hershberger --- This is a pass at improving the code quality. This has not been tested in any way. Changes in

[U-Boot] [RFC PATCH v2 1/3] net: ag7xxx: Comment register names

2017-06-26 Thread Joe Hershberger
The register constants don't use the exact names that are used in the TRM, so add comments that use the exact names so that it is clear what register is being referred to. https://www.atheros-drivers.com/qualcomm-atheros-datasheets-for-AR9331.html Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH 1/4] Raspberry Pi: add device tree overlay support

2017-06-26 Thread Heinrich Schuchardt
On 06/26/2017 03:25 PM, Peter Robinson wrote: > Raspberry Pi has numerous HAT and other HW expansion options such as screens > and > cameras some of which need overlays from the beginning so it makes sense to > enable evice tree overlays. > > Signed-off-by: Peter Robinson

Re: [U-Boot] [PATCH] README.imx6: Fix Code Signing Tool command line

2017-06-26 Thread Fabio Estevam
On Mon, Jun 26, 2017 at 2:02 PM, Breno Lima wrote: > The CST input option was replaced by -i on CST 2.3.2, so update the > Code Signing Tool command line. > > Signed-off-by: Breno Lima Thanks for the fix: Acked-by: Fabio Estevam

Re: [U-Boot] [PATCH] bdinfo: print fdt_blob

2017-06-26 Thread Simon Glass
On 20 June 2017 at 22:22, Heiko Schocher wrote: > > for debugging it is handy to know the fdt_blob > address. So print it in bdinfo. > > Signed-off-by: Heiko Schocher > --- > > cmd/bdinfo.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-26 Thread Simon Glass
Hi, On 26 June 2017 at 03:11, Bin Meng wrote: > > Hi Stefan, > > On Mon, Jun 26, 2017 at 3:29 PM, Stefan Roese wrote: > > Hi Bin, > > > > > > On 24.06.2017 14:08, Bin Meng wrote: > >> > >> Hi Stefan, > >> > >> On Sat, Jun 24, 2017 at 6:29 PM, Stefan Roese

[U-Boot] [PATCH 1/1] configs: Odroid C2: enable device tree overlays

2017-06-26 Thread Heinrich Schuchardt
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays. Signed-off-by: Heinrich Schuchardt --- configs/odroid-c2_defconfig | 2 ++ 1 file

Re: [U-Boot] [PATCH 10/16] usb: xhci: Program 'route string' in the input slot context

2017-06-26 Thread Marek Vasut
On 06/24/2017 03:57 AM, Bin Meng wrote: > Hi Marek, > > On Sat, Jun 24, 2017 at 2:02 AM, Marek Vasut wrote: >> On 06/23/2017 11:54 AM, Bin Meng wrote: >>> xHCI spec says: the values of the 'route string' field shall be >>> initialized by the first 'Address Device' command issued

Re: [U-Boot] [U-Boot,RFC] efi: variable support

2017-06-26 Thread Heinrich Schuchardt
On 06/26/2017 12:13 AM, Rob Clark wrote: >>> (the whole idea of a single static dtb for a SoC is nice in theory >>> until you realize that complex SoC's like snapdragon are still pushing >>> the boundaries of what we have figured out how to model in dt) >>> >>> BR, >>> -R >>> >> Have a look at

Re: [U-Boot] [PATCH 07/16] usb: hub: Translate USB 3.0 hub port status into old version

2017-06-26 Thread Marek Vasut
On 06/24/2017 03:53 AM, Bin Meng wrote: > Hi Marek, > > On Sat, Jun 24, 2017 at 1:59 AM, Marek Vasut wrote: >> On 06/23/2017 11:54 AM, Bin Meng wrote: >>> USB 3.0 hub port status field has different bit positions from 2.0 >>> hubs. Since U-Boot only understands the old version,

Re: [U-Boot] [PATCH 05/16] usb: hub: Add a new API to test if a hub device is root hub

2017-06-26 Thread Marek Vasut
On 06/24/2017 03:41 AM, Bin Meng wrote: > Hi Marek, > > On Sat, Jun 24, 2017 at 1:57 AM, Marek Vasut wrote: >> On 06/23/2017 11:54 AM, Bin Meng wrote: >>> Sometimes we need know if a given hub device is root hub or not. >>> Add a new API to test this. >>> >>> Signed-off-by: Bin

[U-Boot] [PATCH] README.imx6: Fix Code Signing Tool command line

2017-06-26 Thread Breno Lima
The CST input option was replaced by -i on CST 2.3.2, so update the Code Signing Tool command line. Signed-off-by: Breno Lima --- doc/README.imx6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.imx6 b/doc/README.imx6 index

Re: [U-Boot] [U-Boot, v2, 4/4] rockchip: dts: rk3328-evb: add sdmmc-pwren regulator

2017-06-26 Thread Philipp Tomsich
> Use fixed regulator for sdmmc-pwren for sdmmc power. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > > arch/arm/dts/rk3328-evb.dts | 8

Re: [U-Boot] [U-Boot, v2, 2/4] rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

2017-06-26 Thread Philipp Tomsich
> SDMMC-PWREN is a pin to control voltage for SDMMC IO, it may > be high active or low active, the dwmmc driver always assume > the sdmmc-pwren as high active. > > Kernel treat this pin as fixed regulator instead of a pin from > controller, and then it can set in dts file upon board schematic, >

Re: [U-Boot] [U-Boot, v2, 3/4] rockchip: evb-rk3328: enable boot on regulator

2017-06-26 Thread Philipp Tomsich
> Enable all the boot-on regulator in default. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > > board/rockchip/evb_rk3328/evb-rk3328.c | 8

Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-06-26 Thread Philipp Tomsich
On Mon, 19 Jun 2017, Wadim Egorov wrote: The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC. The module can be connected to different carrier boards. It can be also equipped with different RAM, SPI flash and eMMC variants. The Rapid Development Kit option is using the

Re: [U-Boot] [U-Boot, v7, 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-06-26 Thread Philipp Tomsich
On Fri, 23 Jun 2017, Meng Dongyang wrote: Config dwc2 driver support host and gadget function. Add support of fastboot function. Signed-off-by: Meng Dongyang Reviewed-by: Simon Glass Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v4, 2/4] power: regulator: rk8xx: Allow input current/charger shutdown configuration

2017-06-26 Thread Philipp Tomsich
> The RK818 PMIC contains a charger. Add very basic charger functionality > to be able to regulate the USB input current and charger shutdown limits. > > Signed-off-by: Wadim Egorov > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v4, 4/4] doc: rockchip: Add phyCORE-RK3288 RDK to board list

2017-06-26 Thread Philipp Tomsich
> Signed-off-by: Wadim Egorov > Acked-by: Simon Glass > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > Changes in v4: > - Added Reviewed-by: Simon Glass > >

Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-26 Thread Philipp Tomsich
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning: > ‘get_ldo_reg’ defined but not used [-Wunused-function] > > Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER > which is only set for non SPL builds. > > Signed-off-by: Wadim Egorov >

[U-Boot] [PATCH] arc: Add support for HS Development Kit board

2017-06-26 Thread Alexey Brodkin
ARC HS Development Kit board is a new low-cost development platform sporting ARC HS38 in real silicon with nice set of features such as: * Quad-core ARC HS38 with 512 kB L2 cache and running @1GHz * 4Gb of DDR (we use only lowest 1Gb out of it now) * Lots of DesigWare peripherals * Different

Re: [U-Boot] [PATCH] usb: increase usb delay

2017-06-26 Thread Tom Rini
On Sat, Jun 24, 2017 at 07:09:32PM -0400, Rob Clark wrote: > This makes booting off the USB disks I have go from 50% reliable to 100% > reliable. I'm no USB expert so maybe there is a better way. But one > way or another we aren't waiting long enough after power-on for the > usb device to be

[U-Boot] [PATCH] arcv2: Set IOC aperture so it covers available DDR

2017-06-26 Thread Alexey Brodkin
We used to use the same memory layout and size for a couple of boards and thus we just hardcoding IOC aperture start and size. Now when we're getting more boards with more memory on board we need to have an ability to set IOC so it matches real DDR layout and size. Even though it is not really a

Re: [U-Boot] drivers: pci: imx: add imx_pcie_remove function

2017-06-26 Thread Soeren Moch
On 12.05.2017 21:58, Tim Harvey wrote: > There is no dedicated reset signal wired up for the MX6QDL thus if the > bootloader enables the link we need some special handling to get the core > back into a state where it is safe to touch it for configuration. > > While there has been some special

[U-Boot] Uboot on qemu vexpress-a9 flash question?

2017-06-26 Thread Yonghao Wang
Hello experts For learning and education purposes, I am trying to use qemu-arm to run u-boot. After reading online materials, my question is that if it is possible to save the environment variables on simulated Flash "permanently". I use raw file "pflash0.img" as simulated flash. So far, after

[U-Boot] [PATCHv6 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards

2017-06-26 Thread Jorge Ramirez-Ortiz
This port adds support for: 1) Serial 2) eMMC 3) USB It has been tested with ARM TRUSTED FIRMWARE running u-boot as the BL33 executable [see board's README] eMMC has been tested for reading and booting the loader and linux kernels as well as saving the u-boot environment.

[U-Boot] [PATCHv6 2/3] driver: mmc: update debug info

2017-06-26 Thread Jorge Ramirez-Ortiz
This driver is used in another board; remove board information from the driver debug log. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/mmc/hi6220_dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/hi6220_dw_mmc.c

[U-Boot] [PATCHv6 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings

2017-06-26 Thread Jorge Ramirez-Ortiz
Pulled from Linux 4.12-rc3 Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/hi3798cv200-poplar.dts | 162 + arch/arm/dts/hi3798cv200.dtsi | 411 include/dt-bindings/clock/histb-clock.h | 66 +

[U-Boot] [PATCH 4/4] CHIP: add device tree overlay support

2017-06-26 Thread Peter Robinson
CHIP and CHIP Pro devices have options of DIP addon boards some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by: Peter Robinson --- configs/CHIP_defconfig | 2 ++ configs/CHIP_pro_defconfig | 2 ++ 2 files

[U-Boot] [PATCH 3/4] 96boards: dragonboard/hikey: add device tree overlay support

2017-06-26 Thread Peter Robinson
96boards CE devices such as the DragonBoard and Hikey devices have numerous mezzanine options some of which need overlays from the beginning so it makes sense to enable device tree overlays. Signed-off-by: Peter Robinson --- configs/dragonboard410c_defconfig | 2 ++

[U-Boot] [PATCH 2/4] am335x: beagle/evm: add device tree overlay support

2017-06-26 Thread Peter Robinson
TI am33xx devices such as the BeagleBone devices have numerous cape options such as screens some of which need overlays from the beginning so it makes sense to enable evice tree overlays. Signed-off-by: Peter Robinson --- configs/am335x_boneblack_defconfig | 1 +

[U-Boot] [PATCH 1/4] Raspberry Pi: add device tree overlay support

2017-06-26 Thread Peter Robinson
Raspberry Pi has numerous HAT and other HW expansion options such as screens and cameras some of which need overlays from the beginning so it makes sense to enable evice tree overlays. Signed-off-by: Peter Robinson --- configs/rpi_2_defconfig | 2 ++

[U-Boot] Enable DT Overlays on common boards with expansion options

2017-06-26 Thread Peter Robinson
Enable Device Tree Overlays for a number of boards with widely available expanion options such as HATs/Capes/DIPs/mezzanine. Signed-off-by: Peter Robinson ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] arm64: use psci reset on snapdragon

2017-06-26 Thread Rob Clark
This actually works on snapdragon.. not sure why we weren't using it. Fixes reboot/poweroff when using UEFI. Signed-off-by: Rob Clark --- arch/arm/cpu/armv8/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/Kconfig

Re: [U-Boot] [U-Boot, v2] rockchip: rk3288: Add pinctrl support for the gmac ethernet interface

2017-06-26 Thread Philipp Tomsich
> From: Sjoerd Simons > > Add support for the gmac ethernet interface to pinctrl. This hardcodes > the setup to match that of the firefly and Radxa Rock2 boards, using the > RGMII phy mode for gmac interface and GPIO4B0 as the phy reset GPIO. > > Signed-off-by:

Re: [U-Boot] [U-Boot, v7, 1/8] usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB

2017-06-26 Thread Philipp Tomsich
> The xhci-rockchip driver depends on DM_REGULATOR and DM_USB. > So add dependent features for xhci-rockchip driver in Kconfig. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > --- > > Changes in v7: None >

Re: [U-Boot] [U-Boot, v7, 6/8] rockchip: rk3328: board: add support of dwc2 gadget

2017-06-26 Thread Philipp Tomsich
> Probe dwc2 udc in the function of board_usb_start to enable > usb gadget function. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v7: None >

Re: [U-Boot] [U-Boot, v7, 7/8] rockchip: dts: rk3328: support and enable dwc2

2017-06-26 Thread Philipp Tomsich
> Enable dwc2 controller and add fixed regulator for dwc2 controller to > control vbus. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v7: None >

Re: [U-Boot] [U-Boot, v7, 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop()

2017-06-26 Thread Philipp Tomsich
> Use dev_read_bool() instead of fdt_getprop() to get the property > from DTS. And add a comment for "hnp-srp-disable" property to > fully describe its effect. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > --- >

Re: [U-Boot] [U-Boot, v7, 8/8] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-26 Thread Philipp Tomsich
> Add fixed regulator for the port of typec0 and typec1 to control vbus > instead of gpio. > > Signed-off-by: Meng Dongyang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v7:

Re: [U-Boot] [U-Boot, v7, 3/8] rockchip: dts: rk3328: add fixed regulator node for xhci

2017-06-26 Thread Philipp Tomsich
> The driver changes gpio to fixed regulator to control vbus, so add > fixed regulator node in DTS for xhci driver. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > --- > > Changes in v7: None > Changes in v6: > -

Re: [U-Boot] [U-Boot, v7, 2/8] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-26 Thread Philipp Tomsich
> Use fixed regulator to control the voltage of vbus. Enable vbus > supply when usb start and disable vbus supply when usb stop. > > Signed-off-by: Meng Dongyang > Acked-by: Philipp Tomsich > --- > > Changes in v7: None >

[U-Boot] [PATCH v1] at91, dfu, smartweb: set serial number

2017-06-26 Thread Heiko Schocher
since commit 842778a09104 dfu-util shows serial="UNDEFINED". to see here again a serial number, we have to call g_dnl_set_serialnumber(). Signed-off-by: Heiko Schocher --- since commit 842778a091047b0c868efa12229633959f711152 Author: Felipe Balbi

[U-Boot] [PATCH 3/3] usb: configs: Clean up CONFIG_SYS_USB_EVENT_POLL_(xxx) in board configs

2017-06-26 Thread Bin Meng
The following 3 Kconfig options - CONFIG_SYS_USB_EVENT_POLL - CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP - CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE are already converted to Kconfig. Let's clean up all board configs to switch over to use them. Signed-off-by: Bin Meng ---

[U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-26 Thread Bin Meng
This series is the final series of the xHCI driver update. This adds the missing interrupt transfer support to xHCI driver, so that devices like USB keyboard that uses interrupt transfer when CONFIG_SYS_USB_EVENT_POLL is defined can work. Previous two series: [1]: usb: xhci: Fix USB xHCI support

Re: [U-Boot] [PATCH 0/3] GPIO support for Meson GXBB and Odroid-C2

2017-06-26 Thread Jerome Brunet
On Sun, 2017-06-25 at 17:55 +0200, Beniamino Galvani wrote: > Hi, > > this series adds a GPIO driver for Meson GXBB and enables it on > Odroid-C2. > > Beniamino Galvani (3): >   arm: dts: meson: import dts files from Linux 4.12-rc6 >   pinctrl: meson: add GPIO support >   odroid-c2: enable GPIO

[U-Boot] [PATCH] odroid-c2: Populate serial# environment variable from efuse

2017-06-26 Thread Martin Böh
--- board/amlogic/odroid-c2/odroid-c2.c | 8 1 file changed, 8 insertions(+) diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c index 9306b56a6a..b29f56d5eb 100644 --- a/board/amlogic/odroid-c2/odroid-c2.c +++ b/board/amlogic/odroid-c2/odroid-c2.c @@

[U-Boot] saveenv on qemu vexpress-a9 flash problem

2017-06-26 Thread Yonghao Wang
Hello, For learning and education purposes, I am trying to use qemu-arm to run u-boot. After reading online materials, my question is that if it is possible to save the environment variables on simulated Flash "permanently". I use raw file "pflash0.img" as simulated flash. So far, after modify

[U-Boot] [PATCH] odroid-c2: Populate serial# environment variable from efuse

2017-06-26 Thread Martin Böh
--- board/amlogic/odroid-c2/odroid-c2.c | 8 1 file changed, 8 insertions(+) diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c index 9306b56a6a..b29f56d5eb 100644 --- a/board/amlogic/odroid-c2/odroid-c2.c +++ b/board/amlogic/odroid-c2/odroid-c2.c @@

[U-Boot] question regarding the odroidc2 board support

2017-06-26 Thread daggs
Greetings, I'm using buildroot to generate images for the odroid c2 boards and from what I see, it uses u-boot.bin to burn into the image. I'm not seeing any other uboot product that is used for booting (unless I'm mistaken). I'm reading the odroid c2 readme file and I see it instructs the use

Re: [U-Boot] [PATCH] usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length

2017-06-26 Thread Heiko Schocher
Hello Lukasz, Am 26.06.2017 um 13:04 schrieb Lukasz Majewski: After the commit SHA1: 842778a091 - the serial number descriptor is only visible when we have non zero length of g_dnl_serial. However, on some platforms (e.g. Siemens) the serial number is set at g_dnl_bind_fixup(), so with the

[U-Boot] [PATCH] usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length

2017-06-26 Thread Lukasz Majewski
After the commit SHA1: 842778a091 - the serial number descriptor is only visible when we have non zero length of g_dnl_serial. However, on some platforms (e.g. Siemens) the serial number is set at g_dnl_bind_fixup(), so with the current code we will always omit the serial (since it is not set).

[U-Boot] [PATCH 2/3] usb: kbd: kconfig: Set a default polling mechanism for USB keyboard

2017-06-26 Thread Bin Meng
The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL. Signed-off-by: Bin Meng --- drivers/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH 1/3] usb: xhci: Add interrupt transfer support

2017-06-26 Thread Bin Meng
xHCI uses normal TRBs for both bulk and interrupt. This adds the missing interrupt transfer support to xHCI so that devices like USB keyboard that uses interrupt transfer can work. Signed-off-by: Bin Meng --- drivers/usb/host/xhci.c | 13 ++--- 1 file changed, 10

Re: [U-Boot] drivers: usb: dfu: set serial number from board code was: [ANN] U-Boot v2017.05-rc2 released

2017-06-26 Thread Lukasz Majewski
On Mon, 26 Jun 2017 12:50:34 +0200 Heiko Schocher wrote: > Hello Felipe, Lukasz, > > Am 26.06.2017 um 12:22 schrieb Felipe Balbi: > > > > Hi, > > > > Lukasz Majewski writes: > >> My weekly dfu test on the siemens smartweb board failed > >> with

Re: [U-Boot] drivers: usb: dfu: set serial number from board code was: [ANN] U-Boot v2017.05-rc2 released

2017-06-26 Thread Heiko Schocher
Hello Felipe, Lukasz, Am 26.06.2017 um 12:22 schrieb Felipe Balbi: Hi, Lukasz Majewski writes: My weekly dfu test on the siemens smartweb board failed with current HEAD. I started an automated git bisect with tbot, and found: 2017-04-19 07:24:30,717:CON:tbotlib #

Re: [U-Boot] drivers: usb: dfu: set serial number from board code was: [ANN] U-Boot v2017.05-rc2 released

2017-06-26 Thread Felipe Balbi
Hi, Lukasz Majewski writes: >> >>> My weekly dfu test on the siemens smartweb board failed with >> >>> current HEAD. >> >>> >> >>> I started an automated git bisect with tbot, and found: >> >>> >> >>> 2017-04-19 07:24:30,717:CON:tbotlib # tb_ctrl:

Re: [U-Boot] drivers: usb: dfu: set serial number from board code was: [ANN] U-Boot v2017.05-rc2 released

2017-06-26 Thread Lukasz Majewski
Hi Heiko, > Hello all, > > Am 19.04.2017 um 14:07 schrieb Lukasz Majewski: > > Dear All, > > > >> On 04/19/2017 12:39 PM, Heiko Schocher wrote: > >>> Hello Marek, > >>> > >>> Am 19.04.2017 um 11:51 schrieb Marek Vasut: > On 04/19/2017 11:46 AM, Heiko Schocher wrote: > > Hello Marek, >

Re: [U-Boot] [PATCH] ot1200: enable CONFIG_IMX_THERMAL for detailed thermal information

2017-06-26 Thread Stefano Babic
Hi Christian, On 26/06/2017 09:14, Christian Gmeiner wrote: > 2017-06-08 9:37 GMT+02:00 Christian Gmeiner : >> Signed-off-by: Christian Gmeiner >> --- >> configs/ot1200_defconfig | 2 ++ >> configs/ot1200_spl_defconfig | 2 ++ >>

Re: [U-Boot] [PATCH 1/2] WIP: Disable SCSI on x86

2017-06-26 Thread Bin Meng
Hi Stefan, On Mon, Jun 26, 2017 at 3:29 PM, Stefan Roese wrote: > Hi Bin, > > > On 24.06.2017 14:08, Bin Meng wrote: >> >> Hi Stefan, >> >> On Sat, Jun 24, 2017 at 6:29 PM, Stefan Roese wrote: >>> >>> Hi Simon, Hi Bin, >>> >>> >>> On 12.06.2017 05:53, Simon Glass

[U-Boot] Please pull from u-boot-i2c

2017-06-26 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 7df4ff2c2689a6d3c16eb0c3cce098fcac622b0c: Merge branch 'master' of git://git.denx.de/u-boot-rockchip (2017-06-23 11:02:21 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git

Re: [U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

2017-06-26 Thread Dr. Philipp Tomsich
Kever, > On 26 Jun 2017, at 01:03, Philipp Tomsich > wrote: > >> The bank0 ram size should be the DRAM size minus reserved size, >> the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. >> >> Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH] Revert 'rockchip: mkimage: remove placeholder functions from rkimage'

2017-06-26 Thread Guillaume Gardet
Le 22/06/2017 à 18:19, Dr. Philipp Tomsich a écrit : Guillaume, On 22 Jun 2017, at 10:11, Guillaume GARDET wrote: Revert commit 253c60a557d6740f15169a1f15772d7e64928d9b as it breaks the return value of 'mkimage -T rkimage' and print the following error:

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3036: sync os_reg2 define with other soc

2017-06-26 Thread Philipp Tomsich
> Rockchip using the same bit definition for dram info and write > to os_reg, the col and bw info is not correct and let's fix it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3036 remove CONFIG_RAM from defconfig

2017-06-26 Thread Philipp Tomsich
> rk3036 sdram driver does not use DM, remove CONFIG_RAM first. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > configs/evb-rk3036_defconfig | 1 - >

  1   2   >