Re: [U-Boot] Uboot_Header_Modification_by_CVS

2014-01-20 Thread Albert ARIBAUD
Hi Arun, On Mon, 20 Jan 2014 07:11:19 +, Arun K. Varghese avarg...@ikanos.com wrote: Hi, Issue. --- 1) Downloaded u-boot-2010.09 source code. (u-boot-2010.09.tar.bz2http://ftp.denx.de/pub/u-boot/u-boot-2010.09.tar.bz2) 2) Some files, have version header information along with

Re: [U-Boot] [PATCH] net/designware - switch driver to phylib usage

2014-01-20 Thread Alexey Brodkin
On Mon, 2014-01-13 at 15:11 +0400, Alexey Brodkin wrote: With this change driver will benefit from existing phylib and thus custom phy functionality implemented in the driver will go away: * Instantiation of the driver is now much shorter - 2 parameters instead of 4. * Simplified phy

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-20 Thread Michal Simek
On 01/17/2014 07:43 AM, Heiko Schocher wrote: Hello Michal, Am 13.01.2014 09:23, schrieb Michal Simek: On 01/13/2014 09:10 AM, Heiko Schocher wrote: Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM, Heiko Schocher wrote: Hello Michel, Am 03.01.2014

Re: [U-Boot] [i2c] Pull request

2014-01-20 Thread Michal Simek
Hi Tom, look below. On 01/18/2014 08:28 AM, Heiko Schocher wrote: Hello Tom, please pull some small fixes from u-boot-i2c.git Thanks! The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-01-10

[U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-01-20 Thread Aneesh Bansal
In case of secure boot, boot from NAND is ramboot. It was removed by some other commit. So defining it again. Signed-off-by: Aneesh Bansal aneesh.ban...@freescale.com --- include/configs/P1010RDB.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/P1010RDB.h

[U-Boot] [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399

2014-01-20 Thread Aneesh Bansal
The workaround for IFC errata A003399 was not enabled in case of secure boot. So, secure boot from NOR was not working. Signed-off-by: Aneesh Bansal aneesh.ban...@freescale.com --- include/configs/P1010RDB.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 3/3] powerpc/mpc85xx: SECURE BOOT- Disable law 0 for non PBL platforms

2014-01-20 Thread Aneesh Bansal
ISBC creates a LAW 0 entry for non PBL platforms, which is not disabled before transferring the control to uboot. The LAW 0 entry has to be disabled. Signed-off-by: Aneesh Bansal aneesh.ban...@freescale.com --- arch/powerpc/cpu/mpc85xx/start.S | 58 1

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Alexander Khryukin
Good day! I'm here again with short report. As you said i changed my bootcmd to *bootcmd=movi read kernel 0 4080;bootm 408* with default bootargs options bootargs=console=ttySAC1,115200n8 vmalloc=512M androidboot.console=ttySAC And i see same result [YSE5250@omv]# boot reading

Re: [U-Boot] [i2c] Pull request

2014-01-20 Thread Alexey Brodkin
On Mon, 2014-01-20 at 10:24 +0100, Michal Simek wrote: Hi Tom, look below. On 01/18/2014 08:28 AM, Heiko Schocher wrote: Hello Tom, please pull some small fixes from u-boot-i2c.git Thanks! The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca:

Re: [U-Boot] [i2c] Pull request

2014-01-20 Thread Michal Simek
On 01/20/2014 10:34 AM, Alexey Brodkin wrote: On Mon, 2014-01-20 at 10:24 +0100, Michal Simek wrote: Hi Tom, look below. On 01/18/2014 08:28 AM, Heiko Schocher wrote: Hello Tom, please pull some small fixes from u-boot-i2c.git Thanks! The following changes since commit

Re: [U-Boot] [U-Boot, v1, 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-20 Thread Heiko Schocher
Hello Michal, Am 20.01.2014 10:22, schrieb Michal Simek: On 01/17/2014 07:43 AM, Heiko Schocher wrote: Hello Michal, Am 13.01.2014 09:23, schrieb Michal Simek: On 01/13/2014 09:10 AM, Heiko Schocher wrote: Hello Michael, Am 13.01.2014 08:53, schrieb Michal Simek: On 01/13/2014 08:32 AM,

[U-Boot] [PATCH v2] board_r - fixup functions table after relocation

2014-01-20 Thread Alexey Brodkin
This is only required for PIC relocation and doesn't apply to modern PIE relocation which does data relocation as well as code. init_sequence_r is just an array that consists of compile-time adresses of init functions. Since this is basically an array of integers (pointers to void to be more

Re: [U-Boot] [PATCH 1/2] SECURE BOOT: add version info for ISBC

2014-01-20 Thread Wolfgang Denk
Dear Aneesh Bansal, In message 1390202676-8167-1-git-send-email-aneesh.ban...@freescale.com you wrote: T4/B4 SoC's have a different version of ISBC. The secure boot functionality is different with the new version of ISBC compared to the earlier SoC's. So the version information is added in

[U-Boot] [i2c] v2 Pull request

2014-01-20 Thread Heiko Schocher
Hello Tom Updated pull request for u-boot-i2c, as the zynq patches had problems, see: http://lists.denx.de/pipermail/u-boot/2014-January/171352.html So, here the correct pull-request: The following changes since commit 7f673c99c2d8d1aa21996c5b914f06d784b080ca: Merge branch 'master' of

Re: [U-Boot] [PATCH 1/2][v2] powerpc/mpc85xx: SECURE BOOT- add version info for ISBC

2014-01-20 Thread Wolfgang Denk
Dear Aneesh Bansal, In message 1390203451-8561-1-git-send-email-aneesh.ban...@freescale.com you wrote: T4/B4 SoC's have a different version of ISBC. The secure boot functionality is different with the new version of ISBC compared to the earlier SoC's. So the version information is added in

Re: [U-Boot] Uboot_Header_Modification_by_CVS

2014-01-20 Thread Wolfgang Denk
Dear Arun, In message 82cf479d9040c547849e3005e77f780024b...@svfrwexch1.ikanos.com you wrote: 1) Downloaded u-boot-2010.09 source code. (u-boot-2010.09.tar.bz2http://ftp.denx.de/pub/u-boot/u-boot-2010.09.tar.bz2) 2) Some files, have version header information along with the source code.

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Wolfgang Denk
Dear Alexander Khryukin, In message cabtoafz3e-ee3v73th6u4bjsqixu6sy3h1tdng2fx-phdf0...@mail.gmail.com you wrote: As you said i changed my bootcmd to *bootcmd=movi read kernel 0 4080;bootm 408* I really wonder which sort of U-Boot you are running. movi is not a command present in

Re: [U-Boot] [PATCH v2] board_r - fixup functions table after relocation

2014-01-20 Thread Masahiro Yamada
Hello Alexey, diff --git a/common/board_r.c b/common/board_r.c index 86ca1cb..3462590 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -903,9 +903,16 @@ init_fnc_t init_sequence_r[] = { void board_init_r(gd_t *new_gd, ulong dest_addr) { + int i; This emits a warning if

Re: [U-Boot] [PATCH] ARM: tegra20: Add a missing entry in the pullid enum

2014-01-20 Thread Alban Bedel
On Wed, 15 Jan 2014 11:36:03 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 01/15/2014 07:55 AM, Alban Bedel wrote: It seems two entries were merged in one when this file has been created. The GPSLXAU entries is obviously a mix of GPU and SLXA which are next to each other according

[U-Boot] [PATCH v3] board_r - fixup functions table after relocation

2014-01-20 Thread Alexey Brodkin
This is only required for PIC relocation and doesn't apply to modern PIE relocation which does data relocation as well as code. init_sequence_r is just an array that consists of compile-time adresses of init functions. Since this is basically an array of integers (pointers to void to be more

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Alexander Khryukin
link to my u-boot https://github.com/fedya/u-boot-yse5250 Please change the boot command and include the commands Changed to this bootcmd=md 4080 10;imi 4080;bootm 4080 [YSE5250@omv]# boot 4080: 56190527 ba6b0d61 9850d952 08484800'..Va.k.R.P..HH. 40800010: 00800040 00800040

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread TigerLiu
Hi, Scott: After changing to u-boot.elf, it could be run in FVP model. If I run ./Foundation_v8 --image ./u-boot.elf --cores=4 --no-secure-memory, Uboot could be run with FVP model. But no ARM trusted firmware boot info appeared. Such as: Booting trusted firmware boot loader stage 1 .. If I

Re: [U-Boot] [PATCH 3/3] sf: Use shortcut names

2014-01-20 Thread Detlev Zundel
Hi Jagan and Marek, On Friday, January 17, 2014 at 03:41:47 PM, Jagannadha Sutradharudu Teki wrote: - SPI_FLASH - SF - ARRAY_SLOW - AS - ARRAY_FAST - AF - DUAL_OUTPUT_FAST - DOF - DUAL_IO_FAST - DIOF - QUAD_OUTPUT_FAST - QOF - QUAD_IO_FAST - QIOF Now this really makes the code

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Detlev Zundel
Hi Jagan, On Sun, Jan 19, 2014 at 2:06 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:31 PM, Jagannadha Sutradharudu Teki wrote: - Used readable names for read/write command macros - Added comments for the same Signed-off-by: Jagannadha Sutradharudu Teki

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Detlev Zundel
Hi Alexander, link to my u-boot https://github.com/fedya/u-boot-yse5250 Please change the boot command and include the commands Changed to this bootcmd=md 4080 10;imi 4080;bootm 4080 [YSE5250@omv]# boot 4080: 56190527 ba6b0d61 9850d952 08484800'..Va.k.R.P..HH.

Re: [U-Boot] [PATCH 3/3] sf: Use shortcut names

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 4:35 PM, Detlev Zundel d...@denx.de wrote: Hi Jagan and Marek, On Friday, January 17, 2014 at 03:41:47 PM, Jagannadha Sutradharudu Teki wrote: - SPI_FLASH - SF - ARRAY_SLOW - AS - ARRAY_FAST - AF - DUAL_OUTPUT_FAST - DOF - DUAL_IO_FAST - DIOF - QUAD_OUTPUT_FAST -

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 4:43 PM, Detlev Zundel d...@denx.de wrote: Hi Jagan, On Sun, Jan 19, 2014 at 2:06 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:31 PM, Jagannadha Sutradharudu Teki wrote: - Used readable names for read/write command macros - Added

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread bhupesh.sha...@freescale.com
-Original Message- From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] Sent: Monday, January 20, 2014 4:24 PM To: Wood Scott-B07421; Sharma Bhupesh-B45370 Cc: feng...@phytium.com.cn; tr...@ti.com; u-boot@lists.denx.de Subject: Re: Re: [U-Boot] how to get u-boot code with

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Alexander Khryukin
methinks that the problem in kernel. I can boot original android kernel from any place: emmc, SD, fat partition, USB-device, etc. 2014/1/20 Detlev Zundel d...@denx.de Hi Alexander, link to my u-boot https://github.com/fedya/u-boot-yse5250 Please change the boot command and include the

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Andreas Bießmann
Dear Alexander Khryukin, On 01/20/2014 01:08 PM, Alexander Khryukin wrote: methinks that the problem in kernel. I can boot original android kernel from any place: emmc, SD, fat partition, USB-device, etc. well, maybe has your special u-boot special handling for your special android kernel?

[U-Boot] How to perform a secure boot on ARM Linux

2014-01-20 Thread rakesh ranjan
Hi, I have a beagle board and want to create a u-boot that verifies the kernel and rootfs before booting it. Any pointers on how it can be achieved will be appreciated. Rakesh ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Marek Vasut
On Monday, January 20, 2014 at 12:46:07 PM, Jagan Teki wrote: On Mon, Jan 20, 2014 at 4:43 PM, Detlev Zundel d...@denx.de wrote: Hi Jagan, On Sun, Jan 19, 2014 at 2:06 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:31 PM, Jagannadha Sutradharudu Teki

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 6:36 PM, Marek Vasut ma...@denx.de wrote: On Monday, January 20, 2014 at 12:46:07 PM, Jagan Teki wrote: On Mon, Jan 20, 2014 at 4:43 PM, Detlev Zundel d...@denx.de wrote: Hi Jagan, On Sun, Jan 19, 2014 at 2:06 AM, Marek Vasut ma...@denx.de wrote: On Saturday,

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 6:40 PM, Jagan Teki jagannadh.t...@gmail.com wrote: On Mon, Jan 20, 2014 at 6:36 PM, Marek Vasut ma...@denx.de wrote: On Monday, January 20, 2014 at 12:46:07 PM, Jagan Teki wrote: On Mon, Jan 20, 2014 at 4:43 PM, Detlev Zundel d...@denx.de wrote: Hi Jagan, On Sun,

Re: [U-Boot] [PATCH 3/6] sf: Renames on dual_flash stuff

2014-01-20 Thread Marek Vasut
On Saturday, January 18, 2014 at 09:49:11 PM, Jagan Teki wrote: On Sun, Jan 19, 2014 at 2:07 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:30 PM, Jagannadha Sutradharudu Teki wrote: - Used small names for dual_flash macros - Updated

Re: [U-Boot] [PATCH 2/6] sf: Optimize flash features code

2014-01-20 Thread Marek Vasut
On Saturday, January 18, 2014 at 09:51:56 PM, Jagan Teki wrote: On Sun, Jan 19, 2014 at 2:09 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:29 PM, Jagannadha Sutradharudu Teki wrote: - Shrink spi_slave {} - Shrink spi_flash_params {} - Documentation for

Re: [U-Boot] [PATCH 2/6] sf: Optimize flash features code

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 6:49 PM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:51:56 PM, Jagan Teki wrote: On Sun, Jan 19, 2014 at 2:09 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:29 PM, Jagannadha Sutradharudu Teki wrote: - Shrink

Re: [U-Boot] [PATCH 3/6] sf: Renames on dual_flash stuff

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 6:46 PM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:49:11 PM, Jagan Teki wrote: On Sun, Jan 19, 2014 at 2:07 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:06:30 PM, Jagannadha Sutradharudu Teki wrote: - Used

[U-Boot] [PATCH] am43xx_evm.h: Correct SPL max size

2014-01-20 Thread Tom Rini
Upon further inspection of relevant parts of the architecture, the maximum SPL binary size is 220KiB. Cc: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am43xx_evm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] board:universal: fix i2c adapter

2014-01-20 Thread Przemyslaw Marczak
Hello Tom, On 01/14/2014 09:19 AM, Przemyslaw Marczak wrote: Hi, On 01/14/2014 08:15 AM, Piotr Wilczek wrote: Universal uses only one adapter I2C_0. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[U-Boot] [PATCH v2 5/5] sf: Update bank configuration

2014-01-20 Thread Jagannadha Sutradharudu Teki
Updated bank configuration code to more readable. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/sf_probe.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c

[U-Boot] [PATCH v2 4/5] doc: SPI: Update the dual_flash info

2014-01-20 Thread Jagannadha Sutradharudu Teki
Updated the dual_flash documentation as it uses mode_bits from spi drivers to inform the sf framework. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- doc/SPI/README.dual-flash | 5 +++-- doc/SPI/README.sf-features | 3 +++ 2 files changed, 6

[U-Boot] [PATCH v2 0/5] sf: Optimize spi_flash features code

2014-01-20 Thread Jagannadha Sutradharudu Teki
Shrinked spi_slave and spi_flash code with respect to added flash features. Jagannadha Sutradharudu Teki (5): sf: ops: Squash the malloc+memset combo sf: Optimize flash features code sf: Use mode_bits for dual_flash connection doc: SPI: Update the dual_flash info sf: Update bank

[U-Boot] [PATCH v2 3/5] sf: Use mode_bits for dual_flash connection

2014-01-20 Thread Jagannadha Sutradharudu Teki
SF uses mode_bits from driver side for informing whether flash can operated in single or dual connections. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_probe.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 2/5] sf: Optimize flash features code

2014-01-20 Thread Jagannadha Sutradharudu Teki
From: Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com - Shrink spi_slave {} - Shrink spi_flash_params {} - Documentation for sf features Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- doc/SPI/README.sf-features| 122

[U-Boot] [PATCH v2 1/5] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Jagannadha Sutradharudu Teki
Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_ops.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_ops.c

Re: [U-Boot] [PATCH 4/6] sf: Update read/write command macros

2014-01-20 Thread Detlev Zundel
Hi Jagan, [...] I don't think nothing much gone the readability with these updated: CMD_READ_ARRAY_FAST has updated CMD_RD_FAST and it seems like easy to understand. and anyway I have added comments for full name as well. Comments in a far away place cannot compensate for self-explaining

Re: [U-Boot] [PATCH v2 1/5] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Fabio Estevam
On Mon, Jan 20, 2014 at 12:29 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_ops.c |

Re: [U-Boot] [PATCH v2 1/5] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 8:05 PM, Fabio Estevam feste...@gmail.com wrote: On Mon, Jan 20, 2014 at 12:29 PM, Jagannadha Sutradharudu Teki jagannadha.sutradharudu-t...@xilinx.com wrote: Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki

Re: [U-Boot] [PATCH v2 1/5] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Fabio Estevam
On Mon, Jan 20, 2014 at 12:40 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Shouldn't you return -ENOMEM instead? Yes - we can but anyway ret is -1 by default. and sf code doesn't use -ve macros' as of now. -1 is not an propriate return error value in this case. Regards, Fabio Estevam

Re: [U-Boot] [PATCH v2 1/5] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 8:17 PM, Fabio Estevam feste...@gmail.com wrote: On Mon, Jan 20, 2014 at 12:40 PM, Jagan Teki jagannadh.t...@gmail.com wrote: Shouldn't you return -ENOMEM instead? Yes - we can but anyway ret is -1 by default. and sf code doesn't use -ve macros' as of now. -1 is not

Re: [U-Boot] How to perform a secure boot on ARM Linux

2014-01-20 Thread Detlev Zundel
Hi Rakesh, I have a beagle board and want to create a u-boot that verifies the kernel and rootfs before booting it. Any pointers on how it can be achieved will be appreciated. You can start here by reading the provided documentation:

[U-Boot] [PATCH] doc: README: Correct file name of signature verification documentation

2014-01-20 Thread Detlev Zundel
Signed-off-by: Detlev Zundel d...@denx.de --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index aea82be..edf5fe4 100644 --- a/README +++ b/README @@ -2832,7 +2832,7 @@ CBFS (Coreboot Filesystem) support CONFIG_RSA

[U-Boot] [PATCH v3] sf: ops: Squash the malloc+memset combo

2014-01-20 Thread Jagannadha Sutradharudu Teki
Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: - Use errno.h Changes for v2: - used debug() drivers/mtd/spi/sf_ops.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v3] sf: Update bank configuration

2014-01-20 Thread Jagannadha Sutradharudu Teki
Updated bank configuration code to more readable. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- Changes for v3: - remove bank_curr = 0 for non bank case Changes for v2: - none drivers/mtd/spi/sf_probe.c | 21 +++-- 1 file changed, 11

[U-Boot] [PATCH] Revert fdt_support: 64bit initrd start address support

2014-01-20 Thread Otavio Salvador
This reverts commit f77a606a0602be5d1fe23e8dcdfa5defde51dfd7 as it breaks 32bit initrd use as it uses #address-cells as '2'. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- common/fdt_support.c | 66 +--- 1 file changed, 32

[U-Boot] Pull request: u-boot-spi/master

2014-01-20 Thread Jagannadha Sutradharudu Teki
Hi Tom, SF code optimized stuff and few fixes. -- Thanks, Jagan. The following changes since commit 5c9038b6af1a93410af966999638eabb81efcd0f: omap3_beagle: use omap3-beagle.dtb for the C4 revision (2014-01-17 11:03:04 -0500) are available in the git repository at:

Re: [U-Boot] How to perform a secure boot on ARM Linux

2014-01-20 Thread Jagan Teki
On Mon, Jan 20, 2014 at 8:46 PM, Detlev Zundel d...@denx.de wrote: Hi Rakesh, I have a beagle board and want to create a u-boot that verifies the kernel and rootfs before booting it. Any pointers on how it can be achieved will be appreciated. You can start here by reading the provided

Re: [U-Boot] How to perform a secure boot on ARM Linux

2014-01-20 Thread Marek Vasut
On Monday, January 20, 2014 at 01:40:52 PM, rakesh ranjan wrote: Hi, I have a beagle board and want to create a u-boot that verifies the kernel and rootfs before booting it. Any pointers on how it can be achieved will be appreciated. Rakesh See doc/uImage.FIT/verified-boot.txt and

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-20 Thread Wolfgang Denk
Dear Alexander, In message CABtOAfzG3B-eis0nDOiYtdq2rig_wP6SF2_jz=nlww7gp+p...@mail.gmail.com you wrote: link to my u-boot https://github.com/fedya/u-boot-yse5250 Sorry, but I do not really care about out of tree code. Changed to this bootcmd=md 4080 10;imi 4080;bootm 4080 OK,

Re: [U-Boot] Pull request: u-boot-spi/master

2014-01-20 Thread Marek Vasut
On Monday, January 20, 2014 at 06:53:58 PM, Jagannadha Sutradharudu Teki wrote: Hi Tom, SF code optimized stuff and few fixes. -- Thanks, Jagan. The following changes since commit 5c9038b6af1a93410af966999638eabb81efcd0f: omap3_beagle: use omap3-beagle.dtb for the C4 revision

Re: [U-Boot] Pull request: u-boot-spi/master

2014-01-20 Thread Jagan Teki
Hi Marek, Waited your response since last couple of hours.! On Tue, Jan 21, 2014 at 1:07 AM, Marek Vasut ma...@denx.de wrote: On Monday, January 20, 2014 at 06:53:58 PM, Jagannadha Sutradharudu Teki wrote: Hi Tom, SF code optimized stuff and few fixes. -- Thanks, Jagan. The following

Re: [U-Boot] [PATCH REPOST4 1/2] ARM: rpi_b: power on SDHCI and USB HW modules

2014-01-20 Thread Stephen Warren
On 01/13/2014 07:50 PM, Stephen Warren wrote: Send RPC commands to the VideoCore to turn on the SDHCI and USB modules. For SDHCI this isn't needed in practice, since the firmware already turned on the power in order to load U-Boot. However, it's best to be explicit. For USB, this is necessary,

[U-Boot] Help

2014-01-20 Thread Moon Moon
Hello Sir,                     I have a development board smdk6400.When i switch on my power my lcd shows only white colour.and nothing boot please help me.                                                                                                                                            

Re: [U-Boot] Help

2014-01-20 Thread Jeroen Hofstee
Hello Raheel, On 01/20/2014 09:37 PM, Moon Moon wrote: Hello Sir, I have a development board smdk6400.When i switch on my power my lcd shows only white colour.and nothing boot please help me.

Re: [U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-01-20 Thread Scott Wood
On Mon, 2014-01-20 at 14:55 +0530, Aneesh Bansal wrote: In case of secure boot, boot from NAND is ramboot. It was removed by some other commit. So defining it again. In case of not-secure-boot, it's not ramboot. What user of CONFIG_SYS_RAMBOOT are you concerned about? Many of them look like

Re: [U-Boot] [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399

2014-01-20 Thread Scott Wood
On Mon, 2014-01-20 at 14:57 +0530, Aneesh Bansal wrote: The workaround for IFC errata A003399 was not enabled in case of secure boot. So, secure boot from NOR was not working. Signed-off-by: Aneesh Bansal aneesh.ban...@freescale.com --- include/configs/P1010RDB.h | 3 +-- 1 file changed,

Re: [U-Boot] [PATCH 3/3] powerpc/mpc85xx: SECURE BOOT- Disable law 0 for non PBL platforms

2014-01-20 Thread Scott Wood
On Mon, 2014-01-20 at 14:57 +0530, Aneesh Bansal wrote: ISBC creates a LAW 0 entry for non PBL platforms, which is not disabled before transferring the control to uboot. The LAW 0 entry has to be disabled. Signed-off-by: Aneesh Bansal aneesh.ban...@freescale.com ---

Re: [U-Boot] [PATCH 2/2][v2] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-01-20 Thread Scott Wood
On Mon, 2014-01-20 at 13:08 +0530, Aneesh Bansal wrote: diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h index 4c7f0b1..db124df 100644 --- a/arch/powerpc/include/asm/fsl_secure_boot.h +++ b/arch/powerpc/include/asm/fsl_secure_boot.h @@

[U-Boot] [PATCH 2/5] ubifs: fix checkpatch warning

2014-01-20 Thread Murali Karicheri
Fix the following checkpatch warning:- WARNING: externs should be avoided in .c files Signed-off-by: Murali Karicheri m-kariche...@ti.com --- common/cmd_ubifs.c |9 - fs/ubifs/ubifs.h |7 +++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/common/cmd_ubifs.c

[U-Boot] [PATCH 4/5] arm: add support for arch timer

2014-01-20 Thread Murali Karicheri
This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri m-kariche...@ti.com --- arch/arm/lib/Makefile |1 + arch/arm/lib/arch_timer.c | 69

[U-Boot] [PATCH 5/5] NAND: DaVinci: allow forced disable of subpage writes

2014-01-20 Thread Murali Karicheri
This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri m-kariche...@ti.com --- drivers/mtd/nand/davinci_nand.c |3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 0/5] preparation to intriduce keystone support

2014-01-20 Thread Murali Karicheri
The Texas Instruments Keystone SOC u-boot support requires some common code modifications to be done before introducing the support itself. This series of patches makes these modifications. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri m-kariche...@ti.com Murali

[U-Boot] [PATCH 1/5] tools: mkimage: add support for gpimage format

2014-01-20 Thread Murali Karicheri
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri

[U-Boot] [PATCH 3/5] ubifs: return filesize from ubifs load operations

2014-01-20 Thread Murali Karicheri
This patch extends the ubifs load implementation to return the size of the file loaded from the filesystem. The ubifs command implementation has also been modified to set the filesize environment variable accordingly. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri

Re: [U-Boot] [PATCH 1/5] tools: mkimage: add support for gpimage format

2014-01-20 Thread Wolfgang Denk
Dear Murali Karicheri, In message 1390255810-19486-2-git-send-email-m-kariche...@ti.com you wrote: This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr

[U-Boot] [PATCH] fdt_support.c: Correct linux, initrd-start/end setting

2014-01-20 Thread Tom Rini
The change to add 64bit initrd support broke 32bit initrd support as it always set 64bits worth of data into the properties, even on 32bit systems. The fix is to use addr_cell_len (which already says how much data is in 'tmp') to set the property, rather than always setting 8. Thanks to Stephen

Re: [U-Boot] [PATCH 4/5] arm: add support for arch timer

2014-01-20 Thread Wolfgang Denk
Dear Murali Karicheri, In message 1390255810-19486-5-git-send-email-m-kariche...@ti.com you wrote: This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Are we adding dead code here? Or where exactly is this code being used? --- /dev/null +++

Re: [U-Boot] [PATCH 5/5] NAND: DaVinci: allow forced disable of subpage writes

2014-01-20 Thread Wolfgang Denk
Dear Murali Karicheri, In message 1390255810-19486-6-git-send-email-m-kariche...@ti.com you wrote: This patch introduces a configurable mechanism to disable subpage writes in the DaVinci NAND driver. Signed-off-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Murali Karicheri

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-01-20 Thread Scott Wood
On Sat, 2014-01-18 at 09:24 +0100, Wolfgang Denk wrote: Dear Prabhakar Kushwaha, In message 1390028310-30861-1-git-send-email-prabha...@freescale.com you wrote: IFC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of

Re: [U-Boot] [PATCH 1/5] tools: mkimage: add support for gpimage format

2014-01-20 Thread Tom Rini
On Mon, Jan 20, 2014 at 11:46:49PM +0100, Wolfgang Denk wrote: Dear Murali Karicheri, In message 1390255810-19486-2-git-send-email-m-kariche...@ti.com you wrote: This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on

Re: [U-Boot] [U-Boot, REPOST4, 2/2] ARM: bcm2835: fix mailbox timeout

2014-01-20 Thread Tom Rini
On Mon, Jan 13, 2014 at 07:50:12PM -0700, Stephen Warren wrote: My original intention was to have a 100ms timeout. However, the timer operations used return values in ms not us, so we ended up with a 100s timeout instead. Fixing this exposes that some operations need longer to operate than

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-01-20 Thread Tom Rini
On Fri, Jan 17, 2014 at 10:26:24AM +0100, Stefano Babic wrote: Hi Albert, Commit 022298278 (mx6: soc: Disable VDDPU regulator) does not let boot kernel with enabled GPU (i.MX6). It is unclear at the moment if the fix should be done in U-Boot or in kernel, so it is better to revert it for

Re: [U-Boot] [U-Boot, REPOST4, 1/2] ARM: rpi_b: power on SDHCI and USB HW modules

2014-01-20 Thread Tom Rini
On Mon, Jan 13, 2014 at 07:50:11PM -0700, Stephen Warren wrote: Send RPC commands to the VideoCore to turn on the SDHCI and USB modules. For SDHCI this isn't needed in practice, since the firmware already turned on the power in order to load U-Boot. However, it's best to be explicit. For USB,

Re: [U-Boot] [i2c] v2 Pull request

2014-01-20 Thread Tom Rini
On Mon, Jan 20, 2014 at 10:45:58AM +0100, Heiko Schocher wrote: Hello Tom Updated pull request for u-boot-i2c, as the zynq patches had problems, see: http://lists.denx.de/pipermail/u-boot/2014-January/171352.html So, here the correct pull-request: The following changes since commit

Re: [U-Boot] fs/ext4: fix calling put_ext4 with truncated offset

2014-01-20 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:15:33AM +0800, Ma Haijun wrote: Curently, we are using 32 bit multiplication to calculate the offset, so the result will always be 32 bit. This can silently cause file system corruption when performing a write operation on partition larger than 4 GiB. This patch

Re: [U-Boot] fs/ext4: fix partition size get truncated in calculation

2014-01-20 Thread Tom Rini
On Wed, Jan 08, 2014 at 06:49:43AM +0800, Ma Haijun wrote: It may cause file system corruption when do a write operation. This issue only affects boards that use 32 bit lbaint_t. Signed-off-by: Ma Haijun mahaij...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,2/2] ext4fs: fix invalid extent block error

2014-01-20 Thread Tom Rini
On Mon, Jan 13, 2014 at 12:00:08PM +0100, Ionut Nicu wrote: For files where we actually have extent indexes following an extent header (ext_block-eh_depth != 0), the do/while loop from ext4fs_get_extent_block() does not select the proper extent index structure. For example, if we have:

Re: [U-Boot] [U-Boot, 1/2] ext4fs: use EXT2_BLOCK_SIZE instead of fs-blksz

2014-01-20 Thread Tom Rini
On Mon, Jan 13, 2014 at 11:59:24AM +0100, Ionut Nicu wrote: Using fs-blksz in ext4fs_get_extent_block() is not correct since fs-blksz is not initialized on the read path. Use EXT2_BLOCK_SIZE() instead which will produce the desired output. Signed-off-by: Ionut Nicu ioan.nicu@nsn.com

Re: [U-Boot] .gitignore: ignore u-boot.elf and tools/relocate-rela

2014-01-20 Thread Tom Rini
On Tue, Jan 14, 2014 at 10:39:34AM +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] [U-Boot, v2, 1/4] spl: common: Properly ignore spl/Makefile in .gitignore

2014-01-20 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:28AM -0600, Dan Murphy wrote: The spl directory is ignored by git as these objects are created during spl creation. The only file not created is the Makefile. This file can be modified and checked in via git. Due to the order of rule precedence having the

Re: [U-Boot] yaffs2: Remove block number check from summary verification

2014-01-20 Thread Tom Rini
On Mon, Jan 20, 2014 at 03:51:59PM +1300, Charles Manning wrote: The summary already has other verification. This one is not needed. The check caused summaries to be ignored if they were not on the numbered block. This caused problems when a summary was embedded in an image and the image is

Re: [U-Boot] board:universal: fix i2c adapter

2014-01-20 Thread Tom Rini
On Tue, Jan 14, 2014 at 08:15:07AM +0100, Piotr Wilczek wrote: Universal uses only one adapter I2C_0. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Applied to u-boot/master,

Re: [U-Boot] [PATCH 2/6] sf: Optimize flash features code

2014-01-20 Thread Marek Vasut
On Monday, January 20, 2014 at 02:32:27 PM, Jagan Teki wrote: On Mon, Jan 20, 2014 at 6:49 PM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at 09:51:56 PM, Jagan Teki wrote: On Sun, Jan 19, 2014 at 2:09 AM, Marek Vasut ma...@denx.de wrote: On Saturday, January 18, 2014 at

[U-Boot] [ANN] U-Boot v2014.01 released

2014-01-20 Thread Tom Rini
Hey all, I've pushed v2014.01 out to the repository and tarballs should exist soon. As always, lots of nice little fixes here and there and everywhere. One big change of note this release is initial arm64 (aka aarch64) support. It's a little rough around the edges with respect to passing data

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-20 Thread TigerLiu
Hi, Bhupesh: U-boot doesn't have ARM trusted firmware support as of now. U-boot for ARMv8 starts in EL3, whereas UEFI starts in EL2 as trusted firmware itself is working in EL3. Do you mean: when FVP run, the first instruction would be fetched from u-boot.elf? Best wishes,

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-20 Thread Scott Wood
On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: For KVM we have a special PV machine type called ppce500. This machine is inspired by the MPC8544DS board, but implements a lot less features than that one. It also provides more PCI slots and is supposed to be enumerated by device

Re: [U-Boot] [PATCH 1/3] PPC 85xx: Detect e500v2 / e500mc during runtime

2014-01-20 Thread Scott Wood
On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: With the qemu-ppce500 machine type we can run the same board with either an e500v2 or an e500mc core plugged in. This means that the IVOR setup can't be based on compile time decisions, so instead we have to do a runtime check which

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-01-20 Thread Wolfgang Denk
Dear Scott, In message 1390258263.24905.337.ca...@snotra.buserror.net you wrote: As is, you are only adding dead code, as there is no place anywhere in the mainline code that defines CONFIG_SYS_FSL_IFC_LE Yes, consider it RFC until we have patches for a target that needs LE. This

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-01-20 Thread Wolfgang Denk
Dear Scott, In message 20140121054228.de994382...@gemini.denx.de I wrote: I fear that more IP blocks will follow that have similar requirements, and if we implemnt similar wrappers for each of them separately, we will have a mess of hard to maintain code. For example, it will then be

  1   2   >