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

2013-07-19 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 l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/trats.h |2

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

2013-07-19 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 RD 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-19 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 variable

Re: [U-Boot] [U-Boot, RFC] ext4fs: le32_to_cpu() used on a 16-bit field

2013-07-19 Thread Lukasz Majewski
On Tue, 16 Jul 2013 08:14:35 + (UTC) Rommel Custodio sessyargc+ub...@gmail.com wrote, Hi Rommel, Hi All, U-Boot 2013.07-rc3 [ELDK 5.2.1 / ELDK 5.3] Now I've started to use the new ext4 code. I need the ext4write command. Though there seems to be several problems with the ext2/ext4

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

2013-07-19 Thread Wolfgang Denk
Dear Jim Lin, In message 1374156931-1718-1-git-send-email-ji...@nvidia.com you 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. Signed-off-by: Jim Lin

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

2013-07-19 Thread Albert ARIBAUD
Hi Bo, On Fri, 19 Jul 2013 09:51:02 +0800, Bo Shen voice.s...@atmel.com wrote: 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 voice.s...@atmel.com wrote: Hi Albert, On 07/17/2013 06:10 PM, Albert ARIBAUD wrote: Hi

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

2013-07-19 Thread TigerLiu
Hi, Albert: I found new u-boot source code had some PIC related question. I succeeded to boot self-uncompressed u-boot.bin now. I reviewed self-uncompressed header code (similar with Linux kernel piggy header), found: The header code would de-compress compressed uboot.bin to 0x 8000 dram

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

2013-07-19 Thread Rossier Daniel
Hi Simon, (My first name is Daniel ;-) I finally succeeded in booting u-boot on QEMU/x86 and even using tftp with networking. And thanks for your tips. First, I changed my version of qemu (from git back to 1.4.50) which solved the problem of eclipse/gdb. Now it works. Then, using the pc

[U-Boot] [PATCH] mmc: sdhci: use the SDHCI_QUIRK_USE_WIDE8 for samsung SoC

2013-07-19 Thread Jaehoon Chung
Samsung SoC is supported the WIDE8, even if Controller version is v2.0. So add the SDHCI_QUIRK_USE_WIDE8 for Samsung-SoC. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/mmc/s5p_sdhci.c |4 +++- drivers/mmc/sdhci.c |

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

2013-07-19 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Fri, 19 Jul 2013 14:59:47 +0800, tiger...@viatech.com.cn wrote: Hi, Albert: I found new u-boot source code had some PIC related question. I succeeded to boot self-uncompressed u-boot.bin now. I reviewed self-uncompressed header code (similar with Linux kernel

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

2013-07-19 Thread Sascha Silbe
Hello Charles, [CC += a few people that were CC'ed on the revert of Charles' patch] Charles Coldwell coldw...@gmail.com writes: 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: [...] Thanks for the description

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

2013-07-19 Thread TigerLiu
Hi, Albert: Sorry! I made a mistake at before mail content! The correct setting is: I changed SYS_TEXT_BASE = 0x0800 in boards.cfg. I also changed the decompressed target address = SYS_TEXT_BASE = 0x0800 . So, I could boot successfully. If I didn't let decompressed target address =

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

2013-07-19 Thread Phil Sutter
On Fri, Jul 19, 2013 at 12:20:26PM +0200, Phil Sutter wrote: Subject: [U-Boot] [PATCH] env_nand.c: support falling back to redundant ~ Heck, PATCHv4 that is. -- Viprinet Europe GmbH Mainzer Str. 43 55411 Bingen am Rhein Germany Phone/Zentrale: +49 6721

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

2013-07-19 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 ji...@nvidia.com --- Changes in v2: 1. Change configuration name from CONFIG_CTRLC_POLL_MS

[U-Boot] [PATCH v7 1/2] NET: Add net_busy_flag if CONFIG_USB_KEYBOARD is defined

2013-07-19 Thread Jim Lin
This flag is to have console aware that NET transfer is running or not. Signed-off-by: Jim Lin ji...@nvidia.com --- 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

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

2013-07-19 Thread Roger Quadros
On 07/18/2013 08:48 PM, Dan Murphy wrote: 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

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

2013-07-19 Thread Josh Wu
Dear Wolfgang Denk, Thank you for the quick reply. On 7/18/2013 4:24 PM, Wolfgang Denk wrote: 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 josh...@atmel.com --- When I

[U-Boot] [PATCH 0/3] ARM: tegra: add nvec keyboard support for paz00

2013-07-19 Thread Andrey Danin
This patch series introduces keyboard support for AC100 (board paz00). NVEC code is based on linux kernel driver. Keytable header file is copied from linux kernel (with small style modifications). NVEC initialization is implemented on later stage because early initialization fails for unknown

[U-Boot] When will the ARMv8 bootloader be released?

2013-07-19 Thread Zhang Heron
Hi, Does anyone know about the complete bootloader of ARMv8 architecture SOC? APM had developed a SOC and a real development board with ARMv8 CPU, with Fedora running on it(Search the words fedora run on armv8 on YouTube). What I'm concerend about is, when will the ARMv8 uboot be released ? Does

[U-Boot] [PATCH 2/3] ARM: tegra: add input driver for nvec keyboard

2013-07-19 Thread Andrey Danin
Signed-off-by: Andrey Danin danind...@mail.ru --- drivers/input/Makefile |1 + drivers/input/tegra-nvec-kbc.c | 131 +++ include/configs/tegra-common-post.h |2 + 3 files changed, 134 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH 3/3] ARM: tegra: paz00: enable nvec keyboard support

2013-07-19 Thread Andrey Danin
Signed-off-by: Andrey Danin danind...@mail.ru --- board/compal/dts/tegra20-paz00.dts |8 include/configs/paz00.h|8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/board/compal/dts/tegra20-paz00.dts b/board/compal/dts/tegra20-paz00.dts index

[U-Boot] [PATCH 1/3] ARM: tegra: add nvec driver

2013-07-19 Thread Andrey Danin
Adopted version of nvec driver from linux kernel with keyboard support only. Signed-off-by: Andrey Danin danind...@mail.ru --- arch/arm/include/asm/arch-tegra/tegra_nvec.h | 117 + .../arm/include/asm/arch-tegra/tegra_nvec_events.h | 31 ++

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

2013-07-19 Thread Phil Sutter
Hi, On Wed, Jul 17, 2013 at 05:25:31PM -0500, Scott Wood wrote: 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

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

2013-07-19 Thread Wolfgang Denk
Dear Josh Wu, In message 51e90a3d.6000...@atmel.com you wrote: Why would this be needed? The case of a partial write is covered further down below in the code, in the if (size % mydata-sect_size) part... The call of disk_write() will pass the sector size as 0. That will cause the

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

2013-07-19 Thread Phil Sutter
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 logic for incomplete writes applies to this case as

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

2013-07-19 Thread Wolfgang Denk
Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you 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. ... +#ifdef

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

2013-07-19 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Fri, 19 Jul 2013 17:25:46 +0800, tiger...@viatech.com.cn wrote: Hi, Albert: Sorry! I made a mistake at before mail content! The correct setting is: I changed SYS_TEXT_BASE = 0x0800 in boards.cfg. I also changed the decompressed target address =

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

2013-07-19 Thread Jim Lin
On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you 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

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

2013-07-19 Thread Tom Rini
On Wed, Jul 17, 2013 at 05:14:17PM +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 drive

Re: [U-Boot] When will the ARMv8 bootloader be released?

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 04:06:52PM +0800, Zhang Heron wrote: Hi, Does anyone know about the complete bootloader of ARMv8 architecture SOC? APM had developed a SOC and a real development board with ARMv8 CPU, with Fedora running on it(Search the words fedora run on armv8 on YouTube). What I'm

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

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 02:36:36PM +0900, Minkyu Kang wrote: 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 l.majew...@samsung.com Cc:

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

2013-07-19 Thread Fabio Estevam
On Fri, Jul 19, 2013 at 7:25 AM, Sascha Silbe t-ub...@infra-silbe.de wrote: Hello Charles, [CC += a few people that were CC'ed on the revert of Charles' patch] Charles Coldwell coldw...@gmail.com writes: I've never heard of the Wandboard Quad, so I suppose the short answer is no. However,

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

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 09:38:42AM -0300, Fabio Estevam wrote: On Fri, Jul 19, 2013 at 7:25 AM, Sascha Silbe t-ub...@infra-silbe.de wrote: Hello Charles, [CC += a few people that were CC'ed on the revert of Charles' patch] Charles Coldwell coldw...@gmail.com writes: I've never heard

Re: [U-Boot] [PATCH] fs/ext4: caculate log2blksz from blksz, other its value = 0

2013-07-19 Thread Dennis Lan (dlan)
On Fri, Jun 28, 2013 at 9:47 AM, Dennis Lan (dlan) dennis.y...@gmail.com wrote: Hi Albert, Eich On Thu, Jun 27, 2013 at 6:17 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Lan, On Thu, 27 Jun 2013 17:42:31 +0800, Lan Yixun (dlan) dennis.y...@gmail.com wrote: From: Lan Yixun

[U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in this case. Set the SUPPORTED_1000baseX_Half flag instead. Signed-off-by:

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

2013-07-19 Thread Tom Rini
On Wed, Jul 17, 2013 at 03:10:59PM -0700, 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.

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

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

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

2013-07-19 Thread Marek Vasut
Dear Jim Lin, On Fri, 2013-07-19 at 19:17 +0800, Wolfgang Denk wrote: Dear Jim Lin, In message 1374226576-13401-2-git-send-email-ji...@nvidia.com you 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

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

2013-07-19 Thread Marek Vasut
Dear Heiko Schocher, Hello Marek, Am 18.07.2013 17:10, schrieb Marek Vasut: Hi, Dear Heiko Schocher, In message51e77a1d.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

Re: [U-Boot] [PATCH] fs/ext4: caculate log2blksz from blksz, other its value = 0

2013-07-19 Thread Albert ARIBAUD
Hi Dennis, On Fri, 19 Jul 2013 20:36:33 +0800, Dennis Lan (dlan) dennis.y...@gmail.com wrote: On Fri, Jun 28, 2013 at 9:47 AM, Dennis Lan (dlan) dennis.y...@gmail.com wrote: Hi Albert, Eich On Thu, Jun 27, 2013 at 6:17 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Lan,

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Fabio Estevam
Hi Charles, On Fri, Jul 19, 2013 at 10:59 AM, Charles Coldwell coldw...@gmail.com wrote: On Fri, Jul 19, 2013 at 9:01 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Charles Coldwell
On Fri, Jul 19, 2013 at 9:01 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Charles Coldwell
On Fri, Jul 19, 2013 at 10:01 AM, Fabio Estevam feste...@gmail.com wrote: Hi Charles, On Fri, Jul 19, 2013 at 10:59 AM, Charles Coldwell coldw...@gmail.com wrote: On Fri, Jul 19, 2013 at 9:01 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Commit

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

2013-07-19 Thread Charles Coldwell
It's difficult. The board has been taken away from me. It was a Virtex 6 FPGA running Microblaze Linux; I might be able to test on a Virtex 7 but not for several days. Sascha Silbe's fix looks good to me, however. On Fri, Jul 19, 2013 at 8:42 AM, Tom Rini tr...@ti.com wrote: On Fri, Jul 19,

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Sascha Silbe
Albert ARIBAUD albert.u.b...@aribaud.net writes: Although, with recent proposals like the TPL one: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/164432 ... I am toying with the idea of a more generic build mechanism which would allow a target to specify as many binaries as it

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

2013-07-19 Thread Simon Glass
Hi Daniel, On Fri, Jul 19, 2013 at 1:49 AM, Rossier Daniel daniel.ross...@heig-vd.chwrote: Hi Simon, (My first name is Daniel ;-) I finally succeeded in booting u-boot on QEMU/x86 and even using tftp with networking. And thanks for your tips. First, I changed my version of qemu (from git

Re: [U-Boot] [PATCH 1/3] ARM: tegra: add nvec driver

2013-07-19 Thread Tom Warren
Andrey, -Original Message- From: Andrey Danin [mailto:danind...@mail.ru] Sent: Friday, July 19, 2013 1:48 AM To: Tom Warren; u-boot@lists.denx.de Cc: Stephen Warren; Marc Dietrich; Julian Andres Klode; ac...@lists.launchpad.net; Andrey Danin Subject: [PATCH 1/3] ARM: tegra: add

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Sascha Silbe
Fabio Estevam feste...@gmail.com writes: Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in this case. Set the SUPPORTED_1000baseX_Half flag instead. Nice catch.

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Simon Glass
Hi, On Fri, Jul 19, 2013 at 9:27 AM, Sascha Silbe t-ub...@infra-silbe.dewrote: Albert ARIBAUD albert.u.b...@aribaud.net writes: Although, with recent proposals like the TPL one: http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/164432 ... I am toying with the idea of a more

Re: [U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-19 Thread Dan Murphy
Julius On 07/18/2013 03:53 PM, Julius Werner wrote: Hi Dan, I've just had a quick glance over the patches you referenced, so please let me know if I'm making wrong assumptions. Your approach seems to be to copy the relevant drivers (especially the whole XHCI stack) from Linux whole and then

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 10:01:34AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in this

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Charles Coldwell
On Fri, Jul 19, 2013 at 12:55 PM, Tom Rini tr...@ti.com wrote: On Fri, Jul 19, 2013 at 10:01:34AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Albert ARIBAUD
Hi Simon, On Fri, 19 Jul 2013 10:53:33 -0600, Simon Glass s...@chromium.org wrote: Hi, On Fri, Jul 19, 2013 at 9:27 AM, Sascha Silbe t-ub...@infra-silbe.dewrote: Albert ARIBAUD albert.u.b...@aribaud.net writes: Although, with recent proposals like the TPL one:

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

2013-07-19 Thread Joe Hershberger
On Fri, Jul 19, 2013 at 5:25 AM, Sascha Silbe t-ub...@infra-silbe.de wrote: From: Sascha Silbe t-ub...@infra-silbe.de Date: Fri, 19 Jul 2013 11:37:54 +0200 Subject: [PATCH] phy: fix 10/100Mbps operation on 1Gbps-capable links de1d786 [add support for Xilinx 1000BASE-X phy (GTX)] introduced a

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Simon Glass
Hi Albert, On Fri, Jul 19, 2013 at 12:12 PM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Simon, On Fri, 19 Jul 2013 10:53:33 -0600, Simon Glass s...@chromium.org wrote: Hi, On Fri, Jul 19, 2013 at 9:27 AM, Sascha Silbe t-ub...@infra-silbe.de wrote: Albert ARIBAUD

[U-Boot] [PATCH] fixing wrong termination of string

2013-07-19 Thread Rossier Daniel
Hi, I discovered a small bug in lib/vsprintf.c which leads to an Access violation(2) when I tried to tftp a file, in QEMU. If CONFIG_SYS_VSNPRINTF is set, the str pointer is incremented even if str reached the end of string (str == end) because of ADDCH. This leads to a wrong length of string

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Joe Hershberger
On Fri, Jul 19, 2013 at 8:01 AM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in

[U-Boot] [PATCH 3/6] drivers/power/pmic: Add tps65910 driver

2013-07-19 Thread Tom Rini
From: Philip, Avinash avinashphi...@ti.com Add a driver for the TPS65910 PMIC that is found in the AM335x GP EVM, AM335x EVM SK and others. Signed-off-by: Philip, Avinash avinashphi...@ti.com [trini: Split and rework Avinash's changes into new drivers/power framework] Signed-off-by: Tom Rini

[U-Boot] [PATCH 4/6] am33xx: Add am33xx_spl_board_init function, call

2013-07-19 Thread Tom Rini
We need to allow for a further call-out in spl_board_init. Call this am33xx_spl_board_init and add a __weak version. This function may be used to scale the MPU frequency up, depending on board needs. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/boot-common.c | 12

[U-Boot] [PATCH 1/6] spl/Makefile: Add drivers/power/pmic/libpmic to CONFIG_SPL_POWER_SUPPORT

2013-07-19 Thread Tom Rini
We may need to access the PMIC code in SPL, when we have power set. Signed-off-by: Tom Rini tr...@ti.com --- spl/Makefile |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spl/Makefile b/spl/Makefile index 01873de..6531a5e 100644 --- a/spl/Makefile +++ b/spl/Makefile @@

[U-Boot] [PATCH 5/6] am33xx: Add the efuse_sma CONTROL_MODULE register

2013-07-19 Thread Tom Rini
Starting with PG2.1 we have a register in the CONTROL_MODULE that is set with the package type and maximum supported frequency. Add this, and the relevant mask/values. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/include/asm/arch-am33xx/cpu.h | 12 1 file changed, 12

[U-Boot] [PATCH 6/6] am335x_evm: am33xx_spl_board_init function and scale core frequency

2013-07-19 Thread Tom Rini
Add a am33xx_spl_board_init (and enable the PMICs) that we may see, depending on the board we are running on. In all cases, we see if we can rely on the efuse_sma register to tell us the maximum speed. In the case of Beaglebone White, we need to make sure we are on AC power, and are on later

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Fabio Estevam
Hi Tom, On Fri, Jul 19, 2013 at 1:56 PM, Charles Coldwell coldw...@gmail.com wrote: On Fri, Jul 19, 2013 at 12:55 PM, Tom Rini tr...@ti.com wrote: On Fri, Jul 19, 2013 at 10:01:34AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for

Re: [U-Boot] [Ac100] [PATCH 3/3] ARM: tegra: paz00: enable nvec keyboard support

2013-07-19 Thread Stephen Warren
On 07/19/2013 02:47 AM, Andrey Danin wrote: Signed-off-by: Andrey Danin danind...@mail.ru (Some patch descriptions would be useful) diff --git a/board/compal/dts/tegra20-paz00.dts b/board/compal/dts/tegra20-paz00.dts + nvec { + compatible = nvidia,tegra20-nvec; +

[U-Boot] [PATCH 2/6] drivers/power/pmic: Add tps65217 driver

2013-07-19 Thread Tom Rini
From: Greg Guyotte gguyo...@ti.com Add a driver for the TPS65217 PMIC that is found in the Beaglebone family of boards. Signed-off-by: Greg Guyotte gguyo...@ti.com [trini: Split and rework Greg's changes into new drivers/power framework] Signed-off-by: Tom Rini tr...@ti.com ---

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 20130719201237.7c83a314@lilith you wrote: My idea is that any 'component' needed in at least one 'binary' would be compiled once, and then linked as many times as there would be binaries needing it, all in one single makefile invocation. This works only as

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Wolfgang Denk
Dear Sascha Silbe, In message toetxjq8t90@twin.sascha.silbe.org you wrote: FWIW, I like the idea. Apart from streamlining the current code, it would allow building custom chains of bootloaders. One thing I could use for development would be a minimal stage that can load one of two normal

Re: [U-Boot] [PATCH 6/6] am335x_evm: am33xx_spl_board_init function and scale core frequency

2013-07-19 Thread Enric Balletbo Serra
Hi Tom, Just a comment below ... 2013/7/19 Tom Rini tr...@ti.com: Add a am33xx_spl_board_init (and enable the PMICs) that we may see, depending on the board we are running on. In all cases, we see if we can rely on the efuse_sma register to tell us the maximum speed. In the case of

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

2013-07-19 Thread Julius Werner
How would that make the code more consistent ? It seems if the device can not even provide valid config ep descriptor, the device is broken beyond salvation. Okay, sure, it's not important enough to argue about. Will resubmit it this way. The sizeof() thing is true for the configuration

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

2013-07-19 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] [PATCH 6/6] am335x_evm: am33xx_spl_board_init function and scale core frequency

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 09:37:51PM +0200, Enric Balletbo Serra wrote: Hi Tom, Just a comment below ... 2013/7/19 Tom Rini tr...@ti.com: Add a am33xx_spl_board_init (and enable the PMICs) that we may see, depending on the board we are running on. In all cases, we see if we can rely on

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

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 12:25:10PM +0200, Sascha Silbe wrote: Subject: [PATCH] phy: fix 10/100Mbps operation on 1Gbps-capable links de1d786 [add support for Xilinx 1000BASE-X phy (GTX)] introduced a check for the extended status register in order to support 1Gbps-capable PHYs that don't

Re: [U-Boot] [PATCH] net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 10:01:34AM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the checking for ESTATUS_1000_XHALF, but it incorrectly sets the SUPPORTED_1000baseX_Full flag in this

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

2013-07-19 Thread Fabio Estevam
Hi Troy, On Wed, Jul 17, 2013 at 4:46 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: 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

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Albert ARIBAUD
Hi Wolfgang, On Fri, 19 Jul 2013 21:27:54 +0200, Wolfgang Denk w...@denx.de wrote: Dear Albert ARIBAUD, In message 20130719201237.7c83a314@lilith you wrote: My idea is that any 'component' needed in at least one 'binary' would be compiled once, and then linked as many times as there

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

2013-07-19 Thread Albert ARIBAUD
Hi Julius, On Fri, 19 Jul 2013 13:12:08 -0700, Julius Werner jwer...@chromium.org 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

Re: [U-Boot] [PATCH 6/6] am335x_evm: am33xx_spl_board_init function and scale core frequency

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 03:48:44PM -0400, Tom Rini wrote: On Fri, Jul 19, 2013 at 09:37:51PM +0200, Enric Balletbo Serra wrote: Hi Tom, Just a comment below ... 2013/7/19 Tom Rini tr...@ti.com: Add a am33xx_spl_board_init (and enable the PMICs) that we may see, depending on the

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

2013-07-19 Thread Troy Kisky
On 7/19/2013 2:00 PM, Fabio Estevam wrote: Hi Troy, On Wed, Jul 17, 2013 at 4:46 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: 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.

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

2013-07-19 Thread Fabio Estevam
On Wed, Jul 17, 2013 at 4:46 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: 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

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

2013-07-19 Thread Tom Rini
On Fri, Jul 19, 2013 at 02:34:55PM -0700, Troy Kisky wrote: On 7/19/2013 2:00 PM, Fabio Estevam wrote: Hi Troy, On Wed, Jul 17, 2013 at 4:46 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: The old value of 0x000e0030 will cause ethernet timeout issues on the sabrelite and possibly

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

2013-07-19 Thread Fabio Estevam
Hi Tom, On Fri, Jul 19, 2013 at 6:50 PM, Tom Rini tr...@ti.com wrote: On Fri, Jul 19, 2013 at 02:34:55PM -0700, Troy Kisky wrote: On 7/19/2013 2:00 PM, Fabio Estevam wrote: Hi Troy, On Wed, Jul 17, 2013 at 4:46 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: The old value of

Re: [U-Boot] [RFC] Multiple binaries per U-Boot target

2013-07-19 Thread Wolfgang Denk
Dear Albert, In message 20130719230905.7a0d7f97@lilith you wrote: This works only as long as all builds use the very same configuration and compiler options. Indeed. I suspect driver configurations would be pretty much constant but other components might have different settings for

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

2013-07-19 Thread Scott Wood
On 07/18/2013 04:48:58 AM, Zhang Ying-B40530 wrote: -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 :

[U-Boot] [PATCH V2] fs/ext4: fix log2blksz un-initialized error, by cacaulating its value from blksz

2013-07-19 Thread Lan Yixun (dlan)
From: Lan Yixun (dlan) dennis.y...@gmail.com The problem here is that uboot can't mount ext4 filesystem with commit 50ce4c07df1 applied. We use hard-coded SECTOR_SIZE(512) before this commit, now we introduce (block_dev_desc_t *)-log2blksz to replace this macro. And after we calling