[U-Boot] [PATCH v3 7/7] siemens,am33x: add draco etamin board

2016-06-06 Thread Heiko Schocher
In the draco CPU board family, etamin is a new variant with bigger flash and more RAM. Due to new flash that uses larger pages (4K) some changes are necessary because it impacts the MTD partition layout and the ubi mount parameters. Signed-off-by: Samuel Egli Signed-off-by: Heiko Schocher --- C

[U-Boot] [PATCH v3 4/7] mtd: nand: omap: allow to switch to BCH16

2016-06-06 Thread Heiko Schocher
support in omap_nand_switch_ecc() also an eccstrength from 16. Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to current mainline commit id: e4a94ce4ac77396b181663c0493c50bc2d5b9143 arch/arm/cpu/armv7/omap3/board.c | 6 -- drivers/mtd/nand/omap_gpmc.c | 4 2 files cha

[U-Boot] [PATCH v3 3/7] nand: add nand mtd concat support

2016-06-06 Thread Heiko Schocher
add for nand devices mtd concat support. Generic MTD concat support is already ported to mainline, and used in the cfi_mtd driver. This patch adds it similiar for nand devices. Signed-off-by: Heiko Schocher --- Changes in v2: - add comments from Scott Wood: - move c_mtd_name from file scope t

[U-Boot] [PATCH v3 5/7] am335x, dxr2: get ECC sType from I2C eeprom

2016-06-06 Thread Heiko Schocher
read the ECC Type field from the i2c eeprom, instead configuring it static in the U-Boot binary. see RM: Table 26-17. NAND Geometry Information on I2C EEPROM Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to current mainline commit id: e4a94ce4ac77396b181663c0493c50bc2d5b9143 bo

[U-Boot] [PATCH v3 0/7] add support for the etamin draco board variant.

2016-06-06 Thread Heiko Schocher
In the draco CPU board family, etamin is a new variant with bigger flash and more RAM. Due to new flash that uses larger pages (4K) some changes are necessary because it impacts the MTD partition layout and the ubi mount parameters. special here is: - adding MTD concat support for nand flashs - a

[U-Boot] [PATCH v3 6/7] dfu, nand, ubi: fix erasing after write finish

2016-06-06 Thread Heiko Schocher
writting to ubi nand partitions need after write ends an erase of the remaining sectors. This fail, if dfu write size was not a multiple of erasesize, example log: Failure erase: -1 Fix this error. Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to current mainline commit id: e4a9

[U-Boot] [PATCH v3 1/7] siemens,am33x: add ubi fastmap support

2016-06-06 Thread Heiko Schocher
From: Samuel Egli From: Samuel Egli Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to current mainline commit id: e4a94ce4ac77396b181663c0493c50bc2d5b9143 include/configs/siemens-am33x-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/siemens-am33x

[U-Boot] [PATCH v3 2/7] ubi: add new ubi command "ubi detach"

2016-06-06 Thread Heiko Schocher
simple detachs ubi from the mtd partition. Signed-off-by: Heiko Schocher --- Changes in v2: - add comments from Scott Wood: - correct spelling error "dettach" -> "detach" - use "o...@buserror.net" as email address for Scott - rebase to current mainline commit id: e4a94ce4ac77396b181663c04

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Simon Glass
Hi, On 21 May 2016 at 22:26, Yoshinori Sato wrote: > On Sat, 21 May 2016 10:28:42 +0900, > Tom Rini wrote: >> >> [1 ] >> On Thu, May 19, 2016 at 09:26:46PM +0900, Yoshinori Sato wrote: >> >> > Hello. >> > This patch series convert generic board for SH. >> > Tested on r2dplus target. >> >> Since

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Yoshinori Sato
On Tue, 07 Jun 2016 09:21:38 +0900, Nobuhiro Iwamatsu wrote: > > Hi, again. > > Same fixes and you had already been taken up by Simon. > I'm sorry to reply and confirmation slow. > > Best regards, > Nobuhiro OK. I'll sent V2. > > 2016-06-07 9:14 GMT+09:00 Nobuhiro Iwamatsu : > > Hi, > > > >

[U-Boot] [PATCH v3 12/12] am335x, shc: add support for the am335x based bosch shc board

2016-06-06 Thread Heiko Schocher
U-Boot SPL 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:40:06) SHC C3-Sample MPU reference clock runs at 6 MHz Setting MPU clock to 594 MHz Enabling Spread Spectrum of 18 permille for MPU Trying to boot from MMC reading u-boot.img reading u-boot.img U-Boot 2016.03-rc3-00019-g6dfb4c2-dirty (M

[U-Boot] [PATCH v3 07/12] bootstage: call show_boot_progress also in SPL

2016-06-06 Thread Heiko Schocher
show_boot_progress() is now called from SPL also. Signed-off-by: Heiko Schocher --- Changes in v3: None Changes in v2: None common/init/board_init.c | 5 + common/spl/spl.c | 5 + include/bootstage.h | 6 +++--- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v3 09/12] mmc: omap_hsmmc: enable 8bit interface for eMMC for AM33xx

2016-06-06 Thread Heiko Schocher
Enable 8bit interface on HSMMC2 for am33xx to support 8bit eMMC chips. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: - add Reviewed-by from Tom Rini drivers/mmc/omap_hsmmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/omap_hsmm

[U-Boot] [PATCH v3 10/12] armv7: omap-common: make SPL board_mmc_init() weak

2016-06-06 Thread Heiko Schocher
make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by: Heiko Schocher --- Changes in v3: None Changes in v2: None arch/arm/cpu/armv7/omap-common/boot-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/ar

[U-Boot] [PATCH v3 11/12] doc, spl, am335x: update am335x-network

2016-06-06 Thread Heiko Schocher
on the shc board we see when booting in net boot mode, that the ROM bootloader sends "AM335x ROM" as vendor-class-identifier. U-Boots doc says "DM814x ROM". So, add the info to the doc, that there is also "AM335x ROM" possible. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in

[U-Boot] [PATCH v3 04/12] arm, am335x: add some missing GPIO register definitions

2016-06-06 Thread Heiko Schocher
add missing: OMAP_GPIO_IRQSTATUS_SET_0 and OMAP_GPIO_IRQSTATUS_SET_1 registers. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: - add Reviewed-by from Tom Rini arch/arm/include/asm/arch-am33xx/cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --gi

[U-Boot] [PATCH v3 06/12] arm, am335x: Enable Spread Spectrum for the MPU

2016-06-06 Thread Heiko Schocher
Enable Spread Spectrum for the MPU by calculating the required values and setting the registers accordingly. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: - add Reviewed-by from Tom Rini arch/arm/cpu/armv7/am33xx/clock_am33xx.c | 73 ++

[U-Boot] [PATCH v3 05/12] am335x: add some missing CM_CLKMODE_DPLL_SSC macros

2016-06-06 Thread Heiko Schocher
add missing CM_CLKMODE_DPLL_SSC_ACK_MASK, CM_CLKMODE_DPLL_SSC_DOWNSPREAD_MASK and CM_CLKMODE_DPLL_SSC_TYPE_MASK defines. Used for enabling spread spectrum. Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: - add Reviewed-by from Tom Rini arch/arm/incl

[U-Boot] [PATCH v3 08/12] mmc: revert mmc: Handle switch error status bit in MMC card status

2016-06-06 Thread Heiko Schocher
revert patch: commit: 6b2221b008e0: mmc: Handle switch error status bit in MMC card status to get eMMC working on shc board Signed-off-by: Heiko Schocher --- Changes in v3: None Changes in v2: None drivers/mmc/mmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver

[U-Boot] [PATCH v3 00/12] am335x: add support for the am335x based bosch shc board

2016-06-06 Thread Heiko Schocher
This series adds support for the am335x based shc board from bosch. There are no real new things, only two points: - This board enables/uses the Spread Spectrum functionallity for the MPU. - some board defconfigs have a bootdelay, others not, so move first the CONFIG_BOOTDELAY into a Kconfig

[U-Boot] [PATCH v3 03/12] power, tps65217: add some defines

2016-06-06 Thread Heiko Schocher
add the following defines, needed for the upcoming shc board support: Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: - add Reviewed-by from Tom Rini include/power/tps65217.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/power/tps65

[U-Boot] [PATCH v3 02/12] tests: py: disable main_signon check for printenv cmd

2016-06-06 Thread Heiko Schocher
if CONFIG_VERSION_VARIABLE is set, the U-Boot environment contains a "vers" variable with the current U-Boot version string. If now "printenv" is called, test/py fails as it detects the main_sign string, which is in this case correct. So check only the main_sign as an error, if CONFIG_VERSION_VARI

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Boris Brezillon
On Mon, 06 Jun 2016 18:54:03 -0500 Scott Wood wrote: > On Mon, 2016-06-06 at 20:31 +0200, Boris Brezillon wrote: > > On Mon, 06 Jun 2016 12:56:48 -0500 > > Scott Wood wrote: > > > > > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > > > On Mon, 6 Jun 2016 17:36:10 +0200 > > > >

Re: [U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-06-06 Thread Heiko Schocher
Hello Boris, Am 06.06.2016 um 18:04 schrieb Boris Brezillon: On Mon, 30 May 2016 13:57:58 -0500 Scott Wood wrote: Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely e

[U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-06 Thread Chen-Yu Tsai
To make the PSCI backend more maintainable and easier to port to newer SoCs, rewrite the current PSCI implementation in C. Some inline assembly bits are required to access coprocessor registers. PSCI stack setup is the only part left completely in assembly. In theory this part could be split out o

[U-Boot] [PATCH v3 09/11] sunxi: Add CPUCFG debug lock and sun7i cpu power controls

2016-06-06 Thread Chen-Yu Tsai
CPUCFG has an unlisted debug control register, which is used to disable external debug access. Also, sun7i secondary core power controls are in CPUCFG, as there's no separate PRCM block. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpucfg.h | 7 ++- 1 file changed, 6 inse

[U-Boot] [PATCH v3 08/11] sunxi: Group cpu core related controls together

2016-06-06 Thread Chen-Yu Tsai
Instead of listing individual registers for controls to each processor core, list them as an array of registers. This makes accessing controls by core index easier. Also rename "cpucfg_sun6i.h" (which was unused anyway) to the more generic "cpucfg.h", and add packed attribute to struct sunxi_cpucf

[U-Boot] [PATCH v3 10/11] sunxi: Add base address for GIC

2016-06-06 Thread Chen-Yu Tsai
Instead of hardcoding the GIC addresses in the PSCI implementation, provide a base address in the cpu header. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 ++-- arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 4 ++-- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h |

[U-Boot] [PATCH v3 05/11] sunxi: Make CPUCFG_BASE macro names the same across families

2016-06-06 Thread Chen-Yu Tsai
Use SUNXI_CPUCFG_BASE across all families. This makes writing common PSCI code easier. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 16 arch/arm/cpu/armv7/sunxi/psci_sun7i.S | 8 arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 15 ++

[U-Boot] [PATCH v3 07/11] sunxi: Add missing linux/types.h header for cpucfg_sun6i.h

2016-06-06 Thread Chen-Yu Tsai
cpucfg_sun6i.h includes a register definition for the CPUCFG register block. The types used are u32 and u8, which are defined in linux/types.h. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/as

[U-Boot] [PATCH v3 03/11] ARM: PSCI: export common PSCI function declarations for C code

2016-06-06 Thread Chen-Yu Tsai
Some common PSCI functions are written in assembly, but it should be possible to use them from C code. Add function declarations for C code to consume. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/psci.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/include/asm/psc

[U-Boot] [PATCH v3 04/11] ARM: allocate extra space for PSCI stack in secure section during link phase

2016-06-06 Thread Chen-Yu Tsai
The PSCI implementation expects at most 2 pages worth of space reserved at the end of the secure section for its stacks. If PSCI is relocated to secure SRAM, then everything is fine. If no secure SRAM is available, and PSCI remains in main memory, the reserved memory space doesn't cover the space u

[U-Boot] [PATCH v3 02/11] ARM: PSCI: save and restore clobbered registers in v7_flush_dcache_all

2016-06-06 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/psci.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/cpu/armv7/psci.S b/arch/arm/cpu/armv7/psci.S index cdd001fe3fb0..ab408378fcae 100644 --- a/arch/arm/cpu/armv7/psci.S +++ b/arch/arm/cpu/armv7/psci.S @@ -110,6 +110,7 @@ ENDPROC

[U-Boot] [PATCH v3 00/11] sunxi: PSCI implementation rewrite in C

2016-06-06 Thread Chen-Yu Tsai
Hi everyone, This series rewrites the Allwinner/sunxi PSCI implementation in C, to make it easier to maintain and extend for the currently unsupported multi-cluster SoCs. The SMP code in the BSP kernels are in C. Having the PSCI code in C as well will make it easier to work on. To be able to conv

[U-Boot] [PATCH v3 06/11] sunxi: Add packed attribute to struct sunxi_prcm_reg

2016-06-06 Thread Chen-Yu Tsai
struct sunxi_prcm_reg is a representation of the PRCM registers. Add the packed attribute to prevent the compiler from doing funny things. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/prcm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/includ

[U-Boot] [PATCH v3 01/11] ARM: PSCI: use only r0 and r3 in psci_get_cpu_stack_top()

2016-06-06 Thread Chen-Yu Tsai
For psci_get_cpu_stack_top() to be usable in C code, it must adhere to the ARM calling conventions. Since it could be called when the stack is still unavailable, and the entry code to linux also expects r1 and r2 to remain unchanged, stick to r0 and r3. Signed-off-by: Chen-Yu Tsai --- arch/arm/c

Re: [U-Boot] [PATCH 0/3] This series adds support for fastboot related to USB.

2016-06-06 Thread Marek Vasut
On 06/07/2016 03:28 AM, Eddie Cai wrote: > Hi Lukasz > > I guess you missed this mail thread. So send it again. Can you help to > review this patch set? Hi, please rebase the series and repost. Keep me on CC > 2016-01-18 14:24 GMT+08:00 Eddie Cai : >> Hi Lukasz >> >> Have you back to office? Mu

Re: [U-Boot] [PATCH] arm: mxs: Remove misleading comments

2016-06-06 Thread Peng Fan
Hi Michael > -Original Message- > From: Michael Heimpold [mailto:michael.heimp...@i2se.com] > Sent: Monday, June 06, 2016 8:27 PM > To: u-boot@lists.denx.de > Cc: Michael Heimpold ; Peng Fan > ; Stefano Babic > Subject: [PATCH] arm: mxs: Remove misleading comments > > Both comments look

Re: [U-Boot] [PATCH v3 00/11] armv8: ls2080aqds: Enable QSPI boot support

2016-06-06 Thread Yao Yuan
On 06/07/2016 02:41 AM, York Sun wrote: > On 06/06/2016 03:53 AM, Yuan Yao wrote: > > From: Yuan Yao > > > > This patch adds QSPI boot support for LS2080AQDS board. > > The QSPI boot image need to be programmed into the QSPI flash first. > > Then we can switch to booting from QSPI memory space. >

Re: [U-Boot] u-boot on Minnowboard max

2016-06-06 Thread Bin Meng
+Simon, ML On Mon, Jun 6, 2016 at 10:55 PM, vinoth eswaran wrote: > Hello Mr Bin, > > I have seen your mail in the U-boot minnow board max discussion. > > I am currently working on an embedded project using Minnowboard Max and > facing some issues with u-boot and loading root filesystem from sd c

Re: [U-Boot] [PATCH 0/3] This series adds support for fastboot related to USB.

2016-06-06 Thread Eddie Cai
Hi Lukasz I guess you missed this mail thread. So send it again. Can you help to review this patch set? 2016-01-18 14:24 GMT+08:00 Eddie Cai : > Hi Lukasz > > Have you back to office? Much appreciate if you can review Frank's patch. > > Thanks > Eddie > > 2015-12-30 17:14 GMT+08:00 Lukasz Majewsk

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

2016-06-06 Thread Prabhakar Kushwaha
Hi Alex, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, May 27, 2016 7:58 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun > Subject: Re: [U-Boot] [PATCH 1/5] ls2080: Exit dpaa only right before exiting > U-Boot > > On 05/18/2016 02

Re: [U-Boot] [PATCH v3] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 02:57 AM, Steve Rae wrote: > Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the > physical interface to be 8-bit (rather than 16-bit). > > Signed-off-by: Steve Rae Acked-by: Marek Vasut > --- btw I'd still like to see the defconfig bit split at least in a separate pa

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 02:55 AM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 5:38 PM, Marek Vasut wrote: >> On 06/07/2016 01:58 AM, Steve Rae wrote: >>> Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the >>> physical interface to be 8-bit (rather than 16-bit). >>> >>> Signed-off-by: Steve Rae >>

[U-Boot] [PATCH v3] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver);

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 5:38 PM, Marek Vasut wrote: > On 06/07/2016 01:58 AM, Steve Rae wrote: >> Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the >> physical interface to be 8-bit (rather than 16-bit). >> >> Signed-off-by: Steve Rae > > Hi, minor nits below. > >> --- >> from [1] (li

Re: [U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/07/2016 01:58 AM, Steve Rae wrote: > Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the > physical interface to be 8-bit (rather than 16-bit). > > Signed-off-by: Steve Rae Hi, minor nits below. > --- > from [1] (line ~124) > > /* The Kona PHY supports an 8-bit wide UTMI i

[U-Boot] [PATCH] arm: mxs: Remove misleading comments

2016-06-06 Thread Michael Heimpold
Both comments look like being copy & paste errors. Signed-off-by: Michael Heimpold Cc: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c b/arch/arm/cpu/arm926ejs/mxs/mxs.c ind

[U-Boot] [PATCHV5 3/6] ARMv8/layerscape: Add FSL PPA support

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The FSL Primary Protected Application (PPA) is a software component loaded during boot which runs in TrustZone and remains resident after boot. Signed-off-by: Hou Zhiqiang --- V5: - Added API sec_firmware_init() implementation. V4: - Moved secure firmware validation API to

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-06 Thread Carlos Santos
> From: "Carlos Santos" > To: "Tom Rini" > Cc: u-boot@lists.denx.de > Sent: Saturday, June 4, 2016 2:39:22 PM > Subject: Re: [U-Boot] [PATCH v2] Make FIT support really optional >> From: "Tom Rini" >> To: "Carlos Santos" >> Cc: u-boot@lists.denx.de >> Sent: Saturday, June 4, 2016 10:06:58 AM >

[U-Boot] [PATCHV5 6/6] ARMv8/ls1043ardb: Integrate FSL PPA

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang So far, the PPA use PSCI to make secondary cores bootup. So when PPA is enabled, add the CONFIG_ARMV8_PSCI to identify the SMP boot-method between PSCI and spin-table. Signed-off-by: Hou Zhiqiang --- V5: - Merged the 7th patch of this patchset in v4 to this patch. - Enalbed

[U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang If the PSCI and PPA is ready, skip the fixup for spin-table and waking secondary cores. If not, change SMP method to spin-table, and the device node of PSCI will be removed. Signed-off-by: Hou Zhiqiang --- V5: - Changed the checking if the PSCI feature is ready to read the p

[U-Boot] [PATCHV5 2/6] ARMv8: add the secure monitor firmware framework

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang The sec_firmware.h is the common header file for secure monitor firmware under ARMv8. The declaration of common APIs can be added to this file. And the implementation of common APIs will be abstracted to sec_firmware.c, up to now there are some weak implementations. Signed-off

[U-Boot] [PATCHV5 5/6] ARMv8/PSCI: Fixup the device tree for PSCI

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang Set the enable-method in the cpu node to PSCI, and create device node for PSCI. Signed-off-by: Hou Zhiqiang --- V5: - Moved the weak func sec_firmware_support_psci_version to sec_firmware.c. - Correct the PSCI version value in switch-case. The right version format is marjo

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-06 Thread Carlos Santos
> From: "Tom Rini" > To: "Carlos Santos" > Cc: u-boot@lists.denx.de > Sent: Saturday, June 4, 2016 10:06:58 AM > Subject: Re: [U-Boot] [PATCH v2] Make FIT support really optional > On Fri, Jun 03, 2016 at 04:16:26PM -0300, Carlos Santos wrote: > >> Due to some mistakes in the source code, it wa

[U-Boot] [PATCHV5 1/6] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches

2016-06-06 Thread Zhiqiang Hou
From: Hou Zhiqiang This function assume that the d-cache and MMU has been enabled earlier, so it just created MMU table in main memory. But the assumption is not always correct, for example, the early setup is done in EL3, while enable_caches() is called when the PE has turned into another EL. D

Re: [U-Boot] [PATCH] arm: rmobile: Fix HDMI output for BLANCHE board

2016-06-06 Thread Nobuhiro Iwamatsu
Applied to u-boot-sh/rmobile, thanks. Best regards, Nobuhiro 2016-05-17 13:53 GMT+09:00 : > This commit fixes HDMI output for BLANCHE board > > Signed-off-by: Masakazu Mochizuki > --- > board/renesas/blanche/blanche.c | 30 ++ > 1 file changed, 30 insertions(+) >

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, again. Same fixes and you had already been taken up by Simon. I'm sorry to reply and confirmation slow. Best regards, Nobuhiro 2016-06-07 9:14 GMT+09:00 Nobuhiro Iwamatsu : > Hi, > > Sorry, my reply was too late. And thanks for your work. > > > > 2016-05-19 21:26 GMT+09:00 Yoshinori Sato

Re: [U-Boot] Potential memory corruption in drivers/net/sh_eth.c ?

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, Sorry, reply was too late. > My complaint is that this requirement is not visible in the code, and > there is no explanation for the magic numbers. The comment just says > > The size of the tx descriptor is determined by how much > padding is used. > 4, 20, or 52 byte

Re: [U-Boot] [PATCH] mmc: rmobile: add a compiler barrier

2016-06-06 Thread Nobuhiro Iwamatsu
Applied, thanks. Best regards, Nobuhiro 2016-04-04 18:49 GMT+09:00 Yannick Gicquel : > Building w/ GCC v5.2, the SD card access is broken due to invalid data > in the response command reconstructed at the end of > sh_sdhci_get_response(). > > Add a memory barrier between the two main steps of t

Re: [U-Boot] [PATCH 0/9] sh: Convert generic board

2016-06-06 Thread Nobuhiro Iwamatsu
Hi, Sorry, my reply was too late. And thanks for your work. 2016-05-19 21:26 GMT+09:00 Yoshinori Sato : > Hello. > This patch series convert generic board for SH. > Tested on r2dplus target. > > Yoshinori Sato (9): > board_f: Add relocate_code stub Please add more infomation to commit log. T

[U-Boot] [PATCH v2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver);

Re: [U-Boot] ARMv7 Execution Flow

2016-06-06 Thread Simon Glass
Hi James, On 6 June 2016 at 07:38, James Chargin wrote: > Hi James, > > On 06/05/2016 08:48 PM, Lokesh Vutla wrote: >> >> Hi James, >> >> On Saturday 04 June 2016 12:25 AM, James Pollard wrote: >>> >>> Hi, >>> >>> I'm a new U-Boot user. I'm trying to follow the flow of execution for the >>> ARMv7

Re: [U-Boot] [PATCH 3/6] mtd: nand: Add the sunxi NAND controller driver

2016-06-06 Thread Scott Wood
On Mon, 2016-06-06 at 20:31 +0200, Boris Brezillon wrote: > On Mon, 06 Jun 2016 12:56:48 -0500 > Scott Wood wrote: > > > On Mon, 2016-06-06 at 18:22 +0200, Boris Brezillon wrote: > > > On Mon, 6 Jun 2016 17:36:10 +0200 > > > Hans de Goede wrote: > > > > > > > > +#ifndef CONFIG_SPL_BUILD > > >

[U-Boot] [ANN] U-Boot v2016.07-rc1 released

2016-06-06 Thread Tom Rini
Hey all, It's release day and v2016.07-rc1 is out and the merge window is closed. I've updated git and the tarballs are also up now. To make sure everyone is on the same page, I'm going to start to get more strict about what comes in, soon enough. I plan to do -rc2 around the 20th and I'll try a

[U-Boot] [PATCH v2 4/5] bcm2835 video: Map frame buffer as 32bpp

2016-06-06 Thread Alexander Graf
To enable working efifb support, let's map the frame buffer as 32bpp instead of 16bpp. Signed-off-by: Alexander Graf --- drivers/video/bcm2835.c | 6 +++--- include/configs/rpi.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2

[U-Boot] [PATCH v2 0/5] Raspberry Pi EFI enablement

2016-06-06 Thread Alexander Graf
This is a follow-up to the RTS patch set from yesterday. With this patch set I can successfully boot a Raspberry Pi 3 into Linux, with efifb, efi based reset/power off and spin table secondary bringup working. I've put all of this into a single patch set so it doesn't get lost. In theory most pat

[U-Boot] [PATCH v2 5/5] bcm2835: Reserve the spin table in efi memory map

2016-06-06 Thread Alexander Graf
Firmware provides a spin table on the raspberry pi. This table shouldn't get overwritten by payloads, so we need to mark it as reserved. Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/rpi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/ras

[U-Boot] [PATCH v2 3/5] efi_loader: gop: Expose fb when 32bpp

2016-06-06 Thread Alexander Graf
When we're running in 32bpp mode, expose the frame buffer address to our payloads so that Linux efifb can pick it up. Signed-off-by: Alexander Graf --- lib/efi_loader/efi_gop.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop

[U-Boot] [PATCH v2 2/5] ARM: bcm283x: Implement EFI RTS reset_system

2016-06-06 Thread Alexander Graf
The rpi has a pretty simple way of resetting the whole system. All it takes is to poke a few registers at a well defined location in MMIO space. This patch adds support for the EFI loader implementation to allow an OS to reset and power off the system when we're outside of boot time. Signed-off-b

[U-Boot] [PATCH v2 1/5] efi_loader: Allow boards to implement get_time and reset_system

2016-06-06 Thread Alexander Graf
EFI allows an OS to leverage firmware drivers while the OS is running. In the generic code we so far had to stub those implementations out, because we would need board specific knowledge about MMIO setups for it. However, boards can easily implement those themselves. This patch provides the framew

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 09:10 PM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 11:58 AM, Steve Rae wrote: >> On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >>> >>> On 06/06/2016 06:50 PM, Steve Rae wrote: On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut >>> > wrote: >

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Marek Vasut
On 06/06/2016 08:58 PM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >> >> On 06/06/2016 06:50 PM, Steve Rae wrote: >>> >>> >>> On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut >> > wrote: >>> >>> On 06/06/2016 06:15 PM, Steve Rae wrote: >>> > On

Re: [U-Boot] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 05:28:33PM -0400, Tom Rini wrote: > On Mon, May 30, 2016 at 04:11:53PM +0200, Michal Simek wrote: > > > Setup flag when default environment are used to be able to > > rewrite default distro boot variables based on SoC boot mode. > > > > Signed-off-by: Michal Simek > > Rev

Re: [U-Boot] ARM: DRA7xx: Enable FIT for hs platforms

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 10:54:57AM +0530, Lokesh Vutla wrote: > Use a single defconfig for all DRA7xx hs platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] configs: k2*_evm: Update fdt file names

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 11:18:42AM +0530, Lokesh Vutla wrote: > Now that all Keystone2 dts file names are changed in Linux kernel, reflect the > same in evn variables inorder to find the right dtb file. > > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc D

Re: [U-Boot] efi_loader: Add DM_VIDEO support

2016-06-06 Thread Tom Rini
On Sun, Jun 05, 2016 at 10:34:31PM +0200, Alexander Graf wrote: > Some systems are starting to shift to support DM_VIDEO which exposes > the frame buffer through a slightly different interface. > > This is a poor man's effort to support the dm video interface instead > of the lcd one. We still on

Re: [U-Boot] [U-Boot, v1] ti_armv7_common: env: Fix hard coded mmc device for uuid

2016-06-06 Thread Tom Rini
On Fri, Jun 03, 2016 at 08:44:02PM +0530, B, Ravi wrote: > Avoid use of hard coded mmcdev value, use bootpart > instead, so finduuid works based on bootpart set > for a specific platform. > > Signed-off-by: Ravi Babu > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] armv7: fix order of OMAP die ID printing

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 11:43:16AM +0200, Ladislav Michl wrote: > Signed-off-by: Ladislav Michl > Acked-by: Enric Balletbo i Serra > > diff --git a/arch/arm/cpu/armv7/omap-common/utils.c > b/arch/arm/cpu/armv7/omap-common/utils.c > index 52ea734..2d03ebf 100644 Applied to u-boot/master, thank

Re: [U-Boot] efi_loader: Move to normal debug infrastructure

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 11:38:27AM +0200, Alexander Graf wrote: > We introduced special "DEBUG_EFI" defines when the efi loader > support was new. After giving it a bit of thought, turns out > we really didn't have to - the normal #define DEBUG infrastructure > works well enough for efi loader as

Re: [U-Boot] [U-Boot,4/4] strider: Support cpu-dp flavor

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:42AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is new strider cpu flavor with DisplayPort video. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,3/4] strider: Support con-dp flavor

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:41AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is a new strider console flavor with DisplayPort > video. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signatur

Re: [U-Boot] [U-Boot, 2/4] gdsys: osd: Allow osdsize on valid screens only

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:40AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > Limit "osdsize"-command to access valid screens only. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,1/4] ioep-fpga: Support intempo compression

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 09:05:39AM +0200, Dirk Eibach wrote: > From: Dirk Eibach > > There is a new "intempo" compression type that can > be reported on startup. > > Signed-off-by: Dirk Eibach > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Dig

Re: [U-Boot] Fix to davinci_nand.h to place CEnCFG registers at correct

2016-06-06 Thread Tom Rini
On Thu, Jun 02, 2016 at 01:19:26PM +1000, Peter Howard wrote: > Signed-off-by: Peter Howard Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mail

Re: [U-Boot] dm: scsi: if_typename should be scsi

2016-06-06 Thread Tom Rini
On Wed, Jun 01, 2016 at 08:11:24AM -0500, Ed Swarthout wrote: > Fixes: > > => ext2ls scsi 0:1 > ** Bad device scsi 0:1 ** > > for boards which use the scsi legacy driver (such as ls1043ardb). > > Signed-off-by: Ed Swarthout > Tested-by: George McCollister > Acked-by: Simon Glass Applied to

Re: [U-Boot] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-06-06 Thread Tom Rini
On Mon, May 30, 2016 at 04:11:53PM +0200, Michal Simek wrote: > Setup flag when default environment are used to be able to > rewrite default distro boot variables based on SoC boot mode. > > Signed-off-by: Michal Simek > Reviewed-by: Alexander Graf Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2] lib: make strmhz available in SPL

2016-06-06 Thread Tom Rini
On Tue, May 31, 2016 at 08:30:59PM +1200, Chris Packham wrote: > From: Chris Packham > > When setting up a DDR controller it is useful to be able to display > frequencies in a readable form. Make the strmhz() function available in > SPL builds provided there is full vsprintf available. > > Revi

Re: [U-Boot] [U-Boot, v4] arm/arm64: implement a boot header capability

2016-06-06 Thread Tom Rini
On Tue, May 31, 2016 at 10:45:06AM -0700, Steve Rae wrote: > From: Andre Przywara > > Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) > require a header before the actual U-Boot binary to both check its > validity and to find other data to load. Sometimes this header may > only b

Re: [U-Boot] [U-Boot,v2] Remove unneeded remnants of bcopy().

2016-06-06 Thread Tom Rini
On Mon, May 30, 2016 at 06:55:53AM -0400, Robert P. J. Day wrote: > Since bcopy() is no longer used, delete all remaining references to > it. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] efi_loader: Don't allocate from memory holes

2016-06-06 Thread Tom Rini
On Fri, May 27, 2016 at 12:25:03PM +0200, Alexander Graf wrote: > When a payload calls our memory allocator with the exact address hint, we > happily allocate memory from completely unpopulated regions. Payloads however > expect this to only succeed if they would be allocating from free convention

Re: [U-Boot] [PULL] u-boot-usb/master

2016-06-06 Thread Tom Rini
On Sun, Jun 05, 2016 at 03:56:50AM +0200, Marek Vasut wrote: > The following changes since commit b2f1858455e99a91aeafe59ac73c6c047106d5e8: > > arm: lib: fix push/pop-section directives (2016-06-03 15:14:11 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.

Re: [U-Boot] [U-Boot,1/2] arm: Introduce setjmp/longjmp

2016-06-06 Thread Tom Rini
On Fri, May 20, 2016 at 11:28:22PM +0200, Alexander Graf wrote: > To quit an EFI application we will need logic to jump to the caller > of a function without returning from the function we called into, > so we need setjmp/longjmp functionality. > > This patch introduces a trivial implementation o

Re: [U-Boot] [U-Boot,2/2] efi_loader: Add exit support

2016-06-06 Thread Tom Rini
On Fri, May 20, 2016 at 11:28:23PM +0200, Alexander Graf wrote: > Some times you may want to exit an EFI payload again, for example > to default boot into a PXE installation and decide that you would > rather want to boot from the local disk instead. > > This patch adds exit functionality to the

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-06-06 Thread Tom Rini
On Mon, Jun 06, 2016 at 11:26:53AM +0200, Michal Simek wrote: > Hi Tom, > > please pull these changes to your tree. It is converting ZynqMP targets to > use distro > boot options. > I am still waiting for Marek to apply one USB DWC3 patch to fix usb support > on ZynqMP. > > Thanks, > Michal > >

Re: [U-Boot] [PATCH 5/6] cmd: mtdparts: support runtime generated mtdparts

2016-06-06 Thread Ladislav Michl
On Mon, Jun 06, 2016 at 08:50:55PM +0200, Michal Suchanek wrote: > On 6 June 2016 at 09:48, Ladislav Michl wrote: [snip] > > Okay, specifing size in therms of eraseblock would solve my problem > > and I have to admit I'm not aware such a thing exists. Any pointer to > > the patch introducing that

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 11:58 AM, Steve Rae wrote: > On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: >> >> On 06/06/2016 06:50 PM, Steve Rae wrote: >> > >> > >> > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut > > > wrote: >> > >> > On 06/06/2016 06:15 PM, Steve Rae wrot

Re: [U-Boot] [PATCH] usb: dwc2_udc_otg: support 8-bit interface

2016-06-06 Thread Steve Rae
On Mon, Jun 6, 2016 at 10:03 AM, Marek Vasut wrote: > > On 06/06/2016 06:50 PM, Steve Rae wrote: > > > > > > On Mon, Jun 6, 2016 at 9:30 AM, Marek Vasut > > wrote: > > > > On 06/06/2016 06:15 PM, Steve Rae wrote: > > > On Mon, Jun 6, 2016 at 8:59 AM, Marek Vasut > <

Re: [U-Boot] [PATCH 5/6] cmd: mtdparts: support runtime generated mtdparts

2016-06-06 Thread Michal Suchanek
On 6 June 2016 at 09:48, Ladislav Michl wrote: > On Mon, Jun 06, 2016 at 09:08:47AM +0200, Michal Suchanek wrote: >> On 5 June 2016 at 20:23, Ladislav Michl wrote: >> > Unless I'm missing something, partition layout is passed to the kernel >> > from the bootloader. So if kernel ends up with a di

Re: [U-Boot] [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-06 Thread Boris Brezillon
On Mon, 06 Jun 2016 12:16:33 -0500 Scott Wood wrote: > On Sat, 2016-06-04 at 13:06 +0200, Boris Brezillon wrote: > > On Sat, 04 Jun 2016 02:14:09 -0500 > > Scott Wood wrote: > > > > > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > > > On Fri, 03 Jun 2016 20:08:49 -0500 > > >

  1   2   >