[U-Boot] [PATCH v2 2/7] x86: i8042: Remove unused codes

2015-08-21 Thread Bin Meng
- Remove unused routines i8042_flush() and i8042_disable() - Remove unused CONFIG_USE_CPCIDVI wrapped codes - Remove __weak board_i8042_skip() Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Split the removing of unused codes into this patch drivers/input/i8042.c | 67 +---

[U-Boot] [PATCH v2 3/7] x86: i8042: Reorder static functions

2015-08-21 Thread Bin Meng
Reorder those static function so that their declarations can be removed. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Split of reordering static functions into this patch drivers/input/i8042.c | 417 ++ 1 file changed, 186

[U-Boot] [PATCH v2 6/7] video: cfb_console: Allow VGA device to work without i8042 keyboard

2015-08-21 Thread Bin Meng
So far if CONFIG_VGA_AS_SINGLE_DEVICE is not defined, the VGA device will try to initialize a keyboard device (for x86, it is i8042). But if i8042 controller initialization fails (eg: there is no keyboard connected to the PS/2 port), drv_video_init() just simply returns. This kills the opportunity

[U-Boot] [PATCH v2 4/7] x86: i8042: Clean up the driver per coding convention

2015-08-21 Thread Bin Meng
- Rename CamelCase variables to conform U-Boot coding convention - Rename wait_until_kbd_output_full() to kbd_output_full() - Change to use macros for i8042 command and control register bits Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Split the original single patch into

[U-Boot] [PATCH v2 5/7] x86: i8042: Correctly initialize the controller

2015-08-21 Thread Bin Meng
The existing i8042 keyboard controller driver has some issues. First of all, it does not issue a self-test command (0xaa) to the controller at the very beginning. Without this, the controller does not respond any command at all. Secondly, it initializes the configuration byte reigster to turn on ke

[U-Boot] [PATCH v2 7/7] x86: crownbay: Enable on-board SMSC superio keyboard controller

2015-08-21 Thread Bin Meng
So far we only enabled one legacy serial port on the SMSC LPC47m superio chipset on Intel Crown Bay board. As the board also has dual PS/2 ports routed out, enable the keyboard controller which is i8042 compatible so that we can use PS/2 keyboard and mouse. In order to make PS/2 keyboard work with

[U-Boot] [PATCH v2 1/7] x86: superio: Add keyboard controller support to smsc_lpc47m driver

2015-08-21 Thread Bin Meng
Add an api to enable and configure the integrated keyboard controller on SMSC LPC47m superio chipset. It also adds several macros to help future extension. Signed-off-by: Bin Meng --- Changes in v2: - Change parameter type to uint arch/x86/include/asm/ibmpc.h | 3 +++ drivers/misc/smsc_lpc47

[U-Boot] [PATCH] powerpc/t1023rdb: change default core frequency to 1200MHz

2015-08-21 Thread Shengzhou Liu
Per new requirement, change default core frequency from previous 1400MHz to 1200MHz to save power. Signed-off-by: Shengzhou Liu --- board/freescale/t102xrdb/t1023_rcw.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/t102xrdb/t1023_rcw.cfg b/board/frees

Re: [U-Boot] [PATCH] net: Return -1 when ctrl+c is pressed

2015-08-21 Thread Michal Simek
On 08/20/2015 06:51 PM, Joe Hershberger wrote: > Hi Michal, > > On Thu, Aug 20, 2015 at 7:15 AM, Michal Simek wrote: >> On 08/13/2015 09:46 AM, Michal Simek wrote: >>> Current behavior is that if CTRL+C is pressed command returns 0 that was >>> successful which is not correct behavior. >>> The ea

Re: [U-Boot] [PATCH v3] dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID

2015-08-21 Thread Lukasz Majewski
Hi Heiko, > dfu-util allows filtering on USB device vendor:product ID by using > the -d flag (-d 0451:d022). > Such option is very handy when many DFU devices are connected to a > single host PC. This commit allows testing when above situation > emerges. > Could you review this patch? > Signed-

Re: [U-Boot] [PATCH v2] corvus, dfu: add dfu support

2015-08-21 Thread Lukasz Majewski
Hi Heiko, Just some minor comments: > add support for DFU on the corvus board. > > Signed-off-by: Heiko Schocher > --- > > Changes in v2: > - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 > - fix changes introduced through commit: > 01acd6abbdd5: usb: USB download gadget and functions c

Re: [U-Boot] [PATCH v2] corvus, dfu: add dfu support

2015-08-21 Thread Heiko Schocher
Hello Lukasz, Am 21.08.2015 um 10:25 schrieb Lukasz Majewski: Hi Heiko, Just some minor comments: add support for DFU on the corvus board. Signed-off-by: Heiko Schocher --- Changes in v2: - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 - fix changes introduced through commit: 01acd

[U-Boot] [PATCH v3 1/2] at91: corvus: board updates

2015-08-21 Thread Heiko Schocher
- rename at91_spl_board_init into spl_board_init - use SZ_1X defines for sizes Signed-off-by: Heiko Schocher --- Changes in v3: - add cover letter and post this patch in a patchserie with the DFU support Changes in v2: - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 - use SZ_xM defines a

[U-Boot] [PATCH v3 0/2] arm, at91: add DFU support for the corvus board

2015-08-21 Thread Heiko Schocher
add DFU support for the corvus board. While at it, do some minor board updates for this board, posted in the first patch of this series. Changes in v3: - add cover letter and post this patch in a patchserie with the DFU support - add a cover letter and post this patch with the board updates pa

[U-Boot] [PATCH v3 2/2] corvus, dfu: add dfu support

2015-08-21 Thread Heiko Schocher
add support for DFU on the corvus board. Signed-off-by: Heiko Schocher --- Changes in v3: - add a cover letter and post this patch with the board updates patch in a patchserie Changes in v2: - rebase to 0d339cf9a969f0c249713d3697e735184f1bd955 - fix changes introduced through commit: 01acd6

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-21 Thread Thierry Reding
On Thu, Aug 20, 2015 at 11:46:41PM +, Marcel Ziswiler wrote: > On 20 Aug 2015 22:09, Stephen Warren wrote: > > > Hopefully the process was to copy the Linux Tegra30 DT verbatim? > > No, the T20 one is far from verbatim neither. So I just did the > adjustments analogous by comparing the T20 a

Re: [U-Boot] [PATCH] ARM: rpi: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support

2015-08-21 Thread Guillaume Gardet
Le 19/08/2015 05:14, Stephen Warren a écrit : On 08/18/2015 08:03 AM, Guillaume GARDET wrote: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support to set 'board_rev' and 'board_name' envs. That states what the patch does rather than why its useful to do it. Can you expand on why it's useful to se

Re: [U-Boot] [U-Boot, 1/3] sysboot: Add support for ubifs to the sysboot command

2015-08-21 Thread Hans de Goede
Hi, On 20-08-15 21:53, Stephen Warren wrote: > On 20-08-15 18:04, Hans de Goede wrote: ubifs does not go though the generic block layer because mtd devices are special, so the "any" filesystem option to sysboot does not work, this adds support for a "ubifs" filesystem to the sysboot command wh

Re: [U-Boot] [PATCH V2 3/5] dm9000: Add struct eth_device * to SROM functions

2015-08-21 Thread Andrew Ruder
On Wed, Aug 12, 2015 at 02:07:20PM -0500, Joe Hershberger wrote: > On Wed, Aug 12, 2015 at 12:24 PM, Andrew Ruder > wrote: > > /** function prototypes **/ > > #if !defined(CONFIG_DM9000_NO_SROM) > > -void dm9000_write_srom_word(int offset, u16 val); > > -void

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-21 Thread Masahiro Yamada
Hi Marek, 2015-08-20 6:15 GMT+09:00 Marek Vasut : > On Wednesday, August 19, 2015 at 02:02:18 PM, Tom Rini wrote: >> On Wed, Aug 19, 2015 at 06:39:29AM +0200, Marek Vasut wrote: >> > On Tuesday, August 18, 2015 at 07:53:23 PM, Tom Rini wrote: >> > > On Wed, Aug 12, 2015 at 07:31:55AM +0900, Mas

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-21 Thread Marek Vasut
On Friday, August 21, 2015 at 09:55:25 AM, Masahiro Yamada wrote: > Hi Marek, Hi Masahiro, > 2015-08-20 6:15 GMT+09:00 Marek Vasut : > > On Wednesday, August 19, 2015 at 02:02:18 PM, Tom Rini wrote: > >> On Wed, Aug 19, 2015 at 06:39:29AM +0200, Marek Vasut wrote: > >> > On Tuesday, August 18, 20

[U-Boot] Kernel bootparam injection

2015-08-21 Thread Christian Litjes
Dear Denx, I've been working on an embedded system which starts over TFTP with an NFS rootfs. During the development I noticed that it's possible to inject bootparams in to the dhcp messages. If a system boots from NFS and I provide the following path to the nfs share the extra bootparams will b

Re: [U-Boot] [PATCH] i2c: adding driver for pxa27x, pxa3xx, pxa25x

2015-08-21 Thread Andrew Ruder
On Wed, Aug 12, 2015 at 09:34:14PM +0200, Marek Vasut wrote: > On Wednesday, August 12, 2015 at 08:43:52 PM, Andrew Ruder wrote: > > +#if !defined(CONFIG_SYS_PXA_STD_I2C_SPEED) > > +#define CONFIG_SYS_PXA_STD_I2C_SPEED 10 > > +#endif > > + > > +#if !defined(CONFIG_SYS_PXA_STD_I2C_SLAVE) > > +#d

[U-Boot] [PATCH 1/2] add generic stubs for GPIO LEDs

2015-08-21 Thread Bernhard Nortmann
For boards that support LEDs driven via GPIO (CONFIG_GPIO_LED), it may be useful to have some generic stubs (wrapper functions) for the "colored" LEDs. This allows defining STATUS_LED_* values directly to GPIO numbers, e.g.: #define STATUS_LED_GREEN 248 /* = PH24 */ To keep those optional, it's

[U-Boot] [PATCH 2/2] allow LED initialization without STATUS_LED_BOOT

2015-08-21 Thread Bernhard Nortmann
For current U-Boot to initialize status LEDs via status_led_init(), it is required to have both CONFIG_STATUS_LED and STATUS_LED_BOOT defined. This may be a particular concern with GPIO LEDs, where __led_init() is required to correctly set up the GPIO (gpio_request and gpio_direction_output). Witho

[U-Boot] [PATCH 0/2] GPIO LED improvements (resend)

2015-08-21 Thread Bernhard Nortmann
This is a resubmission of http://patchwork.ozlabs.org/patch/455748/ and http://patchwork.ozlabs.org/patch/455747/, but this time with proper formatting and through patman. Regards, B. Nortmann Bernhard Nortmann (2): add generic stubs for GPIO LEDs allow LED initialization without STATUS_LED_

Re: [U-Boot] [PATCH v2 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

2015-08-21 Thread Daniel Schwierzeck
Am 20.08.2015 um 16:01 schrieb Govindraj Raja: > From: Govindraj Raja > > usb stack utilizes the clr/set_bits macros > also usb stack needs phy_to_bus/bus_to_phys functions. > Thus adding these macro and functions for mips platform. > > This makes usb stack usable with mips platform. > > Sign

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-08-21 Thread Andreas Bießmann
The following changes since commit 8d77576371381ade83de475bb639949b44941e8c: ARM: davinci: remove support for cam_enc_4xx (2015-08-20 12:55:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-atmel.git master for you to fetch changes up to 6e119bc25a27700b71a6340f9c7c

Re: [U-Boot] [U-Boot, 1/4] arm: at91: mpddr: allow multiple DDR controllers

2015-08-21 Thread Andreas Bießmann
Dear Erik van Luijk, Erik van Luijk writes: >The mpddr.c depends on ATMEL_BASE_MPDDRC for the base address to configure the >controller. >This cannot be used when there is more than one controller (i.e. AT91SAM9G45, >AT91SAM9M10). > >Signed-off-by: Erik van Luijk >[remove 'new blank line at EO

Re: [U-Boot] [U-Boot, 3/4] arm: at91: pmc: replace the constant with a define in at91_pmc.h

2015-08-21 Thread Andreas Bießmann
Dear Erik van Luijk, Erik van Luijk writes: >To enable the clocks on the at91 boards a constant (0x4) is used. >This is replaced with a define in at91_pmc.h (1 << 2). > >Signed-off-by: Erik van Luijk >Reviewed-by: Andreas Bießmann >--- > arch/arm/mach-at91/include/mach/at91_pmc.h | 1 + >

Re: [U-Boot] [U-Boot, 2/4] arm: at91: at91sam9m10g45ek/corvus remove useless chip select 1 init

2015-08-21 Thread Andreas Bießmann
Dear Erik van Luijk, Erik van Luijk writes: >On these boards the DDR is connected to a dedicated controller and not >to chip select 1 of the EBI. > >Signed-off-by: Erik van Luijk >Tested-by: Erik van Luijk >--- > board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 8 > board/siemens/corvu

Re: [U-Boot] [U-Boot,v2] taurus: board updates

2015-08-21 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >taurus changes: >- rename at91_spl_board_init to spl_board_init > fixes problems with recovery button and nand erase sector 0 >- adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE >- add CONFIG_AT91_HW_WDT_TIMEOUT 15 >- CONFIG_SF_DEFAULT_MODE SPI_M

Re: [U-Boot] [U-Boot,v2] arm, at91: add axm extensions

2015-08-21 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add extensions for the axm board: >- power on LED on power up >- press both recovery buttons on power up to enter > recovery mode >- detect 64 MiB and 128 MiB ramsize >- PHY rest at reboot because of ATMEL bug >- use siemens update concept >- add axm

Re: [U-Boot] [U-Boot, v2, 4/4] arm: at91: add support for mini-box picosam9g45 board

2015-08-21 Thread Andreas Bießmann
Dear Erik van Luijk, Erik van Luijk writes: >Bootlog: >U-Boot SPL 2015.10-rc1-00452-g96a7ed1 (Aug 17 2015 - 10:32:21) >mci: setting clock 258000 Hz, block size 512 >mci: setting clock 258000 Hz, block size 512 >mci: setting clock 258000 Hz, block size 512 >mci: setting clock 33024000 Hz, block si

Re: [U-Boot] [U-Boot, v2, 3/4] ARM: at91: sama5: move the nandflash env config to at91-sama5_common.h

2015-08-21 Thread Andreas Bießmann
Dear "Wu, Josh", Josh Wu writes: >As all sama5 nandflash env configurations are same, so move them to >at91-sama5_common.h. > >Signed-off-by: Josh Wu >--- > >Changes in v2: None > > include/configs/at91-sama5_common.h | 12 > include/configs/sama5d3_xplained.h | 9 + > inclu

Re: [U-Boot] [U-Boot, v2, 1/4] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

2015-08-21 Thread Andreas Bießmann
Dear "Wu, Josh", Josh Wu writes: >As almost all sama5 sd/mmc env configurations are same, so move them to >at91-sama5_common.h. > >Also define CONFIG_ENV_VARS_UBOOT_CONFIG to have the varaible: $board_name. >Then we can use 'at91-${board_name}.dtb' as the dtb name. > >TODO: since sama5d3xek has d

Re: [U-Boot] [U-Boot, v2, 4/4] ARM: at91: sama5: update the spi flash mapping

2015-08-21 Thread Andreas Bießmann
Dear "Wu, Josh", Josh Wu writes: >From: "Wu, Josh" > >Also move the spi flash configurations to the at91-sama5_common.h. > >Current at91 zImage size is about 3.3M, the old mapping is not >suitable. So update the spi flash map as following: > 0x0 ~ 0x004000: at91bootstrap(16k) >

Re: [U-Boot] [U-Boot, v2, 2/4] ARM: at91: sama5d3xek: use a $dtb_name to load dtb

2015-08-21 Thread Andreas Bießmann
Dear "Wu, Josh", Josh Wu writes: >Since sama5d3xek boards has different type of dtb blobs, so we need to detect >the cpu type in runtime. > >So we add a new variable $dtb_name. if $dtb_name is not defined, we just use > at91-${board_name}.dtb > >as the $dtb_name. Otherwise, we will just loa

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

2015-08-21 Thread Andreas Bießmann
Sorry Tom, On 08/21/2015 03:25 PM, Andreas Bießmann wrote: > The following changes since commit 8d77576371381ade83de475bb639949b44941e8c: > > ARM: davinci: remove support for cam_enc_4xx (2015-08-20 12:55:50 -0400) > there slipped one wrong commit in. Please forget this PR! Andreas > are av

Re: [U-Boot] [PATCH v2 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

2015-08-21 Thread Govindraj Raja
> -Original Message- > From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] > Sent: 21 August 2015 02:21 PM > To: Govindraj Raja > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot][PATCH v2 1/2] MIPS: add clrbits and setbits and add > phy_to_bus support. > > > > Am 20.08.2015 u

Re: [U-Boot] [PATCH v2] arm, at91: add axm extensions

2015-08-21 Thread Andreas Bießmann
Hi Heiko, On 08/18/2015 03:54 PM, Heiko Schocher wrote: > add extensions for the axm board: > - power on LED on power up > - press both recovery buttons on power up to enter > recovery mode > - detect 64 MiB and 128 MiB ramsize > - PHY rest at reboot because of ATMEL bug > - use siemens update c

[U-Boot] [PULL v2] u-boot-atmel/master -> u-boot/master

2015-08-21 Thread Andreas Bießmann
Hi Tom, this is the corrected PR. Andreas The following changes since commit 8d77576371381ade83de475bb639949b44941e8c: ARM: davinci: remove support for cam_enc_4xx (2015-08-20 12:55:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-atmel.git master for you to fet

Re: [U-Boot] [U-Boot,v2] taurus: board updates

2015-08-21 Thread Andreas Bießmann
Hi Heiko, On 08/21/2015 03:28 PM, Andreas Bießmann wrote: > Dear Heiko Schocher, > > Heiko Schocher writes: >> taurus changes: >> - rename at91_spl_board_init to spl_board_init >> fixes problems with recovery button and nand erase sector 0 >> - adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_S

Re: [U-Boot] [PATCH V2 3/5] dm9000: Add struct eth_device * to SROM functions

2015-08-21 Thread Joe Hershberger
Hi Andrew, On Fri, Aug 21, 2015 at 6:25 AM, Andrew Ruder wrote: > On Wed, Aug 12, 2015 at 02:07:20PM -0500, Joe Hershberger wrote: >> On Wed, Aug 12, 2015 at 12:24 PM, Andrew Ruder >> wrote: >> > /** function prototypes **/ >> > #if !defined(CONFIG_DM9000_N

[U-Boot] [PATCH 2/2] RFT: arm: Switch aarch64 to using generic global_data setup

2015-08-21 Thread Simon Glass
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Signed-off-by: Simon Glass --- arch/

[U-Boot] [PATCH 1/2] RFT: arm: Switch 32-bit ARM to using generic global_data setup

2015-08-21 Thread Simon Glass
There is quite a bit of assembler code that can be removed if we use the generic global_data setup. Less arch-specific code makes it easier to add new features and maintain the start-up code. Drop the unneeded code and adjust the hooks in board_f.c to cope. Signed-off-by: Simon Glass --- arch/

[U-Boot] Adding new command using existing commands

2015-08-21 Thread Ajanta Sarma
Hi, I am trying to add one command in U-Boot using set of existing commands. e.g. adding one command for fusing flash with a newly compiled file. new command - "fuse_uboot" used commands: 1. ping (do_ping() call) 2. tftp (do_tftpb() call) 3. protect off (do_protect() call) 4. erase (do_flerase()

[U-Boot] 2015.10-rc2 Chromebook Snow boot failure

2015-08-21 Thread Misha Komarovskiy
Hello, I have failure in attempt to boot Chromebook Snow with 2015.10-rc2 build snow_defconfig, here is error message, it maybe not full as i have some noise on serial console with device: U-Boot 2015.10-rc2 (Aug 21 2015 - 15:43:43 +) for snow GPU: Exynos5250 @ 1.7 GHz Model: Google Snow Boa

Re: [U-Boot] [U-Boot, v3, 15/15] of: clean up OF_CONTROL ifdef conditionals

2015-08-21 Thread Michal Simek
On 08/21/2015 10:16 AM, Marek Vasut wrote: > On Friday, August 21, 2015 at 09:55:25 AM, Masahiro Yamada wrote: >> Hi Marek, > > Hi Masahiro, > >> 2015-08-20 6:15 GMT+09:00 Marek Vasut : >>> On Wednesday, August 19, 2015 at 02:02:18 PM, Tom Rini wrote: On Wed, Aug 19, 2015 at 06:39:29AM +0200

[U-Boot] [PATCH v3] arm, at91: add axm extensions

2015-08-21 Thread Heiko Schocher
add extensions for the axm board: - power on LED on power up - press both recovery buttons on power up to enter recovery mode - detect 64 MiB and 128 MiB ramsize - PHY rest at reboot because of ATMEL bug - use siemens update concept - add axm default environment - set CONFIG_SPL_MAX_SIZE to 15k

[U-Boot] [PATCH v3] taurus: board updates

2015-08-21 Thread Heiko Schocher
taurus changes: - rename at91_spl_board_init to spl_board_init fixes problems with recovery button and nand erase sector 0 - adapt CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE - add CONFIG_AT91_HW_WDT_TIMEOUT 15 - CONFIG_SF_DEFAULT_MODE SPI_MODE_3 not mode 0 Signed-off-by: Heiko Schocher ---

[U-Boot] [PATCH v4 3/4] usb: gadget: at91_udc: add at91_udc into U-Boot

2015-08-21 Thread Heiko Schocher
add U-Boot specific changes to the at91_udc linux driver, so it works with U-Boot. Signed-off-by: Heiko Schocher --- Changes in v4: None Changes in v3: - adapt changes for U-Boot, as newer linux version is used. Changes in v2: - new in version 2, contains U-Boot changes drivers/usb/gadget/M

[U-Boot] [PATCH v4 4/4] at91, taurus, smartweb: add dfu support

2015-08-21 Thread Heiko Schocher
[root@pollux dfu-util]# ./src/dfu-util -l dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-u...@lists.gnumonks.org Found DFU:

[U-Boot] [PATCH v4 0/4] add dfu support for at91 sam9260 based boards

2015-08-21 Thread Heiko Schocher
add dfu supprt for at91 sam9260 based boards. The USB gadget driver is ported from linux: c94e289f195e: usb: gadget: remove incorrect __init/__exit annotations it drops a lot of checkpatch warnings/errors: checkpatch.pl found 12 error(s), 28 warning(s), 38 checks(s) but for further updates I did

[U-Boot] [PATCH v4 2/4] usb: gadget: at91_udc: port linux driver at91_udc

2015-08-21 Thread Heiko Schocher
port at91_udc driver from linux: original commit Message: commit c94e289f195e0e13cf34d27f9338d28221a85751 Author: Arnd Bergmann Date: Sat Apr 11 00:14:21 2015 +0200 usb: gadget: remove incorrect __init/__exit annotations A recent change introduced a link error for the composite pr

[U-Boot] [PATCH v4 1/4] bitops: introduce BIT() definition

2015-08-21 Thread Heiko Schocher
introduce BIT() definition, used in at91_udc gadget driver. Signed-off-by: Heiko Schocher --- Changes in v4: None Changes in v3: - new in v3 Changes in v2: None include/linux/bitops.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/bitops.h b/include/linux/bitops.h index

Re: [U-Boot] [PATCH] image: Fix loop condition to avoid warning

2015-08-21 Thread Simon Glass
On 20 August 2015 at 03:45, Thierry Reding wrote: > From: Thierry Reding > > GCC 5.1 starts warning for comparisons such as !a > 0, assuming that the > negation was meant to apply to the whole expression rather than just the > left operand. > > Indeed the comparison in the FIT loadable code is co

Re: [U-Boot] [RFC v3 PATCH 2/4] pinctrl: add pin control uclass support

2015-08-21 Thread Simon Glass
Hi Masahiro, On 12 August 2015 at 08:16, Simon Glass wrote: > Hi Masahiro, > > On 10 August 2015 at 10:05, Masahiro Yamada > wrote: >> This creates a new framework for handling of pin control devices, >> i.e. devices that control different aspects of package pins. >> >> This uclass handles pinmu

Re: [U-Boot] [PATCH 2/2] RFT: arm: Switch aarch64 to using generic global_data setup

2015-08-21 Thread York Sun
Sorry for top posting. Replying from OWA while traveling. Tested on LS2085ARDB and LS2085AQDS. Tested-by: York Sun From: U-Boot on behalf of Simon Glass Sent: Monday, August 17, 2015 8:43 PM To: U-Boot Mailing List Cc: Tom Rini; Wood Scott-B07421; Thi

Re: [U-Boot] [PATCH 2/2] RFT: arm: Switch aarch64 to using generic global_data setup

2015-08-21 Thread York Sun
> On Aug 17, 2015, at 8:43 PM, Simon Glass wrote: > > There is quite a bit of assembler code that can be removed if we use the > generic global_data setup. Less arch-specific code makes it easier to add > new features and maintain the start-up code. > > Drop the unneeded code and adjust the hoo

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-21 Thread Simon Glass
Hi Masahiro, On 19 August 2015 at 19:36, Masahiro Yamada wrote: > 2015-08-19 13:35 GMT+09:00 Simon Glass : >> All boards should be converted to generic board by now. Change the rest >> over. If this causes run-time breakages then we can remove those boards. >> >> Signed-off-by: Simon Glass > > >

Re: [U-Boot] [PATCH v4 1/4] bitops: introduce BIT() definition

2015-08-21 Thread Michael Heimpold
Hi, Am Freitag, 21. August 2015, 19:01:56 schrieb Heiko Schocher: > introduce BIT() definition, used in at91_udc gadget > driver. > > Signed-off-by: Heiko Schocher > > --- > > Changes in v4: None > Changes in v3: > - new in v3 > > Changes in v2: None > > include/linux/bitops.h | 2 ++ > 1 f

Re: [U-Boot] [PATCH v4 1/4] bitops: introduce BIT() definition

2015-08-21 Thread Marek Vasut
On Friday, August 21, 2015 at 09:26:41 PM, Michael Heimpold wrote: > Hi, > > Am Freitag, 21. August 2015, 19:01:56 schrieb Heiko Schocher: > > introduce BIT() definition, used in at91_udc gadget > > driver. > > > > Signed-off-by: Heiko Schocher > > > > --- > > > > Changes in v4: None > > Chang

Re: [U-Boot] [RFC v3 PATCH 2/4] pinctrl: add pin control uclass support

2015-08-21 Thread Masahiro Yamada
Simon, 2015-08-22 2:56 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 12 August 2015 at 08:16, Simon Glass wrote: >> Hi Masahiro, >> >> On 10 August 2015 at 10:05, Masahiro Yamada >> wrote: >>> This creates a new framework for handling of pin control devices, >>> i.e. devices that control differ

Re: [U-Boot] x86: EFI: boot fails at exit_boot_services - Was: Stuck trying to build a non-qemu EFI payload

2015-08-21 Thread Simon Glass
Hi Igor, On 20 August 2015 at 08:25, Stoppa, Igor wrote: > Hi again, > > On 20 August 2015 at 12:44, Stoppa, Igor wrote: > >> It happens much earlier than I thought: I was expecting it would get >> stuck during the handover from the stub to the real U-Boot, after the >> jump_to_uboot call, inste

Re: [U-Boot] Question on fitupd

2015-08-21 Thread Simon Glass
+Jagan, Lukasz Hi Brian, On 19 August 2015 at 15:07, wrote: > Dell Customer Communication > > > > > > PURPOSE: > > This email is with respect to the “fitupd” command. > > In looking at the source in the current u-boot tree, fitupd supports a NOR > flash only. > > > > > > OUR GOAL: > > We woul

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-21 Thread Simon Glass
Hi, On 20 August 2015 at 15:55, Dinh Nguyen wrote: > +CC: Simon Glass > > On Thu, Aug 20, 2015 at 12:32 AM, Marek Vasut wrote: >> On Thursday, August 20, 2015 at 07:28:02 AM, Chin Liang See wrote: >>> Hi, >>> >>> On Wed, 2015-08-19 at 14:36 +, ma...@denx.de wrote: >>> > On Wednesday, August

Re: [U-Boot] [RFC v3 PATCH 2/4] pinctrl: add pin control uclass support

2015-08-21 Thread Simon Glass
Hi Masahiro, On 21 August 2015 at 14:37, Masahiro Yamada wrote: > Simon, > > > 2015-08-22 2:56 GMT+09:00 Simon Glass : >> Hi Masahiro, >> >> On 12 August 2015 at 08:16, Simon Glass wrote: >>> Hi Masahiro, >>> >>> On 10 August 2015 at 10:05, Masahiro Yamada >>> wrote: This creates a new fra

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-21 Thread Masahiro Yamada
Hi Simon, 2015-08-22 2:53 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 19 August 2015 at 19:36, Masahiro Yamada > wrote: >> 2015-08-19 13:35 GMT+09:00 Simon Glass : >>> All boards should be converted to generic board by now. Change the rest >>> over. If this causes run-time breakages then we ca

Re: [U-Boot] [PATCH 0/2] arm: Move all boards over to generic board

2015-08-21 Thread Simon Glass
Hi Pavel, On 18 August 2015 at 07:03, Pavel Machek wrote: > On Thu 2015-08-13 15:19:16, Simon Glass wrote: > > All arm boards should have been converted to generic board by now. It is > > time to either remove the non-generic boards, or force-convert them to > > generic board. > > > > This serie

Re: [U-Boot] [PATCH v2 3/3] buildman: Improve the config comparison feature

2015-08-21 Thread Joe Hershberger
Hi Simon, On Tue, Aug 18, 2015 at 11:35 PM, Simon Glass wrote: > At present buildman can compare configurations between commits but the > feature is less useful than it could be. There is no summary by architecture > and changes are not reported on a per-board basis. > > Correct these deficiencie

Re: [U-Boot] [PATCH] tftp: adjust settings to be suitable for 100Mbit ethernet

2015-08-21 Thread Joe Hershberger
Hi Pavel, On Tue, Aug 18, 2015 at 7:34 AM, Pavel Machek wrote: > > Adjust timouts and retry counts to be suitable for loaded ethernet > network. With 5 seconds timeout, 10 retries maximum, tftp is > impossible even on local network with single full-speed TCP > connection. > > 100msec timeout shou

Re: [U-Boot] [PATCH] net: e1000: Support 64-bit physical address

2015-08-21 Thread Joe Hershberger
Hi York, On Tue, Aug 18, 2015 at 4:06 PM, York Sun wrote: > From: Mingkai Hu > > High 32-bit address is needed when u-boot runs in 64-bit space. > Tested on armv8-based LS2085ARDB. > > Signed-off-by: Mingkai Hu > Signed-off-by: York Sun Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH v2] net: Return -EINTR when ctrl+c is pressed

2015-08-21 Thread Joe Hershberger
Hi Michal, On Fri, Aug 21, 2015 at 1:49 AM, Michal Simek wrote: > Current behavior is that if CTRL+C is pressed command returns 0 that was > successful which is not correct behavior. > The easiest test case is "tftpboot 8 uImage && echo yes" > and press CTRL+C. Then the second command is call

[U-Boot] Pull request: u-boot-net.git master

2015-08-21 Thread Joe Hershberger
Hi Tom, Nearly done with net for this release. After this I just know of 2 series and a few patches that are awaiting new versions. The following changes since commit 8d77576371381ade83de475bb639949b44941e8c: ARM: davinci: remove support for cam_enc_4xx (2015-08-20 12:55:50 -0400) are availa

Re: [U-Boot] [PATCH] usb: ehci: remember init mode

2015-08-21 Thread Stephen Warren
On 08/20/2015 11:34 PM, Marek Vasut wrote: On Friday, August 21, 2015 at 01:38:05 AM, Stephen Warren wrote: From: Stephen Warren When an EHCI device is registered in device mode, the HW isn't actually initialized at all, and hence isn't left in a running state. Consequently, when the device is

Re: [U-Boot] [U-Boot, 1/3] sysboot: Add support for ubifs to the sysboot command

2015-08-21 Thread Stephen Warren
On 08/21/2015 03:56 AM, Hans de Goede wrote: Hi, On 20-08-15 21:53, Stephen Warren wrote: > On 20-08-15 18:04, Hans de Goede wrote: ubifs does not go though the generic block layer because mtd devices are special, so the "any" filesystem option to sysboot does not work, this adds support for

[U-Boot] [RFC PATCH 3/3] avoid eth_unregister() call when function is unavailable

2015-08-21 Thread Bernhard Nortmann
CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() for network device shutdown. However, with CONFIG_DM_ETH this function is no longer defined. This is a workaround to avoid the call in that case, and solely rely on eth_halt(). In case this is insufficient, a proper way to unregister

[U-Boot] [RFC PATCH 1/3] expose eth_is_active() function to test network device state

2015-08-21 Thread Bernhard Nortmann
The previous eth_device struct returned by eth_get_dev() allowed code to directly query the state member field. However, with CONFIG_DM_ETH this data gets encapsulated (i.e. private), and eth_get_dev() returns a udevice struct 'abstraction' instead. This breaks legacy code relying on the former be

[U-Boot] [RFC PATCH 0/3] fix netconsole for CONFIG_DM_ETH

2015-08-21 Thread Bernhard Nortmann
With the introduction of driver model and accompanying changes, outdated code in netconsole leads to compilation errors when both CONFIG_NETCONSOLE and CONFIG_DM_ETH are set. This is a series of patches to fix these issues and get netconsole working again. I have deliberately marked it "RFC" since

[U-Boot] [RFC PATCH 2/3] fix netconsole when CONFIG_DM_ETH is set

2015-08-21 Thread Bernhard Nortmann
This patches uses the eth_is_active() function to work around issues that prevented compilation with the newer driver model. Signed-off-by: Bernhard Nortmann --- drivers/net/netconsole.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/net/netconsole.c

Re: [U-Boot] [PATCH 2/3] drivers: kconfig: Move PHYS_TO_BUS to "Device Drivers" menu

2015-08-21 Thread Simon Glass
On 20 August 2015 at 23:44, Bin Meng wrote: > Right now PHYS_TO_BUS shows in the Kconfig main menu, move it. > > Signed-off-by: Bin Meng > --- > > drivers/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass ___ U

Re: [U-Boot] [PATCH 1/3] drivers: kconfig: Move "Generic Driver Options" menu to the top

2015-08-21 Thread Simon Glass
On 20 August 2015 at 23:44, Bin Meng wrote: > Make "Generic Driver Options" menu show on the top in the Kconfig. > > Signed-off-by: Bin Meng > --- > > drivers/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass _

Re: [U-Boot] [PATCH 3/3] drivers: kconfig: Sort driver menu in alphabetical order

2015-08-21 Thread Simon Glass
On 20 August 2015 at 23:44, Bin Meng wrote: > Sort different types of drivers in alphabetical order. > > Signed-off-by: Bin Meng > --- > > drivers/Kconfig | 50 ++ > 1 file changed, 26 insertions(+), 24 deletions(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2 06/12] x86: baytrail: Remove the fsp_init_phase_pci() call

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > It turns out that calling fsp_init_phase_pci() in arch_misc_init() > is subject to break pci device drivers as with driver model, when > the bus enumeration happens is not deterministic. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > a

Re: [U-Boot] [PATCH v2 04/12] x86: fsp: Add comments about U-Boot entering start.S twice

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > Add some comments in start.S for the fact that with FSP U-Boot > actually enters the code twice. Also change to use fsp_init() > and fsp_continue for accuracy. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/Kconfig |

Re: [U-Boot] [PATCH v2 03/12] x86: fsp: Enlarge the size of malloc() pool before relocation

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > After fsp_init() returns, the stack has already been switched to a > place within system memory as defined by CONFIG_FSP_TEMP_RAM_ADDR. > Enlarge the size of malloc() pool before relocation since we have > plenty of memory now. > > Signed-off-by: Bin M

Re: [U-Boot] [PATCH v2 07/12] x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()

2015-08-21 Thread Simon Glass
Hi Bin, On 20 August 2015 at 07:40, Bin Meng wrote: > Per Intel FSP specification, we should call FSP notify API to > inform FSP that PCI enumeration has been done so that FSP will > do any necessary initialization as required by the chipset's > BIOS Writer's Guide (BWG). > > Unfortunately we hav

Re: [U-Boot] [PATCH v2 08/12] dm: pci: Remove the unnecessary pci_bus_find_devfn() in pci_bind_bus_devices()

2015-08-21 Thread Simon Glass
Hi Bin, On 20 August 2015 at 07:40, Bin Meng wrote: > During pci_bind_bus_devices() before finding a proper driver to bind > the device, pci_bus_find_devfn() is called to find if this device > already exists. However since device is even not bound, this call > always returns -ENODEV. It is really

Re: [U-Boot] [PATCH v2 05/12] x86: queensbay: Move unprotect_spi_flash() to arch_misc_init()

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > With dm pci conversion, pci config read/write in unprotect_spi_flash() > silently fails as at that time dm pci is not ready and bus enumeration > is not done yet. Actually we don't need to do this in that early phase, > hence we delay this call to arch

Re: [U-Boot] [PATCH v2 10/12] dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > In pci_uclass_child_post_bind(), bdf is extracted from fdt_pci_addr. > Mask bus number before save it to pplat->devfn. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > drivers/pci/pci-uclass.c | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [U-Boot] [PATCH v2 5/7] x86: i8042: Correctly initialize the controller

2015-08-21 Thread Simon Glass
Hi Bin, On 21 August 2015 at 01:18, Bin Meng wrote: > The existing i8042 keyboard controller driver has some issues. > First of all, it does not issue a self-test command (0xaa) to the > controller at the very beginning. Without this, the controller > does not respond any command at all. Secondly

Re: [U-Boot] [PATCH v2 1/7] x86: superio: Add keyboard controller support to smsc_lpc47m driver

2015-08-21 Thread Simon Glass
Hi Bin, On 21 August 2015 at 01:18, Bin Meng wrote: > Add an api to enable and configure the integrated keyboard controller > on SMSC LPC47m superio chipset. It also adds several macros to help > future extension. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - Change parameter type t

Re: [U-Boot] [PATCH v2 2/7] x86: i8042: Remove unused codes

2015-08-21 Thread Simon Glass
Hi Bin, On 21 August 2015 at 01:18, Bin Meng wrote: > - Remove unused routines i8042_flush() and i8042_disable() > - Remove unused CONFIG_USE_CPCIDVI wrapped codes > - Remove __weak board_i8042_skip() > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v2: > - Split the r

Re: [U-Boot] [PATCH v2 09/12] fdtdec: Fix possible infinite loop in fdtdec_get_pci_vendev()

2015-08-21 Thread Simon Glass
On 20 August 2015 at 07:40, Bin Meng wrote: > When there is no valid compatible string in current list, > we should advance to next one in the compatible string list. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > lib/fdtdec.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions

Re: [U-Boot] [PATCH v1 1/1] lib/display_options: Fix print_freq

2015-08-21 Thread Simon Glass
Hi, On 18 August 2015 at 10:25, Suriyan Ramasami wrote: > Build without CONFIG_SPL_SERIAL_SUPPORT does not print the cpu freq. > I have seen this in the odroid U3 board, where on boot one sees this: > CPU: Exynos4412 @ GHz > instead of: > CPU: Exynos4412 @ 1 GHz > > I am assuming that this c

Re: [U-Boot] [PATCH v4 5/8] arm: serial: Add ability to use pre-initialized UARTs

2015-08-21 Thread Simon Glass
Hi Serkey, On 18 August 2015 at 06:26, Sergey Temerkhanov wrote: > On some systems, UART initialization is performed before running U-Boot. > This commit allows to skip UART re-initializaion on those systems > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla > > ---

Re: [U-Boot] [PATCH v4 6/8] armv8: cavium: Add ThunderX 88xx board definition

2015-08-21 Thread Simon Glass
Hi Sergey, On 18 August 2015 at 06:26, Sergey Temerkhanov wrote: > This commit adds basic Cavium ThunderX 88xx board definitions and support. > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla > > --- > > Changes in v4: > - Moved CONFIG_SYS_PROMPT to configs/thunder

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-21 Thread Simon Glass
Hi, On 21 August 2015 at 03:27, Thierry Reding wrote: > On Thu, Aug 20, 2015 at 11:46:41PM +, Marcel Ziswiler wrote: >> On 20 Aug 2015 22:09, Stephen Warren wrote: >> >> > Hopefully the process was to copy the Linux Tegra30 DT verbatim? >> >> No, the T20 one is far from verbatim neither. So

Re: [U-Boot] [PATCH v3] efi: Update README.efi to clarify build and test instructions

2015-08-21 Thread Simon Glass
On 17 August 2015 at 21:34, Bin Meng wrote: > The doc has a misleading 'make menuconfig' when building the EFI > application and payload. Clarify this and also update information > on test with QEMU. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v3: > - further chang

  1   2   >