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

2013-07-18 Thread Roger Quadros
Dan, On 07/17/2013 11:16 PM, Dan Murphy wrote: > * 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/

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

2013-07-18 Thread Lukasz Majewski
On Thu, 18 Jul 2013 07:36:40 +0200 Heiko Schocher h...@denx.de wrote, Hi Heiko, > 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, schr

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

2013-07-18 Thread uboot
Hi Kuan-Yu Kuo, 2013/7/18 Kuan-Yu Kuo : > + /* > +* enable_fpu: > +* Some of Andes CPU version support FPU coprocessor, if so, > +* we should enable it. > +*/ > +enable_fpu: > + mfsr$r0, $CPU_VER /* enable FPU if it exists */ > + sr

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

2013-07-18 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, please stop top posting / full quoting. In message you wrote: > > 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. You managed toi find a really bad example of code. This shou

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

2013-07-18 Thread Wolfgang Denk
Dear Heiko Schocher, In message <51e77a1d.90...@denx.de> you wrote: > > > Try "nand write.trimffs" to write UBI images produced with ubinize . > > This solves not the erasecounter problem, or? > > For UBI we need something like this: > http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_a

[U-Boot] [PATCH] fs: fat: fix bug when write size is less than a sector size

2013-07-18 Thread Josh Wu
Tested in at91sam9x5ek and sama5d3x-ek in mmc fat. Signed-off-by: Josh Wu --- When I debugging this issue, I also find the thread talking about this: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/158698 But finally no patch is send for this bug. So I send this and cc all the people in

Re: [U-Boot] Boot Linux kernel with initramfs fails

2013-07-18 Thread Wolfgang Denk
Dear Axel Lin, In message <1374128157.12431.9.camel@phoenix> you wrote: > > When I boot Linux kernel with FIT Image, the kernel does not unpacking > initramfs. > ( The root cause is "initrd_start is NULL".) That's probably because you don't tell Linux that there is a ramdisk. > The initramfs is

Re: [U-Boot] [PATCH] fs: fat: fix bug when write size is less than a sector size

2013-07-18 Thread Wolfgang Denk
Dear Josh Wu, In message <1374134870-10154-1-git-send-email-josh...@atmel.com> you wrote: > Tested in at91sam9x5ek and sama5d3x-ek in mmc fat. > > Signed-off-by: Josh Wu > --- > When I debugging this issue, I also find the thread talking about this: > http://thread.gmane.org/gmane.comp.boot-lo

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

2013-07-18 Thread TigerLiu
Dear Denk: >Yes, that would be the U-Boot way to implement it. It allows you to >reusse existing code instead of adding new methods. So, is there any example SPL code which contains uncompressed algorithm code? Best wishes, ___ U-Boot mailing list U-Bo

[U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Sascha Silbe
Hello, ethernet support for Wandboard Quad seems to be broken on current master (576aacdb): U-Boot 2013.07-rc3-00021-g576aacd (Jul 18 2013 - 08:34:32)

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Sascha Silbe
Sascha Silbe writes: > I've started a git bisect run (booting via USB OTG), but it's going to > take a while as git bisect is throwing lots of commits without Wandboard > Quad support at me and seems to be only narrowing down the commits one > by one rather than on a log-2 basis. A slightly more

[U-Boot] [PATCH 1/1] net: phy/realtek: Add support for RTL8211DN and RTL8211E phy modules

2013-07-18 Thread Bhupesh Sharma
This patch adds support for Realtek PHY modules RTL8211DN and RTL8211E (variants: RTL8211E-VB-CG, RTL8211E-VL-CG, RTL8211EG-VB-CG), which can be found on Freescale's T1040RDB boards. To make the driver more generic across 8211 family, a generic name 8211x is added for macros and function names. S

Re: [U-Boot] [PATCH 6/7 v8] NAND: TPL : introduce the TPL based on the SPL

2013-07-18 Thread Zhang Ying-B40530
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, July 17, 2013 2:07 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061 Subject: Re: [PATCH 6/7 v8] NAND: TPL : introduce the TPL based on the SPL On 07/16/2013 05:04:55 A

[U-Boot] [PATCH] arm:trats:fix: Correction of loaddtb environment variable.

2013-07-18 Thread Lukasz Majewski
Missing space for loaddtb command has been added. When missing, ext4load fails with wrong number of passed parameters. Signed-off-by: Lukasz Majewski Cc: Minkyu Kang --- include/configs/trats.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/trats.h b/inc

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
Hi Sascha, On Thu, Jul 18, 2013 at 6:07 AM, Sascha Silbe wrote: > Sascha Silbe writes: > >> I've started a git bisect run (booting via USB OTG), but it's going to >> take a while as git bisect is throwing lots of commits without Wandboard >> Quad support at me and seems to be only narrowing down

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
On Thu, Jul 18, 2013 at 8:31 AM, Fabio Estevam wrote: > Hi Sascha, > > On Thu, Jul 18, 2013 at 6:07 AM, Sascha Silbe wrote: >> Sascha Silbe writes: >> >>> I've started a git bisect run (booting via USB OTG), but it's going to >>> take a while as git bisect is throwing lots of commits without Wan

[U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch

2013-07-18 Thread Lukasz Majewski
This patch extends dfu code to support transmission with -R switch specified at dfu-util. When -R is specified, the extra USB_REQ_DFU_DETACH request is sent after successful data transmission. Then dfu resources are released and reset command is issued. Signed-off-by: Lukasz Majewski Signed-off-

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

2013-07-18 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > >Yes, that would be the U-Boot way to implement it. It allows you to > >reusse existing code instead of adding new methods. > > So, is there any example SPL code which contains uncompressed algorithm > code? No, none thaty I am aware of.

Re: [U-Boot] [PATCH] arm:exynos:gpio: fix s5p_gpio_part_max for exynos4x12

2013-07-18 Thread Piotr Wilczek
Dear Minkyu Kang, Could you please review this patch? Best regards, Piotr Wilczek -- Samsung R&D Institute Poland Samsung Electronics On 05/21/2013 03:39 PM, Piotr Wilczek wrote: This patch fix wrong value returned by 's5p_gpio_part_max' function for Exynos4412. Signed-off-by: Piotr Wilczek

[U-Boot] [PATCH v6 2/2] NET: Add net_busy_flag

2013-07-18 Thread Jim Lin
This flag is to have console aware that NET transfer is running or not. Signed-off-by: Jim Lin --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_POLL_S. 2. New code will be executed only when CONFIG_CTRLC_POLL_S is defined in configuration header file

[U-Boot] [PATCH v6 1/2] console: usb: kbd: To improve TFTP booting performance

2013-07-18 Thread Jim Lin
TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS to CONFIG_CTRLC_P

Re: [U-Boot] [PATCH v6 1/2] console: usb: kbd: To improve TFTP booting performance

2013-07-18 Thread Marek Vasut
Dear Jim Lin, > TFTP booting is slow when a USB keyboard is installed and > stdin has usbkbd added. > This fix is to change Ctrl-C polling for USB keyboard to every second > when NET transfer is running. > > Signed-off-by: Jim Lin > --- > Changes in v2: > 1. Change configuration name from CONFI

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

2013-07-18 Thread Marek Vasut
Hi, > Dear Heiko Schocher, > > In message <51e77a1d.90...@denx.de> you wrote: > > > Try "nand write.trimffs" to write UBI images produced with ubinize . > > > > This solves not the erasecounter problem, or? > > > > For UBI we need something like this: > > http://www.linux-mtd.infradead.org/doc/

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

2013-07-18 Thread Dan Murphy
On 07/17/2013 11:28 PM, Marek Vasut wrote: > 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

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
Joe, On Thu, Jul 18, 2013 at 8:41 AM, Fabio Estevam wrote: > I have tried: > > --- a/drivers/net/phy/phy.c > +++ b/drivers/net/phy/phy.c > @@ -404,7 +404,7 @@ int genphy_config(struct phy_device *phydev) > if (val & ESTATUS_1000_XFULL) > features |= SUPPOR

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

2013-07-18 Thread Marek Vasut
Dear Dan Murphy, > On 07/17/2013 11:28 PM, Marek Vasut wrote: > > 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 > >> --

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Charles Coldwell
On Thu, Jul 18, 2013 at 5:07 AM, Sascha Silbe wrote: > > > Charles, do you have any idea why your commit breaks ethernet support on > Wandboard Quad? I've never heard of the Wandboard Quad, so I suppose the short answer is "no". However, the philosophy of the patch I submitted was: 1. Check the

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Charles Coldwell
On Thu, Jul 18, 2013 at 11:44 AM, Fabio Estevam wrote: > > The following patch fixes it: > > --- a/drivers/net/phy/phy.c > +++ b/drivers/net/phy/phy.c > @@ -337,12 +337,8 @@ int genphy_parse_link(struct phy_device *phydev) > estatus = phy_read(phydev, MDIO_DEVAD_NONE, >

Re: [U-Boot] [PATCH V3 5/6] omap3_beagle: support findfdt and loadfdt for devicetree support

2013-07-18 Thread Tom Rini
On Mon, Jul 15, 2013 at 04:52:51PM +0200, Koen Kooi wrote: > > Op 15 jul. 2013, om 16:49 heeft Tom Rini het volgende > geschreven: > > > On Mon, Jul 15, 2013 at 02:16:50PM +0200, Koen Kooi wrote: > >> > >> Op 15 jul. 2013, om 14:11 heeft Nishanth Menon het volgende > >> geschreven: > >> > >

Re: [U-Boot] [RFC] Improve bootargs for IGEP boards.

2013-07-18 Thread Tom Rini
On Tue, Jul 16, 2013 at 10:00:16AM +0200, Enric Balletbo Serra wrote: [snip] > o 2nd proposal: > > 4 partitions: > SPL > U-Boot > U-Boot Environment > Filesystem (ubifs): zImage + kernel modules + dtbs files + filesystem A slight change here would be 3 "part

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
On Thu, Jul 18, 2013 at 12:49 PM, Charles Coldwell wrote: > What happens if you just remove the line that assigns phydev->speed in > the previous version? It works fine if I do: --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -339,7 +339,6 @@ int genphy_parse_link(struct phy_device *

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

2013-07-18 Thread Tom Rini
On Tue, Jul 16, 2013 at 05:35:21PM +0200, Lukasz Majewski wrote: > 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 >

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
On Thu, Jul 18, 2013 at 9:31 AM, Charles Coldwell wrote: > Can somebody look up the phy register maps for the i.MX6 phy (if it's > built in) or whatever the Wandboard is using? mx6qsabresd and wandboard both use AR8031 PHY. ___ U-Boot mailing list U-Bo

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

2013-07-18 Thread Albert ARIBAUD
Hi Julius, On Wed, 17 Jul 2013 17:55:19 -0700, Julius Werner wrote: > 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 k

Re: [U-Boot] Ethernet support broken for Wandboard Quad on master

2013-07-18 Thread Fabio Estevam
On Thu, Jul 18, 2013 at 9:31 AM, Charles Coldwell wrote: > On Thu, Jul 18, 2013 at 5:07 AM, Sascha Silbe wrote: >> >> >> Charles, do you have any idea why your commit breaks ethernet support on >> Wandboard Quad? > > I've never heard of the Wandboard Quad, so I suppose the short answer > is "no".

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

2013-07-18 Thread Julius Werner
> From a security / robustness standpoint, > > - if the descriptor length field is found to be abnormal, then the code > should not process the packet at all. Here it seems it only warns > then goes on to use the descriptor. Weren't you the guy who was so worried about poor Chinese devices who

Re: [U-Boot] [PATCH v6 1/2] console: usb: kbd: To improve TFTP booting performance

2013-07-18 Thread Stephen Warren
On 07/18/2013 08:15 AM, Jim Lin wrote: > TFTP booting is slow when a USB keyboard is installed and > stdin has usbkbd added. > This fix is to change Ctrl-C polling for USB keyboard to every second > when NET transfer is running. I think this general approach is a reasonable compromise to the probl

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

2013-07-18 Thread Michael Cashwell
On Jul 18, 2013, at 12:39 PM, Tom Rini wrote: > uImage | raw | nand | 0 | "kernel" | "-" | "-" | "-" | > > Since partitions provide start/size. I've got some WIP that pulls the alt info from a GPT partition map on mmc. That alt settings in DFU can be strings or numbers was ha

Re: [U-Boot] [PATCH v6 2/2] NET: Add net_busy_flag

2013-07-18 Thread Stephen Warren
On 07/18/2013 08:15 AM, Jim Lin wrote: > This flag is to have console aware that NET transfer is running or not. I actually wonder if the shell interpreter or command-invocation code (to cover automatic bootcmd?) shouldn't set this flag before invoking every command, and clear it afterward? Or per

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

2013-07-18 Thread Dan Murphy
Dear Roger On 07/18/2013 02:10 AM, Roger Quadros wrote: > Dan, > > On 07/17/2013 11:16 PM, Dan Murphy wrote: >> * 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:

Re: [U-Boot] USB host on MPC8349 not working

2013-07-18 Thread Mehresh Ramneek-B31383
Hi Stewart, Did you probe PHY CLK on external phy pin ? Is phy clock coming to the soc ? Regards, Ramneek -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stewart Hamilton Sent: Monday, July 08, 2013 12:08 PM To: 'u-boot@lists.denx

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

2013-07-18 Thread Marek Vasut
Dear Julius Werner, > > From a security / robustness standpoint, > > > > - if the descriptor length field is found to be abnormal, then the code > > > > should not process the packet at all. Here it seems it only warns > > then goes on to use the descriptor. > > Weren't you the guy who was

Re: [U-Boot] [PATCH V3 5/6] omap3_beagle: support findfdt and loadfdt for devicetree support

2013-07-18 Thread Nishanth Menon
On Thu, Jul 18, 2013 at 11:13 AM, Tom Rini wrote: > > Yes, I'm not terribly happy with what gets done for the shipping U-Boot > on BBB, but I understand you're trying to not have too special of a > binary used in programming versus distribution of the board. If the > vendor wants to ship software

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

2013-07-18 Thread Marek Vasut
Dear 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 val

[U-Boot] [PATCH v4 2/8] am335x_evm: Update SPI_BOOT support, add MTDPARTS info

2013-07-18 Thread Tom Rini
- Style cleanup (# define -> #define) - Due to ROM issues, redudant loading isn't feasible, so drop. - Given extra space, increase max size of U-Boot to 512KiB - Correct env size to match usage (we had not re-defined ENV_SIZE). - Given extra space, keep env size as 128KiB, add redundant environment

[U-Boot] [PATCH v4 1/8] am335x_evm: Drop useless CONFIG_ENV_IS_NOWHERE

2013-07-18 Thread Tom Rini
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define of NOWHERE. Reviewed-by: Peter Korsgaard Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |4 1 file changed, 4 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index

[U-Boot] [PATCH v4 4/8] am335x_evm: Rework board_is_foo() checks

2013-07-18 Thread Tom Rini
We rework the various board_is_foo() checks to take a pointer to struct am335x_baseboard_id rather than using a local copy in board.c. This allows us to make use of the same checks in mux.c as well as fixing problems when this code could be running from read-only memory. Reviewed-by: Peter Korsgaa

[U-Boot] [PATCH v4 3/8] am335x_evm: Only set CONFIG_NAND when !CONFIG_SPI_BOOT

2013-07-18 Thread Tom Rini
Due to hardware design the board supported by the am335x_evm config cannot have both NAND and SPI (or NOR) enabled at the same time due to conflicts. Disable the NAND SW stack when we know we can't have it present. Reviewed-by: Peter Korsgaard Cc: Justin Waters Signed-off-by: Tom Rini --- Cha

[U-Boot] [PATCH v4 0/8] am335x: NOR support

2013-07-18 Thread Tom Rini
Hey all, This series adds NOR support to am335x_evm, along with a few generic changes to make gpmc clearer (for per-board things like different NOR chips, etc). This series depends on the last go-round of the am335x falcon mode docs as that adds the README that I add more content to. And while I

[U-Boot] [PATCH v4 5/8] am33xx: Correct gpmc_cfg->irqstatus/enable

2013-07-18 Thread Tom Rini
Based on our usage of the GPMC, either with NOR or NAND we do not need to be setting the irqstatus or irqenable bits and should clear them like we have historically. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/mem.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

[U-Boot] [PATCH v4 6/8] am335x_evm: Add support for the NOR module on the memory cape

2013-07-18 Thread Tom Rini
From: Steve Kipisz This patch adds support for the NOR module that attaches to the memory cape for a Beaglebone board. This does not add booting support; only support so that you can boot from SD/MMC and see the NOR module so that it can be programmed. Signed-off-by: Steve Kipisz [trini: Clean

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

2013-07-18 Thread Tom Rini
From: Steve Kipisz 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 of NOR that we are found on. When NOR_BOOT is set we save our environment in NOR at 512KiB and a redundant copy at 768KiB. We avoid u

[U-Boot] [PATCH v4 8/8] board/ti/am335x/README: Document NOR programming

2013-07-18 Thread Tom Rini
The Beaglebone White may be populated with a memory cape that has a NOR module. Document how to program it. Signed-off-by: Tom Rini --- board/ti/am335x/README | 23 +++ 1 file changed, 23 insertions(+) diff --git a/board/ti/am335x/README b/board/ti/am335x/README index 6d4

[U-Boot] [PATCH 2/2] ARM: tegra: Enable data cache on Dalmore

2013-07-18 Thread Thierry Reding
From: Thierry Reding Disabling the data cache is no longer required to boot Dalmore, so enable it. This results in notably better performance when loading and booting the Linux kernel. Signed-off-by: Thierry Reding --- include/configs/dalmore.h | 3 --- 1 file changed, 3 deletions(-) diff --g

[U-Boot] [PATCH 1/2] ARM: tegra: Make cache line size SoC specific

2013-07-18 Thread Thierry Reding
From: Thierry Reding Currently all Tegra SoCs are assumed to have 32 byte cache lines. This isn't true for Tegra114, however, which uses 4 Cortex-A15 cores and therefore uses a cache line size of 64 bytes. Move the cache line size setting to the per-SoC common configuration file. Signed-off-by:

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

2013-07-18 Thread Albert ARIBAUD
Hi Tom, On Thu, 18 Jul 2013 15:13:04 -0400, Tom Rini wrote: > Changes in v4: > - Rebase to current. Note that the asm statements seemingly conflict > with the save_omap_boot_params call, but I don't see why. How exactly does the conflict manifest itself? Amicalement, -- Albert. ___

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

2013-07-18 Thread Julius Werner
> Mulling over this some more, I suspect if the device does have incorrect > config > descriptor, we should just ignore the device because it's broken piece of > junk. I can change it if you insist, but I'd like to keep it to make the code look more consistent (since later on with the interface/

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

2013-07-18 Thread Tom Rini
On Thu, Jul 18, 2013 at 09:21:33PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > On Thu, 18 Jul 2013 15:13:04 -0400, Tom Rini wrote: > > > Changes in v4: > > - Rebase to current. Note that the asm statements seemingly conflict > > with the save_omap_boot_params call, but I don't see why. > > Ho

[U-Boot] [PATCH] net: phy: Fix networking regression on some mx6 boards

2013-07-18 Thread Fabio Estevam
From: Fabio Estevam Since commit de1d786edf (add support for Xilinx 1000BASE-X phy (GTX)) we are no longer able to use tftp transfers on some mx6 boards like mx6qsabresd and wandboard, which use AR8031 Ethernet phy. Revert the commit as a proper fix is still not available. Reported-by: Sascha S

[U-Boot] [PATCH] net: phy: Fix networking regression on some mx6 boards

2013-07-18 Thread Fabio Estevam
From: Fabio Estevam Since commit de1d786edf (add support for Xilinx 1000BASE-X phy (GTX)) we are no longer able to use tftp transfers on some mx6 boards like mx6qsabresd and wandboard, which use AR8031 Ethernet phy. Revert the commit as a proper fix is still not available. Reported-by: Sascha S

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Make cache line size SoC specific

2013-07-18 Thread Stephen Warren
On 07/18/2013 01:13 PM, Thierry Reding wrote: > From: Thierry Reding > > Currently all Tegra SoCs are assumed to have 32 byte cache lines. This > isn't true for Tegra114, however, which uses 4 Cortex-A15 cores and > therefore uses a cache line size of 64 bytes. Move the cache line size > setting

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

2013-07-18 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/18/2013 04:17 PM, Lukasz Majewski wrote: > On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell > wrote: > >> On Jul 18, 2013, at 12:39 PM, Tom Rini wrote: >> >>> uImage | raw | nand | 0 | "kernel" | "-" | "-" >>> | "-" | >>>

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

2013-07-18 Thread Lukasz Majewski
On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell wrote: > On Jul 18, 2013, at 12:39 PM, Tom Rini wrote: > > > uImage | raw | nand | 0 | "kernel" | "-" | "-" | > > "-" | > > > > Since partitions provide start/size. > > I've got some WIP that pulls the alt info from a GPT p

Re: [U-Boot] [PATCH v6 2/2] NET: Add net_busy_flag

2013-07-18 Thread Marek Vasut
Dear Stephen Warren, > On 07/18/2013 08:15 AM, Jim Lin wrote: > > This flag is to have console aware that NET transfer is running or not. > > I actually wonder if the shell interpreter or command-invocation code > (to cover automatic bootcmd?) shouldn't set this flag before invoking > every comma

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

2013-07-18 Thread Marek Vasut
Dear Julius Werner, > > Mulling over this some more, I suspect if the device does have incorrect > > config descriptor, we should just ignore the device because it's broken > > piece of junk. > > I can change it if you insist, but I'd like to keep it to make the > code look more consistent (since

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

2013-07-18 Thread Bo Shen
Hi Albert, On 07/17/2013 06:42 PM, Albert ARIBAUD wrote: 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 a

Re: [U-Boot] [PATCH] net: phy: Fix networking regression on some mx6 boards

2013-07-18 Thread Otavio Salvador
On Thu, Jul 18, 2013 at 6:04 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit de1d786edf (add support for Xilinx 1000BASE-X phy (GTX)) > we are no longer able to use tftp transfers on some mx6 boards > like mx6qsabresd and wandboard, which use AR8031 Ethernet phy. > > Revert the co

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Make cache line size SoC specific

2013-07-18 Thread Thierry Reding
On Thu, Jul 18, 2013 at 03:19:18PM -0600, Stephen Warren wrote: > On 07/18/2013 01:13 PM, Thierry Reding wrote: > > From: Thierry Reding > > > > Currently all Tegra SoCs are assumed to have 32 byte cache lines. This > > isn't true for Tegra114, however, which uses 4 Cortex-A15 cores and > > there

Re: [U-Boot] [PATCH] dfu: Implementation of target reset after communication with dfu-util's -R switch

2013-07-18 Thread Heiko Schocher
Hello Lukasz, Am 18.07.2013 13:19, schrieb Lukasz Majewski: This patch extends dfu code to support transmission with -R switch specified at dfu-util. When -R is specified, the extra USB_REQ_DFU_DETACH request is sent after successful data transmission. Then dfu resources are released and reset

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

2013-07-18 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

Re: [U-Boot] [PATCH 1/2] ARM: tegra: Make cache line size SoC specific

2013-07-18 Thread Stephen Warren
On 07/18/2013 08:38 PM, Thierry Reding wrote: > On Thu, Jul 18, 2013 at 03:19:18PM -0600, Stephen Warren wrote: >> On 07/18/2013 01:13 PM, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> Currently all Tegra SoCs are assumed to have 32 byte cache >>> lines. This isn't true for Tegra114, how

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

2013-07-18 Thread Minkyu Kang
On 18/07/13 17:08, Wolfgang Denk wrote: > Dear tiger...@viatech.com.cn, > > please stop top posting / full quoting. > > > In message > you wrote: >> >> 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. > >

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

2013-07-18 Thread Heiko Schocher
Hello Marek, Am 18.07.2013 17:10, schrieb Marek Vasut: Hi, Dear Heiko Schocher, In message<51e77a1d.90...@denx.de> you wrote: Try "nand write.trimffs" to write UBI images produced with ubinize . This solves not the erasecounter problem, or? For UBI we need something like this: http://www

Re: [U-Boot] [PATCH] arm:trats:fix: Correction of loaddtb environment variable.

2013-07-18 Thread Minkyu Kang
On 18/07/13 20:14, Lukasz Majewski wrote: > Missing space for loaddtb command has been added. When missing, ext4load > fails with wrong number of passed parameters. > > > Signed-off-by: Lukasz Majewski > Cc: Minkyu Kang > --- > include/configs/trats.h |2 +- > 1 file changed, 1 insertion(+

Re: [U-Boot] [PATCH] arm:exynos:gpio: fix s5p_gpio_part_max for exynos4x12

2013-07-18 Thread Minkyu Kang
On 18/07/13 23:10, Piotr Wilczek wrote: > Dear Minkyu Kang, > > Could you please review this patch? Please don't top posting. And your patches will be merged after release. > > Best regards, > Piotr Wilczek > > -- > Samsung R&D Institute Poland > Samsung Electronics > Thanks, Minkyu Kang.

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

2013-07-18 Thread Lukasz Majewski
On Fri, 19 Jul 2013 06:32:14 +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