Re: [U-Boot] [PATCH 06/11] MX6: add struct for sharing data between SPL and uboot

2014-04-18 Thread Tim Harvey
On Thu, Apr 17, 2014 at 4:44 AM, Stefano Babic sba...@denx.de wrote: Hi Igor, hi Tim On 17/04/2014 13:22, Igor Grinberg wrote: get_ram_size() works on cm-fx6 all DRAM configurations. As on most boards in mainline ;-) It looks like I mis-interpreted the failure. This issue is that

[U-Boot] How to test vlan in u-boot

2014-04-18 Thread diya
Hi , I am using an 8 port switch (MV88E6131) in our customized board with P2020 Processor. Following is the set up in our board, Port 6 - CPU port Port0 / Port1 / Port2 connected to phy Port3 - No connection Port 4 / Port 5 connected to DSP's Port 7 routed to back plane , SGMII connection.

Re: [U-Boot] [PATCH V2 2/2] eMMC: cmd_mmc.c adds the 'rpmb' sub-command for the 'mmc' command

2014-04-18 Thread Pierre AUBERT
Hello Wolfgang, Le 17/04/2014 21:56, Wolfgang Denk a écrit : Dear Pierre Aubert, In message 1397747435-24042-3-git-send-email-p.aub...@staubli.com you wrote: This sub-command adds support for the RPMB partition of an eMMC: * mmc rpmb key address of the authentication key Programs the

[U-Boot] [PATCH] powerpc/t1040qds: Remove Video - HDMI support

2014-04-18 Thread Dongsheng Wang
From: Wang Dongsheng dongsheng.w...@freescale.com We should remove this support. First, there is not any documents to say we need to support this feature, and kernel also not support this feature. Second, Kerneal not support this on T1040QDS, so if we open it in u-boot, FPGA will be changed and

[U-Boot] [PATCH v2 2/2] usb:gadget:f_thor: fix write to filesystem by add dfu_flush()

2014-04-18 Thread Przemyslaw Marczak
Since dfu read/write operations needs to be flushed manually, writing to filesystem on MMC by thor was broken. MMC raw write actually is working fine because current dfu_flush() function writes filesystem only. This commit adds dfu_flush() to f_thor and now filesystem write is working. This

Re: [U-Boot] [PATCH v3 00/13] ARMv7: add PSCI support to u-boot

2014-04-18 Thread Marc Zyngier
On Thu, Apr 17 2014 at 08:55:56 PM, Jon Loeliger loeli...@gmail.com wrote: No, so far there hasn't been much discussion, and people seem happy with it. I have a couple of fixes lined up, but nothing major. So, I think PSCI 0.2 calls for function numbers in the 0x8400 range. Seems like

[U-Boot] [PATCH v2 1/2] usb:gadget:f_thor: code cleanup in function download_tail()

2014-04-18 Thread Przemyslaw Marczak
In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski

Re: [U-Boot] Fwd: [PATCH v3 00/13] ARMv7: add PSCI support to u-boot

2014-04-18 Thread Marc Zyngier
On Thu, Apr 17 2014 at 09:01:07 PM, Jon Loeliger loeli...@gmail.com wrote: [ Drat. I meant to send this to the U-Boot list, not just Albert. --jdl] -- Forwarded message -- From: Jon Loeliger loeli...@gmail.com Date: Thu, Apr 17, 2014 at 11:36 AM Subject: Re: [U-Boot] [PATCH

Re: [U-Boot] [PATCH] powerpc/t1040qds: Remove Video - HDMI support

2014-04-18 Thread Priyanka Jain
Hello Dongsheng, We do have requirement to support this that's why code development was done. Also , what is the dependency of deep-sleep on this. Please elaborate And if something is broken, we should fix it. Instead of removing the feature. Regards Priyanka -Original Message- From:

[U-Boot] [PATCH v2 8/9] fdt_support: fix an endian bug of fdt_initrd()

2014-04-18 Thread Masahiro Yamada
Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_initrd() invoked write_cell(), which always swaps byte order. It means the function only worked on little endian architectures. (On big endian architectures, the byte

[U-Boot] [PATCH v2 3/9] fdt_support: delete force argument of fdt_initrd()

2014-04-18 Thread Masahiro Yamada
After all, we have realized force argument is completely useless. fdt_initrd() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already exists. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH v2 7/9] fdt_support: fix an endian bug of fdt_fixup_memory_banks

2014-04-18 Thread Masahiro Yamada
Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_fixup_memory_banks() invoked write_cell(), which always swaps byte order. It means the function only worked on little endian architectures. This commit adds and uses a

[U-Boot] [PATCH v2 9/9] fdt_support: correct the return condition of fdt_initrd()

2014-04-18 Thread Masahiro Yamada
Before this commit, fdt_initrd() just returned if initrd start address is zero. But it is possible if the RAM is located at address 0. This commit makes the return condition more reasonable: Just return if the size of initrd is zero. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH v2 1/9] fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

2014-04-18 Thread Masahiro Yamada
gd-bd is not used in fdt_support.c. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None common/fdt_support.c | 5 - 1 file changed, 5 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index f9f358e..2464847 100644 --- a/common/fdt_support.c

[U-Boot] [PATCH v2 5/9] fdt_support: refactor fdt_fixup_stdout() function

2014-04-18 Thread Masahiro Yamada
- Do not use a deep indentation. We have only 80-character on each line and 1 indentation consumes 8 spaces. Before the code moves far to the right, you should consider to fix your code. See Linux Documentation/CodingStyle. - Add CONFIG_OF_STDOUT_VIA_ALIAS and OF_STDOUT_PATH macros

[U-Boot] [PATCH v2 2/9] fdt_support: refactor with fdt_find_or_add_subnode helper func

2014-04-18 Thread Masahiro Yamada
Some functions in fdt_support.c do the same routine: search a node with a given name (chosen, memory, etc.) or newly create it if it does not exist. So this commit makes that routine to a helper function. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None

[U-Boot] [PATCH v2 0/9] Refactoring and Endian bug fixes of fdt_support

2014-04-18 Thread Masahiro Yamada
Masahiro Yamada (9): fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR fdt_support: refactor with fdt_find_or_add_subnode helper func fdt_support: delete force argument of fdt_initrd() fdt_support: delete force argument of fdt_chosen() fdt_support: refactor fdt_fixup_stdout()

[U-Boot] [PATCH v2 6/9] fdt_support: add 'const' qualifier for unchanged argument

2014-04-18 Thread Masahiro Yamada
In the next commit, I will add a new function, fdt_pack_reg() which uses get_cells_len(). Beforehand, this commit adds 'const' qualifier to get_cells_len(). Otherwise, a warning message will appear: warning: passing argument 1 of 'get_cells_len' discards 'const' qualifier from pointer target

[U-Boot] [PATCH v2 4/9] fdt_support: delete force argument of fdt_chosen()

2014-04-18 Thread Masahiro Yamada
After all, we have realized force argument is completely useless. fdt_chosen() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already exists. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH] cmd_time: do not show ticks

2014-04-18 Thread Masahiro Yamada
The command time shows the execution time of the command given to the argument, like this: time: 45.293 seconds, 45293 ticks Since we adopted CONFIG_SYS_HZ = 1000 for all boards, we always have a simple formula: 1 tick = 0.0001 second. Showing ticks looks almost redundant. Signed-off-by:

[U-Boot] [PATCH] config: remove platform CONFIG_SYS_HZ definition part 4

2014-04-18 Thread Masahiro Yamada
Some new boards define CONFIG_SYS_HZ again! Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- include/configs/T208xRDB.h | 1 - include/configs/sama5d3_xplained.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/T208xRDB.h

Re: [U-Boot] [PATCH v2 7/8] cmd_mmc.c: Add bootbus mmc sub-command

2014-04-18 Thread Michael Trimarchi
Hi Tom On Thu, Jan 30, 2014 at 10:31 PM, Tom Rini tr...@ti.com wrote: Add a bootbus sub-command to the mmc command to allow for setting the boot_bus_width, reset_boot_bus_width and boot_mode fields of BOOT_BUS_WIDTH (EXT_CSD[177]). Signed-off-by: Tom Rini tr...@ti.com --- Can I ask if does

Re: [U-Boot] [PATCH 3/5] blackfin: replace bfin_gen_rand_mac() with eth_random_addr()

2014-04-18 Thread Masahiro Yamada
Hi Mike, On Thu, 17 Apr 2014 15:07:50 -0400 Mike Frysinger vap...@gentoo.org wrote: On Thu 17 Apr 2014 17:00:30 Masahiro Yamada wrote: --- a/include/configs/tcm-bf537.h +++ b/include/configs/tcm-bf537.h @@ -73,7 +73,7 @@ #define CONFIG_HOSTNAMEtcm-bf537 /* Uncomment next

[U-Boot] [PATCH 1/3 v2] board/t208xqds: Add support of 2-stage NAND/SPI/SD boot

2014-04-18 Thread Shengzhou Liu
Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. PBL initializes the internal CPC-SRAM and copy SPL(160K) to it, SPL further initializes DDR using SPD and environment and copy u-boot(768 KB) from SPI/SD/NAND to DDR, finally SPL transfers control to u-boot. Signed-off-by:

[U-Boot] [PATCH 3/3 v2] board/t2080rdb: some update for t2080rdb

2014-04-18 Thread Shengzhou Liu
- update readme. - add CONFIG_SYS_CORTINA_FW_IN_* for loading Cortina PHY CS4315 ucode from NOR/NAND/SPI/SD/REMOTE. - update cpld vbank with SW3[5:7]=000 as default vbank0 instead of previous SW3[5:7]=111 as default vbank. - fix CONFIG_SYS_I2C_EEPROM_ADDR_LEN to 2. Signed-off-by: Shengzhou

[U-Boot] [PATCH 2/3 v2] board/t208xrdb: Add support of 2-stage NAND/SPI/SD boot

2014-04-18 Thread Shengzhou Liu
Add support of 2-stage NAND/SPI/SD boot loader using SPL framework. PBL initializes the internal CPC-SRAM and copy SPL(160K) to it, SPL further initializes DDR using SPD and environment and copy u-boot(768K) from SPI/SD/NAND to DDR, finally SPL transfers control to u-boot. Signed-off-by:

Re: [U-Boot] [PATCH] powerpc/t1040qds: Remove Video - HDMI support

2014-04-18 Thread dongsheng.w...@freescale.com
-Original Message- From: Jain Priyanka-B32167 Sent: Friday, April 18, 2014 4:26 PM To: Wang Dongsheng-B40534; Sun York-R58495 Cc: Wood Scott-B07421; u-boot@lists.denx.de; Wang Dongsheng-B40534 Subject: RE: [PATCH] powerpc/t1040qds: Remove Video - HDMI support Hello Dongsheng,

Re: [U-Boot] [PATCH] config: remove platform CONFIG_SYS_HZ definition part 4

2014-04-18 Thread Bo Shen
Hi Masahiro Yamada, On 04/18/2014 04:46 PM, Masahiro Yamada wrote: Some new boards define CONFIG_SYS_HZ again! Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Thanks. Acked-by: Bo Shen voice.s...@atmel.com --- include/configs/T208xRDB.h | 1 -

[U-Boot] [PATCH v2 3/5] blackfin: replace bfin_gen_rand_mac() with eth_random_addr()

2014-04-18 Thread Masahiro Yamada
bfin_gen_rand_mac() uses __DATE__ as the seed for random ethernet address. This makes the build non-deterministic. In the first place, it should not be implemented as a Bfin-specific function. Use eth_random_addr() instead. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Sonic Zhang

[U-Boot] [PATCH v2 0/5] Prohibit __DATE__ and __TIME__ (+ refactor random MAC addr)

2014-04-18 Thread Masahiro Yamada
The main aim of this series is to prohibit using __DATE__ and __TIME__. Using __DATE__, __TIME__ in source files would make the build non-deterministic. We should be able to generate the exactly same binary if the source code is the same. This is necessary, for example, I sometimes want to

[U-Boot] [PATCH v2 5/5] kbuild: build with -Werror=date-time if the compiler supports it

2014-04-18 Thread Masahiro Yamada
Using __DATE__, __TIME__ would make the build non-deterministic. If the code needs to refer to build date/time, use U_BOOT_DATE and U_BOOT_TIME in include/generated/timestamp_autogenerated.h instead. This commit has been imported from Linux Kernel, which should be applied to U-Boot too:

[U-Boot] [PATCH v2 2/5] net: rename and refactor eth_rand_ethaddr() function

2014-04-18 Thread Masahiro Yamada
Some functions in include/net.h are ported from include/linux/etherdevice.h of Linux Kernel. For ex. is_zero_ether_addr() is_multicast_ether_addr() is_broadcast_ether_addr() is_valid_ether_addr(); So, we should use the same function name as that of Linux Kernel, eth_rand_addr(), for

[U-Boot] [PATCH v2 1/5] rand: do not surround function declarations by #ifdef

2014-04-18 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None include/common.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/common.h b/include/common.h index cbd3c9e..49feac2 100644 --- a/include/common.h +++ b/include/common.h @@ -834,12 +834,10 @@ char *

[U-Boot] [PATCH v2 4/5] fs: ubifs: drop __DATE__ and __TIME__

2014-04-18 Thread Masahiro Yamada
__DATE__ and __TIME__ makes the build non-deterministic. Drop the debug message using them. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: None fs/ubifs/super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index

[U-Boot] [PATCH 1/2] mtd: denali: improve nand_read_oob and fix nand_write_oob

2014-04-18 Thread Masahiro Yamada
This patch is a review feedback against Denali NAND controller driver. http://patchwork.ozlabs.org/patch/333077/ This is not applicable to the mainline. --- Hi Chin, This patch fixes some issues. [1] Fix denali_write_oob() handler. As for v7, nand markbad did not work at all. With this

[U-Boot] [PATCH 2/2] mtd: denali: recover the same function prototypes as Linux Kernel

2014-04-18 Thread Masahiro Yamada
This patch is a review feedback against Denali NAND controller driver. http://patchwork.ozlabs.org/patch/333077/ This is not applicable to the mainline. -- This driver code has diverged too much from that of Linux Kernel. The main cause was to drop struct denali_nand_info *denali from the

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

2014-04-18 Thread Masahiro Yamada
Hi Chin, I found another fatal problem in v7. nand markbad command does not work at all. I think write_oob_data() is buggy. And I made nand bad command much faster. And other misc feedbacks. How about squashing http://patchwork.ozlabs.org/patch/340277/

[U-Boot] [PATCH] ARM:tegra20: Remove aes debug prints

2014-04-18 Thread Tom Rini
In 6e7b9f4 some of the debug prints for AES code moved into the generic code, so we remove these additional calls. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/tegra20-common/crypto.c |9 - 1 file changed, 9 deletions(-) diff --git a/arch/arm/cpu/tegra20-common/crypto.c

[U-Boot] FIT image AES support and PPC4xx/85xx boards

2014-04-18 Thread Tom Rini
Hey guys, Adding AES256 support to FIT images means that a handful of boards (ion, MPC8572DS, others) now don't link because of growth in the binary. Can we come up with something to fix these boards again? Thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] cosmetic: README.scrapyard: sort in reverse chronological order

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 12:57:17PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] cosmetic: README.scrapyard: fix false removed date and commit

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 12:58:54PM +0900, Masahiro Yamada wrote: Describe removed date in the form of -MM-DD, not -DD-MM. And wrong commit hash also should be fixed. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Marek Vasut ma...@denx.de Acked-by: Marek Vasut

Re: [U-Boot] board: esd: remove remainders of dead boards

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 12:59:58PM +0900, Masahiro Yamada wrote: Commit 99bcad18 deleted ADCIOP and DASA_SIM board support but missed to delete board/esd/adciop and board/esd/dasa_sim. It also missed to add entries to doc/README.scrapyard. Signed-off-by: Masahiro Yamada

Re: [U-Boot] mtd: delete unused files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:01:09PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Scott Wood scottw...@freescale.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: evb64260: delete an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:05:58PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Wolfgang Denk w...@denx.de Cc: Nye Liu n...@zumanetworks.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] floppy: delete unused files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:02:51PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] board: samsung: delete unused source files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:05:28PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Acked-by: Mateusz Zalega m.zal...@samsung.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] board: ppmc8260: delete an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:09:39PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Brad Kemp brad.k...@seranoa.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: altera: delete unused source files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:06:38PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Scott McNutt smcn...@psyent.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] board: sandpoint: delete an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:10:11PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Wolfgang Denk w...@denx.de Cc: Jim Thompson j...@musenki.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: dave: delete unused source files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:14:12PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Andrea Marson andrea.mar...@dave-tech.it Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: Marvell: delete an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:12:12PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Prafulla Wadaskar prafu...@marvell.com Cc: Lei Wen lei...@marvell.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: prodrive: delete unused source files

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:12:52PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Stefan Roese s...@denx.de Acked-by: Stefan Roese s...@denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] board: hidden_dragon: remove an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:14:46PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Yusdi Santoso yusdi_sant...@adaptec.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] standalone: delete an unused source file

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:11:43PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] kbuild: do not use $(BOARD) to specify exact object name

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:30:18PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] kbuild: use boolean macros to select tegra*-common directory

2014-04-18 Thread Tom Rini
On Mon, Mar 31, 2014 at 01:29:48PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH] am335x_evm: Drop SPI SPL support from the default build

2014-04-18 Thread Tom Rini
On Thu, Apr 17, 2014 at 05:24:32PM -0400, Tom Rini wrote: This is only useful with the _spiboot build target anyhow, so only include it then. Drop CONFIG_SPL_OS_BOOT support then as the flash is small and didn't include a spot for the device tree already. Signed-off-by: Tom Rini

Re: [U-Boot] boards.cfg: move more boards with invalid emails to Orphan

2014-04-18 Thread Tom Rini
On Fri, Apr 04, 2014 at 03:37:14PM +0900, Masahiro Yamada wrote: Emails to the following addresses have been bouncing. - Nye Liu n...@zumanetworks.com - Jim Thompson j...@musenki.com - Brad Kemp brad.k...@seranoa.com Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to

Re: [U-Boot] [PATCH] env_flash.c: Drop unused variables

2014-04-18 Thread Tom Rini
On Thu, Apr 17, 2014 at 04:21:52PM -0400, Tom Rini wrote: With 7ce1526 we no longer need 'len' or 'res', so drop these variables. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] am43xx_evm: Drop SPI SPL

2014-04-18 Thread Tom Rini
On Thu, Apr 17, 2014 at 05:40:41PM -0400, Tom Rini wrote: QSPI booting on this board does not use SPL, so drop SPI-SPL related options. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 0/3] OMAP3: support fake USB Ethernet MAC address for OMAP3 BeagleBoard-XM

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 11:00:03AM -0500, Nishanth Menon wrote: BeagleBoard-XM unfortunately is plagued by lack of proper MAC address in USB resulting in custom uEnv.txt and risk of MAC address conflict in the network. NOTE: a) if user wants to manually set/override the mac address, then

Re: [U-Boot] [PATCH 0/3 v2] ARM: OMAP: replace custom sr32() by standard I/O accessors

2014-04-18 Thread Tom Rini
On Tue, Mar 25, 2014 at 02:49:47PM +0100, Wolfgang Denk wrote: This patch series replaces the custom bit manipulation function sr32() by standard I/O accessors. A major motivation for this cleanup was the fact that a number of calls of that function resulted in 32 bit wide shift operations

Re: [U-Boot] [U-Boot, v3, 01/10] fw_env.c: Switch get_config to use '%ms' in sscanf

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:33PM -0400, Tom Rini wrote: We currently limit ourself to 16 characters for the device name to read the environment from. This is insufficient for /dev/mmcblk0boot1 to work for example. Switch to '%ms' which gives us a dynamically allocated buffer instead.

Re: [U-Boot] [U-Boot, v3, 03/10] env_mmc.c: Remove NULL check on tmp_env1/2

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:35PM -0400, Tom Rini wrote: With 452a272 we moved to allocating these variables on the stack. So they will never now be NULL so remove these checks. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v3, 02/10] env_mmc.c: Allow environment to be used within SPL

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:34PM -0400, Tom Rini wrote: Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch the code to use a 'dev' variable to facilitate this. Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot, v3, 04/10] mtd: Add a CONFIG_SPL_MTD_SUPPORT for a more full NAND subsystem in SPL

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:36PM -0400, Tom Rini wrote: This mainly converts the am335x_spl_bch driver to the normal format which means a slight change to nand_info within the driver. Acked-by: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com Applied to

Re: [U-Boot] [U-Boot, v3, 05/10] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:37PM -0400, Tom Rini wrote: Acked-by: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, v3, 07/10] README: Add CONFIG_SPL_OS_BOOT to README

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:39PM -0400, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v3, 06/10] am335x_evm: Make SPL_OS also check the boot_os variable for falcon mode

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:38PM -0400, Tom Rini wrote: We use the same variable as a3m071 in the environment to determine if we should boot into Linux or U-Boot. This is useful on boards like Beaglebone Black or AM335x GP EVM where we have persistent storage for the environment.

Re: [U-Boot] [U-Boot, v3, 09/10] a3m071: Make spl_start_uboot test like getenv_yesno does

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:41PM -0400, Tom Rini wrote: This change makes the behaviour slightly more rebust and will match other implementations which can use getenv_yesno directly. Acked-by: Stefan Roese s...@denx.de Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master,

Re: [U-Boot] [U-Boot, v3, 08/10] README.falcon: Document environment variables for falcon mode

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:40PM -0400, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 1/3] TI: Add, use a DEFAULT_LINUX_BOOT_ENV environment string

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 03:03:29PM -0400, Tom Rini wrote: To deal with a reoccurring problem properly we need to specify addresses for the Linux kernel, Flatted Device Tree and ramdisk that obey the constraints within the kernel's Documentation/arm/Booting file but also make sure that we

Re: [U-Boot] [U-Boot, v3, 10/10] spl_mmc/CONFIG_SPL_OS_BOOT: Allow environment to determine what to boot

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 12:03:42PM -0400, Tom Rini wrote: We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in default values for falcon mode. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! --

Re: [U-Boot] [U-Boot, v2, 3/3] am43xx_evm: Update the ramdisk args, we pass things in just fine via DT

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 03:03:31PM -0400, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 1/5] TI:omap5: Move CONFIG_ENV_SIZE to board config files

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:52:52AM -0400, Tom Rini wrote: The size of the environment depends on the backing store, move this to the board config files. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 2/3] am335x_evm: Update the ramdisk args, we pass things in just fine via DT

2014-04-18 Thread Tom Rini
On Fri, Mar 28, 2014 at 03:03:30PM -0400, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v4 0/2] Add keystone network driver

2014-04-18 Thread Tom Rini
On Tue, Apr 01, 2014 at 03:01:11PM -0400, Murali Karicheri wrote: This patch set add support for keystone network driver. Change history: v4 - replaced reg_rmw() with clrsetbits_le32() and similar for clr/set functions v3 - Review comments

Re: [U-Boot] [U-Boot,v2,4/5] SPL:SPI: Add Falcon Mode support

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:52:55AM -0400, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 5/5] dra7xx_evm: Add QSPI_4 support, qspiboot build target

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:52:56AM -0400, Tom Rini wrote: We previously only supported QSPI_1 (single) support. Add QSPI_4 (quad) read support as well. This means we can be given one of two boot device values, but don't care which it is, so perform a fixup on the QSPI_4 value. We add a

Re: [U-Boot] [U-Boot, v2, 2/5] TI:armv7: Change Falcon Mode DT load address

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:52:53AM -0400, Tom Rini wrote: In general, we want to load the DT at base+128MB, so that we ahve sufficient room for the kernel and a larger device tree. In the case of OMAP3, use 64MB instead as we have a number of boards with 128MB DDR. Signed-off-by: Tom Rini

Re: [U-Boot] [U-Boot, v2, 3/5] spi: ti_qspi: Add delay for successful bulk erase.

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 07:52:54AM -0400, Tom Rini wrote: From: Poddar, Sourav sourav.pod...@ti.com Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by: Sourav Poddar

Re: [U-Boot] [PATCH V2 0/8] omap3: zoom1: long pending cleanups :(

2014-04-18 Thread Tom Rini
On Tue, Apr 08, 2014 at 09:50:50AM -0500, Nishanth Menon wrote: V1: http://lists.denx.de/pipermail/u-boot/2014-April/176867.html changes since v1: - use ti_omap3_common config header - fix typo in commit message - drop fdt_high test log:

Re: [U-Boot] am335x: Switch to CONFIG_SKIP_LOWLEVEL_INIT from guarding SPL or NOR_BOOT

2014-04-18 Thread Tom Rini
On Wed, Apr 09, 2014 at 08:25:57AM -0400, Tom Rini wrote: In the case of SPL or NOR_BOOT (no SPL involved) we need to include certain code in the build. Use !CONFIG_SKIP_LOWLEVEL_INIT rather than CONFIG_SPL_BUILD || CONFIG_NOR_BOOT to make the code clearer, and to make supporting XIP QSPI

Re: [U-Boot] [U-Boot, 2/2] TI:omap3: Convert omap3_beagle to ti_omap3_common.h

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 03:17:15PM -0400, Tom Rini wrote: Convert to using the common config files. This requires a little more flexibility in the common files than we had been using before. Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/2] TI:armv7: Switch to CONFIG_SYS_BOARD_GENERIC

2014-04-18 Thread Tom Rini
On Thu, Apr 03, 2014 at 03:17:14PM -0400, Tom Rini wrote: Tested on AM335x GP EVM, AM335x EVM SK, Beaglebone White, Beaglebone Black, AM437xx GP EVM, OMAP5 uEVM, OMAP4 Pandaboard Signed-off-by: Tom Rini tr...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [PATCH v6 0/9] Add support for keystone2 SoC and K2HK EVM

2014-04-18 Thread Tom Rini
On Fri, Apr 04, 2014 at 01:16:46PM -0400, Murali Karicheri wrote: This patch set add support for Keystone2 SoC and K2HK EVM. Change history: v6 - Moved arch_timer.c to arch/arm/cpu/armv7 as per comments - Added Acked-By Heiko to patch #6 - Fixed some minor white

Re: [U-Boot] [U-Boot, v2] powerpc: mpc8xx: delete an unused source file

2014-04-18 Thread Tom Rini
On Tue, Apr 01, 2014 at 05:15:13PM +0900, Masahiro Yamada wrote: References to the wireless keyboard should also be removed from README.console. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Wolfgang Denk w...@denx.de Acked-by: Wolfgang Denk w...@denx.de Applied to

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

2014-04-18 Thread Tom Rini
Hey, The following changes since commit 1b82491ee6ee1e986e5521b33692a00e1f38fe75: board:tricorder: fixup SPL OOB layout (2014-04-11 10:08:42 -0400) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

Re: [U-Boot] arm, da850: staticize funtions

2014-04-18 Thread Tom Rini
On Fri, Apr 11, 2014 at 08:02:04AM +0530, Manish Badarkhe wrote: Make funtions static which are locally used in file and remove the declaration from header file. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc

[U-Boot] [PATCH v4 1/5] usb: handle NULL table in usb_gadget_get_string

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org Allow a NULL table to be passed to usb_gadget_get_string for cases when a string table may not be populated. Signed-off-by: Rob Herring r...@kernel.org Reviewed-by: Tom Rini tr...@ti.com Acked-by: Marek Vasut ma...@denx.de Acked-by: Lukasz Majewski

[U-Boot] [PATCH v4 2/5] image: add support for Android's boot image format

2014-04-18 Thread Rob Herring
From: Sebastian Siewior bige...@linutronix.de This patch adds support for the Android boot-image format. The header file is from the Android project and got slightly alterted so the struct + its defines are not generic but have something like a namespace. The header file is from

[U-Boot] [PATCH v4 3/5] usb: musb: fill in usb_gadget_unregister_driver

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org Add missing missing disconnect and unbind calls to the musb gadget driver's usb_gadget_unregister_driver function. Otherwise, any gadget drivers fail to uninitialize and run a 2nd time. Signed-off-by: Rob Herring r...@kernel.org ---

[U-Boot] [PATCH v4 4/5] usb/gadget: add the fastboot gadget

2014-04-18 Thread Rob Herring
From: Sebastian Siewior bige...@linutronix.de This patch contains an implementation of the fastboot protocol on the device side and documentation. This is based on USB download gadget infrastructure. The fastboot function implements the getvar, reboot, download and reboot commands. What is

[U-Boot] [PATCH v4 0/5] Android Fastboot support

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org This is the 2nd version since I revived the fastboot patches Sebastian submitted. I'm reviving the Android Fastboot support after 2+ years since the last posting[1]. The previous postings had some questions about licensing and source of some code. I believe

[U-Boot] [PATCH v4 5/5] arm: beagle: enable Android fastboot support

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org Enable Android Fastboot support on omap3_beagle board. Signed-off-by: Rob Herring r...@kernel.org --- include/configs/omap3_beagle.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h

Re: [U-Boot] [PATCH] am33xx: add SSC enable macro

2014-04-18 Thread Yegor Yefremov
On Thu, Apr 17, 2014 at 8:31 PM, Tom Rini tr...@ti.com wrote: On Thu, Apr 10, 2014 at 11:35:25AM +0200, yegorsli...@googlemail.com wrote: From: Yegor Yefremov yegorsli...@googlemail.com Signed-off-by: Yegor Yefremov yegorsli...@googlemail.com --- arch/arm/include/asm/arch-am33xx/clock.h |

Re: [U-Boot] [PATCH 2/2 v2] usb: r8a66597: Fix initilization size of r8a66597 info structure

2014-04-18 Thread Marek Vasut
On Friday, April 18, 2014 at 04:33:15 AM, Yasuhisa Umano wrote: Initialization of r8a66597 info structure is not enough. Because initilization was used size of pointer. This fixes that use size of r8a6659 info structure. Signed-off-by: Yasuhisa Umano yasuhisa.umano...@renesas.com It's in

Re: [U-Boot] [PATCH 2/2] usb: r8a66597: Fix initilization size of r8a66597 info, structure

2014-04-18 Thread Marek Vasut
On Friday, April 18, 2014 at 04:26:29 AM, Yasuhisa Umano wrote: Hi, Thanks for your comment. (2014/04/17 23:09), Marek Vasut wrote: On Thursday, April 17, 2014 at 10:20:29 AM, yasuhisa umano wrote: Initialization of r8a66597 info structure is not enough. Because initilization was used

Re: [U-Boot] [PATCH 1/2] usb: r8a66597: Fix initialization hub that using, R8A66597_MAX_ROOT_HUB

2014-04-18 Thread Marek Vasut
On Friday, April 18, 2014 at 04:25:41 AM, Yasuhisa Umano wrote: Hi, Thanks for your comment. (2014/04/17 23:07), Marek Vasut wrote: On Thursday, April 17, 2014 at 09:48:32 AM, yasuhisa umano wrote: This driver is processed as two USB hub despite one. The number of root hub is defined in

Re: [U-Boot] [PATCH] am33xx: add SSC enable macro

2014-04-18 Thread Tom Rini
On Fri, Apr 18, 2014 at 04:29:41PM +0200, Yegor Yefremov wrote: On Thu, Apr 17, 2014 at 8:31 PM, Tom Rini tr...@ti.com wrote: On Thu, Apr 10, 2014 at 11:35:25AM +0200, yegorsli...@googlemail.com wrote: From: Yegor Yefremov yegorsli...@googlemail.com Signed-off-by: Yegor Yefremov

  1   2   >