Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-11 Thread Sughosh Ganu
On Wed, Jul 10, 2013 at 3:21 PM, Sughosh Ganu urwithsugh...@gmail.comwrote: hi Tom, On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: snip Yes, I am not really comfortable with this. I will see if I can write some sandbox tests for the other image types today and post my

[U-Boot] [PATCH 0/4] Correct some remaining bootm problems

2013-07-11 Thread Simon Glass
The tortuous refactoring of bootm and fit_image_load() has thrown up four more issues: - Support for bootm (without arguments) on many OSes is broken since the OS functions do not handle the PREP stage, which is now required - In the case of loading a FIT image with a bootm-selected kernel

[U-Boot] [PATCH 4/4] bootm: Correct the arguments for the ELF image loader

2013-07-11 Thread Simon Glass
The arguments were out of place since commit 983c72f, since this file was missed and not tested. Correct this. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_elf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index

[U-Boot] [PATCH 2/4] blackfin: x86: bootm: Handle PREP stage of bootm

2013-07-11 Thread Simon Glass
The OS function is now always called with the PREP stage. Adjust the remaining bootm OS functions to deal with this correctly. Signed-off-by: Simon Glass s...@chromium.org --- arch/blackfin/lib/boot.c | 2 ++ arch/x86/lib/bootm.c | 2 ++ common/cmd_bootm.c | 16 3

[U-Boot] [PATCH 3/4] bootm: Use selected configuration for ramdisk and fdt

2013-07-11 Thread Simon Glass
If a specific configuraion is selected by the bootm command, e.g. with 'bootm 8400#recoveryconf' we must honour this for not just the kernel, but also the ramdisk and FDT. In the conversion to using a common fit_image_load() function for loading images from FITs (commits a51ec63 and 53f375f)

[U-Boot] [PATCH 1/4] bootm: Remove extra OK message

2013-07-11 Thread Simon Glass
This is not needed as we already print 'OK' later in all cases. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_bootm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index a783cea..7a7c760 100644 --- a/common/cmd_bootm.c +++

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-11 Thread Sourav Poddar
On Wednesday 10 July 2013 06:53 PM, Nishanth Menon wrote: On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddarsourav.pod...@ti.com wrote: From: Matt Portermpor...@ti.com Add QSPI definitions and clock configuration support. OMAP54xx does not have QSPI. DRA7 has QSPI? Yes. Signed-off-by: Matt

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-11 Thread Sourav Poddar
On Wednesday 10 July 2013 07:10 PM, Lokesh Vutla wrote: On Wednesday 10 July 2013 04:55 PM, Sourav Poddar wrote: From: Matt Portermpor...@ti.com Add QSPI definitions and clock configuration support. Signed-off-by: Matt Portermpor...@ti.com Signed-off-by: Sourav Poddarsourav.pod...@ti.com ---

Re: [U-Boot] [PATCH 1/7] omap5: add qspi support

2013-07-11 Thread Sourav Poddar
On Wednesday 10 July 2013 07:13 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2013 09:23 AM, Nishanth Menon wrote: On Wed, Jul 10, 2013 at 6:25 AM, Sourav Poddar sourav.pod...@ti.com wrote: From: Matt Portermpor...@ti.com I think it's good form to update folks

Re: [U-Boot] [PATCH V2] p1020rdb-pd: platform support

2013-07-11 Thread Zhang Haijun-B42677
Hi, scott I had update this patch. Did I need any other changes? If need let me know. Thanks. Regards Haijun. -Original Message- From: Zhang Haijun-B42677 Sent: Friday, June 28, 2013 10:47 AM To: Fleming Andy-AFLEMING Cc: u-boot@lists.denx.de; Zhang Haijun-B42677; Huang

Re: [U-Boot] [PATCH 3/7] dra7xx_evm: add SPL API, QSPI, and serial flash support

2013-07-11 Thread Sourav Poddar
On Thursday 11 July 2013 05:28 AM, Nishanth Menon wrote: [...] diff --git a/board/ti/dra7xx/mux_data.h b/board/ti/dra7xx/mux_data.h index 338a241..2441c55 100644 --- a/board/ti/dra7xx/mux_data.h +++ b/board/ti/dra7xx/mux_data.h @@ -53,5 +53,15 @@ const struct pad_conf_entry

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-11 Thread Simon Glass
Hi, On Jul 10, 2013 11:04 PM, Sughosh Ganu urwithsugh...@gmail.com wrote: On Wed, Jul 10, 2013 at 3:21 PM, Sughosh Ganu urwithsugh...@gmail.com wrote: hi Tom, On Tue Jul 09, 2013 at 05:19:32PM -0400, Tom Rini wrote: snip Yes, I am not really comfortable with this. I will see if

Re: [U-Boot] [[PATCH v2 2/6] ARM: OMAP5: Power: Add USB LDO9 enable interface

2013-07-11 Thread Roger Quadros
Dan, On 07/10/2013 11:05 PM, Dan Murphy wrote: Add an interface to the palmas driver to enable the LDO9 power supply for the USB hub IC. As per rev.C1 uEVM schematics, LDO9 is for SDIO card and not for USB hub. USB hub seems to be powered by DC_5V directly. Which version are you referring

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Roger Quadros
On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: * Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host revision Signed-off-by: Dan Murphy dmur...@ti.com --- arch/arm/cpu/armv7/omap5/hw_data.c |

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-11 Thread Roger Quadros
On 07/11/2013 02:16 AM, Dan Murphy wrote: On 07/10/2013 05:20 PM, Marek Vasut wrote: 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 dmur...@ti.com ---

Re: [U-Boot] twister: usb host support

2013-07-11 Thread Stefano Babic
Hi Jeroen, On 10/07/2013 18:04, Jeroen Hofstee wrote: @@ -92,9 +92,6 @@ int board_init(void) enable_gpmc_cs_config(gpmc_XR16L2751, gpmc_cfg-cs[3], XR16L2751_UART2_BASE, GPMC_SIZE_16M); -gpio_request(CONFIG_OMAP_EHCI_PHY1_RESET_GPIO, USB_PHY1_RESET); -

[U-Boot] [PATCH 0/2] fix 2 items for nand_dump function

2013-07-11 Thread Masahiro Yamada
These series of patches fix a memory leak and optimize a little nand_dump function. These 2 patches must be applied in this order. Masahiro Yamada (2): cmd_nand: fix a memory leak in nand_dump function cmd_nand: slight optimization of nand_dump function common/cmd_nand.c | 36

[U-Boot] [PATCH 2/2] cmd_nand: slight optimization of nand_dump function

2013-07-11 Thread Masahiro Yamada
If a non-zero value is given to only_oob argument, printing the main area is skipped. With a little modification, we can skip the whole while loop. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/cmd_nand.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 1/2] cmd_nand: fix a memory leak in nand_dump function

2013-07-11 Thread Masahiro Yamada
If datbuf = memalign(ARCH_DMA_MINALIGN, nand-writesize); succeeds and oobbuf = memalign(ARCH_DMA_MINALIGN, nand-oobsize); fails, nand_dump function should free databuf. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/cmd_nand.c | 23 --- 1 file changed,

[U-Boot] [PATCH] cmd_nand: Do not show usage when scrub is aborted

2013-07-11 Thread Masahiro Yamada
When executing nand scrub, the user gets the prompt: Really scrub this NAND flash? y/N We do not want the annoying usage displayed when saying N here. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/cmd_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Sricharan R
On Thursday 11 July 2013 01:28 PM, Roger Quadros wrote: On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: * Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host revision Signed-off-by: Dan Murphy

Re: [U-Boot] Separately compile Master boot loader

2013-07-11 Thread Albert ARIBAUD
Hi Rajdeep, On Thu, 11 Jul 2013 10:57:44 +0530, Rajdeep Vaghasia rajdeep.vagha...@gmail.com wrote: Hi Albert, I would like to explain you my exact idea. For that, The Partition layout is: 1) Master u-boot 2) u-boot-1 3) u-boot-2 4) kernel 5) filesystem 6) data Sometimes, When we

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Roger Quadros
On 07/11/2013 11:35 AM, Sricharan R wrote: On Thursday 11 July 2013 01:28 PM, Roger Quadros wrote: On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: * Enable the OMAP5 EHCI host clocks * Add OMAP5 EHCI register definitions * Add OMAP5 ES2 host

[U-Boot] [RFC] Multiple binaries per U-Boot target (was: Separately compile Master boot loader)

2013-07-11 Thread Albert ARIBAUD
On Thu, 11 Jul 2013 10:35:07 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: [...] nor is there currently a way to build several U-Boots in one go. Although, with recent proposals like the TPL one: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/164432 ... I am toying with

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Sricharan R
On Thursday 11 July 2013 02:25 PM, Roger Quadros wrote: On 07/11/2013 11:35 AM, Sricharan R wrote: On Thursday 11 July 2013 01:28 PM, Roger Quadros wrote: On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: * Enable the OMAP5 EHCI host clocks *

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Wolfgang Denk
Dear Thierry Reding, In message 1373500071-6476-1-git-send-email-thierry.red...@gmail.com you wrote: The Linux kernel cannot unpack a ramdisk that's stored in high memory. Can you please be a bit more explicit? Which exact architecture are you talking about? Can you show a specific example

Re: [U-Boot] Separately compile Master boot loader

2013-07-11 Thread Wolfgang Denk
Dear Rajdeep Vaghasia, In message CAONsvZW=xsmpexixipn5-gnmnpn7r5en_4pwfj1r+3fucbx...@mail.gmail.com you wrote: I would like to explain you my exact idea. For that, The Partition layout is: 1) Master u-boot 2) u-boot-1 3) u-boot-2 4) kernel 5) filesystem 6) data You can do something

Re: [U-Boot] Separately compile Master boot loader

2013-07-11 Thread Wolfgang Denk
Dear Albert, In message 20130711103507.48bd224f@lilith you wrote: SPL has never been used for NOR FLASH booting, since basically if you have NOR, then you can start U-boot directly from there whatever its size, and the first thing it does is setting up DDR and relocating there; therefore

Re: [U-Boot] Separately compile Master boot loader

2013-07-11 Thread Albert ARIBAUD
Hi Wolfgang, On Thu, 11 Jul 2013 12:08:19 +0200, Wolfgang Denk w...@denx.de wrote: Dear Albert, In message 20130711103507.48bd224f@lilith you wrote: SPL has never been used for NOR FLASH booting, since basically if you have NOR, then you can start U-boot directly from there whatever

Re: [U-Boot] [PATCH v2] Fix ext2/ext4 filesystem accesses beyond 2TiB

2013-07-11 Thread Albert ARIBAUD
Hi Tom, On Wed, 26 Jun 2013 18:11:25 +0200, Frédéric Leroy fr...@starox.org wrote: With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type, which is required to represent block numbers for storage devices that exceed 2TiB (the block size usually is 512B), e.g. recent hard drives

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-11 Thread Marek Vasut
Dear Roger Quadros, On 07/11/2013 02:16 AM, Dan Murphy wrote: On 07/10/2013 05:20 PM, Marek Vasut wrote: 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

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 11:46:19AM +0200, Wolfgang Denk wrote: Dear Thierry Reding, In message 1373500071-6476-1-git-send-email-thierry.red...@gmail.com you wrote: The Linux kernel cannot unpack a ramdisk that's stored in high memory. Can you please be a bit more explicit? Which

[U-Boot] [PATCH v1 0/7] The patchset fixes some issue in the generation of the imx image

2013-07-11 Thread Stefano Babic
(header for Freescale's i.MX processors) to allow the usage of Freescale's tools to sign the u-boot image and provide a secure boot. This has nothing to do with the Secure Boot extensions implemented by Simon Glass, that can be in any case used to boot later a secure image. Freescale's secure

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

2013-07-11 Thread Mark Jackson
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 s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk with the rest

[U-Boot] [PATCH v1 3/7] tools: dynamically allocate imx_header in imximage

2013-07-11 Thread Stefano Babic
Change to dynamically allocate the imx_header to correctly allocate the IVT, Boot Data and DCD at correct locations depending on the boot media. Also check that the Image Vector Table Offset + IVT + Boot Data + DCD = Initial Load Region Size. Previously struct imx_header was always 4096 bytes

[U-Boot] [PATCH v1 4/7] tools: add variable padding of data image in mkimage

2013-07-11 Thread Stefano Babic
Use previously unused return value of function vrec_header to return a padding size to generic mkimage. This padding size is used in copy_files to pad with zeros after copying the data image. Signed-off-by: Stefano Babic sba...@denx.de --- tools/mkimage.c | 24 +---

[U-Boot] [PATCH v1 7/7] imx: add status reporting for HAB status

2013-07-11 Thread Stefano Babic
Add functions to report the HAB (High Assurance Boot) status of e.g. i.MX6 CPUs. This is taken from git://git.freescale.com/imx/uboot-imx.git branch imx_v2009.08_3.0.35_4.0.0 cpu/arm_cortexa8/mx6/generic.c include/asm-arm/arch-mx6/mx6_secure.h Signed-off-by: Stefano Babic sba...@denx.de ---

[U-Boot] [PATCH v1 6/7] tools: add support for setting the CSF into imximage

2013-07-11 Thread Stefano Babic
Add support for setting the CSF (Command Sequence File) pointer which is used for HAB (High Assurance Boot) in the imximage by adding e.g. CSF 0x2000 in the imximage.cfg file. This will set the CSF pointer accordingly just after the padded data image area. The boot_data.length is adjusted with

[U-Boot] [PATCH v1 5/7] tools: add padding of data image file for imximage

2013-07-11 Thread Stefano Babic
Implement function vrec_header to be able to pad the final data image file according the what has been calculated for boot_data.length. Signed-off-by: Stefano Babic sba...@denx.de --- tools/imximage.c | 82 -- 1 file changed, 80

[U-Boot] [PATCH v1 2/7] tools: rename mximage_flash_offset to imximage_ivt_offset

2013-07-11 Thread Stefano Babic
This better reflects the naming from the Reference Manual as well as fits better since flash is not really applicabe for SATA. Signed-off-by: Stefano Babic sba...@denx.de --- tools/imximage.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/imximage.c

[U-Boot] [PATCH v1 1/7] tools: imx_header should not include flash_offset

2013-07-11 Thread Stefano Babic
Doing a make distclean; make mx6qsabresd_config; make and hexdump -C u-boot.imx | less ... 0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || * 03f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 ||

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

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 02:06:26PM +0100, 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 s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we

[U-Boot] [PATCH] cmd_bootm.c: Re-order bootm_load_os return check for ELDK4.2

2013-07-11 Thread Tom Rini
With ELDK4.2 we were getting a warning that load_end may be used uninitialized in calling lmb_reserve. This could not be the case, however. If we re-order the checks (and make them slightly clearer as well) the warning goes away. bootm_load_os may only return 0 on success, BOOTM_ERR_OVERLAP in

Re: [U-Boot] [[PATCH v2 2/6] ARM: OMAP5: Power: Add USB LDO9 enable interface

2013-07-11 Thread Dan Murphy
On 07/11/2013 02:56 AM, Roger Quadros wrote: Dan, On 07/10/2013 11:05 PM, Dan Murphy wrote: Add an interface to the palmas driver to enable the LDO9 power supply for the USB hub IC. As per rev.C1 uEVM schematics, LDO9 is for SDIO card and not for USB hub. USB hub seems to be powered by

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

2013-07-11 Thread Mark Jackson
On 11/07/13 14:28, Tom Rini wrote: On Thu, Jul 11, 2013 at 02:06:26PM +0100, Mark Jackson wrote: On 18/06/13 13:11, Mark Jackson wrote: On 17/06/13 15:43, Mark Jackson wrote: Okay ... I've now got NOR booting rebased to master using the patch set below. This doesn't include my board code

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Dan Murphy
On 07/11/2013 04:31 AM, Sricharan R wrote: On Thursday 11 July 2013 02:25 PM, Roger Quadros wrote: On 07/11/2013 11:35 AM, Sricharan R wrote: On Thursday 11 July 2013 01:28 PM, Roger Quadros wrote: On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy

Re: [U-Boot] decompile u-boot.bin file

2013-07-11 Thread Marek Vasut
Dear Heer Lorcan, Hey, have this iriver cover story. would like to hack the damn thing, since it's linux based and could do some work. add some options, delete others. have gotten the firmware decompressed from a EB05.HEX file to a very nice extended directory. the rootfs.cramfs is also

[U-Boot] [PATCH v2 4/6] Add additional MLO images to .gitignore

2013-07-11 Thread Justin Waters
This rule catches images such as MLO.byteswap Signed-off-by: Justin Waters justin.wat...@timesys.com --- .gitignore |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 771b860..d1282e7 100644 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ #

[U-Boot] [PATCH v2 0/6] Enhance support for BeagleBone Black

2013-07-11 Thread Justin Waters
There are a number of differences between the BeagleBone Black and other AM335x boards that require some modification of the default AM335x EVM configuration. In particular, it lacks NAND flash, has multiple MMC interfaces, and can store its environment in an unused eMMC partition. The following

[U-Boot] [PATCH v2 1/6] am335x_evm: Make NAND support modular

2013-07-11 Thread Justin Waters
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 justin.wat...@timesys.com --- boards.cfg | 16 +++--- include/configs/am335x_evm.h | 49

[U-Boot] [PATCH v2 3/6] am335x_evm: Rework bootcmd to handle two MMC devs

2013-07-11 Thread Justin Waters
The BeagleBone Black can boot from either the MMC card or eMMC chip on board. We should try both interfaces. This modification also allows a graceful fallback if a device exists but boot images are not present on it. Changes for v2: * Fix boot partition - it should always show up as mmcblk0p2 *

[U-Boot] [PATCH v2 5/6] am335x_evm: Add support for eMMC environment

2013-07-11 Thread Justin Waters
Some boards, such as the BeagleBone Black, have an eMMC chip intstead of NAND. We can use the eMMC boot partition to store the environment, since it isn't used for anything else. This allows us to have a configurable environment on those boards. Signed-off-by: Justin Waters

[U-Boot] [PATCH v2 6/6] am335x_evm: Add am335x_boneblack variant

2013-07-11 Thread Justin Waters
The BeagleBone Black differs from the other AM335x boards in a few significant ways, so it makes sense to create a custom configuration for it. In particular, it uses eMMC instead of NAND flash. Signed-off-by: Justin Waters justin.wat...@timesys.com --- boards.cfg |1 + 1 file changed, 1

[U-Boot] [PATCH v2 2/6] am335x_evm: Add command line editing

2013-07-11 Thread Justin Waters
Many modern U-Boot ports enable command line editing and a history buffer. The am335x_evm configuration is fairly comprehensive as it is, so a few extra kb should not be noticable, and it adds a very convenient feature. Signed-off-by: Justin Waters justin.wat...@timesys.com ---

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-11 Thread Roger Quadros
Hi Marek, On 07/11/2013 03:35 PM, Marek Vasut wrote: Dear Roger Quadros, On 07/11/2013 02:16 AM, Dan Murphy wrote: On 07/10/2013 05:20 PM, Marek Vasut wrote: Dear Dan Murphy, Add a __weak function that can be overridden to reset devices attached to an ehci devices after the FEAT_POWER

Re: [U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-11 Thread Tom Rini
On Wed, Jul 10, 2013 at 06:56:15PM -0500, Nishanth Menon wrote: On 07/10/2013 03:06 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com --- board/ti/omap5_uevm/evm.c | 21

Re: [U-Boot] [[PATCH v3 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-11 Thread Tom Rini
On Wed, Jul 10, 2013 at 03:06:02PM -0500, Dan Murphy wrote: Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c | 322

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

2013-07-11 Thread Albert ARIBAUD
Hi Mark, On Thu, 11 Jul 2013 14:45:08 +0100, Mark Jackson mpfj-l...@newflow.co.uk wrote: On 11/07/13 14:28, Tom Rini wrote: On Thu, Jul 11, 2013 at 02:06:26PM +0100, Mark Jackson wrote: On 18/06/13 13:11, Mark Jackson wrote: On 17/06/13 15:43, Mark Jackson wrote: Okay ... I've now got

Re: [U-Boot] [[PATCH v2 3/6] ARM: OMAP5: USB: Add OMAP5 common USB EHCI information

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 11:55:59AM +0300, Roger Quadros wrote: On 07/11/2013 11:35 AM, Sricharan R wrote: On Thursday 11 July 2013 01:28 PM, Roger Quadros wrote: On 07/11/2013 06:51 AM, Lokesh Vutla wrote: On Thursday 11 July 2013 01:35 AM, Dan Murphy wrote: * Enable the OMAP5 EHCI host

Re: [U-Boot] [PATCH]mx6qsabresd: Add splash screen support via HDMI

2013-07-11 Thread Kumar Singla Pardeep-B45784
Hi Stefano, Sure, I can try this on my side. I will let you know about this shortly. Thank you very much for giving your input. Thanks Regards, Pardeep Singla -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Wednesday, July 10, 2013 8:25 AM To: Kumar Singla

Re: [U-Boot] [[PATCH v2 6/6] ARM: OMAP5-uevm: Add USB ehci support for the uEVM

2013-07-11 Thread Tom Rini
On Wed, Jul 10, 2013 at 03:05:09PM -0500, Dan Murphy wrote: 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 dmur...@ti.com [snip]

[U-Boot] ERROR: new format image overwritten – must reset the board to recover

2013-07-11 Thread David Lee
Hi. We had U-Boot booting Linux just fine. Then after some minor cleanup, we rebuild the images. Thereafter, we are now seeing U-Boot reporting the error below: *ERROR: new format image overwritten –** must reset the board to recover* We tried reverting the minor cleanup we had done and then

Re: [U-Boot] ERROR: new format image overwritten ? must reset the board to recover

2013-07-11 Thread Tom Rini
On Wed, Jul 10, 2013 at 10:08:13PM -0400, David Lee wrote: Hi. We had U-Boot booting Linux just fine. Then after some minor cleanup, we rebuild the images. Thereafter, we are now seeing U-Boot reporting the error below: *ERROR: new format image overwritten ?** must reset the board to

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Thierry Reding
On Thu, Jul 11, 2013 at 08:39:28AM -0400, Tom Rini wrote: On Thu, Jul 11, 2013 at 11:46:19AM +0200, Wolfgang Denk wrote: Dear Thierry Reding, In message 1373500071-6476-1-git-send-email-thierry.red...@gmail.com you wrote: The Linux kernel cannot unpack a ramdisk that's stored in

Re: [U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-11 Thread Dan Murphy
On 07/11/2013 09:30 AM, Tom Rini wrote: On Wed, Jul 10, 2013 at 06:56:15PM -0500, Nishanth Menon wrote: On 07/10/2013 03:06 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com ---

Re: [U-Boot] [[PATCH v3 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-11 Thread Dan Murphy
On 07/11/2013 09:31 AM, Tom Rini wrote: On Wed, Jul 10, 2013 at 03:06:02PM -0500, Dan Murphy wrote: Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by: Dan Murphy dmur...@ti.com --- drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c |

[U-Boot] [PATCH 4/6] ARM: OMAP: Add CONFIG_OMAP_COMMON

2013-07-11 Thread Lokesh Vutla
Adding a new CONFIG_OMAP_COMMON which is included by all boards that needs to build cpu/armv7/omap-common folder. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- Makefile|2 +- arch/arm/config.mk |2 +-

[U-Boot] [PATCH 1/6] ARM: AM43xx: Add Board files

2013-07-11 Thread Lokesh Vutla
Add board specific information for AM43xx. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- board/ti/am43xx/Makefile | 46 ++ board/ti/am43xx/board.c | 55 ++ board/ti/am43xx/board.h | 25

[U-Boot] [PATCH 2/6] ARM: AM43xx: Add header files

2013-07-11 Thread Lokesh Vutla
Adding the following data: - Prcm structure - Base addresses - Pin mux structure. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/include/asm/arch-am33xx/cpu.h | 164 +++- arch/arm/include/asm/arch-am33xx/hardware.h|8 +-

[U-Boot] [PATCH 0/6] ARM: AM43xx: Add Support for AM43xx Soc's

2013-07-11 Thread Lokesh Vutla
AM43xx is a low cost Cortex-A9 based application processor targets higher performance applications and new specific end equipments like Point of Sale requiring stringent security requirements. This series add support for AM43xx Soc's. Data for the following is not added: - SDRAM - DPLL Dividers

[U-Boot] [PATCH 3/6] ARM: AM43xx: clocks: Add dpll and clock data

2013-07-11 Thread Lokesh Vutla
Add dpll and clock data for AM43xx Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/cpu/armv7/am33xx/Makefile |7 +- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 120 ++ 2 files changed, 126 insertions(+), 1 deletion(-) create mode 100644

[U-Boot] [PATCH 6/6] ARM: AM43xx: Add config file

2013-07-11 Thread Lokesh Vutla
Add config file Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- boards.cfg |1 + include/configs/am43xx_evm.h | 143 ++ 2 files changed, 144 insertions(+) create mode 100644 include/configs/am43xx_evm.h diff --git a/boards.cfg

[U-Boot] [PATCH 5/6] ARM: AM43xx: Add build support

2013-07-11 Thread Lokesh Vutla
Add AM43xx support in the required places Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/armv7/omap-common/boot-common.c |3 ++- drivers/serial/ns16550.c |5 +++-- 3 files changed, 6

[U-Boot] [PATCH] net: fec: Remove bogus flush_dcache_range() call

2013-07-11 Thread Marek Vasut
Remove incorrectly called and duplicate flush_dcache_range() call from fec_mxc driver. The call is not needed, since the caches are already flushed in fec_tbd_init(), moreover the second argument should be the ending address, not size. Signed-off-by: Marek Vasut ma...@denx.de Reported-by: Albert

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-11 Thread Dan Murphy
Roger On 07/11/2013 09:23 AM, Roger Quadros wrote: Hi Marek, On 07/11/2013 03:35 PM, Marek Vasut wrote: Dear Roger Quadros, On 07/11/2013 02:16 AM, Dan Murphy wrote: On 07/10/2013 05:20 PM, Marek Vasut wrote: Dear Dan Murphy, Add a __weak function that can be overridden to reset devices

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

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 04:34:18PM +0200, Albert ARIBAUD wrote: Hi Mark, On Thu, 11 Jul 2013 14:45:08 +0100, Mark Jackson mpfj-l...@newflow.co.uk wrote: On 11/07/13 14:28, Tom Rini wrote: On Thu, Jul 11, 2013 at 02:06:26PM +0100, Mark Jackson wrote: On 18/06/13 13:11, Mark Jackson

Re: [U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-11 Thread Dan Murphy
On 07/10/2013 06:56 PM, Nishanth Menon wrote: On 07/10/2013 03:06 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com --- board/ti/omap5_uevm/evm.c | 21 +

[U-Boot] AM335x: env_{flash,nowhere} compile conflict

2013-07-11 Thread Mark Jackson
I'm struggling to work out why I get the following compile error:- arm-linux-ld.bfd -r -o /home/mpfj/uboot/u-boot/spl/common/libcommon.o /home/mpfj/uboot/u-boot/spl/common/cmd_nvedit.o /home/mpfj/uboot/u-boot/spl/common/console.o /home/mpfj/uboot/u-boot/spl/common/dlmalloc.o

Re: [U-Boot] [[PATCH v2 5/6] USB: ehci: Add a weak function for resetting devices

2013-07-11 Thread Marek Vasut
Dear Roger Quadros, Hi Marek, On 07/11/2013 03:35 PM, Marek Vasut wrote: Dear Roger Quadros, On 07/11/2013 02:16 AM, Dan Murphy wrote: On 07/10/2013 05:20 PM, Marek Vasut wrote: Dear Dan Murphy, Add a __weak function that can be overridden to reset devices attached to an

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

2013-07-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Jul 2013 11:54:09 -0400, Tom Rini tr...@ti.com wrote: The new in the patch board/ti/am335x/u-boot.lds needed to be re-synced with arch/arm/cpu/u-boot.lds again. Actually, I wonder why so many ARM .lds files need to exist at all, when arch/arm/cpu/u-boot[-spl].lds could be

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

2013-07-11 Thread Albert ARIBAUD
On Thu, 11 Jul 2013 18:08:59 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Tom, On Thu, 11 Jul 2013 11:54:09 -0400, Tom Rini tr...@ti.com wrote: The new in the patch board/ti/am335x/u-boot.lds needed to be re-synced with arch/arm/cpu/u-boot.lds again. Actually, I wonder

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-07-11 Thread Tom Rini
On Thu, Jun 27, 2013 at 11:41:59AM +0200, Albert ARIBAUD wrote: Hi Sascha, On Tue, 25 Jun 2013 11:42:53 +0200, Sascha Silbe t-ub...@infra-silbe.de wrote: Hello Albert, hello Tom, Albert ARIBAUD albert.u.b...@aribaud.net writes: [Move environment to account for increase in U-Boot

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

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 06:14:11PM +0200, Albert ARIBAUD wrote: On Thu, 11 Jul 2013 18:08:59 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Tom, On Thu, 11 Jul 2013 11:54:09 -0400, Tom Rini tr...@ti.com wrote: The new in the patch board/ti/am335x/u-boot.lds needed to

Re: [U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-11 Thread Suriyan Ramasami
Yes, the u-boot is based off of 2010.12: The source with the odroid-u2 (Exynos4412) mods are in https://github.com/hardkernel/u-boot You are right, the problem is in enabling USB. I do not seem ot find documentation as to the IO addresses and what values to poke/peek in them to initialize and

[U-Boot] SPL size issues on OMAP4

2013-07-11 Thread Michael Cashwell
Greetings, I've been absent for a while and couldn't find a way to search the list archives so I apologize if this has already been discussed… I've been fighting the SPL binary growing too large on OMAP4 (using custom configs and features). It's annoying that too large just fails to run with

Re: [U-Boot] [PATCH v1 7/7] imx: add status reporting for HAB status

2013-07-11 Thread Fabio Estevam
Hi Stefano, On Thu, Jul 11, 2013 at 10:06 AM, Stefano Babic sba...@denx.de wrote: --- a/arch/arm/cpu/armv7/mx6/Makefile +++ b/arch/arm/cpu/armv7/mx6/Makefile @@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk LIB= $(obj)lib$(SOC).o Whole series looks good. Only a minor comment: -COBJS

Re: [U-Boot] SPL size issues on OMAP4

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 01:01:30PM -0400, Michael Cashwell wrote: Greetings, I've been absent for a while and couldn't find a way to search the list archives so I apologize if this has already been discussed? I've been fighting the SPL binary growing too large on OMAP4 (using custom

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-07-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Jul 2013 12:15:50 -0400, Tom Rini tr...@ti.com wrote: On Thu, Jun 27, 2013 at 11:41:59AM +0200, Albert ARIBAUD wrote: Hi Sascha, On Tue, 25 Jun 2013 11:42:53 +0200, Sascha Silbe t-ub...@infra-silbe.de wrote: Hello Albert, hello Tom, Albert ARIBAUD

Re: [U-Boot] [[PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-11 Thread Nishanth Menon
On Jul 11, 2013 10:55 AM, Dan Murphy dmur...@ti.com wrote: On 07/10/2013 06:56 PM, Nishanth Menon wrote: On 07/10/2013 03:06 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com ---

Re: [U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-07-11 Thread Tom Rini
On Thu, Jul 11, 2013 at 07:40:28PM +0200, Albert ARIBAUD wrote: Hi Tom, On Thu, 11 Jul 2013 12:15:50 -0400, Tom Rini tr...@ti.com wrote: On Thu, Jun 27, 2013 at 11:41:59AM +0200, Albert ARIBAUD wrote: Hi Sascha, On Tue, 25 Jun 2013 11:42:53 +0200, Sascha Silbe

[U-Boot] [PATCH v3 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-11 Thread Dan Murphy
Add the tca642x gpio expander driver Datasheet: http://www.ti.com/product/tca6424a Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Updated per comments - http://patchwork.ozlabs.org/patch/257602/ v3 - Fixed checkpatch issues - http://patchwork.ozlabs.org/patch/257841/ drivers/gpio/Makefile

Re: [U-Boot] [PATCH v1 0/7] The patchset fixes some issue in the generation of the imx image

2013-07-11 Thread Otavio Salvador
On Thu, Jul 11, 2013 at 10:06 AM, Stefano Babic sba...@denx.de wrote: (header for Freescale's i.MX processors) to allow the usage of Freescale's tools to sign the u-boot image and provide a secure boot. This has nothing to do with the Secure Boot extensions implemented by Simon Glass, that

[U-Boot] [PATCH v3 2/2] gpio: omap5-uevm: Configure the tca6424 gpio expander

2013-07-11 Thread Dan Murphy
Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Updated per comments - http://patchwork.ozlabs.org/patch/257603/ v3 - Updated documentation. No change to mux data the code is the patch is required or I2C reads

Re: [U-Boot] [PATCH v1 6/7] tools: add support for setting the CSF into imximage

2013-07-11 Thread Wolfgang Denk
Dear Stefano Babic, In message 1373548001-19728-7-git-send-email-sba...@denx.de you wrote: Add support for setting the CSF (Command Sequence File) pointer which is used for HAB (High Assurance Boot) in the imximage by adding e.g. This patch throws a checkpatch error that needs to be fixed:

Re: [U-Boot] [PATCH v1 0/7] The patchset fixes some issue in the generation of the imx image

2013-07-11 Thread Eric Nelson
On 07/11/2013 11:11 AM, Otavio Salvador wrote: On Thu, Jul 11, 2013 at 10:06 AM, Stefano Babic sba...@denx.de wrote: snip Next step is to verify the kernel, that can be still done using Simon's patches for verified boot (CONFIG_OF_CONTROL must be set in the board configuarion file). I

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Wolfgang Denk
Dear Thierry Reding, In message 20130711150014.ga2...@dhcp-172-17-186-34.nvidia.com you wrote: I'm pretty sure it's all architectures, and this is a problem for device trees as well. The tricks done to deal with highmem mean it's not suitable for certain tasks, if I recall things right

Re: [U-Boot] [PATCH v1 3/7] tools: dynamically allocate imx_header in imximage

2013-07-11 Thread Marek Vasut
Dear Stefano Babic, Change to dynamically allocate the imx_header to correctly allocate the IVT, Boot Data and DCD at correct locations depending on the boot media. Also check that the Image Vector Table Offset + IVT + Boot Data + DCD = Initial Load Region Size. Previously struct

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/11/2013 02:21 PM, Wolfgang Denk wrote: Dear Thierry Reding, [snip] Also, when changing the behaviour, you should also update the comments. Agreed. I'm not sure which comments you are referring to. I updated the one immediately above

Re: [U-Boot] [PATCH v1 7/7] imx: add status reporting for HAB status

2013-07-11 Thread Marek Vasut
Dear Stefano Babic, Add functions to report the HAB (High Assurance Boot) status of e.g. i.MX6 CPUs. This is taken from git://git.freescale.com/imx/uboot-imx.git branch imx_v2009.08_3.0.35_4.0.0 cpu/arm_cortexa8/mx6/generic.c include/asm-arm/arch-mx6/mx6_secure.h Signed-off-by:

Re: [U-Boot] [PATCH] image: Don't relocate ramdisk to highmem

2013-07-11 Thread Stephen Warren
On 07/11/2013 12:21 PM, Wolfgang Denk wrote: Dear Thierry Reding, In message 20130711150014.ga2...@dhcp-172-17-186-34.nvidia.com you wrote: I'm pretty sure it's all architectures, and this is a problem for device trees as well. The tricks done to deal with highmem mean it's not suitable

  1   2   >