Re: [U-Boot] [PATCH] edid: rename struct member to fix two EDID_* macros

2013-08-12 Thread Christian Gmeiner
2013/8/7 Christian Gmeiner christian.gmei...@gmail.com: Without this change EDID_DETAILED_TIMING_VSYNC_OFFSET and EDID_DETAILED_TIMING_VSYNC_PULSE_WIDTH macros can not be used (compile error). The fix is quite trivial: rename struct member to the expected name. Signed-off-by: Christian

[U-Boot] Pull request - fpga

2013-08-12 Thread Michal Simek
Hi Tom, please pull these two patches to your tree. Both patches targets Zynq fpga code. Thanks, Michal The following changes since commit a78dac79ede7fbb4c9e816abc879655540c3f076: nds32: fix the missing COBJS-y change (2013-08-09 01:51:24 +0800) are available in the git repository at:

[U-Boot] [U-boot] DFU and android fast boot

2013-08-12 Thread TigerLiu
Hi, experts: DFU tool is for updating U-boot firmware. So, Android fast boot protocol also includes this functionality. So, when to use DFU tool? (User usually uses android fast boot functionality to update U-boot firmware) Best wishes, ___

[U-Boot] Pull request - arm/zynq

2013-08-12 Thread Michal Simek
Hi Albert, please pull these 3 zynq patches to your arm tree. There is still pending the arm: lds: Remove libgcc eabi exception handling tables patch. Have you considered to also add it? Thanks. Michal The following changes since commit c85c7faf476a3f77389f71d898ced6a326a8c691: nds32: fix

[U-Boot] Pull request - arm/zynq v2

2013-08-12 Thread Michal Simek
Hi Albert, please pull these 3 zynq patches to your arm tree. There is still pending the arm: lds: Remove libgcc eabi exception handling tables patch. Have you considered to also add it? v2: - Changed email address, - There was incorrect rebase which I have fixed - correct sha1 now Thanks.

Re: [U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-12 Thread Jagan Teki
Hi Sascha, Thanks for testing master-test branch. On 11-08-2013 20:20, Sascha Silbe wrote: Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Please find the test branch for this patch series, here. http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test

Re: [U-Boot] [PATCH v2] Add NanoBone board support

2013-08-12 Thread Mark Jackson
On 11/08/13 19:34, Tom Rini wrote: On Sun, Aug 11, 2013 at 09:31:00AM +0100, Mark Jackson wrote: On 22/04/13 13:46, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet:

Re: [U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-12 Thread Mateusz Zalega
On 08/11/13 20:04, Marek Vasut wrote: +/* You can initialize platform's USB host, device or both + * capabilities by passing this enum as an argument to + * board_usb_init(). + */ The comment style is wrong, please fix. Did the patchset pass checkpatch ? /* * multi * line * comment

[U-Boot] [PATCH] mii: dump: parameter choice

2013-08-12 Thread Stephan Bauroth
Hi all, since no one commented on my prior mail, i just took the liberty to write a little patch that chooses regs 0-5 if none are specified for 'mii dump'. Also fixes some alignment issues, typos and introduces the 'Selector Field' to the register description of PHY regs 4 and 5. On top, 'mii

[U-Boot] [U-boot] XCOBJS concept in common/Makefile

2013-08-12 Thread TigerLiu
Hi, experts: I found XCOBJS/XCOBJS-y syntax in common/Makefile. So why not use COBJS syntax? Is there some tricky concept? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [ANN] v2013.10-rc1 _soon_

2013-08-12 Thread Tom Rini
Hey all, As the merge window closed this past weekend, I would like to encourage all Custodians to get pull requests together of what's out there now, and clean and ready to go. I would like to tag -rc1 on the 19th, then another rc every other Monday, releasing on the 14th of October as

Re: [U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-12 Thread Bo Shen
Hi Wolfgang Denk, On 8/11/2013 10:50 PM, Wolfgang Denk wrote: Dear Bo Shen, In message 1376230503-25331-1-git-send-email-voice.s...@gmail.com you wrote: when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile

Re: [U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-12 Thread Wolfgang Denk
Dear Bo Shen, In message 5208de04.1000...@gmail.com you wrote: At first glance of CONFIG_ENV_IS_NOWHERE, I think no need to define the CONFIG_ENV_SIZE, actually, it needs to define the CONFIG_ENV_SIZE. So, I think add a default value will be better (Maybe another choice to add a

Re: [U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-12 Thread Tom Rini
On Sun, Aug 11, 2013 at 02:15:03PM +, Bo Shen wrote: when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile error if not define CONFIG_ENV_SIZE The problem is that ENV_SIZE is also a limiting factor on how

[U-Boot] [PULL] : Please pull u-boot-imx

2013-08-12 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit fdce7b633a1de24456226b18527cc7900c34282a: gpio: omap5-uevm: Configure the tca6424 gpio expander (2013-07-30 09:21:42 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-12 Thread Tom Rini
On Sat, Aug 10, 2013 at 03:50:45PM -0500, Dennis Gilmore wrote: On Thu, 8 Aug 2013 11:26:37 -0400 Tom Rini tr...@ti.com wrote: On Wed, Aug 07, 2013 at 06:04:23PM -0500, Dennis Gilmore wrote: On Wed, 7 Aug 2013 09:19:21 -0400 Tom Rini tr...@ti.com wrote: On Tue, Aug 06, 2013 at

Re: [U-Boot] Unified u-boot feature set for simpler distro support

2013-08-12 Thread Tom Rini
On Sat, Aug 10, 2013 at 04:07:08PM -0500, Dennis Gilmore wrote: On Fri, 09 Aug 2013 22:35:08 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 08/09/2013 05:00 PM, Stephen Warren wrote: On 08/09/2013 04:49 PM, Wolfgang Denk wrote: Dear Stephen Warren, In message

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-08-12 Thread Tom Rini
On Wed, Jul 31, 2013 at 08:20:30AM +0200, Heiko Schocher wrote: Hello Mugunthan, Am 30.07.2013 10:40, schrieb Mugunthan V N: On 7/30/2013 1:23 PM, Heiko Schocher wrote: Signed-off-by: Heiko Schocherh...@denx.de --- - changes for v2: defined all bits used in the gmii_sel register as

Re: [U-Boot] [PATCH] DFU: fix for raw data write

2013-08-12 Thread Lukasz Majewski
Hi Mateusz, When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing device

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

2013-08-12 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 --- Changes in v2: None tools/mkimage.c | 24

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

2013-08-12 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 v2 5/7] tools: add padding of data image file for imximage

2013-08-12 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 --- Changes in v2: None tools/imximage.c | 82 -- 1 file

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

2013-08-12 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 v2 0/7] The patchset fixes some issue in the generation of the imx image

2013-08-12 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 3/3] ARM: use r9 for gd

2013-08-12 Thread Albert ARIBAUD
Hi Wolfgang, On Mon, 12 Aug 2013 07:53:15 +0200, Wolfgang Denk w...@denx.de wrote: Dear Jeroen Hofstee, In message 1376254719-15594-4-git-send-email-jer...@myspectrum.nl you wrote: To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9

[U-Boot] [PATCH] Add support for KSZ8895 switch

2013-08-12 Thread Christian Gmeiner
This patch adds a dump phy driver for the KSZ8895 switch from Micrel. As the SoC MAC is directly connected to switch no autonegotiation is needed as the link is always up. Signed-off-by: Christian Gmeiner christian.gmei...@gmail.com --- drivers/net/phy/micrel.c | 31

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

2013-08-12 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 ||

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

2013-08-12 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 --- Changes in v2: None tools/imximage.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff

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

2013-08-12 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

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

2013-08-12 Thread Otavio Salvador
On Mon, Aug 12, 2013 at 11:39 AM, Stefano Babic sba...@denx.de wrote: ... The patchset allows to add to the imx Header the CSF (command Sequence File) generated by the tools provided by Freescale. The CSF is then simply concatenated to the u-boot image, making a signed bootloader, that the

Re: [U-Boot] [PATCH 3/3] ARM: use r9 for gd

2013-08-12 Thread Wolfgang Denk
Dear Albert, In message 20130812164406.5a6807e7@lilith you wrote: IIRC, r9 is used as GOT pointer ? No, it is not, well, not any more since GOT-based relocation was replaced by ELF relocation, which requires no reserved register. In any case, please also update the README section of

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

2013-08-12 Thread Stephen Warren
On 08/11/2013 12:08 PM, Marek Vasut wrote: 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. diff --git a/include/usb.h b/include/usb.h

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

2013-08-12 Thread Tom Rini
On Sat, Aug 10, 2013 at 05:56:13PM +0530, Jagannadha Sutradharudu Teki wrote: Hi Tom, Pull request has more likely a cleanup and one bug fixe. Please let me know for any issues/concerns. Thanks, Jagan. The following changes since commit d05bfd0586ccebe96e31976459c8ef45ec65e109:

Re: [U-Boot] Pull request - fpga

2013-08-12 Thread Tom Rini
On Mon, Aug 12, 2013 at 08:59:01AM +0200, Michal Simek wrote: Hi Tom, please pull these two patches to your tree. Both patches targets Zynq fpga code. Thanks, Michal The following changes since commit a78dac79ede7fbb4c9e816abc879655540c3f076: nds32: fix the missing COBJS-y

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

2013-08-12 Thread Tom Rini
On Sat, Aug 10, 2013 at 09:21:10AM -0400, Jerry Van Baren wrote: Note: This is the license header change from Roger Meier (thanks), acked by Wolfgang. While this will diverge our source a bit from the dtc upstream, I'm willing to live with that for now and indefinitely if necessary. I

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

2013-08-12 Thread Simon Glass
Hi Jerry, On Sat, Aug 10, 2013 at 7:21 AM, Jerry Van Baren gvb.ub...@gmail.comwrote: Note: This is the license header change from Roger Meier (thanks), acked by Wolfgang. While this will diverge our source a bit from the dtc upstream, I'm willing to live with that for now and indefinitely if

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-08-12 Thread Axel Lin
2013/7/1 Vipin Kumar vipin.ku...@st.com: On 7/1/2013 11:02 AM, Axel Lin wrote: The questions raised here are valid and it forced me to re-read the datasheet. For your convenience, I must tell you that the device is actually pl061 from ARM, so the driver can also be named so. The datasheet

Re: [U-Boot] [PATCH] gpio: spear_gpio: Fix gpio_set_value() implementation

2013-08-12 Thread Michael Trimarchi
Hi On Mon, Aug 12, 2013 at 6:57 PM, Axel Lin axel@ingics.com wrote: 2013/7/1 Vipin Kumar vipin.ku...@st.com: On 7/1/2013 11:02 AM, Axel Lin wrote: The questions raised here are valid and it forced me to re-read the datasheet. For your convenience, I must tell you that the device is

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

2013-08-12 Thread Jerry Van Baren
On 08/12/2013 12:35 PM, Simon Glass wrote: Hi Jerry, On Sat, Aug 10, 2013 at 7:21 AM, Jerry Van Baren gvb.ub...@gmail.com mailto:gvb.ub...@gmail.com wrote: [snip] I also discovered the u-boot libfdt/fdt_wip.c has fdt_find_regions() from Simon that isn't in the upstream dtc version.

Re: [U-Boot] [PATCH v3 1/4] arm, am33xx: add defines for gmii_sel_register bits

2013-08-12 Thread Mugunthan V N
On Monday 12 August 2013 07:52 PM, Tom Rini wrote: +#define GMII2_SEL_MII 0x0 +#define GMII2_SEL_RMII0x4 +#define GMII2_SEL_RGMII 0x8 +#define GMII2_SEL_NOTUSED 0xc NOTUSED not needed as it is not supposed to be used. same here ... I

[U-Boot] Pull request: u-boot-mpc5xxx

2013-08-12 Thread Wolfgang Denk
Dear Tom, The following changes since commit 0daa1f698593fface63eacae7897fabe42cfd28e: Merge branch 'fpga' of git://www.denx.de/git/u-boot-microblaze (2013-08-12 08:54:32 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc5xxx master for you to fetch changes up

Re: [U-Boot] Pull request: u-boot-mpc5xxx

2013-08-12 Thread Tom Rini
On Mon, Aug 12, 2013 at 09:14:19PM +0200, Wolfgang Denk wrote: Dear Tom, The following changes since commit 0daa1f698593fface63eacae7897fabe42cfd28e: Merge branch 'fpga' of git://www.denx.de/git/u-boot-microblaze (2013-08-12 08:54:32 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH 07/11] video: Encapsulate font in video_font_data.h

2013-08-12 Thread Anatolij Gustschin
Hi, On Tue, 30 Jul 2013 23:37:57 +0200 Marek Vasut ma...@denx.de wrote: This patch moves all the font configuration values into video_font_data.h so they are all in the right place with the font. The video_font.h now only includes video_font_data.h and will allow us to select and include

Re: [U-Boot] [PATCH 08/11] video: Add small 4x6 font from Linux

2013-08-12 Thread Anatolij Gustschin
On Tue, 30 Jul 2013 23:37:58 +0200 Marek Vasut ma...@denx.de wrote: This font is based on Linux drivers/video/console/font_mini_4x6.c as of commit: commit bcfbeecea11c15e243f076d37d637c2598aff4fe Author: Bjarni Ingi Gislason bjarn...@rhi.hi.is Date: Sun Aug 12 15:05:10 2012 +

Re: [U-Boot] [PATCH RESEND] exynos: video: change mipi dsi write function parameters correctly

2013-08-12 Thread Anatolij Gustschin
On Mon, 05 Aug 2013 13:34:32 +0900 Donghwa Lee dh09@samsung.com wrote: This patch have changed mipi dsi write functions' parameters correctly so that type cast operations were removed. And mipi dsi payload is composed with array of panel commands to improve readability. Signed-off-by:

[U-Boot] [PATCH v3 1/3] arm:samsung:serial Extract common UART code

2013-08-12 Thread Lukasz Majewski
This commit brings removal of duplicated code for UART IP block embedded at Samsung SoCs. New include/asm/samsung-common directory has been created to store common code for existing and future Samsung targets. Moreover building of UART code now depends on more verbose CONFIG_S5P_SERIAL. Thereof

[U-Boot] [PATCH v3 0/3] arm:exynos:cleanup: Extract common code

2013-08-12 Thread Lukasz Majewski
This series of commits attempts to clean-up the Exynos3/4 code. Common code for Exynos3 (S5PV210) and Exynos4 has been extracted. Moreover it will facilitate support for older Samsung targets - like venerable s3c6410 (arm1176) SoC. Lukasz Majewski (3): arm:samsung:serial Extract common UART

Re: [U-Boot] [PATCH] edid: rename struct member to fix two EDID_* macros

2013-08-12 Thread Anatolij Gustschin
On Wed, 7 Aug 2013 09:22:33 +0200 Christian Gmeiner christian.gmei...@gmail.com wrote: Without this change EDID_DETAILED_TIMING_VSYNC_OFFSET and EDID_DETAILED_TIMING_VSYNC_PULSE_WIDTH macros can not be used (compile error). The fix is quite trivial: rename struct member to the expected

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

2013-08-12 Thread Anatolij Gustschin
Hey Tom, The following changes since commit a78dac79ede7fbb4c9e816abc879655540c3f076: nds32: fix the missing COBJS-y change (2013-08-09 01:51:24 +0800) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

[U-Boot] [PATCH v3 3/3] arm:samsung:cpu_info: Rename s5p_* to samsung_*

2013-08-12 Thread Lukasz Majewski
Common CPU info code has been refactored to use more generic name - namely samsung_* instead of s5p_*. This change will prevent code duplication for non armv7a based SoCs (e.g. s3c64xx). Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v3: - New patch ---

[U-Boot] [PATCH] powerpc/mpc85xx: Cleanup lincese header in source files

2013-08-12 Thread York Sun
Fix the lincese header introduced by the following patches Add TWR-P10xx board support Add T4240EMU target IDT8T49N222A configuration code Add C29x SoC support Add support for C29XPCIE board Signed-off-by: York Sun york...@freescale.com --- This patch fixes the lincense header for the patches

[U-Boot] [Patch v2] powerpc/mpc85xx: Cleanup license header in source files

2013-08-12 Thread York Sun
Fix the license header introduced by the following patches Add TWR-P10xx board support Add T4240EMU target IDT8T49N222A configuration code Add C29x SoC support Add support for C29XPCIE board Signed-off-by: York Sun york...@freescale.com --- Change since v1: Fix typo.

[U-Boot] [PATCH v3 2/3] arm:samsung: Move common code from ./s5p-common to ./samsung-common/

2013-08-12 Thread Lukasz Majewski
Common Samsung code has been moved one level up - to ./samsung-common directory. This would allow other - non S5P based targets to reuse this code base Moreover duplicated header files were removed. Signed-off-by: Lukasz Majewski l.majew...@majess.pl --- Changes for v3: - Comply with SPDX

[U-Boot] Pull request: u-boot-mpc85xx

2013-08-12 Thread York Sun
Tom, The following changes since commit d05bfd0586ccebe96e31976459c8ef45ec65e109: Merge branch 'master' of git://git.denx.de/u-boot-i2c (2013-08-06 09:49:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v1 1/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-08-12 Thread Scott Wood
On Mon, 2013-08-12 at 13:31 +, Gupta, Pekon wrote: Hi, On Tue, 2013-08-06 at 15:25 +0530, Pekon Gupta wrote: This patch - replaces CONFIG_AM33xx define with generic CONFIG_NAND_OMAP_ECC_BCH8_CODE_HW so that all device families having required h/w capability can use ELM

[U-Boot] [PATCH 2/3] powerpc/t4qds: fix lanes routing for QSGMII protocols

2013-08-12 Thread Shaohui Xie
When using QSGMII protocols, the first lane and third lane on each slot need to be swapped. Signed-off-by: Shaohui Xie shaohui@freescale.com --- board/freescale/t4qds/t4qds.c | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git

[U-Boot] U-Boot question

2013-08-12 Thread Steven Rosenberg
Hi, I search the FAQs, but didn't quite find the right answer. I'm trying to understand how to load a binary from either U-Boot or directly from the bootstrapping that loads U-Boot (instead of U-Boot) and preferable multiple binaries at once (from the code automatically the way the

[U-Boot] [PATCH 0/6] handle compression buffer overflows

2013-08-12 Thread Kees Cook
This series fixes gzip, lzma, and lzo to not overflow when writing to output buffers. Without this, it might be possible for untrusted compressed input to overflow the buffers used to hold the decompressed image. To catch these conditions, I added a series of compression tests available in the

[U-Boot] [PATCH 2/6] documentation: add more compression configs

2013-08-12 Thread Kees Cook
This adds the missing compression config items to the README. Signed-off-by: Kees Cook keesc...@chromium.org --- README |9 + 1 file changed, 9 insertions(+) diff --git a/README b/README index 5c343da..247b8f3 100644 --- a/README +++ b/README @@ -1669,6 +1669,10 @@ CBFS (Coreboot

[U-Boot] [PATCH 4/6] lzma: correctly bounds-check output buffer

2013-08-12 Thread Kees Cook
The output buffer size must be correctly passed to the lzma decoder or there is a risk of overflowing memory during decompression. Switching to the LZMA_FINISH_END mode means nothing is left in an unknown state once the buffer becomes full. Signed-off-by: Kees Cook keesc...@chromium.org ---

[U-Boot] [PATCH 5/6] lzo: correctly bounds-check output buffer

2013-08-12 Thread Kees Cook
This checks the size of the output buffer and fails if it was going to overflow the buffer during lzo decompression. Signed-off-by: Kees Cook keesc...@chromium.org --- lib/lzo/lzo1x_decompress.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 3/6] gzip: correctly bounds-check output buffer

2013-08-12 Thread Kees Cook
The output buffer size not be reset by the gzip decoder or there is a risk of overflowing memory during decompression. Signed-off-by: Kees Cook keesc...@chromium.org --- lib/gunzip.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gunzip.c b/lib/gunzip.c index

[U-Boot] [PATCH 6/6] bootm: correctly bounds-check decompression

2013-08-12 Thread Kees Cook
This passes the actual memory allocation size for the destination to the decompression routines, avoiding potential memory overflows. Signed-off-by: Kees Cook keesc...@chromium.org --- common/cmd_bootm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_bootm.c

[U-Boot] [PATCH 1/6] sandbox: add compression tests

2013-08-12 Thread Kees Cook
This adds the test_compression command when building the sandbox. This tests the existing compression and decompression routines for simple sanity and for buffer overflow conditions. Signed-off-by: Kees Cook keesc...@chromium.org --- include/configs/sandbox.h |5 + test/Makefile

[U-Boot] [PATCH 3/3] powerpc/t4240: add QSGMII interface support

2013-08-12 Thread Shaohui Xie
Also some fix for QSGMII. 1. fix QSGMII configure of Serdes2. 2. fix PHY address of QSGMII MAC9 MAC10 for each FMAN. 3. fix dtb for QSGMII interface. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/cpu/mpc85xx/t4240_serdes.c | 14 +++--- board/freescale/t4qds/eth.c

[U-Boot] [PATCH 0/6] handle compression buffer overflows

2013-08-12 Thread Kees Cook
[sending, now subscribed so mailman won't yell at me] This series fixes gzip, lzma, and lzo to not overflow when writing to output buffers. Without this, it might be possible for untrusted compressed input to overflow the buffers used to hold the decompressed image. To catch these conditions, I

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

2013-08-12 Thread Marek Vasut
Dear Stephen Warren, On 08/11/2013 12:08 PM, Marek Vasut wrote: 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. diff --git

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

2013-08-12 Thread Marek Vasut
Dear 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 --- [...] + if (!imxhdr) { + fprintf(stderr, %s: malloc return