Re: [U-Boot] [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 00:07 +0200, Siarhei Siamashka wrote: > Just one suggestion. It would be really nice if the Debian installer > could present itself on all the available consoles, so that the user > can use any of them for providing input to the installer. There is some reason why d-i doesn't

Re: [U-Boot] [RFC] sunxi: Support uploading 'boot.scr' to RAM over USB OTG in FEL mode

2015-03-03 Thread Ian Campbell
On Sun, 2015-03-01 at 23:37 +0200, Siarhei Siamashka wrote: > On Fri, 27 Feb 2015 16:39:45 + > Ian Campbell wrote: > > > On Tue, 2015-02-24 at 04:48 +0200, Siarhei Siamashka wrote: > > > In order to fully support booting the whole system over USB OTG > > > without relying on anything else (MM

Re: [U-Boot] [PATCH v3 0/9] sf: Update flash params for supported read commands and sector size

2015-03-03 Thread Bin Meng
+Tom Hi Jagan, On Tue, Jan 27, 2015 at 9:50 PM, Bin Meng wrote: > Hi Jagan, > > On Sat, Jan 24, 2015 at 6:34 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Mon, Jan 12, 2015 at 2:52 PM, Jagan Teki wrote: >>> On 12 January 2015 at 09:12, Bin Meng wrote: Hi Jagan, On Wed, Dec 17, 2014

Re: [U-Boot] [RFC PATCH 03/13] sunxi: Replace the pcDuino3 config with FDT version

2015-03-03 Thread Ian Campbell
On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: > We currently have Linksprite_pcDuino3 and Linksprite_pcDuino3_fdt. Drop the > former in favour of the latter. > > Signed-off-by: Simon Glass Is the FDT version a drop in replacement now? I didn't receive the whole series but I see that e.g.

Re: [U-Boot] [RFC PATCH 05/13] dts: sunxi: Bring in Ethernet device tree bindings

2015-03-03 Thread Ian Campbell
On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: > Since we will use these bindings on sunxi, bring them in from Linux > 4.0-rc1. > > Signed-off-by: Simon Glass Acked-by: Ian Campbell Although I do wonder if rather than importing all these bindings whether we shouldn't just be referencing

Re: [U-Boot] [RFC PATCH 12/13] dm: sunxi: Support driver model for Ethernet

2015-03-03 Thread Ian Campbell
On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: > Adjust the Ethernet initialisation code to support driver model. > It is no-longer necessary to call designware_initialize(). The device will > be probed when it is used. The PHY type and GMAC base will come from the > device tree. I wonder i

Re: [U-Boot] [RFC PATCH 13/13] dm: sunxi: Use driver model for Ethernet on Linksprite pcDuino3

2015-03-03 Thread Ian Campbell
On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: > Switch this board over to use driver model for Ethernet > > Cover-letter > RFC: dm: net: Conversion patches for sunxi driver model Ethernet > This series is for Joe Hershberger. It is based on his RFC driver model > Ethernet implementation, a

Re: [U-Boot] lcd-console / display rotation

2015-03-03 Thread Hannes Petermaier
> > +Anatolij, Nikita > > Hi, Hi, many thanks for response. > > On 2 March 2015 at 03:12, Hannes Petermaier > wrote: > > Hello everybody, > > > > A short question about lcd-console: > > > > Today u-boot only supports a 'linear framebuffer', meaning the next pixel > > of a character is allways

[U-Boot] [PATCH] ls1021atwr: add hwconfig setting to do pin mux

2015-03-03 Thread Yuan Yao
The Freescale LS1021ATWR share some pins, so Add the hwconfig option that allows the user to choose which the function he wants. Signed-off-by: Yuan Yao --- board/freescale/ls1021atwr/ls1021atwr.c | 78 + 1 file changed, 78 insertions(+) diff --git a/board/freesc

[U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-03 Thread Dileep Katta
Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- arch/arm/cpu/armv7/omap5/Kconfig | 5 + board/ti/dra7xx/Kconfig | 13 ++ board/ti/dra7xx/MAINTAINERS | 2 + configs/dra7xx_evm_android_defconfig | 5 + include/configs/dra7xx_evm_android.h | 313

[U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-03 Thread Dileep Katta
g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init() fixes this. Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- common/cmd_fastboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_fastboot.c b/common/cmd_fas

[U-Boot] [PATCH v3 3/4] ARM: DRA7: Set serial number environment variable

2015-03-03 Thread Dileep Katta
Adds the registers to get the serial number of dra7xx boards. Serial# environment variable will be set if not done already. This will be useful to show correct information in "fastboot devices" commands. Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- arch/arm/cpu/armv7/omap5/pr

[U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA7

2015-03-03 Thread Dileep Katta
Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- board/ti/dra7xx/Makefile | 1 + board/ti/dra7xx/fastboot.c | 45 common/cmd_bootm.c | 5 drivers/usb/gadget/f_fastboot.c | 5 include/con

Re: [U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's mail id. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > arch/arm/cpu/armv7/omap5/Kconfig | 5 + > board/ti/dra7xx/Kconfig | 13 ++ > board/ti/dra7xx/MAINTAINERS

Re: [U-Boot] [PATCH v1 2/4] fastboot: call board_usb_init() to enable usb

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's mail id. And patch version. (My bad) Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > g_dnl_gadget_register() fails for dra7xx dwc3 gadget > when running cmd_fastboot. > Calling board_usb_init() fixes this. > > Signed-off-by: Angela Stegmaier > Signed-off-by

Re: [U-Boot] [PATCH v1 3/4] ARM: DRA7: Set serial number environment variable

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's Mail id and patch version. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Adds the registers to get the serial number of dra7xx boards. > Serial# environment variable will be set if not done already. > This will be useful to show correct information in > "f

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA

2015-03-03 Thread Dileep Katta
Corrected Tom Rini's Mail id. Regards, Dileep On 3 March 2015 at 16:40, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > board/ti/dra7xx/Makefile | 1 + > board/ti/dra7xx/fastboot.c | 45 >

Re: [U-Boot] [PATCH] ARMv8: Bug fix of dcache_disable()

2015-03-03 Thread Mark Rutland
On Thu, Feb 26, 2015 at 03:06:10PM +, FengHua wrote: > > hi Mark, Hi, >You did very detailed analysis of the cache beheaviour. Yes, this > patch is not perfect. > But it did fix the actually existed bug. I will try to describe it more > clearly in the following. While this may app

Re: [U-Boot] [PATCH v2] warp: Add a README file

2015-03-03 Thread Otavio Salvador
On Mon, Mar 2, 2015 at 3:22 PM, Otavio Salvador wrote: > On Mon, Mar 2, 2015 at 3:14 PM, Fabio Estevam wrote: >> Hi Otavio, >> >> On Mon, Mar 2, 2015 at 3:12 PM, Otavio Salvador >> wrote: >> >>> Well this README is covering WaRP so we ought to cover WaRP specifics there. >> >> What is the exact

Re: [U-Boot] [RFC PATCH 03/13] sunxi: Replace the pcDuino3 config with FDT version

2015-03-03 Thread Hans de Goede
Hi, On 03-03-15 09:34, Ian Campbell wrote: On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: We currently have Linksprite_pcDuino3 and Linksprite_pcDuino3_fdt. Drop the former in favour of the latter. Signed-off-by: Simon Glass Is the FDT version a drop in replacement now? AFAIK yes,

[U-Boot] [PATCH V2 3/8] video: exynos_fb: configure backlight GPIOs if specified in DT

2015-03-03 Thread Ajay Kumar
Add support to configure PWM_OUT(PWM output) GPIO and BL_EN(backlight enable) GPIO, if provided in FIMD DT node. Signed-off-by: Ajay Kumar --- doc/device-tree-bindings/video/exynos-fb.txt |2 ++ drivers/video/exynos_fb.c| 23 +++ 2 files changed, 25

[U-Boot] [PATCH V2 0/8] peach_pi: Add support for FIMD and DP

2015-03-03 Thread Ajay Kumar
Add support for the eDP panel supported on peach_pi. Changes since V1: -- Address comments for clock changes -- Remove the use of GPIO enums, and use DT to specify GPIOs. Ajay Kumar (8): [PATCH V2 1/8] arm: exynos: add display clocks for Exynos5800 [PATCH V2 2/8] Exynos5: Fix

Re: [U-Boot] [RFC PATCH 03/13] sunxi: Replace the pcDuino3 config with FDT version

2015-03-03 Thread Simon Glass
Hi, On 3 March 2015 at 06:29, Hans de Goede wrote: > Hi, > > On 03-03-15 09:34, Ian Campbell wrote: >> >> On Sun, 2015-03-01 at 09:33 -0700, Simon Glass wrote: >>> >>> We currently have Linksprite_pcDuino3 and Linksprite_pcDuino3_fdt. Drop >>> the >>> former in favour of the latter. >>> >>> Signe

[U-Boot] [PATCH V2 5/8] dts: exynos54xx: Add samsung, pwm-out-gpio property to FIMD node

2015-03-03 Thread Ajay Kumar
Now that the exynos_fb driver supports handling backlight GPIO via DT, specify pwm output property via FIMD DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos54xx.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos54xx.dtsi b/arch/arm/dts/exynos54xx.dtsi index

[U-Boot] [PATCH V2 4/8] video: parade: configure SLP and RST GPIOs if specified in DT

2015-03-03 Thread Ajay Kumar
Add support to configure EDP_RST GPIO and EDP_SLP GPIO, if provided in parade DT node. Signed-off-by: Ajay Kumar --- drivers/video/parade.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/video/parade.c b/drivers/video/parade.c index 0f543f6..525ef07 100644 --- a/d

[U-Boot] [PATCH V2 7/8] dts: peach_pi: Add DT properties needed for display

2015-03-03 Thread Ajay Kumar
Add backlight enable GPIO, and delay needed for panel powerup via FIMD DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5800-peach-pi.dts |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b/arch/arm/dts/exynos5800-peach-pi.dts index e4bc100.

[U-Boot] [PATCH V2 8/8] smdk5420: Remove GPIO enums

2015-03-03 Thread Ajay Kumar
Remove GPIOs from smdk5420 board file and because the same is already specified via DT. Signed-off-by: Ajay Kumar --- board/samsung/smdk5420/smdk5420.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/samsung/smdk5420/smdk5420.c b/board/samsung/smdk5420/smdk5420.c ind

[U-Boot] [PATCH V2 6/8] dts: peach_pit: Add SLP and RST GPIO properties in parade DT node

2015-03-03 Thread Ajay Kumar
Now that parade driver supports reading SLP and RST GPIO from DT, specify the same in parade DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5420-peach-pit.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/exynos5420-peach-pit.dts b/arch/arm/dts/exynos5420-peac

[U-Boot] [PATCH V2 1/8] arm: exynos: add display clocks for Exynos5800

2015-03-03 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5800 needed by exynos video driver. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c | 66 ++-- arch/arm/include/asm/arch-exynos/clk.h |3 ++ 2 files changed, 66 insertions(+), 3 deletions(-

[U-Boot] [PATCH 2/8] Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels

2015-03-03 Thread Ajay Kumar
The existing setting for rpll_sdiv generates 70.5Mhz RPLL video clock to drive 1366x768 panel on peach_pit. This clock rate is not sufficient to drive 1920x1080 panel on peach-pi. So, we adjust rpll_sdiv to 3 so that it generates 141Mhz pixel clock which can drive peach-pi LCD. This change doesn'

Re: [U-Boot] [PATCH v5 0/5] Clean out SPL and enable driver model

2015-03-03 Thread Tom Rini
On Mon, Mar 02, 2015 at 09:39:37PM -0700, Simon Glass wrote: > Hi Tom, > > On 2 March 2015 at 17:51, Tom Rini wrote: > > On Mon, Mar 02, 2015 at 03:19:05PM -0700, Simon Glass wrote: > >> Hi, > >> > >> On 26 February 2015 at 10:26, Simon Glass wrote: > >> > This series includes a few more patches

Re: [U-Boot] [PATCH V2 0/8] peach_pi: Add support for FIMD and DP

2015-03-03 Thread Ajay kumar
On Tue, Mar 3, 2015 at 7:33 PM, Ajay Kumar wrote: > Add support for the eDP panel supported on peach_pi. > > Changes since V1: > -- Address comments for clock changes > -- Remove the use of GPIO enums, and use DT to specify GPIOs. > > Ajay Kumar (8): > [PATCH V2 1/8] arm: exynos:

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA

2015-03-03 Thread Rob Herring
On Tue, Mar 3, 2015 at 5:10 AM, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > board/ti/dra7xx/Makefile | 1 + > board/ti/dra7xx/fastboot.c | 45 > > common/cmd_bootm.c |

Re: [U-Boot] [PATCH v5 0/5] Clean out SPL and enable driver model

2015-03-03 Thread Tom Rini
On Tue, Mar 03, 2015 at 09:06:15AM -0500, Tom Rini wrote: > On Mon, Mar 02, 2015 at 09:39:37PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On 2 March 2015 at 17:51, Tom Rini wrote: > > > On Mon, Mar 02, 2015 at 03:19:05PM -0700, Simon Glass wrote: > > >> Hi, > > >> > > >> On 26 February 2015 at

[U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close

2015-03-03 Thread Maxin B. John
Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d cmd_mmc.c: Drop open/close mmc sub-commands Signed-off-by: Maxin B. John --- include/configs/mx6sabre_common.h | 4 +--- 1 file changed, 1 i

Re: [U-Boot] Bad colors on BMP display on LCD

2015-03-03 Thread Guillaume Gardet
Hi, Le 26/02/2015 18:10, Hannes Petermaier a écrit : Hi Guillaume, which imageformat (bpp) do you have? It depends on images tested. Most of them are: "PC bitmap, Windows 3.x format, XXX x YY x 8". Just see tools/logos/*.bmp in U-Boot sources. I also created my own BMP image using convert

Re: [U-Boot] [PATCH v5 0/5] Clean out SPL and enable driver model

2015-03-03 Thread Simon Glass
Hi Tom, On 3 March 2015 at 07:48, Tom Rini wrote: > On Tue, Mar 03, 2015 at 09:06:15AM -0500, Tom Rini wrote: >> On Mon, Mar 02, 2015 at 09:39:37PM -0700, Simon Glass wrote: >> > Hi Tom, >> > >> > On 2 March 2015 at 17:51, Tom Rini wrote: >> > > On Mon, Mar 02, 2015 at 03:19:05PM -0700, Simon Gl

[U-Boot] [PATCH v6 0/6] Clean out SPL and enable driver model

2015-03-03 Thread Simon Glass
This series includes a few more patches aimed at getting rid of gdata, the parallel global_data structure introduced on some ARM boards. It also collects together the other patches which have been sent previously, so that everything is in one place. I would like get this agreed and applied to u-b

[U-Boot] [PATCH v6 1/6] arm: Reduce the scope of lowlevel_init()

2015-03-03 Thread Simon Glass
This function has grown into something of a monster. Some boards are setting up a console and DRAM here in SPL. This requires global_data which should be set up in one place (crt0.S). There is no need for SPL to use s_init() for anything since board_init_f() is called immediately afterwards. Sign

[U-Boot] [PATCH v6 3/6] dm: tegra: Enable driver model in SPL and adjust the GPIO driver

2015-03-03 Thread Simon Glass
Use the full driver model GPIO and serial drivers in SPL now that these are supported. Since device tree is not available they will use platform data. Remove the special SPL GPIO function as it is no longer needed. This is all in one commit to maintain bisectability. Signed-off-by: Simon Glass

[U-Boot] [PATCH v6 2/6] arm: spl: Avoid setting up a duplicate global data structure

2015-03-03 Thread Simon Glass
This is already set up in crt0.S. We don't need a new structure and don't really want one in the 'data' section of the image, since it will be empty and crt0.S's changes will be ignored. As an interim measure, remove it only if CONFIG_DM is not defined. This allows us to press ahead with driver mo

[U-Boot] [PATCH v6 6/6] ti: armv7: am33xx: Move SPL SDRAM into the correct place

2015-03-03 Thread Simon Glass
Currently SDRAM is set up before global_data is available. This will soon not work. Adjust the ordering to cope, using the new CONFIG_SPL_STACK_R option to ensure that the stack is still in SDRAM once baord_init_r() starts in SPL. Signed-off-by: Simon Glass --- Changes in v6: - Add new patch for

[U-Boot] [PATCH v6 5/6] Make export interface support CONFIG_SYS_MALLOC_SIMPLE

2015-03-03 Thread Simon Glass
When CONFIG_SYS_MALLOC_SIMPLE is defined, free() is a static inline. Make sure that the export interface still builds in this case. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: None Changes in v4: - Add new patch to make the export interface support CONFIG_SYS_MALLOC_SIMPLE

[U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-03 Thread Simon Glass
At present SPL uses a single stack, either CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and environment) require a lot of stack, some boards set CONFIG_SPL_STACK to point into SDRAM. They then set up SDRAM very early, before board_init_f(), so that the larger st

Re: [U-Boot] [PATCH v6 6/6] ti: armv7: am33xx: Move SPL SDRAM into the correct place

2015-03-03 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:03:02AM -0700, Simon Glass wrote: > Currently SDRAM is set up before global_data is available. This will soon > not work. Adjust the ordering to cope, using the new CONFIG_SPL_STACK_R > option to ensure that the stack is still in SDRAM once baord_init_r() > starts in SPL

Re: [U-Boot] [PATCH v6 6/6] ti: armv7: am33xx: Move SPL SDRAM into the correct place

2015-03-03 Thread Simon Glass
Hi Tom, On 3 March 2015 at 08:15, Tom Rini wrote: > On Tue, Mar 03, 2015 at 08:03:02AM -0700, Simon Glass wrote: > >> Currently SDRAM is set up before global_data is available. This will soon >> not work. Adjust the ordering to cope, using the new CONFIG_SPL_STACK_R >> option to ensure that the s

[U-Boot] [PATCH v2 07/12] dm: regulator: add max77686 regulator driver

2015-03-03 Thread Przemyslaw Marczak
This commit adds support to max77686 regulator driver based on a uclass regulator driver-model api, which provides implementation of all uclass regulator api function calls. New file: drivers/power/regulator/max77686.c New config: CONFIG_DM_REGULATOR_MAX77686 Signed-off-by: Przemyslaw Marczak --

[U-Boot] [PATCH v2 00/12] Power(full) framework based on Driver Model

2015-03-03 Thread Przemyslaw Marczak
Hello, Here is the second RFC version of the new PMIC framework. The changes made in this version are described below each commit. So again, a quick summary of: Framework: - Add new uclass types: -- UCLASS_PMIC(for device I/O) -- UCLASS_PMIC_REGULATOR (for common regulator ops) - Two uclass driv

[U-Boot] [PATCH v2 04/12] dm: pmic: add implementation of driver model regulator uclass

2015-03-03 Thread Przemyslaw Marczak
This is the implementation of driver model regulator uclass api. To use it, the CONFIG_DM_PMIC is required with driver implementation, since it provides pmic devices basic I/O API. The regulator framework is based on a 'struct dm_regulator_ops'. It provides a common function calls, for it's basic

[U-Boot] [PATCH v2 12/12] odroid: config: enable dm pmic, dm regulator and max77686 driver

2015-03-03 Thread Przemyslaw Marczak
This change enables the configs required to init and setup max77686 regulator driver, using the new driver model pmic API. Enabled configs: - CONFIG_DM_PMIC_I2C - CONFIG_DM_PMIC_MAX77686 - CONFIG_DM_REGULATOR - CONFIG_DM_REGULATOR_MAX77686 And removes the unused: - CONFIG_DM_I2C_COMPAT - CONFIG_P

[U-Boot] [PATCH v2 11/12] odroid: dts: add 'voltage-regulators' description to max77686 node

2015-03-03 Thread Przemyslaw Marczak
Adding regulators subnode to fdt max77686 node allows properly init regulators descriptors from by the max77686 regulator driver. This enables the complete functionality of the regulator command. Signed-off-by: Przemyslaw Marczak --- Changes V2: - odroid: dts: remove pmic alias --- arch/arm/dts/

[U-Boot] [PATCH v2 01/12] exynos5: fix build break by adding CONFIG_POWER

2015-03-03 Thread Przemyslaw Marczak
Move the configs listed below from exynos5-dt-common.h to exynos5-common.h: - CONFIG_POWER - CONFIG_POWER_I2C fixes build break for Arndale and Smdk5250 boards. Signed-off-by: Przemyslaw Marczak --- include/configs/exynos5-common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/

[U-Boot] [PATCH v2 02/12] dm: device: add function device_get_first_child_by_uclass_id()

2015-03-03 Thread Przemyslaw Marczak
To implement functionality for devices connected by some external interface, sometimes there is need to implement more then one, and different uclass type drivers. But only one i2c/spi dm chip can exists, per each bus i2c address or spi select. Then, it seems to be useful, to get the child device

[U-Boot] [PATCH v2 03/12] dm: pmic: add implementation of driver model pmic uclass

2015-03-03 Thread Przemyslaw Marczak
This is an introduction to driver-model multi uclass PMIC support. It starts with UCLASS_PMIC - a common PMIC devices uclass type to provide device read/write operations only. Beside two basic operations the pmic platform data is introduced, which provides basic informations about the pmic device

[U-Boot] [PATCH v2 06/12] dm: pmic: add max77686 pmic driver

2015-03-03 Thread Przemyslaw Marczak
This is the implementation of driver model uclass pmic driver. The max77686 pmic driver implements read/write operations and driver bind method - to bind other pmic uclass devices as a parent pmic device. This driver provides pmic_platdata for also for child regulator. This driver will try to bind

[U-Boot] [PATCH v2 09/12] dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC

2015-03-03 Thread Przemyslaw Marczak
In the power_init_board function call, regulator driver init is called, so before compile, make sure that any power framework is defined. Signed-off-by: Przemyslaw Marczak --- board/samsung/common/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/commo

Re: [U-Boot] [PATCH V3 0/11] ARM: OMAP3-DRA7: CP15 erratum workarounds and improvements

2015-03-03 Thread Nishanth Menon
On 03/03/2015 12:45 AM, Siarhei Siamashka wrote: [...] > In one way, this can be verified by just checking that the necessary > bits in the system registers are properly set according to the > recommendations from the errata lists. AFAIK, only writes to these > registers are restricted, so that it

[U-Boot] [PATCH v2 08/12] doc: driver-model: pmic and regulator uclass documentation

2015-03-03 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak --- Changes v2: - update documentation with the framework api changes --- doc/driver-model/dm-pmic-framework.txt | 367 + 1 file changed, 367 insertions(+) create mode 100644 doc/driver-model/dm-pmic-framework.txt diff --git a/do

[U-Boot] [PATCH v2 05/12] dm: pmic: new commands: pmic and regulator

2015-03-03 Thread Przemyslaw Marczak
This introduces new commands: - pmic (new) - CONFIG_DM_PMIC_CMD - regulator - CONFIG_DM_REGULATOR_CMD Both uses a common code and dm pmic api. To avoid code mess the old pmic command is kept without changes. Command pmic The new pmic command uses driver model pmic api. The previous pmic I/O funct

[U-Boot] [PATCH v2 10/12] odroid: board: add support to dm pmic api

2015-03-03 Thread Przemyslaw Marczak
This commit change the old pmic framework calls with the new ones. Signed-off-by: Przemyslaw Marczak --- Changes v2: - remove board_init_i2c() call - update regulator calls - update headers - samsung/misc.c: include required header --- board/samsung/common/misc.c | 1 + board/samsung/odroid/o

Re: [U-Boot] [PATCH V3 01/11] ARM: Introduce erratum workaround for 798870

2015-03-03 Thread Nishanth Menon
On 02/25/2015 02:55 PM, Nishanth Menon wrote: > Add workaround for Cortex-A15 ARM erratum 798870 which says > "If back-to-back speculative cache line fills (fill A and fill B) are > issued from the L1 data cache of a CPU to the L2 cache, the second > request (fill B) is then cancelled, and the seco

Re: [U-Boot] [PATCH v2 00/12] Power(full) framework based on Driver Model

2015-03-03 Thread Przemyslaw Marczak
Hello, On 03/03/2015 05:24 PM, Przemyslaw Marczak wrote: Hello, Here is the second RFC version of the new PMIC framework. The changes made in this version are described below each commit. So again, a quick summary of: Framework: - Add new uclass types: -- UCLASS_PMIC(for device I/O) -- UCLA

[U-Boot] [PATCH 04/14] usb: gadget: thor: Invoke board specific USB cleanup interface

2015-03-03 Thread Lukasz Majewski
From: Inha Song This patch invokes board-specific USB cleanup (board_usb_cleanup) function in the thor gadget. Signed-off-by: Inha Song --- common/cmd_thordown.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 8ed1dc6..436b7f5 100644 ---

[U-Boot] [PATCH 08/14] usb: dwc3: add a workaround for too small OUT requests

2015-03-03 Thread Lukasz Majewski
From: Marek Szyprowski DWC3 hangs on OUT requests smaller than maxpacket size, so HACK the request length to be at least equal to maxpacket size. Signed-off-by: Marek Szyprowski --- drivers/usb/dwc3/gadget.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c

[U-Boot] [PATCH 09/14] usb: dwc3: gadget: add common endpoint configuration for dwc3 udc driver

2015-03-03 Thread Lukasz Majewski
From: Marek Szyprowski This patch adds code to select standard, commonly used usb endpoint configuration (ep1in-bulk, ep2out-bulk, ep3in-int) to dwc3 driver. This ensures compatibility with old userspace and windows drivers, which expects hardcoded endpoint numbers. Signed-off-by: Marek Szyprows

[U-Boot] [PATCH 10/14] usb: dwc3: optimize interrupt loop

2015-03-03 Thread Lukasz Majewski
From: Marek Szyprowski There is no point in calling dwc3_thread_interrupt() if no event is pending. There is also no point in flushing event cache in EVERY loop iteration. Signed-off-by: Marek Szyprowski --- drivers/usb/dwc3/core.c | 7 --- drivers/usb/dwc3/gadget.c | 15 +--

[U-Boot] [PATCH 14/14] usb: gadget: thor: Claim EP after allocating it in thor gadget

2015-03-03 Thread Lukasz Majewski
From: Marek Szyprowski Storing thor device struct as an EP private data. It is necessary for DWC3 operation. Signed-off-by: Marek Szyprowski --- drivers/usb/gadget/f_thor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/f_thor.c b/drivers/usb/gadget/f_thor.c index 1f

Re: [U-Boot] [PATCH v2 00/12] Power(full) framework based on Driver Model

2015-03-03 Thread Przemyslaw Marczak
And the patchset on github: https://github.com/bobenstein/u-boot/tree/dm-pmic-v2 Best regards, -- Przemyslaw Marczak Samsung R&D Institute Poland Samsung Electronics p.marc...@samsung.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [PATCH] spl_mem_init.c : Added support for mDDR in SPL for i.MX28

2015-03-03 Thread Stefano Babic
Hi Marco, On 23/02/2015 15:34, Marco Cavallini wrote: > > Signed-off-by: Marco Cavallini > --- > arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c > b/arch/arm/cpu/arm926ejs/mxs/sp

[U-Boot] [PATCH 03/14] usb: gadget: UMS: Invoke board specific USB cleanup interface

2015-03-03 Thread Lukasz Majewski
From: Inha Song This patch invokes board-specific USB cleanup (board_usb_cleanup) function in the mass storage gadget Signed-off-by: Inha Song --- common/cmd_usb_mass_storage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage.c ind

[U-Boot] [PATCH 00/14] usb: dwc3: Fixes and improvements for DWC3 driver

2015-03-03 Thread Lukasz Majewski
This patch set should be applied on top of recent Kishon Vijay Abraham I work (v2) regarding providing dwc3 support to u-boot as well as clean up of the linux-compat header file. For the whole patch set please refer to -dfu u-boot repo, branch (devel/dwc3_gadget): http://git.denx.de/?p=u-boot/u-bo

[U-Boot] Ask for help: Compulab CM-510 U-boot version: Load Kernel from SD-Card

2015-03-03 Thread Gabriel Dobato
Hello, I am trying to boot the kernel image from SD-CARD (mmc0) in the CM-510 SoM(provided by Compulab) using the u-boot image provided by Compulab: http://www.compulab.co.il/products/computer-on-modules/cm-a510/#devres By default, it seems SD-Card is not enabled, so I think I have to config

[U-Boot] [PATCH 01/14] usb: board: samsung: Add default board_usb_cleanup() definition for Exynos SoCs

2015-03-03 Thread Lukasz Majewski
This definition is necessary for Exynos based boards to work properly. Signed-off-by: Lukasz Majewski --- board/samsung/common/board.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 6c7f59b..7b10877 100644 --- a/board/s

[U-Boot] [PATCH 07/14] usb: dwc3: make dwc3_set_mode to static

2015-03-03 Thread Lukasz Majewski
From: Joonyoung Shim This commit makes the dwc3_set_mode() as static, to prevent collisions. Signed-off-by: Joonyoung Shim Signed-off-by: Lukasz Majewski --- drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/core.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/us

[U-Boot] [PATCH 12/14] usb: dwc3: gadget: Set non EP0 max packet limit to 512B

2015-03-03 Thread Lukasz Majewski
Commit "drivers/dwc3: add a workaround for too small OUT requests" sets max packet for OUT requests when transfer is smaller. Until this change the default maxpacket for non EP0 EPs was 1024. This is too much, since UMS LBA size is 512B Signed-off-by: Lukasz Majewski --- drivers/usb/dwc3/gadget

[U-Boot] [PATCH 02/14] usb: board: goni: Add default board_usb_cleanup() definition for Goni board

2015-03-03 Thread Lukasz Majewski
This definition is necessary for S5PC110 based GONI board to work properly. Signed-off-by: Lukasz Majewski --- board/samsung/goni/goni.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index 58cf96e..d943d63 100644 --- a/board/samsun

[U-Boot] [PATCH 11/14] usb: dwc3: gadget: Set all ctrl fields of Transfer Control Blocks (TRB) to be LST

2015-03-03 Thread Lukasz Majewski
It turned out that current dwc3 gadget code is preparing multiple TRBs for a transfer. Unfortunately, when multiple requests are in the same queue, only for the last one the LST (last) ctrl bit is set. Due to that dwc3 HW executes all TRBs up till the one marked as last. Unfortunately, UMS require

[U-Boot] [PATCH 06/14] usb: dwc3: Remove BIT(x) macro from DWC3's gadget code

2015-03-03 Thread Lukasz Majewski
The BIT() macro is used only in those places, so it is reasonable to replace it by a constant value. Signed-off-by: Lukasz Majewski --- drivers/usb/dwc3/core.h | 2 +- drivers/usb/dwc3/gadget.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.h b/dri

[U-Boot] [PATCH 13/14] usb: dwc3: Correct clean up code for requests

2015-03-03 Thread Lukasz Majewski
For u-boot dwc3 driver the scatter gather list support has been removed from original linux code. It is correct, since we try to send one request at a time. However, the cleanup left spurious break, which caused early exit from loop at dwc3_cleanup_done_reqs() function. As a result the dwc3_gadget

[U-Boot] [PATCH 05/14] usb: composite: Add .reset callback to usb_gadget_driver structure

2015-03-03 Thread Lukasz Majewski
DWC3 UDC driver requires presence of .reset callback in a composite driver. This setting is similar to the one nowadays present in linux kernel. Signed-off-by: Lukasz Majewski --- drivers/usb/gadget/composite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/composite.c b/

[U-Boot] [PATCH] watchdog/imx_watchdog: do not set WCR_WDW

2015-03-03 Thread Sebastian Andrzej Siewior
with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle around while the watchdog is not triggered. It seems the timer makes progress very slowly if at all. I managed to remain 20minutes alive while the timeout was set to 60secs. It reboots within 60secs if I start a busyloop in us

Re: [U-Boot] [PATCH V3 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-03 Thread Nishanth Menon
On 03/03/2015 11:08 AM, Tom Rini wrote: > On Wed, Feb 25, 2015 at 02:55:13PM -0600, Nishanth Menon wrote: > >> set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup >> PL310 control register, however, that is something that is generic >> enough to be used for OMAP5 generation of proce

Re: [U-Boot] [PATCH V3 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-03 Thread Tom Rini
On Wed, Feb 25, 2015 at 02:55:13PM -0600, Nishanth Menon wrote: > set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup > PL310 control register, however, that is something that is generic > enough to be used for OMAP5 generation of processors as well. The > only difference being the

Re: [U-Boot] [U-boot][PATCH] keystone2: add support for UART download

2015-03-03 Thread Nishanth Menon
On 02/18/2015 09:35 AM, menon.nisha...@gmail.com wrote: > On Wed, Feb 18, 2015 at 7:12 AM, Vitaly Andrianov wrote: >> >> >> On 02/17/2015 05:47 PM, Nishanth Menon wrote: >>> >>> On Tue, Feb 17, 2015 at 4:27 PM, Murali Karicheri >>> wrote: >> >> is complete the boot-loader sets the PC to t

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command

2015-03-03 Thread Dileep Katta
Hi Rob, On 3 March 2015 at 19:45, Rob Herring wrote: > On Tue, Mar 3, 2015 at 5:10 AM, Dileep Katta > wrote: > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > > --- > > board/ti/dra7xx/Makefile | 1 + > > board/ti/dra7xx/fastboot.c | 45 > ++

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command

2015-03-03 Thread Nishanth Menon
On 03/03/2015 11:31 AM, Dileep Katta wrote: > On 3 March 2015 at 19:45, Rob Herring wrote: > >> On Tue, Mar 3, 2015 at 5:10 AM, Dileep Katta >> wrote: [...] >>> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c >>> index 48199bf..00791be 100644 >>> --- a/common/cmd_bootm.c >>> +++ b/common/c

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-03 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > At present SPL uses a single stack, either CONFIG_SPL_STACK or > CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and > environment) require a lot of stack, some boards set CONFIG_SPL_STACK to > point into SDRAM. They then

Re: [U-Boot] [PATCH V3 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-03 Thread Nishanth Menon
On 03/03/2015 11:12 AM, Nishanth Menon wrote: > On 03/03/2015 11:08 AM, Tom Rini wrote: >> On Wed, Feb 25, 2015 at 02:55:13PM -0600, Nishanth Menon wrote: >> >>> set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup >>> PL310 control register, however, that is something that is generic

Re: [U-Boot] [PATCH V3 05/11] ARM: OMAP: Change set_pl310_ctrl_reg to be generic

2015-03-03 Thread Tom Rini
On Tue, Mar 03, 2015 at 11:12:33AM -0600, Nishanth Menon wrote: > On 03/03/2015 11:08 AM, Tom Rini wrote: > > On Wed, Feb 25, 2015 at 02:55:13PM -0600, Nishanth Menon wrote: > > > >> set_pl310_ctrl_reg does use the Secure Monitor Call (SMC) to setup > >> PL310 control register, however, that is so

Re: [U-Boot] [U-boot][PATCH] keystone2: add support for UART download

2015-03-03 Thread Vitaly Andrianov
On 03/03/2015 12:27 PM, Nishanth Menon wrote: On 02/18/2015 09:35 AM, menon.nisha...@gmail.com wrote: On Wed, Feb 18, 2015 at 7:12 AM, Vitaly Andrianov wrote: On 02/17/2015 05:47 PM, Nishanth Menon wrote: On Tue, Feb 17, 2015 at 4:27 PM, Murali Karicheri wrote: is complete the boot-load

Re: [U-Boot] [PATCH 07/14] mx31pdk: Use the default CONFIG_SYS_PBSIZE

2015-03-03 Thread Magnus Lilja
Hi On 2 March 2015 at 18:14, Fabio Estevam wrote: > Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into > the console and hitting enter afterwards, causes a hang in the system because > CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error > message

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-03 Thread Simon Glass
Hi Tom, On 3 March 2015 at 10:49, Tom Rini wrote: > On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or >> CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and >> environment) require a lot of stack, some bo

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-03 Thread Tom Rini
On Tue, Mar 03, 2015 at 12:04:16PM -0700, Simon Glass wrote: > Hi Tom, > > On 3 March 2015 at 10:49, Tom Rini wrote: > > On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > > > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or > >> CONFIG_SYS_INIT_SP_ADDR. Since some SP

Re: [U-Boot] [PATCH 0/9] ARM: tegra: pinmux: Tegra210 support

2015-03-03 Thread Stephen Warren
On 02/24/2015 02:08 PM, Stephen Warren wrote: This series performs a few small cleanups to or parameterizations of the existing Tegra pinmux driver, and adds Tegra210 support. The Tegra210 code isn't actually used yet, since the balance of the Tegra210 support is not yet present. However, it shou

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: import latest Jetson TK1 pinmux

2015-03-03 Thread Stephen Warren
On 02/18/2015 01:27 PM, Stephen Warren wrote: From: Stephen Warren Syseng has revamped the Jetson TK1 pinmux spreadsheet, basing the content completely on correct configuration for the board/schematic, rather than the previous version which was based on the bare minimum changes relative to anot

Re: [U-Boot] [PATCH V2 2/2] ARM: tegra: import latest Jetson TK1 pinmux

2015-03-03 Thread Tom Warren
I've been side-tracked with other work. Let me take another look, if it's all gravy I'll apply them to u-boot-tegra/next. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, March 03, 2015 1:19 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon G

Re: [U-Boot] [PATCH 0/9] ARM: tegra: pinmux: Tegra210 support

2015-03-03 Thread Tom Warren
I'm using this locally, so I'll apply it and push a new u-boot-tegra/next. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, March 03, 2015 1:20 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass; Stephen Warren > Subject: Re: [U-Boot] [PA

[U-Boot] Question about board-specific Makefile actions

2015-03-03 Thread James Chargin
I have a custom board in a git workspace for U-Boot 2014.07. I've copied most of this from the .../board/ti/beagle. My board directory Makefile looks like 8<--- obj-y := board.o 8<--- I'd like to add a few files to this directory that are processed during "make all" and have any newly derived

Re: [U-Boot] [PATCH] mx6sabre_common.h: remove deprecated mmc open/close

2015-03-03 Thread Otavio Salvador
On Tue, Mar 3, 2015 at 11:48 AM, Maxin B. John wrote: > Replace "mmc open/close" with "mmc dev" in mx6sabre_common.h as those commands > were removed with this commit: 614b2bf1c9bf80dbad24f5e5ce1d115bf24a831d > > cmd_mmc.c: Drop open/close mmc sub-commands > > Signed-off-by: Maxin B. John Ac

[U-Boot] [PATCH] sunxi: Add support for the Forfun Q88DB tablet

2015-03-03 Thread Jens Lucius
The Forfun Q88DB is an A13 tablet in the common Q8 format. Features are 512MB RAM, 4GB NAND, 7" Display, RTL8188 Wifi, 2 cameras. For more details see: http://linux-sunxi.org/Forfun_Q88DB Signed-off-by: Jens Lucius --- :100644 100644 9a287d3... cfc2764... M board/sunxi/MAINTAINERS :00 100

  1   2   >