Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-12 Thread armdev
Hi Christoffer / uboot, We are able to figure out the issue. PERIPHBASE returned on ARNDALE board was 0x1050 and adding GIC offset was creating an incorrect address. Setting CONFIG_ARM_GIC_BASE_ADDRESS as 0x1048 in arndale.h solves the issue. The u-boot code needs to be fixed for arnda

Re: [U-Boot] [PATCH] arm: exynos: Squash bogus warnings in pinmux

2014-03-12 Thread Lukasz Majewski
Hi Minkyu, > On 12/03/14 21:27, Marek Vasut wrote: > > On Wednesday, March 12, 2014 at 01:21:15 PM, Lukasz Majewski wrote: > >> Hi Marek, > >> > >>> On Wednesday, March 12, 2014 at 08:51:56 AM, Lukasz Majewski > >>> wrote: > Hi Simon, Marek, > > > Hi Marek, > > > > On 10 Marc

[U-Boot] please pull u-boot-samsung master

2014-03-12 Thread Minkyu Kang
Dear Albert, The following changes since commit 8ee950dd273aef6a074d41bf2ee4ef11d6f848fb: Prepare v2014.04-rc2 (2014-03-10 17:21:06 -0400) are available in the git repository at: http://git.denx.de/u-boot-samsung for you to fetch changes up to b627eb461bb281a00b543e72e74edc197b5f7b5e:

Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-12 Thread armdev
Got a mail that Andre is not with linaro, Adding Christoffer Dall On 13-Mar-2014, at 11:17 am, armdev wrote: > Hi Andrey , > > This is wrt your patch set which enabled the switch to non-sec and hip mode > in armv7. > We have a small piece of code which we run in hypmode using the bootm comman

[U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-12 Thread armdev
Hi Andrey , This is wrt your patch set which enabled the switch to non-sec and hip mode in armv7. We have a small piece of code which we run in hypmode using the bootm command on arndale board While this code was trying to access the GICD_ISENABLR0 (0x10481100), read was always returning 0, wh

Re: [U-Boot] [PATCH 1/3] usb, dfu: extract flush code into seperate function

2014-03-12 Thread Heiko Schocher
Hello Marek, Am 12.03.2014 12:43, schrieb Marek Vasut: On Wednesday, March 12, 2014 at 11:01:19 AM, Heiko Schocher wrote: move the flushing code into an extra function dfu_flush(), so it can be used from other code. Signed-off-by: Heiko Schocher Cc: Lukasz Majewski Cc: Kyungmin Park Cc: Marek

Re: [U-Boot] [PATCH] powerpc/t208x: enable command MEMTEST DDR_INTERACTIVE EEPROM

2014-03-12 Thread York Sun
On Mar 12, 2014, at 8:17 PM, Shengzhou Liu wrote: > Enable CONFIG_CMD_MEMTEST, CONFIG_FSL_DDR_INTERACTIVE, CONFIG_CMD_EEPROM I can see the ddr debugging and eeprom command are useful. But I am not convinced memtest is effective as it is intended to be. There was a discussion a while ago. As fo

Re: [U-Boot] unable to build tools with 2014.04-rc2 for x86

2014-03-12 Thread Masahiro Yamada
Hello Dennis, On Wed, 12 Mar 2014 23:22:07 -0500 Dennis Gilmore wrote: > On Thu, 13 Mar 2014 12:47:16 +0900 > Masahiro Yamada wrote: > > > Hello Dennis, > > > > > > > So the question is how am I supposed to build mkimage for x86? > > > > > > I think > > make CROSS_COMPILE=arm-linxu-gnu-

Re: [U-Boot] unable to build tools with 2014.04-rc2 for x86

2014-03-12 Thread Dennis Gilmore
On Thu, 13 Mar 2014 12:47:16 +0900 Masahiro Yamada wrote: > Hello Dennis, > > > > So the question is how am I supposed to build mkimage for x86? > > > I think > make CROSS_COMPILE=arm-linxu-gnu- sheevaplug_config tools > will work for you. > > > tools/ is built for host (x86) even if

Re: [U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images

2014-03-12 Thread Marek Vasut
Hello Masahiro-san, [...] > > Yes, I see. We shall eventually rename it to mkimage throughout the code. > > > > How shall we proceed? I see we have three options: > > - Post V2 of this patch > > - Fix the rest of the files which have this 'UIMAGE' in them and then > > post V2 - Postpone the fix an

[U-Boot] [PATCH] powerpc/t208x: enable command MEMTEST DDR_INTERACTIVE EEPROM

2014-03-12 Thread Shengzhou Liu
Enable CONFIG_CMD_MEMTEST, CONFIG_FSL_DDR_INTERACTIVE, CONFIG_CMD_EEPROM Signed-off-by: Shengzhou Liu --- include/configs/T208xQDS.h | 6 +- include/configs/T208xRDB.h | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/configs/T208xQDS.h b/include/configs/T20

Re: [U-Boot] unable to build tools with 2014.04-rc2 for x86

2014-03-12 Thread Masahiro Yamada
Hello Dennis, > So the question is how am I supposed to build mkimage for x86? I think make CROSS_COMPILE=arm-linxu-gnu- sheevaplug_config tools will work for you. tools/ is built for host (x86) even if the target board is configured for ARM. Best Regards Masahiro Yamada ___

[U-Boot] unable to build tools with 2014.04-rc2 for x86

2014-03-12 Thread Dennis Gilmore
Hi, to date I have been doing a make tools on x86 builds without doing any configuration to build mkimage for use on x86 hosts. with 2014.04-rc2 the build fails with make tools Makefile:485: *** "System not configured - see README". Stop. As there is no x86 configs I can not select one, and if

[U-Boot] [PATCH] powerpc/t208xqds: fix nor chip selection when nand boot

2014-03-12 Thread Shengzhou Liu
NOR flash is on CS1 instead of CS2 when NAND boot. So correct NOR chip selection to CS1 from CS2. Signed-off-by: Shengzhou Liu --- include/configs/T208xQDS.h | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/include/configs/T208xQDS.h b/include/co

Re: [U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images

2014-03-12 Thread Masahiro Yamada
Hello Marek, > > > b5d5feab4a6974fe00272d3a3408300d8c8a473d u-boot.bin > > > > > > Given that u-boot.bin and spl/u-boot-spl.bin are packed into u-boot.sb , > > > this is why you always see a different u-boot.sb . > > > > For other boot images, binary compare matched except a few bytes > > diff

Re: [U-Boot] [PATCH] usb: dfu: add static alt num count in dfu_config_entities()

2014-03-12 Thread Minkyu Kang
On 12/03/14 17:00, Lukasz Majewski wrote: > Hi Tom, > >> Hello Lukasz, >> >> Am 04.03.2014 12:33, schrieb Lukasz Majewski: >>> Hi Heiko, >>> Thanks to this multiple call of function dfu_config_entities() gives continuous dfu alt numbering until call dfu_free_entities(). This al

Re: [U-Boot] [PATCH] Trats/Trats2: Update Tizen partitions layout and dfu entities

2014-03-12 Thread Minkyu Kang
On 01/03/14 02:53, Przemyslaw Marczak wrote: > Changes: > - update partitions layout > - update dfu entities > to be consistent with Tizen images for trats/trats2 > > Signed-off-by: Przemyslaw Marczak > Acked-by: Ɓukasz Majewski > cc: Piotr Wilczek > cc: Minkyu Kang > --- > include/configs/tr

Re: [U-Boot] [PATCH V2 1/3] cpu: exynos4: ace_sha: add hardware random number generator support.

2014-03-12 Thread Minkyu Kang
On 06/03/14 01:57, Przemyslaw Marczak wrote: > This patch adds implementation of function hw_rand() based on exynos > security sub system. > > Signed-off-by: Przemyslaw Marczak > cc: Akshay Saraswat > cc: ARUN MANKUZHI > cc: Minkyu Kang > --- > Changes v2: > - none > > arch/arm/include/asm/a

Re: [U-Boot] [PATCH] patman: Use Patch-cc: instead of Cc:

2014-03-12 Thread Masahiro Yamada
Hello Simon, On Sun, 16 Feb 2014 08:23:47 -0700 Simon Glass wrote: > Add a new Patch-cc: tag which performs the service now provided by > the Cc: tag. The Cc: tag is interpreted by git send-email but > ignored by patman. > > So now: > > Cc: patman does nothing. (git send-email can cc patches

Re: [U-Boot] [PATCH] cfi_flash: Micron Nor flash don't support read operation after send

2014-03-12 Thread qiwang
Hi Wolfgang, > > Micron Nor flash don't support read operation after send write command. > As below, > > I understand you attempt to copy data between two different areas on > the same NOR device? This is not supported. > > > If the src address locate in NOR flash, flash_read operation will be f

Re: [U-Boot] [PATCH] arm: exynos: Squash bogus warnings in pinmux

2014-03-12 Thread Minkyu Kang
On 12/03/14 21:27, Marek Vasut wrote: > On Wednesday, March 12, 2014 at 01:21:15 PM, Lukasz Majewski wrote: >> Hi Marek, >> >>> On Wednesday, March 12, 2014 at 08:51:56 AM, Lukasz Majewski wrote: Hi Simon, Marek, > Hi Marek, > > On 10 March 2014 13:04, Marek Vasut wrote:

Re: [U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 11:51:41PM +0100, Michael Walle wrote: > Hi Tom, > > Am 2014-03-12 22:32, schrieb Tom Rini: > >On Wed, Mar 12, 2014 at 07:42:54PM +0100, Michael Walle wrote: > > > >>Move addresses for kernel, ramdisk and fdt blob to own > >>variables. Add dtb > >>blob loading to all existi

Re: [U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Michael Walle
Hi Tom, Am 2014-03-12 22:32, schrieb Tom Rini: On Wed, Mar 12, 2014 at 07:42:54PM +0100, Michael Walle wrote: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot s

Re: [U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 07:42:54PM +0100, Michael Walle wrote: > Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb > blob loading to all existing boot scripts, dtb filenames were taken from > vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads > a ker

Re: [U-Boot] [U-Boot, v2] kbuild: delete *.pyc files by "make distclean"

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 08:36:45PM +0900, Masahiro Yamada wrote: > The tools "buildman" and "patman" are written in Python. > When we run them, "*.pyc" files are created under > tools/buildman, tools/patman directories. > > They should be cleaned up by "make distclean". > > Signed-off-by: Masahi

Re: [U-Boot] [U-Boot,11/12] kbuild: rename OBJTREE to objtree

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:21AM +0900, Masahiro Yamada wrote: > Prior to Kbuild, $(OBJTREE) was used for pointing to the > top of build directory with absolute path. > > In Kbuild style, $(objtree) is used instead. > This commit renames OBJTREE to objtree and delete the > defition of OBJTREE.

Re: [U-Boot] [U-Boot,10/12] kbuild: rename SRCTREE to srctree

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:20AM +0900, Masahiro Yamada wrote: > Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for > pointing to the top of source directory. > (No difference between the two.) > > In Kbuild style, $(srctree) is used for instead. > This commit renames SRCTREE to srctree and

Re: [U-Boot] [U-Boot,12/12] kbuild: delete SPLTREE and TPLTREE

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:22AM +0900, Masahiro Yamada wrote: > These variable are no longer used. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, 08/12] kbuild: use $(KBUILD_SRC) to check out-of-tree build

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:18AM +0900, Masahiro Yamada wrote: > Non-empty $(KBUILD_SRC) means out-of-tree build. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot,09/12] kbuild: rename TOPDIR to stctree

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:19AM +0900, Masahiro Yamada wrote: > Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for > pointing to the top of source directory. > (No difference between the two.) > > In Kbuild style, $(srctree) is used instead. > This commit renames TOPDIR to srctree and delet

Re: [U-Boot] [U-Boot, 06/12] freescale: pblimage: refactor CONFIG_SYS_FSL_PBL_{PBI, RCW}

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:16AM +0900, Masahiro Yamada wrote: > Pull out "$(SRCTREE)/" from CONFIG_SYS_FSL_PBL_PBI > and CONFIG_SYS_FSL_PBL_RCW and push it into the top Makefile. > > Signed-off-by: Masahiro Yamada > Cc: York Sun > Cc: Poonam Aggrwal > Cc: Valentin Longchamp Applied to u-b

Re: [U-Boot] [U-Boot, 07/12] kirkwood: kwbimage: refactor CONFIG_SYS_KWD_CONFIG

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:17AM +0900, Masahiro Yamada wrote: > Pull out "$(SRCTREE)/" from CONFIG_SYS_KWD_CONFIG > and push it into the top Makefile. > > Signed-off-by: Masahiro Yamada > Cc: Michael Walle > Cc: Simon Guinot > Cc: Dave Purdy > Cc: Stefan Herbrechtsmeier > Cc: Luka Perkov

Re: [U-Boot] [U-Boot, 05/12] kbuild: delete redundant LDSCRIPT definition

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:15AM +0900, Masahiro Yamada wrote: > $(SRCTREE)/$(CPUDIR)/u-boot.lds is our default location > of arch-specific linker script. > > Remove redundant definitions in > arch/{arc,microblaze,openrisc}/config.mk. > > Signed-off-by: Masahiro Yamada > Cc: Alexey Brodkin >

Re: [U-Boot] [U-Boot, 04/12] x86: specify CONFIG_USE_PRIVATE_LIBGCC more simply

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:14AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 02/12] kbuild: use short logs for some board specific make rules

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:12AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: David Updegraff > Cc: Andre Schwarz Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, v4, 6/6] usb: net: update README.usb to list all USB ethernet options

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:18PM +0100, Gerhard Sittig wrote: > - extend the discussion of USB network related config options such that > all available adapter drivers are listed, and that the 'usb' command > for the interactive prompt and scripting becomes available > - suggest to *not* put

Re: [U-Boot] [U-Boot, 03/12] kbuild, x86: use a short log for arch/x86/lib/libgcc.a

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:13AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 01/12] kbuild, mxs: use short logs for MXS images

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 11:05:11AM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Marek Vasut > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Lauri Hintsala > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signatur

Re: [U-Boot] [U-Boot, v4, 4/6] tegra: imx: omap: enable Moschip USB ethernet support for several boards

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:16PM +0100, Gerhard Sittig wrote: > enable support for the Moschip USB ethernet adapter for those boards > which previously had support for "all other" USB ethernet adapters > (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk, > mx53loco, nitrogen6x

Re: [U-Boot] [U-Boot, v4, 1/6] usb: net: don't ifdef routine declarations in usb_ether.h

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:13PM +0100, Gerhard Sittig wrote: > while compilation of implemented routines and references from calling > sites may be optional, declarations in header files should not be > > unconditionally declare the Asix and SMSC related public USB ethernet > driver routines i

Re: [U-Boot] [U-Boot, v4, 2/6] usb: net: introduce support for Moschip USB ethernet

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:14PM +0100, Gerhard Sittig wrote: > introduce an 'mcs7830' driver for Moschip MCS7830 based (7730/7830/7832) > USB 2.0 Ethernet Devices > > see "MCS7830 -- USB 2.0 to 10/100M Fast Ethernet Controller" at > http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=10

Re: [U-Boot] [U-Boot, v4, 5/6] at91: enable USB ethernet for taskit stamp9g20

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:17PM +0100, Gerhard Sittig wrote: > enabling CONFIG_MACB makes other locations in the stamp config file > enable network related commands (actually prevents disabling them) > > enable USB ethernet support by activating generic support as well as > Asix and Moschip et

Re: [U-Boot] [U-Boot, v4, 3/6] tegra: omap: alpha-sort USB ethernet items for Asix and SMSC

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:46:15PM +0100, Gerhard Sittig wrote: > adjust the harmony and omap3_beagle board configs to make > their CONFIG_USB_ETHER_* items appear in alphabetical order > > Signed-off-by: Gerhard Sittig > Acked-by: Simon Glass > Acked-by: Marek Vasut Applied to u-boot/master,

Re: [U-Boot] [U-Boot, 2/2] fw_env: correct writes to devices with small erase blocks

2014-03-12 Thread Tom Rini
On Thu, Mar 06, 2014 at 08:48:23PM -0800, Dustin Byford wrote: > Some NOR flash devices have a small erase block size. For example, the > Micron N25Q512 can erase in 4K blocks. These devices expose a bug in > fw_env.c where flash_write_buf() incorrectly calculates bytes written > and attempts to

Re: [U-Boot] [U-Boot, 1/2] fw_env: calculate default number of env sectors

2014-03-12 Thread Tom Rini
On Thu, Mar 06, 2014 at 08:48:22PM -0800, Dustin Byford wrote: > The assumed number of environment sectors (always 1) leads to an > incorrect top_of_range calculation in fw.env.c when a flash device has > an erase block size smaller than the environment data size (number of > environment sectors >

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Hannes Petermaier
On 2014-03-12 21:27, Tom Rini wrote: Hi Tom, You're right. SPL could be marked as protected. But how to deal here with u-boot itself ? its address is within a possible area of a partition. Fdisk doesn't know about that :-( We also cannot protect #0 where partition-table is stored, because user

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 09:14:31PM +0100, Hannes Petermaier wrote: > > On 2014-03-12 20:33, Tom Rini wrote: > >On Wed, Mar 12, 2014 at 08:17:47PM +0100, Hannes Petermaier wrote: > > > >>Good idea, i've also thougt about this way > >>but what happens in case of OS is going to re-partitioning t

Re: [U-Boot] [U-Boot, v2] board/BuR/kwb: fix usage of 'i2c_set_bus_speed'

2014-03-12 Thread Tom Rini
On Sat, Mar 08, 2014 at 07:09:32PM +0100, Hannes Petermaier wrote: > - fix: return-value of 'i2c_set_bus_speed' was interpreted wrong > > Signed-off-by: Hannes Petermaier Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Please pull u-boot-ti/master

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 04:05:05PM -0400, Tom Rini wrote: > Hey, > > The following changes since commit 8ee950dd273aef6a074d41bf2ee4ef11d6f848fb: > > Prepare v2014.04-rc2 (2014-03-10 17:21:06 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-ti.git master > >

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Hannes Petermaier
On 2014-03-12 20:33, Tom Rini wrote: On Wed, Mar 12, 2014 at 08:17:47PM +0100, Hannes Petermaier wrote: Good idea, i've also thougt about this way but what happens in case of OS is going to re-partitioning the drive (flash), delete all partitions (dummy-part also) an puts the first (new)

[U-Boot] Please pull u-boot-ti/master

2014-03-12 Thread Tom Rini
Hey, The following changes since commit 8ee950dd273aef6a074d41bf2ee4ef11d6f848fb: Prepare v2014.04-rc2 (2014-03-10 17:21:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to d157776388b2b6cb819e76a56d3c63e604d8b291: arm:

Re: [U-Boot] arm: omap: cm_t35: Fix: Re-add GPMC_NAND_ECC_LP_x8_LAYOUT

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 05:04:45PM +0100, Stefan Roese wrote: > Patch a7e36fc9 (mtd: nand: omap: remove unused #defines from common > omap_gpmc.h) removed some MTD related defines. Including > GPMC_NAND_ECC_LP_x8_LAYOUT. But this define is also needed for the > memory controller configuration (onl

Re: [U-Boot] arm: am335x: DXR2: Move unconditional LAN9303 reset into command

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 10:45:41AM +0100, Stefan Roese wrote: > The switch HW reset results in a disconnection of the switch port daisy- > chain for a few seconds. This is not desired in the normal field use > case. So lets remove this switch reset from the normal bootup sequence > and move it int

Re: [U-Boot] drivers: net: cpsw: init phy with gigabit features

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 11:26:30AM +0200, Ilya Ledvich wrote: > CPSW ia a gigabit device. Use the PHY_GBIT_FEATURES macro to determine phy > supported features. > Tested on cm_t335. > > Signed-off-by: Ilya Ledvich Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] drivers/spi/omap3: Bug fix of premature write transfer completion

2014-03-12 Thread Tom Rini
On Sun, Mar 09, 2014 at 03:56:52PM +0200, Vasili Galka wrote: > The logic determining SPI "write" transfer completion was faulty. At > certain conditions (e.g. slow SPI clock freq) the transfers were > interrupted before completion. Both EOT and TXS flags of channel > status registeer shall be che

Re: [U-Boot] board/BuR/kwb: fix usage of 'i2c_set_bus_speed'

2014-03-12 Thread Tom Rini
On Fri, Mar 07, 2014 at 06:56:55PM +0100, Hannes Petermaier wrote: > - fix: return-value of 'i2c_set_bus_speed' was interpreted wrong > > Signed-off-by: Hannes Petermaier Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] am335x_evm: Remove SPI SPL from NOR support target

2014-03-12 Thread Tom Rini
On Mon, Mar 10, 2014 at 03:31:24PM -0400, Tom Rini wrote: > When using the am335x_evm_nor target one is generally expecting to be > used in an environment when you want to program the NOR and not a > "deployment" type target. In addition this only supports the Beaglebone > White with the memory c

Re: [U-Boot] am33xx: Rework #ifdef's around s_init for clarity

2014-03-12 Thread Tom Rini
On Wed, Mar 05, 2014 at 02:57:47PM -0500, Tom Rini wrote: > The s_init function is only called on SPL or XIP cases, so lets only > build it for them. This makes the #if logic within the function a bit > clearer as to when we are or are not calling things, and makes it easier > to see that for exa

Re: [U-Boot] [U-Boot PATCH v2 10/12] keystone2: net: add keystone ethernet driver

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 03:04:04PM -0400, Murali Karicheri wrote: > On 2/25/2014 5:11 PM, Rini, Tom wrote: > >On Thu, Feb 20, 2014 at 12:55:12PM -0500, Murali Karicheri wrote: > > > >>From: Vitaly Andrianov > >> > >>Ethernet driver configures the CPSW, SGMI and Phy and uses > >>the the Navigator A

Re: [U-Boot] [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 03:21:26PM -0400, Murali Karicheri wrote: > On 2/25/2014 5:10 PM, Rini, Tom wrote: > >On Thu, Feb 20, 2014 at 12:55:02PM -0500, Murali Karicheri wrote: > > > >>This patch series add support for keystone2 SoC and K2HK EVM > >In general, you ran checkpatch.pl right? I see som

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 08:17:47PM +0100, Hannes Petermaier wrote: > Good idea, i've also thougt about this way > but what happens in case of OS is going to re-partitioning the drive > (flash), delete all partitions (dummy-part also) an puts the first > (new) partition behind the part-table (

Re: [U-Boot] [U-Boot PATCH v2 00/12] Add support for keystone2 SoC and K2HK EVM

2014-03-12 Thread Murali Karicheri
On 2/25/2014 5:10 PM, Rini, Tom wrote: On Thu, Feb 20, 2014 at 12:55:02PM -0500, Murali Karicheri wrote: This patch series add support for keystone2 SoC and K2HK EVM In general, you ran checkpatch.pl right? I see some '#define' cases that need manual fixing up as well. Further comments and a

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Hannes Petermaier
On 2014-03-12 20:00, Tom Rini wrote: On Wed, Mar 12, 2014 at 06:19:00PM +0100, Hannes Petermaier wrote: On 2014-03-12 17:08, Tom Rini wrote: On Thu, Mar 06, 2014 at 02:30:35PM +0100, Hannes Petermaier wrote: For clear separation of user's (OS) filesystem to U-Boot and other's stuff it is now

[U-Boot] [PATCH] ARM: tegra: make all I2C ports open-drain

2014-03-12 Thread Stephen Warren
From: Stephen Warren I2C protocol requires open-drain IOs. Fix the Dalmore and Venice2 pinmux tables to configure the IOs correctly. Without this, Tegra may actively drive the lines high while an external device is actively driving the lines low, which can only lead to bad things. Signed-off-by:

Re: [U-Boot] [U-Boot PATCH v2 10/12] keystone2: net: add keystone ethernet driver

2014-03-12 Thread Murali Karicheri
On 2/25/2014 5:11 PM, Rini, Tom wrote: On Thu, Feb 20, 2014 at 12:55:12PM -0500, Murali Karicheri wrote: From: Vitaly Andrianov Ethernet driver configures the CPSW, SGMI and Phy and uses the the Navigator APIs. The driver supports 4 Ethernet ports and can work with only one port at a time. F

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 06:19:00PM +0100, Hannes Petermaier wrote: > > On 2014-03-12 17:08, Tom Rini wrote: > >On Thu, Mar 06, 2014 at 02:30:35PM +0100, Hannes Petermaier wrote: > > > >>For clear separation of user's (OS) filesystem to U-Boot and other's > >>stuff it is now possible to give the fi

Re: [U-Boot] [PATCH 5/7] driver/ifc: define nand_spl_load_image() for SPL

2014-03-12 Thread Scott Wood
On Thu, 2014-03-06 at 17:43 +0530, Prabhakar Kushwaha wrote: > nand_spl_load_image() can also be used for non TPL framework. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Sending as it is > > drivers/mtd/nand/fsl_ifc_spl.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deleti

[U-Boot] [PATCH 2/2] lsxl: rework boot scripts

2014-03-12 Thread Michael Walle
Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads a kernel and a ramdisk. Make this the default boot script. This should also r

[U-Boot] [PATCH 1/2] lsxl: use 64bit for LBA48 to support 4 TB drives

2014-03-12 Thread Michael Walle
Cc: Prafulla Wadaskar Signed-off-by: Michael Walle --- include/configs/lsxl.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 92865df..cc7a6ab 100644 --- a/include/configs/lsxl.h +++ b/include/configs/lsxl.h @@ -160,6 +160,7 @@ #undef

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 10:18 AM, Tom Rini wrote: > On Wed, Mar 12, 2014 at 09:41:20AM -0700, Darwin Rambo wrote: >> >> >> On 14-03-12 09:24 AM, Tom Rini wrote: >>> On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: > [snip] + /* Assumes kernel is lower in memory than fdt */ + smh_load

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Hannes Petermaier
On 2014-03-12 17:08, Tom Rini wrote: On Thu, Mar 06, 2014 at 02:30:35PM +0100, Hannes Petermaier wrote: For clear separation of user's (OS) filesystem to U-Boot and other's stuff it is now possible to give the filesystem a specific offset and a specific size. For full consistency OS storage dr

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 09:41:20AM -0700, Darwin Rambo wrote: > > > On 14-03-12 09:24 AM, Tom Rini wrote: > > On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: [snip] > >> + /* Assumes kernel is lower in memory than fdt */ > >> + smh_load(CONFIG_KNLNAME, kernel_addr, fdt_addr - kern

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 09:41 AM, Albert ARIBAUD wrote: > Hi Darwin, > > On Wed, 12 Mar 2014 09:04:01 -0700, Darwin Rambo > wrote: > >> The reason for this change is to be able to use the ARM Trusted Firmware >> (ATF) to load the various ATF images, plus u-boot, which can then load >> the kernel/ramdisk/d

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Albert ARIBAUD
Hi Darwin, On Wed, 12 Mar 2014 09:04:01 -0700, Darwin Rambo wrote: > The reason for this change is to be able to use the ARM Trusted Firmware > (ATF) to load the various ATF images, plus u-boot, which can then load > the kernel/ramdisk/dtb with calls to an external host from a standard > fastmod

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 09:24 AM, Tom Rini wrote: > On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: > >> The reason for this change is to be able to use the ARM Trusted Firmware >> (ATF) to load the various ATF images, plus u-boot, which can then load >> the kernel/ramdisk/dtb with calls to an

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: > The reason for this change is to be able to use the ARM Trusted Firmware > (ATF) to load the various ATF images, plus u-boot, which can then load > the kernel/ramdisk/dtb with calls to an external host from a standard > fastmodel armv

Re: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device

2014-03-12 Thread Tom Rini
On Thu, Mar 06, 2014 at 02:30:35PM +0100, Hannes Petermaier wrote: > For clear separation of user's (OS) filesystem to U-Boot and other's > stuff it is now possible to give the filesystem a specific offset and a > specific size. > For full consistency OS storage driver also has to support this and

[U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
The reason for this change is to be able to use the ARM Trusted Firmware (ATF) to load the various ATF images, plus u-boot, which can then load the kernel/ramdisk/dtb with calls to an external host from a standard fastmodel armv8 board file using semihosting, and then launch the kernel without a bo

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 06:53 -0700, Ezaul Zillmer wrote: > > Nothing appears scsi info Perhaps try increasing WAIT_MS_LINKUP some more (as per patch 3/4)? Ian. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [PATCH 1/3] net/phy: enable get_phy_id redefinable

2014-03-12 Thread Tom Rini
On Wed, Mar 05, 2014 at 03:38:55PM +0800, Shengzhou Liu wrote: > As some PHYs have non-standard PHY ID registers, PHY Id can't > be read correctly by current get_phy_id function, so we enable > get_phy_id redefinable to permit specific PHY driver having own > specific get_phy_id function. > > Sig

Re: [U-Boot] sparc leon3 linking problem

2014-03-12 Thread Daniel Hellstrom
On 03/12/2014 01:52 PM, Tom Rini wrote: On Tue, Mar 11, 2014 at 03:14:26PM -0700, Kameron Larsen wrote: Hello, I'm bringing up a board based on the board/gaisler/gr_xc3s_1500/ design. To keep things simple, we can use this design exactly as is. My problem starts in the relocation section of a

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 14:17 +0100, Koen Kooi wrote: > Op 12 mrt. 2014, om 13:56 heeft Ian Campbell het > volgende geschreven: > > > On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote: > > > > I'm afraid much of your mail was incomprehensible to me. > > > >> setenv bootargs console = tty0 c

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-03-12 Thread Michal Simek
On 03/05/2014 05:05 PM, Chin Liang See wrote: > Scan Manager driver will be called to configure the IOCSR > scan chain. This configuration will setup the IO buffer settings > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Tom Rini > Cc: Albert A

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-03-12 Thread Michal Simek
On 03/12/2014 03:45 PM, Chin Liang See wrote: > Hi guys, > > Any ACK or further comments? I still have a comment that you should at least rename your socfpga board name to something better because currently it is more suggesting that this is generic socfpga arch support not cyclone V soc dev kit.

Re: [U-Boot] [PATCH v4 1/2] watchdog/designware: Adding DesignWare watchdog driver support

2014-03-12 Thread Chin Liang See
Hi guys, Any ACK or further comments? Thanks Chin Liang On Tue, 2014-03-04 at 20:51 -0600, Chin Liang See wrote: > To add the DesignWare watchdog driver support. It required > information such as register base address and clock info from > configuration header file within include/configs folde

Re: [U-Boot] [PATCH v7] socfpga: Adding Scan Manager driver

2014-03-12 Thread Chin Liang See
Hi guys, Any ACK or further comments? Thanks Chin Liang On Wed, 2014-03-05 at 10:05 -0600, Chin Liang See wrote: > Scan Manager driver will be called to configure the IOCSR > scan chain. This configuration will setup the IO buffer settings > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen

Re: [U-Boot] Antw: Re: How to silence the output of U-Boot

2014-03-12 Thread Stefano Babic
On 12/03/2014 10:02, Frank Ihle wrote: >> Your U-Boot is too old. > Are there any patches for the my version? I guess the new version is better > but I'm forced to use this version You have all patches in the git tree. You can try to back porting patches back to your version, but, sincerely, I do

[U-Boot] [PATCH v6] nand/denali: Adding Denali NAND driver support

2014-03-12 Thread Chin Liang See
To add the Denali NAND driver support into U-Boot. It required information such as register base address from configuration header file within include/configs folder. Signed-off-by: Chin Liang See Cc: Artem Bityutskiy Cc: David Woodhouse Cc: Brian Norris Cc: Scott Wood Cc: Masahiro Yamada -

Re: [U-Boot] [PATCH v5] nand/denali: Adding Denali NAND driver support

2014-03-12 Thread Chin Liang See
Hi Masahiro, On Wed, 2014-03-12 at 20:25 +0900, Masahiro Yamada wrote: > Hello Chin, > > > Here is a little more comments about v5. > > > +static void get_toshiba_nand_para(void) > > +{ > > + uint32_t tmp; > > + > > + /* Workaround to fix a controller bug which reports a wrong */ > > + /*

Re: [U-Boot] [PATCH v5] nand/denali: Adding Denali NAND driver support

2014-03-12 Thread Chin Liang See
Hi Masahiro, On Wed, 2014-03-12 at 13:55 +0900, Masahiro Yamada wrote: > Hello Chin, > > > > > > +static uint32_t denali_dma_configuration(uint32_t ops, bool raw_xfer, > > + uint32_t irq_mask, int oob_required) > > Indentation not fixed yet. > I mean, only one tab is too small for the secon

Re: [U-Boot] [PATCH v5 0/3] ubs: tegra: two fixes and cleanup

2014-03-12 Thread Jim Lin
On Mon, 2014-03-03 at 02:46 +0800, Stefan Agner wrote: > Only patch 1 is an actual issue while the second patch is > something I stumbled upon, and the third is more about > housekeeping. > > I descieded to ifdef the driver, I think that this is easier to > read and does not mix register access st

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ezaul Zillmer
> > sun7i# scsi reset > > Reset SCSI > scanning bus for devices... > timeout exit! > Found 0 device(s). > > this same problem not think that the drive to boot > > Nothing appears scsi info > > :( > I will try to put another HD > > Loading the kernel > [3.723244] ata1.00: ATA-8: SAMSUNG HM320II,

Re: [U-Boot] Default initrd and fdt load behaviour on ARM (Was: Re: [linux-sunxi] Re: Not able to boot ramdisk on cubietruck)

2014-03-12 Thread Tom Rini
On Wed, Mar 12, 2014 at 01:04:38PM +, Ian Campbell wrote: > On Tue, 2014-03-11 at 13:17 -0400, Tom Rini wrote: > > On Tue, Mar 11, 2014 at 03:21:54PM +, Ian Campbell wrote: > > > On Tue, 2014-03-11 at 09:48 -0400, Tom Rini wrote: > > > > On Tue, Mar 11, 2014 at 10:38:05AM +, Ian Campbel

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Koen Kooi
Op 12 mrt. 2014, om 13:56 heeft Ian Campbell het volgende geschreven: > On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote: > > I'm afraid much of your mail was incomprehensible to me. > >> setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio >> EDID: 0 = disp.screen0_outpu

Re: [U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images

2014-03-12 Thread Veli-Pekka Peltola
Hi, On Wed, Mar 12, 2014 at 12:46 PM, Marek Vasut wrote: > On Wednesday, March 12, 2014 at 11:19:30 AM, Masahiro Yamada wrote: >> Hello Marek, >> >> > > Cc: Marek Vasut >> > > Cc: Fabio Estevam >> > > Cc: Otavio Salvador >> > > Cc: Lauri Hintsala >> > >> > You can drop Lauri from CC , I think

Re: [U-Boot] Default initrd and fdt load behaviour on ARM (Was: Re: [linux-sunxi] Re: Not able to boot ramdisk on cubietruck)

2014-03-12 Thread Ian Campbell
On Tue, 2014-03-11 at 13:17 -0400, Tom Rini wrote: > On Tue, Mar 11, 2014 at 03:21:54PM +, Ian Campbell wrote: > > On Tue, 2014-03-11 at 09:48 -0400, Tom Rini wrote: > > > On Tue, Mar 11, 2014 at 10:38:05AM +, Ian Campbell wrote: > > > > But what is the reason for the default behaviour of b

Re: [U-Boot] [PATCH 01/12] kbuild, mxs: use short logs for MXS images

2014-03-12 Thread Marek Vasut
On Wednesday, March 12, 2014 at 01:46:27 PM, Veli-Pekka Peltola wrote: > Hi, > > On Wed, Mar 12, 2014 at 12:46 PM, Marek Vasut wrote: > > On Wednesday, March 12, 2014 at 11:19:30 AM, Masahiro Yamada wrote: > >> Hello Marek, > >> > >> > > Cc: Marek Vasut > >> > > Cc: Fabio Estevam > >> > > Cc:

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote: I'm afraid much of your mail was incomprehensible to me. > setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio > EDID: 0 = disp.screen0_output_mode EDID: 1280x800p60 root = / dev/sda1 > rootfstype = ext4 rootwait panic = 10

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ezaul Zillmer
Hi Ian U-Boot SPL 2014.01-rc1-gb754a91 (Mar 12 2014 - 09:11:26) Board: Cubieboard2 DRAM: 1024 MiB CPU: 96000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2014.01-rc1-gb754a91 (Mar 12 2014 - 09:11:26) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: Cubieboard2 I2C: rea

Re: [U-Boot] sparc leon3 linking problem

2014-03-12 Thread Tom Rini
On Tue, Mar 11, 2014 at 03:14:26PM -0700, Kameron Larsen wrote: > Hello, > > I'm bringing up a board based on the board/gaisler/gr_xc3s_1500/ design. To > keep things simple, we can use this design exactly as is. > > My problem starts in the relocation section of arch/sparc/cpu/leon3/start.S > w

  1   2   >