Re: [U-Boot] standalone-examples: support custom GCC lib

2013-07-17 Thread Albert ARIBAUD
Hi Jack, On Tue, 16 Jul 2013 14:44:22 +0100, Jack Mitchell wrote: > Fighting with compiling u-boot today and dealing with problems related > to using a custom built openembedded toolchain, I found the need to > specify a custom location for the GCC lib. > > This is well supported when building

Re: [U-Boot] How to create a library with already built library

2013-07-17 Thread Albert ARIBAUD
Hi Julyberry, On Tue, 16 Jul 2013 15:24:16 -0700 (PDT), Julyberry wrote: > Hello, > > I am new to U-Boot and try to add some codes for implementing some logic as > a feature. This entry routine of this new code will be called from main_loop > in common. > > To achieve this, there are some new

Re: [U-Boot] [PATCH v2] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-17 Thread Albert ARIBAUD
Hi Fabio, On Mon, 15 Jul 2013 14:29:28 -0300, Fabio Estevam wrote: > mx6qsabrelite and nitrogen6q boards are hardware compatible, so let's avoid > the > code duplication and only use the nitrogen6x source code to make board code > maintainance easier. > > Tested booting a mainline device tree

Re: [U-Boot] [PATCH v2] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-17 Thread Stefano Babic
Hi Albert, On 17/07/2013 09:42, Albert ARIBAUD wrote: > Hi Fabio, > > On Mon, 15 Jul 2013 14:29:28 -0300, Fabio Estevam > wrote: > >> mx6qsabrelite and nitrogen6q boards are hardware compatible, so let's avoid >> the >> code duplication and only use the nitrogen6x source code to make board cod

Re: [U-Boot] standalone-examples: support custom GCC lib

2013-07-17 Thread Jack Mitchell
On 17/07/13 08:11, Albert ARIBAUD wrote: Hi Jack, On Tue, 16 Jul 2013 14:44:22 +0100, Jack Mitchell wrote: Fighting with compiling u-boot today and dealing with problems related to using a custom built openembedded toolchain, I found the need to specify a custom location for the GCC lib. Thi

[U-Boot] U-boot & x86 & coreboot

2013-07-17 Thread Rossier Daniel
Hi, I would like to run U-boot on x86 emulated QEMU-based environment. I found some info regarding coreboot + U-boot integration, using U-boot as payload, etc. but I was unable to start U-boot. I'm using the 32-bits i686-pc-linux-gnu toolchain and I successfully cross-compiled coreboot and star

Re: [U-Boot] [PATCH v2] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-17 Thread Albert ARIBAUD
Hi Stefano, On Wed, 17 Jul 2013 10:04:29 +0200, Stefano Babic wrote: > Hi Albert, > > On 17/07/2013 09:42, Albert ARIBAUD wrote: > > Hi Fabio, > > > > On Mon, 15 Jul 2013 14:29:28 -0300, Fabio Estevam > > wrote: > > > >> mx6qsabrelite and nitrogen6q boards are hardware compatible, so let's

[U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Bo Shen
As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12 and share the lower 8 bits data line. If use low drive of the data line, it will cause DDR data access corrupt in lower address, so change the data line to high drive mode This will fix the Linux kernel boot issue when use Lower ad

Re: [U-Boot] [PATCH v2] mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x

2013-07-17 Thread Stefano Babic
On 17/07/2013 11:10, Albert ARIBAUD wrote: > Hi Stefano, > > On Wed, 17 Jul 2013 10:04:29 +0200, Stefano Babic > wrote: > >> Hi Albert, >> >> On 17/07/2013 09:42, Albert ARIBAUD wrote: >>> Hi Fabio, >>> >>> On Mon, 15 Jul 2013 14:29:28 -0300, Fabio Estevam >>> wrote: >>> mx6qsabrelite and

Re: [U-Boot] [PATCH] README.mx28_common: Rename it to README.mxs

2013-07-17 Thread Stefano Babic
Hi Fabio, On 16/07/2013 17:38, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Jul 12, 2013 at 8:49 AM, Marek Vasut wrote: >> Dear Fabio Estevam, >> >>> From: Fabio Estevam >>> >>> commit 54965b61360 (README: mxs: Introduce README.mxs) should have changed >>> the file name to README.mxs, as it c

Re: [U-Boot] [PATCH] README.mx28_common: Rename it to README.mxs

2013-07-17 Thread Albert ARIBAUD
Hi Stefano, On Wed, 17 Jul 2013 11:30:04 +0200, Stefano Babic wrote: > Hi Fabio, > > On 16/07/2013 17:38, Fabio Estevam wrote: > > Hi Stefano, > > > > On Fri, Jul 12, 2013 at 8:49 AM, Marek Vasut wrote: > >> Dear Fabio Estevam, > >> > >>> From: Fabio Estevam > >>> > >>> commit 54965b61360 (R

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Albert ARIBAUD
Hi Bo, On Wed, 17 Jul 2013 17:14:17 +0800, Bo Shen wrote: > As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12 > and share the lower 8 bits data line. If use low drive of the data > line, it will cause DDR data access corrupt in lower address, so > change the data line to high dr

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good moment to unify and structure the form of dfu_alt_info environment variable. Fu

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Bo Shen
Hi Albert, On 07/17/2013 06:10 PM, Albert ARIBAUD wrote: Hi Bo, On Wed, 17 Jul 2013 17:14:17 +0800, Bo Shen wrote: As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12 and share the lower 8 bits data line. If use low drive of the data line, it will cause DDR data access corrupt

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Albert ARIBAUD
Hi Bo, On Wed, 17 Jul 2013 18:27:29 +0800, Bo Shen wrote: > Hi Albert, > > On 07/17/2013 06:10 PM, Albert ARIBAUD wrote: > > Hi Bo, > > > > On Wed, 17 Jul 2013 17:14:17 +0800, Bo Shen > > wrote: > > > >> As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12 > >> and share the lowe

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Michael Cashwell
On Jul 17, 2013, at 6:42 AM, Albert ARIBAUD wrote: > I understand the symptom. What I don't undestand is how come NAND > does not keep its data lines in high impedance when its chip select is > inactive, which it is when DDR is being accessed. Chip selects prevent contention but they do not make

[U-Boot] [PATCH 2/8] arm: spl: Do not set the stack pointer twice

2013-07-17 Thread Masahiro Yamada
Because the stack pointer is already set in arch/arm/lib/crt0.S, we do not need to set it in arch/arm/lib/spl.c. Signed-off-by: Masahiro Yamada --- arch/arm/lib/spl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index 301f082..b5a1324 100644 --- a

[U-Boot] [PATCH] arm: spl: Do not set the stack pointer twice

2013-07-17 Thread Masahiro Yamada
Because the stack pointer is already set in arch/arm/lib/crt0.S, we do not need to set it in arch/arm/lib/spl.c. Signed-off-by: Masahiro Yamada --- arch/arm/lib/spl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/lib/spl.c b/arch/arm/lib/spl.c index 301f082..b5a1324 100644 --- a

Re: [U-Boot] [PATCH 2/8] arm: spl: Do not set the stack pointer twice

2013-07-17 Thread Masahiro Yamada
> Re: [PATCH 2/8] arm: spl: Do not set the stack pointer twice The subject prefix "[PATCH 2/8]" is wrong. (My misoperation of git format-patch) This is composed of only one patch file. I have just post the correct version. Please delete this thread or just ignore. Sorry for noise. Masahir

[U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, experts: I tried to add a self-compressed header in u-boot.bin on a Cortex-A9 single core platform. Then, i tried to boot it. But failed in board_init_f() function. Has anybody tried to boot a self-compressed u-boot.bin ? Best wishes, ___ U-Boot mail

[U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, experts: Sorry! Not self-compressed, it is self-uncompressed ! -- I tried to add a self-uncompressed header in u-boot.bin on a Cortex-A9 single core platform. Then, i tried to boot it. But failed in board_init_f() function. Has anybody tried

Re: [U-Boot] [PATCH] README.mx28_common: Rename it to README.mxs

2013-07-17 Thread Fabio Estevam
Hi Tom, On Wed, Jul 17, 2013 at 7:08 AM, Albert ARIBAUD wrote: >> > Could we have this one applied into 2013.07? >> > >> > I am not sure why the file rename didn't take effect, as the original >> > patch handled it: >> > http://patchwork.ozlabs.org/patch/241363/ >> >> mmhh..I think we are too la

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Albert ARIBAUD
Hi Michael, On Wed, 17 Jul 2013 07:27:36 -0400, Michael Cashwell wrote: > On Jul 17, 2013, at 6:42 AM, Albert ARIBAUD wrote: > > > I understand the symptom. What I don't undestand is how come NAND > > does not keep its data lines in high impedance when its chip select is > > inactive, which it

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Wed, 17 Jul 2013 19:53:10 +0800, wrote: > Hi, experts: > Sorry! > Not self-compressed, it is self-uncompressed ! > -- > I tried to add a self-uncompressed header in u-boot.bin on a Cortex-A9 > single core platform

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-07-17 Thread Mark Jackson
On 11/07/13 14:06, Mark Jackson wrote: > On 18/06/13 13:11, Mark Jackson wrote: >> On 17/06/13 15:43, Mark Jackson wrote: >>> On 13/05/13 19:28, Tom Rini wrote: From: Steve Kipisz NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-07-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/17/2013 08:58 AM, Mark Jackson wrote: > On 11/07/13 14:06, Mark Jackson wrote: >> On 18/06/13 13:11, Mark Jackson wrote: >>> On 17/06/13 15:43, Mark Jackson wrote: On 13/05/13 19:28, Tom Rini wrote: > From: Steve Kipisz > > NOR

Re: [U-Boot] U-boot & x86 & coreboot

2013-07-17 Thread Rossier Daniel
Basically, should the coreboot-x86_config replace the use of coreboot ? Or, is coreboot still necessary? > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Rossier Daniel > Sent: mercredi 17 juillet 2013 10:29 > To: u-boot@list

Re: [U-Boot] i.MX6 DRAM_RESET documentation

2013-07-17 Thread Eric Nelson
On 07/16/2013 07:28 PM, Liu Hui-R64343 wrote: -Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] >> The working code uses a value of 00b for this field. When I changed it to 11b, things broke. In the documentation, this register is defined differently for mx6

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Lukasz Majewski
On Wed, 17 Jul 2013 12:26:35 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, > Hello Lukasz, > > Am 16.07.2013 17:35, schrieb Lukasz Majewski: > > Dear All, > > > > Since DFU usage at u-boot is spreading to different device types > > (MMC, NAND), file systems, raw partitions, ubi, etc, I thin

Re: [U-Boot] [PATCH] README.mx28_common: Rename it to README.mxs

2013-07-17 Thread Tom Rini
On Fri, Jul 12, 2013 at 01:49:49PM +0200, Marek Vasut wrote: > Dear Fabio Estevam, > > > From: Fabio Estevam > > > > commit 54965b61360 (README: mxs: Introduce README.mxs) should have changed > > the file name to README.mxs, as it covers both mx23 and mx28 now. > > > > Signed-off-by: Fabio Est

Re: [U-Boot] [PATCH 1/3] bootm: Move fixup_silent_linux() earlier in the bootm stages

2013-07-17 Thread Tom Rini
On Tue, Jul 16, 2013 at 08:09:59PM -0700, Simon Glass wrote: > Before the bootm refactor, fixup_silent_linux() was done only in the > monolithic bootm case, not in the subcommand case. With the refactor, it > is done always, which is good. Unfortunately it is done too late, since it > is the PREP

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2013-07-17 Thread Tom Rini
On Tue, Jul 16, 2013 at 06:30:20PM -0500, Andy Fleming wrote: > arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel > (2013-07-16 09:20:16 -0400) > > are available in the git repository at: > > git://www.denx.de/git/u-boot-mpc85xx.git master > > for you to fetch changes

Re: [U-Boot] Please pull u-boot-mmc.git

2013-07-17 Thread Tom Rini
On Tue, Jul 16, 2013 at 07:08:48PM -0500, Andy Fleming wrote: > The following changes since commit baa8841d6cc8a8cb79e0aee2fe1b360dacc05aaf: > > arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel > (2013-07-16 09:20:16 -0400) > > are available in the git repository at: >

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2013-07-17 Thread Tom Rini
On Tue, Jul 16, 2013 at 06:30:20PM -0500, Andy Fleming wrote: > arm:samsung:trats:fix: Restore proper orientation of TRATS's LCD panel > (2013-07-16 09:20:16 -0400) > > are available in the git repository at: > > git://www.denx.de/git/u-boot-mpc85xx.git master > > for you to fetch changes

Re: [U-Boot] U-boot & x86 & coreboot

2013-07-17 Thread Simon Glass
Hi Rossier, On Wed, Jul 17, 2013 at 2:29 AM, Rossier Daniel wrote: > Hi, > > I would like to run U-boot on x86 emulated QEMU-based environment. I found > some info regarding coreboot + U-boot integration, using U-boot as payload, > etc. but I was unable to start U-boot. > I'm using the 32-bits i6

Re: [U-Boot] U-boot & x86 & coreboot

2013-07-17 Thread Simon Glass
Hi Rossier, On Wed, Jul 17, 2013 at 7:35 AM, Rossier Daniel wrote: > > Basically, should the coreboot-x86_config replace the use of coreboot ? > Or, is coreboot still necessary? > Yes coreboot is still necessary - it does the memory init and most of the machine-specific stuff. > > > -Origi

Re: [U-Boot] [PATCH] net: fec: Avoid MX28 bus sync issue

2013-07-17 Thread Hector Palacios
Dear Marek, On 07/16/2013 06:44 AM, Marek Vasut wrote: Dear Fabio Estevam, On Tue, Jul 16, 2013 at 12:51 AM, Fabio Estevam wrote: On Mon, Jul 15, 2013 at 12:09 PM, Hector Palacios wrote: @Fabio: could you manually run the command 'tftp ${loadaddr} file100M' in your EVK? Yes, this is wha

[U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming

2013-07-17 Thread Tom Rini
The AM335x GP EVM ships with NAND. Document programming of the chip including the redundant locations that the ROM will check. Signed-off-by: Tom Rini --- board/ti/am335x/README | 25 + 1 file changed, 25 insertions(+) diff --git a/board/ti/am335x/README b/board/ti/am

[U-Boot] [PATCH 0/1] Add NAND to board/ti/am335x/README

2013-07-17 Thread Tom Rini
The following depends on v2 of the "Improve falcon mode and am335x_evm docs" series, as that adds the README to start with. -- Tom ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Michael Cashwell
On Jul 17, 2013, at 9:05 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 17 Jul 2013 07:27:36 -0400, Michael Cashwell > wrote: > >> Chip selects prevent contention but they do not make the load vanish. >> A deselected chip is not electrically the same as a non-populated chip, >> especially

Re: [U-Boot] i.MX6 DRAM_RESET documentation

2013-07-17 Thread Troy Kisky
On 7/17/2013 7:17 AM, Eric Nelson wrote: On 07/16/2013 07:28 PM, Liu Hui-R64343 wrote: -Original Message- From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] >> The working code uses a value of 00b for this field. When I changed it to 11b, things broke. In the documentation, th

[U-Boot] [PATCH] nds32: Enable FPU if the version of CPU supported

2013-07-17 Thread Kuan-Yu Kuo
Some version of Andes core support FPU coprocessor, if this is the case, we should enable it at low level initialization time. Signed-off-by: Kuan-Yu Kuo Cc: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/lowlevel_init.S | 22 ++ arch/nds32/cpu/n1213/ag102/lowlevel_init.S |

Re: [U-Boot] [PATCH RFC V1 00/18] Make mv_udc work for i.mx6

2013-07-17 Thread Troy Kisky
On 7/16/2013 8:04 PM, Marek Vasut wrote: Hi Troy, Hi Marek, Can you please base the series on top of my series I posted a while ago [1] ? I feel bad about asking you to, but that series was out earlier and I'm planning to apply it for next MW. Since it is 17 patches, do you have a branch I c

Re: [U-Boot] How to create a library with already built library

2013-07-17 Thread Julyberry
Thanks for the reply. Could you help with find the Makefile where it links the already built library? I tried to modify the main Makefile but it looks it tries to generate the library. Thanks, -- View this message in context: http://u-boot.10912.n7.nabble.com/How-to-create-a-library-with-alr

Re: [U-Boot] [PATCH RFC V1 00/18] Make mv_udc work for i.mx6

2013-07-17 Thread Marek Vasut
Dear Troy Kisky, > On 7/16/2013 8:04 PM, Marek Vasut wrote: > > Hi Troy, > > > >> Hi Marek, > > > > Can you please base the series on top of my series I posted a while ago > > [1] ? I feel bad about asking you to, but that series was out earlier > > and I'm planning to apply it for next MW. > >

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Tormod Volden
On Wed, Jul 17, 2013 at 4:34 PM, Lukasz Majewski wrote: > _As a side note:_ > > I'm now developing proof-of-concept idea of executing set of commands > sent to u-boot by dfu-util [***]. > > Rationale for this is the lack of ability to reset u-boot after sending > data to u-boot via DFU. dfu-util ha

[U-Boot] [PATCH 1/1] ddr cfg: DRAM_RESET needs 0x00020030

2013-07-17 Thread Troy Kisky
The old value of 0x000e0030 will cause ethernet timeout issues on the sabrelite and possibly other boards using the KSZ9021. I have no explanation as to why. But this is a correct change, the TRM will be updated to show that 00b is the only valid setting for bits 19-18 of DRAM_RESET. My thanks go

[U-Boot] [PATCH v3 7/7] ARM: OMAP5-uevm: Add usb device reset API

2013-07-17 Thread Dan Murphy
Add the call back to reset the LAN9730 after the FEAT_POWER has been called. Signed-off-by: Dan Murphy --- v3 - Added this patch to separate the patch series - http://patchwork.ozlabs.org/patch/258229/ board/ti/omap5_uevm/evm.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a

[U-Boot] [PATCH v3 1/7] omap5: uevm: Change the board name to correct name

2013-07-17 Thread Dan Murphy
Change the board name for the sys info to 5432 uEVM Signed-off-by: Dan Murphy --- v3 - No change - http://patchwork.ozlabs.org/patch/258226/ board/ti/omap5_uevm/evm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c ind

[U-Boot] [PATCH v3 6/7] USB: usb-hub: Add a weak function for resetting devices

2013-07-17 Thread Dan Murphy
Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER has been submitted Signed-off-by: Dan Murphy --- v3 - Modified location of the weak function - http://patchwork.ozlabs.org/patch/258229/ common/usb_hub.c | 12 1 file c

[U-Boot] [PATCH v3 4/7] ARM: OMAP5-uevm: Add USB ehci support for the uEVM

2013-07-17 Thread Dan Murphy
Add the USB ehci support for the OMAP5 uEVM. Configure the uEVM mux data Add the flags to build the appropriate modules Add the usb call backs to initialize the EHCI controller Signed-off-by: Dan Murphy --- v3 - Updated per comments and removed reset function - http://patchwork.ozlabs.org/patch

[U-Boot] [PATCH v3 3/7] ARM: OMAP: USB: Fix linker error when ULPI is not defined

2013-07-17 Thread Dan Murphy
Fix the linker error for missing ulpi_reset when ulpi is not defined in the board config. Signed-off-by: Dan Murphy --- v3 - No updates - http://patchwork.ozlabs.org/patch/258228/ drivers/usb/host/ehci-omap.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/host/ehci-om

[U-Boot] [PATCH v3 5/7] ARM: OMAP5-uevm: Add USB MAC ethernet address

2013-07-17 Thread Dan Murphy
Set the usbethaddr based on the OMAP DIE_ID registers which should be unique for each processor. Then set this as the usb ethernet MAC address. Signed-off-by: Dan Murphy --- v3 - new patch board/ti/omap5_uevm/evm.c| 26 ++ include/configs/omap5_uevm.h |2 ++ 2

[U-Boot] [PATCH v3 2/7] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-17 Thread Dan Murphy
* Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host revision Signed-off-by: Dan Murphy --- v3 - Updated per comments - http://patchwork.ozlabs.org/patch/258230/ arch/arm/cpu/armv7/omap5/hw_data.c | 17 arch/arm/include/asm/arch-omap

[U-Boot] OMAP5 uEVM USB eHCI patch set

2013-07-17 Thread Dan Murphy
This patch set is for the OMAP5 uEVM for the USB eHCI host. This patch set will enable the LAN9730 ethernet IC and the USB3503 usb hub. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/5] am335x_evm: Make NAND support modular

2013-07-17 Thread Scott Wood
On 07/09/2013 02:00:06 PM, Justin Waters wrote: Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by: Justin Waters --- include/configs/am335x_evm.h | 55 +++

Re: [U-Boot] [PATCH 1/5] am335x_evm: Make NAND support modular

2013-07-17 Thread Scott Wood
On 07/17/2013 04:05:37 PM, Scott Wood wrote: On 07/09/2013 02:00:06 PM, Justin Waters wrote: Give the user the ability to disable NAND support by defining CONFIG_NO_NAND. This will allow custom hardware to easily support this configuration. Signed-off-by: Justin Waters --- include/configs/am3

[U-Boot] FW: U-boot & x86 & coreboot

2013-07-17 Thread Rossier Daniel
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: mercredi 17 juillet 2013 17:43 > To: Rossier Daniel > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] U-boot & x86 & coreboot > > Hi Rossier, > > On Wed, Jul 17, 2013 at 2:2

[U-Boot] FW: U-boot & x86 & coreboot

2013-07-17 Thread Rossier Daniel
By the way, the issue related to the debugger is that I'm unable to use it with Eclipse CDT (using gdbserver in Qemu). It leads to a seg fault in Qemu. If you have an idea, I would appreciate. Regards Daniel From: s...@google.com [mailto:s...@google.com] On Behalf Of Sim

Re: [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming

2013-07-17 Thread Scott Wood
On 07/17/2013 11:24:30 AM, Tom Rini wrote: The AM335x GP EVM ships with NAND. Document programming of the chip including the redundant locations that the ROM will check. Signed-off-by: Tom Rini --- board/ti/am335x/README | 25 + 1 file changed, 25 insertions(+) diff

Re: [U-Boot] FW: U-boot & x86 & coreboot

2013-07-17 Thread Simon Glass
On Wed, Jul 17, 2013 at 3:20 PM, Rossier Daniel wrote: > > By the way, the issue related to the debugger is that I'm unable to use it > with Eclipse CDT (using gdbserver in Qemu). It leads to a seg fault in Qemu. > If you have an idea, I would appreciate. > No sorry, I don't use it. Perhaps ask o

Re: [U-Boot] [PATCH 1/1] board/ti/am335x/README: Document NAND programming

2013-07-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/17/2013 05:52 PM, Scott Wood wrote: > On 07/17/2013 11:24:30 AM, Tom Rini wrote: >> The AM335x GP EVM ships with NAND. Document programming of the >> chip including the redundant locations that the ROM will check. >> >> Signed-off-by: Tom Rini

[U-Boot] [PATCH] mkimage: Use board config to get CONFIG_FIT_SIGNATURE value

2013-07-17 Thread Simon Glass
The value of this config variable is not available to image.h on the host, since the board config is not actually included. Bring this in so that mkimage will be built with image-signing support for sandbox at least. Signed-off-by: Simon Glass --- config.mk | 4 1 file changed, 4 insertions

Re: [U-Boot] [PATCH] mkimage: Use board config to get CONFIG_FIT_SIGNATURE value

2013-07-17 Thread Simon Glass
Hi Tom, On Wed, Jul 17, 2013 at 4:10 PM, Simon Glass wrote: > The value of this config variable is not available to image.h on the host, > since the board config is not actually included. Bring this in so that > mkimage will be built with image-signing support for sandbox at least. > > Signed-of

Re: [U-Boot] [PATCH v3 2/2] env_nand.c: support falling back to redundant env when writing

2013-07-17 Thread Scott Wood
On 06/26/2013 01:25:26 PM, Phil Sutter wrote: Without this patch, when the currently chosen environment to be written has bad blocks, saveenv fails completely. Instead, when there is redundant environment fall back to the other copy. Environment reading needs no adjustment, as the fallback logi

Re: [U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-17 Thread Scott Wood
On 07/15/2013 11:54:09 PM, Heiko Schocher wrote: updating an ubi partition needs a completely erased mtd partition, see: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html So, add partubi alt setting for the dfu_alt_info environment variable to mark this partition as an ubi part

[U-Boot] [PATCH v2] usb: Use well-known descriptor sizes when parsing configuration

2013-07-17 Thread Julius Werner
The existing USB configuration parsing code relies on the descriptors' own length values when reading through the configuration blob. Since the size of those descriptors is always well-defined, we should rather use the known sizes instead of trusting device-provided values to be correct. Also adds

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, Albert: The DRAM address map is : 0 --- 0x1000 (256MB) on my ARM development board. I configured "CONFIG_SYS_TEXT_BASE = 0x03F8" in config.mk when compiling u-boot source code. The self-uncompressed code also put the uncompressed image at 0x03F8 Best wishes, >On Wed, 17 Jul 20

Re: [U-Boot] [PATCH] net: fec: Avoid MX28 bus sync issue

2013-07-17 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek, > > On 07/16/2013 06:44 AM, Marek Vasut wrote: > > Dear Fabio Estevam, > > > >> On Tue, Jul 16, 2013 at 12:51 AM, Fabio Estevam wrote: > >>> On Mon, Jul 15, 2013 at 12:09 PM, Hector Palacios > >>> > >>> wrote: > @Fabio: could you manually run the comma

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Marek Vasut
Dear Heiko Schocher, > Hello Lukasz, > > Am 16.07.2013 17:35, schrieb Lukasz Majewski: > > Dear All, > > > > Since DFU usage at u-boot is spreading to different device types (MMC, > > NAND), file systems, raw partitions, ubi, etc, I think that it is a > > good moment to unify and structure the f

Re: [U-Boot] [PATCH v3 1/7] omap5: uevm: Change the board name to correct name

2013-07-17 Thread Marek Vasut
Dear Dan Murphy, > Change the board name for the sys info to > 5432 uEVM > > Signed-off-by: Dan Murphy Acked-by: Marek Vasut > --- > v3 - No change - http://patchwork.ozlabs.org/patch/258226/ > > board/ti/omap5_uevm/evm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH v3 3/7] ARM: OMAP: USB: Fix linker error when ULPI is not defined

2013-07-17 Thread Marek Vasut
Dear Dan Murphy, > Fix the linker error for missing ulpi_reset when ulpi is not defined > in the board config. > > Signed-off-by: Dan Murphy Acked-by: Marek Vasut > --- > v3 - No updates - http://patchwork.ozlabs.org/patch/258228/ > > drivers/usb/host/ehci-omap.c |7 +++ > 1 file cha

[U-Boot] [RFC] ARM-optimized memcpy/memset on SPL build

2013-07-17 Thread Masahiro Yamada
Hello exports, I found we cannot enable ARM-optimized memset/memcpy in SPL build. For example, I added > #define CONFIG_USE_ARCH_MEMSET > #define CONFIG_USE_ARCH_MEMCPY into "include/configs/omap3_beagle.h" and ran make omap3_beagle_config && make. Then, undefined reference to `memset' un

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I configured "CONFIG_SYS_TEXT_BASE = 0x03F8" in config.mk when > compiling u-boot source code. this has been moved out of config.mk ages ago. How old is your U-Boot version? > The self-uncompressed code also put the uncompressed ima

Re: [U-Boot] [PATCH v3 5/7] ARM: OMAP5-uevm: Add USB MAC ethernet address

2013-07-17 Thread Marek Vasut
Dear Dan Murphy, > Set the usbethaddr based on the OMAP DIE_ID registers > which should be unique for each processor. > > Then set this as the usb ethernet MAC address. > > Signed-off-by: Dan Murphy > --- > v3 - new patch > > board/ti/omap5_uevm/evm.c| 26 ++ > i

Re: [U-Boot] [PATCH v3 6/7] USB: usb-hub: Add a weak function for resetting devices

2013-07-17 Thread Marek Vasut
Dear Dan Murphy, > Add a __weak function that can be overridden to reset devices > attached to an ehci devices after the FEAT_POWER has been submitted > > Signed-off-by: Dan Murphy > --- > v3 - Modified location of the weak function - > http://patchwork.ozlabs.org/patch/258229/ > > common/usb_

Re: [U-Boot] [PATCH v3 7/7] ARM: OMAP5-uevm: Add usb device reset API

2013-07-17 Thread Marek Vasut
Dear Dan Murphy, > Add the call back to reset the LAN9730 after > the FEAT_POWER has been called. > > Signed-off-by: Dan Murphy > --- > v3 - Added this patch to separate the patch series - > http://patchwork.ozlabs.org/patch/258229/ > > board/ti/omap5_uevm/evm.c | 11 +++ > 1 file ch

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, Denk: My code base is based on u-boot-2013.04 . I followed board\samsung\smdkc100\config.mk , and put it into my board related directory. About SPL approach: Did you suggest I put decompressed algorithm code into SPL code instead of adding a self-uncompressed header? Best wishes, >In message

Re: [U-Boot] [PATCH v2] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-17 Thread Heiko Schocher
Hello Scott, Am 18.07.2013 00:35, schrieb Scott Wood: On 07/15/2013 11:54:09 PM, Heiko Schocher wrote: updating an ubi partition needs a completely erased mtd partition, see: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html So, add partubi alt setting for the dfu_alt_info en

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Marek, Am 18.07.2013 06:17, schrieb Marek Vasut: Dear Heiko Schocher, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), file systems, raw partitions, ubi, etc, I think that it is a good m

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-17 Thread Heiko Schocher
Hello Lukasz, Am 17.07.2013 16:34, schrieb Lukasz Majewski: On Wed, 17 Jul 2013 12:26:35 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, Hello Lukasz, Am 16.07.2013 17:35, schrieb Lukasz Majewski: Dear All, Since DFU usage at u-boot is spreading to different device types (MMC, NAND), fi

[U-Boot] [PATCH v3] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-17 Thread Heiko Schocher
updating an ubi partition needs a completely erased mtd partition, see: http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html So, add partubi alt setting for the dfu_alt_info environment variable to mark this partition as an ubi partition. In case we update an ubi partition, we erase

[U-Boot] Boot Linux kernel with initramfs fails

2013-07-17 Thread Axel Lin
Hi, When I boot Linux kernel with FIT Image, the kernel does not unpacking initramfs. ( The root cause is "initrd_start is NULL".) The initramfs is built-in with kernel, so I don't specify ramdisk in my kernel.its file. Is this a known issue or do I need special setting to boot a Linux kernel wi

Re: [U-Boot] How to create a library with already built library

2013-07-17 Thread Albert ARIBAUD
Hi Julyberry, On Wed, 17 Jul 2013 10:52:41 -0700 (PDT), Julyberry wrote: > Thanks for the reply. > > Could you help with find the Makefile where it links the already built > library? > > I tried to modify the main Makefile but it looks it tries to generate the > library. Well, you can get hel

Re: [U-Boot] [PATCH v3] dfu, nand, ubi: add partubi alt settings for updating ubi partition

2013-07-17 Thread Lukasz Majewski
On Thu, 18 Jul 2013 08:04:55 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, > updating an ubi partition needs a completely erased mtd partition, > see: > http://lists.infradead.org/pipermail/linux-mtd/2011-May/035416.html > > So, add partubi alt setting for the dfu_alt_info environment > var