Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

2012-11-22 Thread Graeme Russ
Hi Manohar, On 11/23/2012 04:46 PM, manohar.bet...@smartplayin.com wrote: > > Dear Marek, > > Thank you for the reply. > > Can you please send me the steps/procedure to build/support u-boot on x86_64 > bit (Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz. I build the x86 U-Boot target on an x86_64

Re: [U-Boot] fsl mx28evk spi nor probe problem

2012-11-22 Thread Sinan Akman
On 11/22/2012 08:33 PM, Fabio Estevam wrote: Hi Sinan, On Thu, Nov 22, 2012 at 7:43 PM, Sinan Akman wrote: Hi Fabio I just tried spi nor on fsl m28evk and see : MX28EVK U-Boot > sf probe SF: Unsupported manufacturer ff Failed to initialize SPI flash at 2:0 This is with U-

[U-Boot] Quer on JTAG.

2012-11-22 Thread Manukumar
Hello, I am new to JTAG related concepts and I need to know from the basics. So please provide me related document or link to study on that. Manukumar Signal-Networks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-

Re: [U-Boot] fsl mx28evk spi nor probe problem

2012-11-22 Thread Fabio Estevam
Hi Sinan, On Thu, Nov 22, 2012 at 7:43 PM, Sinan Akman wrote: > > Hi Fabio > > I just tried spi nor on fsl m28evk and see : > > MX28EVK U-Boot > sf probe > SF: Unsupported manufacturer ff > Failed to initialize SPI flash at 2:0 > > This is with U-Boot 2012.10 and I included > #define

Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

2012-11-22 Thread Marek Vasut
Dear manohar.bet...@smartplayin.com, > Hi, > > I am Manohar,started boot the X86-64 (Intel(R) Core(TM) i5-2400 CPU @ > 3.10GHz) using u-boot to work for TIZEN . > > As I am unable to configure/build my pc using u-boot-x86 . > > I request you please help me how to configure it/build the u-boot-x

[U-Boot] fsl mx28evk spi nor probe problem

2012-11-22 Thread Sinan Akman
Hi Fabio I just tried spi nor on fsl m28evk and see : MX28EVK U-Boot > sf probe SF: Unsupported manufacturer ff Failed to initialize SPI flash at 2:0 This is with U-Boot 2012.10 and I included #define CONFIG_SPI_FLASH_WINBOND in mx28evk.h. I thought that used to work. I am not s

Re: [U-Boot] [PATCH] TPM: remove dead code

2012-11-22 Thread Simon Glass
Hi Wolfgang, On Thu, Nov 22, 2012 at 11:10 AM, Simon Glass wrote: > Hi Wolfgang, > > On Mon, Nov 19, 2012 at 11:14 PM, Wolfgang Denk wrote: >> Dear Tom, >> >> In message <1351960246-31771-1-git-send-email...@denx.de> you wrote: >>> The TPM code was added more than a year or 4 releases ago. This

[U-Boot] [PATCH v2 02/23] Add gettime command

2012-11-22 Thread Simon Glass
From: Anton Staaf Gettime returns the current timer value. If CONFIG_SYS_HZ is defined then the timer value is also converted to seconds. Tegra20 (SeaBoard) # gettime Timer val: 7754 Seconds : 7 Remainder : 754 sys_hz = 1000 There has been some discussion about whether this is useful enough to

[U-Boot] [PATCH v2 19/23] tpm: Add TPM stress test

2012-11-22 Thread Simon Glass
From: Luigi Semenzato Add a simple command to stress-test a TPM (Trusted Platform Module). Signed-off-by: Luigi Semenzato Signed-off-by: Simon Glass --- Changes in v2: None common/cmd_tpm.c | 93 ++--- 1 files changed, 87 insertions(+), 6 de

[U-Boot] [PATCH v2 21/23] exynos: Enable hashing functions and EDID for smdk5250

2012-11-22 Thread Simon Glass
Enable SHA1/SHA256 hashing and the hash command. Also enable EDID support for reading from an LCD. Signed-off-by: Simon Glass --- Changes in v2: - Add patch to enable hashing and EDID on smdk5250 include/configs/smdk5250.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff -

[U-Boot] [PATCH v2 10/23] Add generic hash API

2012-11-22 Thread Simon Glass
We have a SHA1 command and want to add a SHA256 command also. Instead of duplicating the code, create a generic hash API which can process commands for different algorithms. Signed-off-by: Simon Glass --- Changes in v2: - Add generic hash API to allow SHA256 command to be added without duplicatio

[U-Boot] [PATCH v2 17/23] Add console command to access io space registers

2012-11-22 Thread Simon Glass
From: Vadim Bendebury Provide u-boot console functions to access IO space registers. A no thrills implementation, accessing one register at a time. For example: boot > iod 80 0080: 0094 boot > iod.w 80 0080: 0094 boot > iod.b 80 0080: 94 boot > iow.b 0x80 12 b

[U-Boot] [PATCH v2 22/23] x86: coreboot: Enable io command

2012-11-22 Thread Simon Glass
Enable the io command for x86 on coreboot. Signed-off-by: Simon Glass --- Changes in v2: - Add x86 patch to enable io command for coreboot include/configs/coreboot.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h

[U-Boot] [PATCH v2 11/23] sha1sum: Use generic hash layer

2012-11-22 Thread Simon Glass
Update the code to use the hash layer instead of local code. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to change sha1sum to use generic hash API common/cmd_sha1sum.c | 129 ++ 1 files changed, 4 insertions(+), 125 deletions(-)

[U-Boot] [PATCH v2 05/23] stdio: remove useless strncpy

2012-11-22 Thread Simon Glass
From: Vincent Palatin The name is already copied when we memcpy() the whole structure. This is because struct stdio_dev has this field: charname[16]; /* Device name */ So the data is inline, rather than being a pointer. Signed-off-by: Vincen

[U-Boot] [PATCH v2 12/23] Add hash command to perform hashing using various algorithms

2012-11-22 Thread Simon Glass
This new command supports hashing SHA1 and SHA256. It could be extended to others such as MD5 and the CRC algorithms. The syntax is modeled on those: hash[* | ] to calculate a hash, and: hash -v[* | ] to verify a hash. Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to ena

[U-Boot] [PATCH v2 20/23] Add command to show DRAM configuration

2012-11-22 Thread Simon Glass
The new meminfo command shows details memory information. It is implemented by board_show_dram(), which should be implemented by the board. This is a rewrite of the patch: arm: Add option to display customised memory information according to feedback on the mailing list. Signed-off-by: Simon

[U-Boot] [PATCH v2 13/23] edid: Library of EDID decode and print

2012-11-22 Thread Simon Glass
From: Tom Wai-Hong Tam This implements a library for accessing EDID data from an LCD panel. This is used to obtain information about the panel such as its resolution and type. This is a tidied-up version of the original code pulled from https://github.com/ynezz/u-boot-edid. The changes we made

[U-Boot] [PATCH v2 14/23] edid: Add I2C command for printing the EDID

2012-11-22 Thread Simon Glass
From: Tom Wai-Hong Tam Add a single command to read the EDID information over I2C. For example: SMDK5250 # i2c dev 7 Setting bus to 7 SMDK5250 # i2c edid 50 EDID version: 1.4 Product ID code: 305c Manufacturer: AUO Serial number: Manufactured in week: 0 year: 2011 Video input definitio

[U-Boot] [PATCH v2 15/23] fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined

2012-11-22 Thread Simon Glass
From: Tom Wai-Hong Tam This function can be used for LCDs as well as monitors. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Simon Glass --- Changes in v2: None common/fdt_support.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_s

[U-Boot] [PATCH v2 18/23] console: Enable function to display console info

2012-11-22 Thread Simon Glass
The CONFIG_SYS_CONSOLE_INFO_QUIET option should suppress the console information, but allow boards to display it later if required. Adjust the code to support this. This is used to avoid printing the information while the LCD display is not ready, since it only becomes ready when stdio init is com

[U-Boot] [PATCH v2 06/23] Update time command to avoid using get_timer_masked()

2012-11-22 Thread Simon Glass
It is better to use get_timer() by itself now, according to the new timer API. Signed-off-by: Simon Glass --- Changes in v2: None common/cmd_time.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_time.c b/common/cmd_time.c index 6dbdbbf..f1891f9 100644 --

[U-Boot] [PATCH v2 07/23] sha1: Use const where possible, and unsigned for input len

2012-11-22 Thread Simon Glass
In preparation for making the hash function common, we may as well use const where we can. Also the input length cannot be negative, but may be very large, so use unsigned. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to adjust sha1 functions to use const/unsigned include/sha1.

[U-Boot] [PATCH v2 03/23] Add a command to read raw blocks from a partition

2012-11-22 Thread Simon Glass
From: Kenneth Waters Sometimes data is on a block device and within a partition, but not in a particular filesystem. This commands permits reading raw data from a partition. Signed-off-by: Kenneth Waters Signed-off-by: Simon Glass --- Changes in v2: None README |1 + c

[U-Boot] [PATCH v2 16/23] mmc: Fix incorrect handling of 'read' & 'write' commands

2012-11-22 Thread Simon Glass
From: Taylor Hutt If a malformed 'read' or 'write' command is issued, the Sandbox U-Boot can crash because the command-handling code does no error checking on the number of provided arguments. This change makes the mmc 'erase', 'read' and 'write' commands only function if the proper number of ar

[U-Boot] [PATCH v2 08/23] sha256: Use const where possible and add watchdog function

2012-11-22 Thread Simon Glass
In preparation for making the hash function common, we may as well use const where we can. Also add a watchdog version of the hashing function. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to adjust sha256 functions to const and watchdog include/sha256.h |8 +++- lib/s

[U-Boot] [PATCH v2 09/23] Add stricmp() and strnicmp()

2012-11-22 Thread Simon Glass
strnicmp() is present but disabled. Make it available and define stricmp() also. There is a only a small performance penalty to having stricmp() call strnicmp(), so do this instead of a standalone function, to save code space. Signed-off-by: Simon Glass --- Changes in v2: - Add stricmp() patch ag

[U-Boot] [PATCH v2 23/23] x86: Add coreboot version to u-boot's version command

2012-11-22 Thread Simon Glass
From: Stefan Reinauer Since U-Boot runs from coreboot on x86, the Coreboot version is an important part of the boot state. This version information is available in the coreboot tables, so print it when the 'version' command is used. Signed-off-by: Simon Glass --- Changes in v2: - Add x86 tag to

[U-Boot] [PATCH v2 04/23] Fix use of conditional LMB

2012-11-22 Thread Simon Glass
This code was not guarded with CONFIG_LMB so failed to build on x86. Signed-off-by: Simon Glass --- Changes in v2: None common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index d256ddf..299d805 100644 --- a/common

[U-Boot] [PATCH v2 01/23] Add new bootstage step for the main loop

2012-11-22 Thread Simon Glass
Mark when we get to the main loop. Signed-off-by: Simon Glass --- Changes in v2: - Remove arm: tag from bootstage step patch common/main.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/main.c b/common/main.c index 592ce07..48b2f76 100644 --- a/common/main.c ++

[U-Boot] [PATCH v2 0/23] Various patches in common/

2012-11-22 Thread Simon Glass
This collection of patches to common/ adds the following: - EDID support for LCD displays - TPM stress test - gettime command to find out the time since boot - Adds coreboot information to the 'version' command - Fixes LMB on x86 - SHA256 hashing using a new hashing framework created in response t

Re: [U-Boot] [PATCH] TPM: remove dead code

2012-11-22 Thread Simon Glass
Hi Wolfgang, On Mon, Nov 19, 2012 at 11:14 PM, Wolfgang Denk wrote: > Dear Tom, > > In message <1351960246-31771-1-git-send-email...@denx.de> you wrote: >> The TPM code was added more than a year or 4 releases ago. This was >> done under the proposition that board support that would actually use

Re: [U-Boot] [PATCH] .gitignore: update path for generated u-boot.lst

2012-11-22 Thread Luka Perkov
Hi Vincent, On Thu, Nov 22, 2012 at 05:52:21PM +0100, Vincent Stehlé wrote: > Luka: > (/u-boot.lst) > > It is ignored, but it does not need to be. The file is not in that location. > > Ah! Thanks for the clarification; here is an updated patch. I have already sent patch for this: http://lists.d

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-22 Thread Wolfgang Denk
Dear Lee Jones, In message <20121122160847.gd10...@gmail.com> you wrote: > > Ideally I'd like to keep it all as data, as it will save lots of > text parsing code in the kernel. Surely there must be a call for > passing data structures from the bootloader to the kernel. After > all, that's why ATAG

[U-Boot] [PATCH] .gitignore: update path for generated u-boot.lst

2012-11-22 Thread Vincent Stehlé
Luka: (/u-boot.lst) > It is ignored, but it does not need to be. The file is not in that location. Ah! Thanks for the clarification; here is an updated patch. Best regards, V. --->8--- Signed-off-by: Vincent Stehlé --- .gitignore |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-22 Thread Lee Jones
> > Let's try to move this forward. > > Actually you don't. You insist on not changing anything on your side, > and ask others to adapt to it. Not at all. This current implementation is unacceptable to you and your counter- suggestion is unacceptable to me (and all other kernel engineers). I'm

Re: [U-Boot] [PATCH] .gitignore: ignore generated u-boot.lst

2012-11-22 Thread Luka Perkov
Hi Vincent, On Thu, Nov 22, 2012 at 11:50:46AM +0100, Vincent Stehlé wrote: > On 11/21/2012 09:00 PM, Luka Perkov wrote: > > You should have also removed "/u-boot.lst": > > I think it is already ignored in denx/master (commit > 178d0cc1a4c73c3341afbeb2a93b172de8c96bd1). It is ignored, but it doe

Re: [U-Boot] [PATCH 09/10] arm: Move bootstage record for board_init_f() to after arch_cpu_init()

2012-11-22 Thread Simon Glass
Hi Wolfgang, On Wed, Nov 7, 2012 at 5:18 AM, Wolfgang Denk wrote: > Dear Simon, > > In message > you > wrote: >> >> > NAK as is. Please make sure to keep all arhcitectures in sync. The >> > long term goal iss till to merge the lib/board.c files into a single, >> > common one. >> >> See my no

Re: [U-Boot] [PATCH 09/17] Add sha256 command for hashing

2012-11-22 Thread Simon Glass
Hi Wolfgang, On Sat, Nov 3, 2012 at 8:23 AM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1351902453-27956-10-git-send-email-...@chromium.org> you wrote: >> From: ARUN MANKUZHI >> >> sha256 command is added which can be used to test SHA 256 hash >> algorithm. >> >> Signed-off-by: ARU

Re: [U-Boot] common/xyzmodem.c, ymodem, slow behavior receiving bytes

2012-11-22 Thread Angelo Dureghello
On Mon, Nov 19, 2012 at 11:58:24PM +0100, Wolfgang Denk wrote: Dear Wolfgang and All, > I'm glad my initial suspicions were right. Can you please post some > hints / patches what needs to be fixed, and where? Sorry for the late reply. I damaged a gpio port of the board and still re-soldering a

Re: [U-Boot] [PATCH 2/4] Exynos5: Add base addresses for SATA

2012-11-22 Thread Kyungmin Park
Hi, On Thu, Nov 22, 2012 at 10:41 PM, Vasanth Ananthan wrote: > This patch adds the macro definition of SATA controller and PHY controller > base addresses. > > Signed-off-by: Vasanth Ananthan > --- > arch/arm/include/asm/arch-exynos/cpu.h|3 +++ > arch/arm/include/asm/arch-exynos/perip

[U-Boot] [PATCH 3/4] Drivers: block: Support for SATA in Exynos5

2012-11-22 Thread Vasanth Ananthan
This patch provides support for SATA in Exynos5250 Signed-off-by: Vasanth Ananthan --- drivers/block/dwc_ahsata.c | 394 +++- 1 file changed, 387 insertions(+), 7 deletions(-) diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c index c9b

[U-Boot] [PATCH 1/4] Exynos5: Add clock support for SATA

2012-11-22 Thread Vasanth Ananthan
This patch adds clock support for SATA Signed-off-by: Vasanth Ananthan --- arch/arm/cpu/armv7/exynos/clock.c | 22 ++ arch/arm/include/asm/arch-exynos/clk.h |1 + 2 files changed, 23 insertions(+) diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv

[U-Boot] [PATCH 2/4] Exynos5: Add base addresses for SATA

2012-11-22 Thread Vasanth Ananthan
This patch adds the macro definition of SATA controller and PHY controller base addresses. Signed-off-by: Vasanth Ananthan --- arch/arm/include/asm/arch-exynos/cpu.h|3 +++ arch/arm/include/asm/arch-exynos/periph.h |1 + 2 files changed, 4 insertions(+) diff --git a/arch/arm/include

[U-Boot] [PATCH 4/4] SMDK55250: Enable SATA

2012-11-22 Thread Vasanth Ananthan
This patch adds required macros for enabling SATA. Signed-off-by: Vasanth Ananthan --- include/configs/smdk5250.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h index e412da8..123fcc3 100644 --- a/include/configs/smdk525

[U-Boot] [PATCH 0/4] Support for SATA on EXYNOS5

2012-11-22 Thread Vasanth Ananthan
This patch set adds support for SATA on Exynos5250 Vasanth Ananthan (4): Exynos5: Add clock support for SATA Exynos5: Add base addresses for SATA Drivers: block: Support for SATA in Exynos5 SMDK55250: Enable SATA arch/arm/cpu/armv7/exynos/clock.c | 22 ++ arch/arm/include/asm/a

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-22 Thread Wolfgang Denk
Dear Lee Jones, In message <20121122101433.ga4...@gmail.com> you wrote: > Let's try to move this forward. Actually you don't. You insist on not changing anything on your side, and ask others to adapt to it. > Okay, to summarise so far: > > 1. Bootloader and kernel mechanisms should be the same

Re: [U-Boot] [PATCH v4 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-11-22 Thread Lukasz Majewski
Hi Piotr, > Dear Stephen, > > > -Original Message- > > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > > Sent: Monday, November 19, 2012 9:17 PM > > To: Piotr Wilczek > > Cc: u-boot@lists.denx.de; Minkyu Kang; Kyungmin Park; Chang Hyun > > Park; Lukasz Majewski; Stephen Warren; Tom

Re: [U-Boot] [PATCH] .gitignore: ignore generated u-boot.lst

2012-11-22 Thread Vincent Stehlé
On 11/21/2012 09:00 PM, Luka Perkov wrote: > You should have also removed "/u-boot.lst": Hi Luka, I think it is already ignored in denx/master (commit 178d0cc1a4c73c3341afbeb2a93b172de8c96bd1). Best regards, V. ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 5/8] arm: Add boottime support for the ARM architecture

2012-11-22 Thread Lee Jones
Let's try to move this forward. > And it has to be implemented using a completely new method, because > all existing ones are crap or not the "correct way" to do it. We've > been there before. > I accept this, but please also accept that I ask you not to add > code that duplicates existing func

[U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

2012-11-22 Thread manohar . betham
Hi, I am Manohar,started boot the X86-64 (Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz) using u-boot to work for TIZEN . As I am unable to configure/build my pc using u-boot-x86 . I request you please help me how to configure it/build the u-boot-x86 on my pc as my pc is loaded with Ubuntu 11.