[U-Boot] Help with Cross-Compiling U-boot for PPC

2012-01-05 Thread Will Khan
Hi all, My goal is to (simply) build u-boot to run on my target processor which is MPC8349. My host environment where I will be building the u-boot is a SUSE linux system running on an intel x86 PC (therefore I will cross compile). I have followed the instructions on the wiki and README file,

[U-Boot] A Problem of u-boot on TI PandaBoard porting

2012-01-05 Thread Qiao . HelloWorld
Hi, I encounter some problems of u-boot porting on PandaBoard. I’m working on modifying u-boot to verify the hardware devices working well. Although there’s already a board configuration for PandaBoard (omap4_panda), I would like to create another one for my own project. The u-boot version is “U-B

[U-Boot] [PATCH] ARMV7: Add support for TRATS board

2012-01-05 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- MAINTAINERS |4 + board/samsung/trats/Makefile| 44 board/samsung/trats/lowlevel_init.S | 284 + board/samsung/trats/trat

[U-Boot] [PATCH] ARMV7: Add support for TRATS board

2012-01-05 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- MAINTAINERS |4 + board/samsung/trats/Makefile| 44 board/samsung/trats/lowlevel_init.S | 284 + board/samsung/trats/trat

Re: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config

2012-01-05 Thread Wolfgang Denk
Dear Grant Erickson, In message <02a515f3-ccd2-4635-ad38-07de542a4...@gmail.com> you wrote: > > That makes sense; however, I have deployed boards in the field for > which an in-place X-Loader update isn't trivial and for which > interoperability is key. In light of that, are you willing to accept

Re: [U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-05 Thread Holger Brunck
Hi Scott, On 01/04/2012 06:44 PM, Scott Wood wrote: > On 01/04/2012 09:32 AM, Holger Brunck wrote: >> >> Initial implementation for unsafe feature for biterror insertion on >> NAND-Flash devices. The code flips single bits in the data block of the >> flash to simulate single bit-errors. >> Tested

Re: [U-Boot] [PATCH] ARMV7: Add support for TRATS board

2012-01-05 Thread Wolfgang Denk
Dear "HeungJun, Kim", In message <1325751248-23125-1-git-send-email-riverful@samsung.com> you wrote: > This patch adds support for Samsung TRATS board > > Signed-off-by: HeungJun, Kim > Signed-off-by: Kyungmin Park ... > diff --git a/MAINTAINERS b/MAINTAINERS > index a56ca10..c856c59 10064

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Marek Vasut
> On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood wrote: > > On 12/05/2011 05:17 PM, Marek Vasut wrote: > >> This will be beneficial for the PXA3XX NAND driver, which uses the NAND > >> IDs to identify the chip and configure the controller accordingly. > >> > >> Signed-off-by: Marek Vasut > >> Cc: Sc

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-05 Thread Chander Kashyap
Hi Minkyu Kang, On 5 January 2012 12:13, Minkyu Kang wrote: > Dear Chander Kashyap, > > On 27 December 2011 17:48, Chander Kashyap wrote: >  Torsten Koschorrek >        scb9328         ARM920T (i.MXL) > diff --git a/arch/arm/cpu/armv7/exynos/clock.c > b/arch/arm/cpu/armv7/e

Re: [U-Boot] [PATCH] ARMV7: Add support for TRATS board

2012-01-05 Thread Kim, Heungjun
Hi Wolfgang Denk, Thanks for the comments. I'm preparing the modified version as you pointed out. But I have one curious thing among your comments. On 2012년 01월 05일 17:59, Wolfgang Denk wrote: Dear "HeungJun, Kim", In message<1325751248-23125-1-git-send-email-riverful@samsung.com> you w

[U-Boot] [PATCH] doc: Add Tom Rini to git-mailrc

2012-01-05 Thread Igor Grinberg
Tom is co-custodian of u-boot/ti fork, so add him to git-mailrc. Signed-off-by: Igor Grinberg --- doc/git-mailrc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 4039e55..4936003 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -4

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-05 Thread Wolfgang Denk
Dear Chander Kashyap, In message you wrote: > > > No need to reuse the code, if SoCs are different. > > If need, please separate the functions. > > Yes, though SoC's are different, the functionality in clock.c is > similar. The only difference is the clock name in the clock structure > for Exyn

Re: [U-Boot] [PATCH] ARMV7: Add support for TRATS board

2012-01-05 Thread Wolfgang Denk
Dear "Kim, Heungjun", In message <4f05896d.8000...@samsung.com> you wrote: > > > What are the compelling reasons to write thes functionms in assembler, > > and not in C? > No. There is not specific reason. It's just to fit the convention with Then please implement in C. > lowlevel_init.S file

[U-Boot] [PATCH v2 3/6] cm-t35: add EEPROM module and pass Linux a serial number

2012-01-05 Thread Igor Grinberg
From: Nikita Kiryanov Add board specific EEPROM handling module, read the serial number from the EEPROM and pass it to Linux. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in v2: * Use CONFIG_SYS_I2C_EEPROM_ADDR instead of a custom define * Fix strange linker warn

[U-Boot] [PATCH v2 4/6] omap3: make get_board_rev() function weak

2012-01-05 Thread Igor Grinberg
From: Nikita Kiryanov Current get_board_rev() function returns a hard coded value which is obviously incorrect for the majority of boards. Allow boards to provide a correct implementation by making this function weak. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in v

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Tom Rini
On Thu, Jan 5, 2012 at 2:09 AM, Marek Vasut wrote: >> On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood wrote: >> > On 12/05/2011 05:17 PM, Marek Vasut wrote: >> >> This will be beneficial for the PXA3XX NAND driver, which uses the NAND >> >> IDs to identify the chip and configure the controller accordi

Re: [U-Boot] [PATCH] doc: Add Tom Rini to git-mailrc

2012-01-05 Thread Tom Rini
2012/1/5 Igor Grinberg : > Tom is co-custodian of u-boot/ti fork, so add him to git-mailrc. > > Signed-off-by: Igor Grinberg > --- >  doc/git-mailrc |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/doc/git-mailrc b/doc/git-mailrc > index 4039e55..4936003 100644 > ---

Re: [U-Boot] [PATCH v2 3/6] cm-t35: add EEPROM module and pass Linux a serial number

2012-01-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1325764937-7342-1-git-send-email-grinb...@compulab.co.il> you wrote: > From: Nikita Kiryanov > > Add board specific EEPROM handling module, > read the serial number from the EEPROM and pass it to Linux. ... > * Fix strange linker warning: ".bss section overlaps

Re: [U-Boot] [PATCH] doc: Add Tom Rini to git-mailrc

2012-01-05 Thread Wolfgang Denk
Dear Tom, In message you wrote: > > Wolfgang, what happened to http://patchwork.ozlabs.org/patch/131434/ ? > It's listed as accepted but I don't see it in tree... Thanks! Neither can I. Strange. (Re-) Applied now. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: W

Re: [U-Boot] [PATCH] fat: reset VFAT short alias checksum on first match

2012-01-05 Thread Wolfgang Denk
Dear Sergei Shtylyov, In message <201201021954.29410.sshtyl...@ru.mvista.com> you wrote: > The VFAT short alias checksum read from a long file name is only overwritten > when another long file name appears in a directory list. Until then it renders > short file names invisible that have the same c

Re: [U-Boot] tools/env/fw_env.h comment/code mismatch

2012-01-05 Thread Wolfgang Denk
Dear Frans Meulenbroeks, In message you wrote: > > I see two possible fixes: > > 1: add a // before the #define to make the code in accordance with the > comment That would trigger a checkpatch error (no C++ commnts) ;-) > 2: reprase the comment so it is in accordance with the code > > Whate

Re: [U-Boot] [PATCH] fw_env.h: added a few missing defines

2012-01-05 Thread Wolfgang Denk
Dear Frans Meulenbroeks, In message <1325512063-15583-1-git-send-email-fransmeulenbro...@gmail.com> you wrote: > The README file lists 4 defined that were not actually present in the .h > file but that were needed to get things working with settings compiled in. > They are > Added these to the .h

Re: [U-Boot] [PATCH] common/image.c: align usage of fdt_high with initrd_high

2012-01-05 Thread Wolfgang Denk
Dear Shawn Guo, In message <1325254347-17701-1-git-send-email-shawn@linaro.org> you wrote: > The commit message of a28afca (Add uboot "fdt_high" enviroment variable) > states that fdt_high behaves similarly to the existing initrd_high. > But fdt_high actually has an outstanding difference from

Re: [U-Boot] [PATCH] phy: add phy_smsc_init() declaration

2012-01-05 Thread Wolfgang Denk
Dear Vladimir Zapolskiy, In message <1325207917-16911-1-git-send-email...@mleia.com> you wrote: > This trivial change removes a compilation warning: > 8< > phy.c: In function 'phy_init': > phy.c:448:2: warning: implicit declaration of function 'phy_smsc_init' > 8< > > Sign

Re: [U-Boot] [PATCH] fw_env.c: use default env values if config file cannot be opened

2012-01-05 Thread Wolfgang Denk
Dear Frans Meulenbroeks, In message <1325098913-29909-1-git-send-email-fransmeulenbro...@gmail.com> you wrote: > If the config file cannot be opened currently one gets an error > even though the build in names/sizes are probably ok. > By setting the default values first and only exit if there > i

Re: [U-Boot] [PATCH 1/4] fpga: add definition for Xilinx Spartan-6 XC6SLX4

2012-01-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1325090823-8051-1-git-send-email-sba...@denx.de> you wrote: > Signed-off-by: Stefano Babic > --- > include/spartan3.h |9 + > 1 files changed, 9 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineerin

Re: [U-Boot] [PATCH 2/4] FPGA: use debug() instead of module debug printf

2012-01-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1325090823-8051-2-git-send-email-sba...@denx.de> you wrote: > Replace also __FUNCTION__ with standard __func__ > > Signed-off-by: Stefano Babic > --- > common/cmd_fpga.c | 59 +--- > 1 files changed, 28 insertions

Re: [U-Boot] [PATCH 3/4] fpga: Spartan-3: let print the progress if configured

2012-01-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1325090823-8051-3-git-send-email-sba...@denx.de> you wrote: > CONFIG_SYS_FPGA_PROG_FEEDBACK was already introduced to print > the current status of FPGA loading - an undef in the code made this > CONFIG_ useless. > > Signed-off-by: Stefano Babic > --- > drivers/f

Re: [U-Boot] [PATCH 4/4] ARM: omap3: Added Teejet mt_ventoux

2012-01-05 Thread Wolfgang Denk
Dear Stefano Babic, In message <1325090823-8051-4-git-send-email-sba...@denx.de> you wrote: > The mt_ventoux board is a custom board using > the Technexion TAM3517 module. > > Signed-off-by: Stefano Babic > --- > MAINTAINERS |1 + > board/teejet/mt_ventoux/Makefile

Re: [U-Boot] [PATCH 4/4] ARM: omap3: Added Teejet mt_ventoux

2012-01-05 Thread Tom Rini
On Thu, Jan 5, 2012 at 8:21 AM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1325090823-8051-4-git-send-email-sba...@denx.de> you wrote: >> The mt_ventoux board is a custom board using >> the Technexion TAM3517 module. >> >> Signed-off-by: Stefano Babic >> --- >>  MAINTAINERS      

Re: [U-Boot] [PATCH V3 1/2] ext4fs ls load support

2012-01-05 Thread Wolfgang Denk
Dear uma.shan...@samsung.com, In message <1325038933-10587-1-git-send-email-uma.shan...@samsung.com> you wrote: > From: Uma Shankar > > Signed-off-by: Uma Shankar > Signed-off-by: Manjunatha C Achar > Signed-off-by: Iqbal Shareef > Signed-off-by: Hakgoo Lee > --- > Changes for v2: > -

Re: [U-Boot] [PATCH V3 2/2] ext4fs write support

2012-01-05 Thread Wolfgang Denk
Dear uma.shan...@samsung.com, In message <1325039007-10611-1-git-send-email-uma.shan...@samsung.com> you wrote: > From: Uma Shankar > > Signed-off-by: Uma Shankar > Signed-off-by: Manjunatha C Achar > Signed-off-by: Iqbal Shareef > Signed-off-by: Hakgoo Lee > --- > Changes for v2: > -

Re: [U-Boot] [PATCH V3 1/2] ext4fs ls load support

2012-01-05 Thread Wolfgang Denk
Dear uma.shan...@samsung.com, In message <1325038933-10587-1-git-send-email-uma.shan...@samsung.com> you wrote: > From: Uma Shankar > > Signed-off-by: Uma Shankar > Signed-off-by: Manjunatha C Achar > Signed-off-by: Iqbal Shareef > Signed-off-by: Hakgoo Lee > --- > Changes for v2: > -

Re: [U-Boot] Help with Cross-Compiling U-boot for PPC

2012-01-05 Thread Peter Barada
On 01/04/2012 04:35 PM, Will Khan wrote: > Hi all, > > My goal is to (simply) build u-boot to run on my target processor which is > MPC8349. My host environment where I will be building the u-boot is a SUSE > linux system running on an intel x86 PC (therefore I will cross compile). I > have fo

Re: [U-Boot] [PATCH] env: factor out the env_get_char_spec() function

2012-01-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1324906390-26264-1-git-send-email-grinb...@compulab.co.il> you wrote: > env_get_char_spec() function is duplicated across multiple environment > files. > Remove the duplication by providing a default implementation. > Add "weak" declaration, so the default implemen

Re: [U-Boot] [PATCH] [trivial] common.h: remove value from bool defines

2012-01-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1324882432-8798-1-git-send-email-grinb...@compulab.co.il> you wrote: > Several boolean defines have a value assigned. > Remove the value as defining the symbol is enough. > > Signed-off-by: Igor Grinberg > --- > include/common.h | 16 > 1 files

Re: [U-Boot] [PATCH] [trivial] env: remove value from boolean defines

2012-01-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1324813377-16764-1-git-send-email-grinb...@compulab.co.il> you wrote: > Several boolean defines have a value assigned. > Remove the value as defining the symbol is enough. > > Signed-off-by: Igor Grinberg > --- > include/environment.h |8 > tools/en

Re: [U-Boot] [PATCH] tools/mkenvimage.c: Fix a merge issue

2012-01-05 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1324723318-32752-1-git-send-email-hkron...@frequentis.com> you wrote: > With bfcc40bb09b05c90cc3b1496abb270eb8aa72134 'optopt' was reverted. > > Signed-off-by: Horst Kronstorfer > --- > tools/mkenvimage.c |4 ++-- > 1 files changed, 2 insertions(+), 2 de

Re: [U-Boot] [PATCH] fw_env.c: use default env values if config file cannot be opened

2012-01-05 Thread Frans Meulenbroeks
2012/1/5 Wolfgang Denk > Dear Frans Meulenbroeks, > > In message <1325098913-29909-1-git-send-email-fransmeulenbro...@gmail.com> > you wrote: > > If the config file cannot be opened currently one gets an error > > even though the build in names/sizes are probably ok. > > By setting the default va

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Wolfgang Denk
Dear Thierry Reding, In message <1321524246-5187-2-git-send-email-thierry.red...@avionic-design.de> you wrote: > The AVP on Tegra2 doesn't boot properly when U-Boot is linked against > the GCC provided libgcc. To work around this, always build and link > against a private libgcc for Tegra2-based

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

2012-01-05 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4ef59ae7.9030...@aribaud.net> you wrote: > Hi Wolfgang, > > Following the opening of the merge window, the following changes since > commit bfcc40bb09b05c90cc3b1496abb270eb8aa72134: > >Merge branch 'next' of ../next (2011-12-23 20:53:58 +0100) > > are avail

Re: [U-Boot] [PATCH] tools/env: allow overwrite of ethaddr on default

2012-01-05 Thread Wolfgang Denk
Dear Grant Erickson, In message <1324580395-27004-1-git-send-email-maratho...@gmail.com> you wrote: > This patch allows the U-Boot user space companion utility, fw_setenv, > to overwrite the 'ethaddr' key/value pair if the current value is set > to a per-board-configured default. > > This change

Re: [U-Boot] [PATCH v7] net: ll_temac: Add LL TEMAC driver to u-boot

2012-01-05 Thread Wolfgang Denk
Dear Michal Simek, In message <4ef2f20b.6050...@monstr.eu> you wrote: > > > Are there going to be any users for this code? > > Sure. This driver lies out of mainline code for quite some times. > ll_temac is IP core which is used by Microblaze and xilinx ppc. > There are two options for network IP

Re: [U-Boot] [PATCH] ext2: Cache line align indirection buffers

2012-01-05 Thread Wolfgang Denk
Dear Simon Glass, In message <1324497688-26529-1-git-send-email-...@chromium.org> you wrote: > Make ext2 use cache line aligned buffers for reading from the filesystem. > This is needed when caches are enabled because unaligned cache invalidates > are not safe. > > Signed-off-by: Simon Glass > -

Re: [U-Boot] [PATCH v2 1/3] fs/fat: Fix FAT detection to support non-DOS partition tables

2012-01-05 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1324487292-7299-2-git-send-email-kyle.d.moff...@boeing.com> you wrote: > The FAT filesystem code currently ends up requiring that the partition > table be a DOS MBR, as it checks for the DOS 0x55 0xAA signature on the > partition table (which may be Mac, EFI, ISO966

Re: [U-Boot] [PATCH v2 2/3] fs/fat: Improve error handling

2012-01-05 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1324487292-7299-3-git-send-email-kyle.d.moff...@boeing.com> you wrote: > The FAT filesystem fails silently in inexplicable ways when given a > filesystem with a block-size that does not match the device sector size. > In theory this is not an unsupportable combinati

Re: [U-Boot] [PATCH v2 3/3] usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM

2012-01-05 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1324487292-7299-4-git-send-email-kyle.d.moff...@boeing.com> you wrote: > When performing large bulk reads from a CD or DVD using the U-Boot > usb_storage driver, it generates requests of up to 20 blocks at a time. > > With a standard 512-byte block size, that is 10

Re: [U-Boot] [PATCH] avoid flash writes for new keys, with no values with fw_setenv

2012-01-05 Thread Wolfgang Denk
Dear Sridhar Addagada, In message <1324457962.60605.yahoomail...@web120203.mail.ne1.yahoo.com> you wrote: > > This will avoid flash writes for fw_setenv command where the key is not > present the environment and no value has been provided. Line too long. And your patch is white space corrupted

Re: [U-Boot] [PATCH] FAT: update the second FAT when writing a file

2012-01-05 Thread Wolfgang Denk
Dear Donggeun Kim, In message <1324442067-6448-1-git-send-email-dg77@samsung.com> you wrote: > After susccessful write to the FAT partition, > fsck program may print warning message due to different FAT, > provided that the filesystem supports two FATs. > > This patch makes the second FAT to

Re: [U-Boot] [PATCH v3] cmd_fat: add FAT write command

2012-01-05 Thread Wolfgang Denk
Dear Donggeun Kim, In message <1324431247-17998-1-git-send-email-dg77@samsung.com> you wrote: > Once CONFIG_FAT_WRITE is defined, > users can invoke 'fatwrite' command that saves data in RAM as a FAT file. > > By removing variable of 'part_size' in fs/fat.c, > compile error occurs when enabli

Re: [U-Boot] [PATCH 09/10] Correctly handle input files beginning with several newlines

2012-01-05 Thread Wolfgang Denk
Dear David Wagner, In message <1324429169-10177-1-git-send-email-david.wag...@free-electrons.com> you wrote: > Also, fix some comments (minor) > > Signed-off-by: David Wagner > --- > tools/mkenvimage.c | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) Applied, thanks. Bes

Re: [U-Boot] [PATCHv2 03/10] mkenvimage: Correct the includes and add a missing one

2012-01-05 Thread Wolfgang Denk
Dear David Wagner, In message <1324429120-10141-1-git-send-email-david.wag...@free-electrons.com> you wrote: > compiler.h and u-boot/crc.h need to be included from U-Boot's headers. > > stdlib.h was missing. > > Signed-off-by: David Wagner > --- > > This version is rebased on top of 'next' (i

Re: [U-Boot] [PATCH v3 1/2] net: add Calxeda xgmac driver

2012-01-05 Thread Wolfgang Denk
Dear Rob Herring, In message <1323983750-3399-1-git-send-email-robherri...@gmail.com> you wrote: > From: Rob Herring > > This adds ethernet driver for Calxeda xgmac found on Highbank SOC. > > Signed-off-by: Rob Herring > --- > v3: > - whitespace fixes > - move reset to .init function > - fix c

Re: [U-Boot] [PATCH v3 2/2] ARM: highbank: enable networking and pxe

2012-01-05 Thread Wolfgang Denk
Dear Rob Herring, In message <1323983750-3399-2-git-send-email-robherri...@gmail.com> you wrote: > From: Rob Herring > > This enables the XGMAC ethernet driver and networking related config > options. > > Signed-off-by: Jason Hobbs > Signed-off-by: Rob Herring > > --- > v3: > - make board_et

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Stephen Warren
On 01/05/2012 08:50 AM, Wolfgang Denk wrote: > Dear Thierry Reding, > > In message > <1321524246-5187-2-git-send-email-thierry.red...@avionic-design.de> you wrote: >> The AVP on Tegra2 doesn't boot properly when U-Boot is linked against >> the GCC provided libgcc. To work around this, always buil

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Simon Glass
Hi Stephen, On Thu, Jan 5, 2012 at 8:53 AM, Stephen Warren wrote: > On 01/05/2012 08:50 AM, Wolfgang Denk wrote: >> Dear Thierry Reding, >> >> In message >> <1321524246-5187-2-git-send-email-thierry.red...@avionic-design.de> you >> wrote: >>> The AVP on Tegra2 doesn't boot properly when U-Boot

Re: [U-Boot] [PATCH v7] net: ll_temac: Add LL TEMAC driver to u-boot

2012-01-05 Thread Stephan Linz
Am Donnerstag, den 05.01.2012, 17:10 +0100 schrieb Wolfgang Denk: > Dear Michal Simek, > > In message <4ef2f20b.6050...@monstr.eu> you wrote: > > > > > Are there going to be any users for this code? > > > > Sure. This driver lies out of mainline code for quite some times. > > ll_temac is IP core

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Tom Warren
Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Thursday, January 05, 2012 10:07 AM > To: Stephen Warren > Cc: Wolfgang Denk; Thierry Reding; u-boot@lists.denx.de; Tom Warren > Subject: Re: [U-Boot] [PATCH 1/2] tegra2: Always bu

Re: [U-Boot] [PATCH] Fix logic for selection of CONFIG_SYS_DEF_EEPROM_ADDR

2012-01-05 Thread Moffett, Kyle D
Any comments on this patch? If not, could it please be applied/merged? It fixes a definite bug on the HWW-1U-1A board. Cheers, Kyle Moffett -- Curious about my work on the Debian powerpcspe port? I'm keeping a blog here: http://pureperl.blogspot.com/ On Dec 15, 2011, at 21:15, Kyle Moffett wro

[U-Boot] [PATCH] fw_env.h: fix comment

2012-01-05 Thread Frans Meulenbroeks
made description according to implementation (where the config file is the default). Signed-off-by: Frans Meulenbroeks --- tools/env/fw_env.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h index 9258c79..cfbe108 100644 --- a/to

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-05 Thread Scott Wood
On 01/04/2012 06:24 PM, Xiangfu Liu wrote: > Hi > > yes. I have cpmpared this. but I can't find where is the problem. > attachment is the u-boot.map diff. > > after remove those 'extern' the u-boot-nand-spl is exact same. binary > file. map file both same. > but the u-boot.bin/map changed. > > P

[U-Boot] [PATCHv2 1/8] Strip mkenvimage

2012-01-05 Thread David Wagner
Signed-off-by: David Wagner --- tools/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index a5f989a..64bcc4d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -194,6 +194,7 @@ $(obj)xway-swap-bytes$(SFX):$(obj)xway-swap-b

[U-Boot] [PATCHv3 3/8] mkenvimage: Correct the includes and add a missing one

2012-01-05 Thread David Wagner
compiler.h and u-boot/crc.h need to be included from U-Boot's headers. stdlib.h was missing. Signed-off-by: David Wagner --- tools/mkenvimage.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 7d33143..bc18736 100644 ---

[U-Boot] [PATCHv3 5/8] mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"

2012-01-05 Thread David Wagner
Signed-off-by: David Wagner --- tools/mkenvimage.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index eb9a8f2..6db2b21 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -173,15 +173,9 @@ int m

[U-Boot] [PATCHv2 4/8] mkenvimage: More error handling

2012-01-05 Thread David Wagner
Verbosly fail if the target environment size or the padding byte are badly formated. Verbosly fail if something bad happens when reading from standard input. Signed-off-by: David Wagner --- tools/mkenvimage.c | 32 ++-- 1 files changed, 30 insertions(+), 2 deletion

[U-Boot] [PATCHv3 2/8] mkenvimage: correct and clarify comments and error messages

2012-01-05 Thread David Wagner
Also, don't split error messages over several lines as per a coding style exception making them easier to grep. Signed-off-by: David Wagner --- tools/mkenvimage.c | 41 +++-- 1 files changed, 15 insertions(+), 26 deletions(-) diff --git a/tools/mkenvimage.c

[U-Boot] [PATCHv2 6/8] mkenvimage: Use mmap() when reading from a regular file

2012-01-05 Thread David Wagner
Signed-off-by: David Wagner --- tools/mkenvimage.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 6db2b21..58f1d0b 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -38,6 +38,7 @@ #include "compiler.h

[U-Boot] [PATCHv2 7/8] mkenvimage: Don't try to detect comments in the input file

2012-01-05 Thread David Wagner
Remove this feature since it seems impossible to reliably detect them. Signed-off-by: David Wagner --- tools/mkenvimage.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index 58f1d0b..a3d4e27 100644 --- a/tools/mkenvimage.c

[U-Boot] [PATCHv3 8/8] mkenvimage: Really set the redundant byte when applicable

2012-01-05 Thread David Wagner
Signed-off-by: David Wagner --- tools/mkenvimage.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index a3d4e27..c1e6cad 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -276,7 +276,9 @@ int main(int argc, char **argv

[U-Boot] SMSC 9215 MII mode

2012-01-05 Thread Bishop, Mark
Is anyone working on a patch to use the MII mode in the SMSC9215? Would anyone be interested in such a patch? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-05 Thread Scott Wood
On 01/05/2012 02:59 AM, Holger Brunck wrote: > Hi Scott, > > On 01/04/2012 06:44 PM, Scott Wood wrote: >> On 01/04/2012 09:32 AM, Holger Brunck wrote: >>> >>> Initial implementation for unsafe feature for biterror insertion on >>> NAND-Flash devices. The code flips single bits in the data block of

Re: [U-Boot] [PATCH v2 1/3] fs/fat: Fix FAT detection to support non-DOS partition tables

2012-01-05 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1324487292-7299-2-git-send-email-kyle.d.moff...@boeing.com> you wrote: > The FAT filesystem code currently ends up requiring that the partition > table be a DOS MBR, as it checks for the DOS 0x55 0xAA signature on the > partition table (which may be Mac, EFI, ISO966

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Wolfgang Denk
Dear Stephen Warren, In message <4f05d596.6030...@nvidia.com> you wrote: > > > I will accept this only temporarily. Why don't you use a working tool > > chain instead, or fix the one you are using? > > I believe the issue isn't that the toolchain is broken, but due to the > mix of multiple CPU t

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > > The libraries included in the toolchain are built for the ARMv7 CPUs, > > and hence fail to operate correctly when used by the portion of U-Boot > > which runs on the ARMv4 CPU, presumably due to ISA differences. IIRC, > > there are overrides in the

Re: [U-Boot] [PATCH v7] net: ll_temac: Add LL TEMAC driver to u-boot

2012-01-05 Thread Wolfgang Denk
Dear Stephan Linz, In message <1325783490.7827.45.camel@keto> you wrote: > > Michals latest Microblaze platform patches will enable this driver for > board/xilinx/microblaze-generic and we know about a success story on a > propietary Virtex5 FX board (ppc440) -- tested by Ricardo Ribalda. > > So

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Stephen Warren
On 01/05/2012 12:16 PM, Wolfgang Denk wrote: > In message <4f05d596.6030...@nvidia.com> you wrote: ... >> The libraries included in the toolchain are built for the ARMv7 CPUs, > > SO this is not the right tool chain for the job. Ecactly what I said. > >> and hence fail to operate correctly when

Re: [U-Boot] [RFC] [PATCH] DaVinci/i2c: allow multiple buses

2012-01-05 Thread Tom Rini
On Wed, Dec 21, 2011 at 10:36 PM, Jérôme Carretero wrote: > Hi Tom, > > I'm requesting comments on the following (untested) patch. > It adds support for multiple i2c buses on davinci_i2c, without altering one > line of code. > What I don't like is that I'm doing a bit of macro black magic to tran

Re: [U-Boot] [PATCH] [trivial] common.h: remove value from bool defines

2012-01-05 Thread Wolfgang Denk
Dear Igor Grinberg, In message <1324882432-8798-1-git-send-email-grinb...@compulab.co.il> you wrote: > Several boolean defines have a value assigned. > Remove the value as defining the symbol is enough. trivial, but broken. This patch breaks a ton of builds like this: Configuring for MPC8308RDB

Re: [U-Boot] [PATCH] Fix logic for selection of CONFIG_SYS_DEF_EEPROM_ADDR

2012-01-05 Thread Wolfgang Denk
Dear Kyle Moffett, In message <1324001741-15282-1-git-send-email-kyle.d.moff...@boeing.com> you wrote: > A board with CONFIG_SPI and CONFIG_ENV_EEPROM_IS_ON_I2C will get: > #define CONFIG_SYS_DEF_EEPROM_ADDR 0 > > Instead of the expected: > #define CONFIG_SYS_DEF_EEPROM_ADDR CONFIG_SYS_I2C_E

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Wolfgang Denk
Dear Stephen Warren, In message <4f05fcbd.2040...@nvidia.com> you wrote: > > > No, this is NOT a solution, it is a workaround for an inappropriate > > toolchain. If you want to build code for an armv4t system, you must > > use a tool chain that supports it. > > But we don't want to generate code

[U-Boot] expection for help with ethernet driver for DP83849

2012-01-05 Thread 黄金明
Dear Sir, Sorry to bother you. I find your email on the website 'lists.denx.de'. I am anxious about the ethernet driver for DP83849. I am looking for the ethernet driver for DP83849 on MPC8387XERDB motherboard. Are you happy to help me with it ? Could you please share it with the d

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Simon Glass
Hi, On Thu, Jan 5, 2012 at 12:17 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <4f05fcbd.2040...@nvidia.com> you wrote: >> >> > No, this is NOT a solution, it is a workaround for an inappropriate >> > toolchain.  If you want to build code for an armv4t system, you must >> > use a

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Stephen Warren
On 01/05/2012 01:42 PM, Simon Glass wrote: > Hi, > > On Thu, Jan 5, 2012 at 12:17 PM, Wolfgang Denk wrote: >> Dear Stephen Warren, >> >> In message <4f05fcbd.2040...@nvidia.com> you wrote: >>> No, this is NOT a solution, it is a workaround for an inappropriate toolchain. If you want to

Re: [U-Boot] SMSC 9215 MII mode

2012-01-05 Thread Marek Vasut
> Is anyone working on a patch to use the MII mode in the SMSC9215? > > Would anyone be interested in such a patch? Contributions are always welcome. M ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] initcall revisited - A new idea to discuss

2012-01-05 Thread Graeme Russ
Hi Wolfgang, On Wed, Jan 4, 2012 at 1:44 AM, Wolfgang Denk wrote: > Dear Graeme, > > In message <4f02da64.60...@gmail.com> you wrote: >> [snip] >> INIT_FUNC(cpu_init_f, f, "fred", "blah", "foo"); >> >> Generates the string: >> f:cpu_init_f:"fred":"blah":"foo" >> >> and we can parse each of the

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Scott Wood
On 01/05/2012 08:15 AM, Tom Rini wrote: > On Thu, Jan 5, 2012 at 2:09 AM, Marek Vasut wrote: >>> I'll confirm gc-sections/etc are not as awesome as we think. You can >>> drop the size of current SPL builds (for say devkit8000) by taking >>> things that should be dropped for us and forcing them ou

Re: [U-Boot] AES128 in U-Boot

2012-01-05 Thread Mike Frysinger
On Wednesday 21 December 2011 15:12:20 Simon Glass wrote: > Can we use public domain code? It seems incompatible with > the restrictions in the GPL how so ? public domain (by its definition) has no copyright or license to worry about. so you literally could (legally) do whatever you want with i

Re: [U-Boot] Starting point of uboot learning from scratch..pls help

2012-01-05 Thread Mike Frysinger
http://www.denx.de/wiki/U-Boot -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Uboot build system question

2012-01-05 Thread Mike Frysinger
On Wednesday 21 December 2011 06:21:21 Bharath H S wrote: > I had a question regarding uboot build system. > One starts a build for platform1 and without cleaning tree builds for > platform2, what is the expected result? > make _config > make _config > > Is the final product build of platform2 or

Re: [U-Boot] [PATCH V5] nand_spl_simple: store ecc data on the stack

2012-01-05 Thread Scott Wood
On 12/15/2011 03:55 AM, Stefano Babic wrote: > Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM > which is likely to contain already loaded data. > The patch saves the oob data and the ecc on the stack replacing > the fixed address in RAM. > > Signed-off-by: Stefano Babic

Re: [U-Boot] [PATCH v2 3/9] openrisc: Add cpu files

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 06:39:32 Stefan Kristiansson wrote: > On Thu, Dec 22, 2011 at 10:09:30AM +0100, Michal Simek wrote: > > Stefan Kristiansson wrote: > > >+ > > >+void dcache_enable(void) > > >+{ > > >+ mtspr(SPR_SR, mfspr(SPR_SR) | SPR_SR_DCE); > > >+ asm volatile("l.nop"); > > >+ asm

[U-Boot] [PATCH] MAKEALL: display SPL size if present

2012-01-05 Thread Scott Wood
This makes it easier to detect changes in the SPL portion, as can currently be done for the main U-Boot image. Signed-off-by: Scott Wood --- MAKEALL |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/MAKEALL b/MAKEALL index f735af6..395e982 100755 --- a/MAKEALL +++ b/MA

Re: [U-Boot] [PATCH] tools/env: fix cross-compilation

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 13:39:35 Grant Erickson wrote: > This patch fixes the make infrastructure for the fw_printenv tool such > that it is built, by default, as a cross-compilation for the target > board when so requested with TOOLSUBDIRS on the U-Boot make command > line. how is this any s

Re: [U-Boot] [PATCH 1/2] tegra2: Always build with USE_PRIVATE_LIBGCC=yes.

2012-01-05 Thread Wolfgang Denk
Dear Stephen, In message <4f060dd1.9050...@nvidia.com> you wrote: > > > It might be possible to specify ARMv4T on the link flags and have it > > pick up the v4T library, even if nearly everything else is ARMv7? > > I don't think we use any multilib toolchains, so I don't think that's > possible.

Re: [U-Boot] [PATCH] lib/string: added strndup

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 13:16:56 Grant Erickson wrote: > +#ifndef __HAVE_ARCH_STRNDUP > +extern char * strndup(const char *,__kernel_size_t); > +#endif no space after that first "*", and add a space after the "," since your definition uses "size_t", then use that rather than __kernel_size_t

Re: [U-Boot] [PATCH] lib/string: added strndup

2012-01-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201201051821.35774.vap...@gentoo.org> you wrote: > > > + if ((s == NULL) || > > + ((new = malloc (len + 1)) == NULL) ) { > > + return NULL; > > + } > > please split this up such as: I'm OK with the splitting, but... > if (s == NULL)

Re: [U-Boot] [PATCH] tools/env: fix cross-compilation

2012-01-05 Thread Grant Erickson
On Jan 5, 2012, at 3:18 PM, Mike Frysinger wrote: > On Thursday 22 December 2011 13:39:35 Grant Erickson wrote: >> This patch fixes the make infrastructure for the fw_printenv tool such >> that it is built, by default, as a cross-compilation for the target >> board when so requested with TOOLSUBDIR

Re: [U-Boot] stuck after redirecting stdout to nc

2012-01-05 Thread Mike Frysinger
On Monday 02 January 2012 09:50:42 ran shalit wrote: > On uboot loading, I checking a specific environement (called consoleddev), > to decide to rediect console to nc or staying in serial. > I then see some strange behaviour: > if the environment tell uboot to redirect to net console, everything wo

Re: [U-Boot] [PATCH] Add support for MMC to fw_printenv/setenv

2012-01-05 Thread Mike Frysinger
On Monday 02 January 2012 18:49:11 Christian Daudt wrote: > --- a/tools/env/fw_env.c > +++ b/tools/env/fw_env.c > > +static int fd_is_mtd(int fd) > ... > + rc = ioctl (fd, MEMGETINFO, &mtdinfo); no space before the "(" > + if (rc < 0) { > + // Failed MEMGETINFO, not MTD > +

Re: [U-Boot] AES128 in U-Boot

2012-01-05 Thread Simon Glass
Hi Mike, On Thu, Jan 5, 2012 at 3:07 PM, Mike Frysinger wrote: > On Wednesday 21 December 2011 15:12:20 Simon Glass wrote: >> Can we use public domain code? It seems incompatible with >> the restrictions in the GPL > > how so ?  public domain (by its definition) has no copyright or license to > w

  1   2   >