[U-Boot] CONFIG_SYS_FDT_PAD: Why do we need this?

2012-03-25 Thread Dirk Behme
In boot_relocate_fdt() [1] we increase the size of the loaded fdt by a predefined, hard coded CONFIG_SYS_FDT_PAD. The basic idea seem to be to create some space for adding additional information later, like the bootargs. I wonder why we have to do this by a hard coded, predefined value

Re: [U-Boot] [PATCH V2] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-25 Thread Stefano Babic
On 24/03/2012 22:01, Eric Nelson wrote: Hi Stefano, On 03/24/2012 01:19 AM, stefano babic wrote: Am 24/03/2012 08:09, schrieb Dirk Behme: Hi Stefano, Hi Dirk, On 13.03.2012 17:59, Eric Nelson wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com Should this patch go into

Re: [U-Boot] [PATCH] i.MX: fsl_esdhc: allow use with cache enabled.

2012-03-25 Thread Stefano Babic
On 24/03/2012 23:36, Eric Nelson wrote: Hi Stefano, Hi Eric, Sorry I let this linger. On 03/17/2012 03:50 AM, Stefano Babic wrote: On 03/03/2012 23:37, Eric Nelson wrote: Signed-off-by: Eric Nelsoneric.nel...@boundarydevices.com --- Hi Eric, I have added Andy in CC as MMC

Re: [U-Boot] [PATCH V2] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-25 Thread Eric Nelson
Hi Stefano, On 03/25/2012 03:17 AM, Stefano Babic wrote: On 24/03/2012 22:01, Eric Nelson wrote: Hi Stefano, On 03/24/2012 01:19 AM, stefano babic wrote: Am 24/03/2012 08:09, schrieb Dirk Behme: Hi Stefano, Hi Dirk, On 13.03.2012 17:59, Eric Nelson wrote: Signed-off-by: Eric

[U-Boot] [PATCH 0/6] add zip command support for uboot

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com This patch set add zip command support for uboot. The first two patches import deflate and trees functions from zlib 1.2.5 without any change. While the third patch did the necessary change to make the import file could be built passed in uboot environment. The

[U-Boot] [PATCH 3/6] lib: zlib: include deflate into zlib build

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by: Lei Wen lei...@marvell.com --- include/u-boot/zlib.h | 40 +++-

[U-Boot] [PATCH 2/6] lib: zlib: import trees file from 1.2.5

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com Signed-off-by: Lei Wen lei...@marvell.com --- lib/zlib/trees.c | 1244 ++ lib/zlib/trees.h | 128 ++ 2 files changed, 1372 insertions(+), 0 deletions(-) create mode 100644 lib/zlib/trees.c create mode

[U-Boot] [PATCH 5/6] lib: add gzip lib function callback

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com Signed-off-by: Lei Wen lei...@marvell.com --- include/common.h |7 +++ lib/Makefile |1 + lib/gzip.c | 143 ++ 3 files changed, 151 insertions(+), 0 deletions(-) create mode 100644 lib/gzip.c

[U-Boot] [PATCH 4/6] lib: zlib: remove the limitation for cannot using 0 as start

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com We often need the requirement that compressing those memory range start from 0, but the default deflate code in zlib prevent us to do this. Considering the special case of uboot, that it could access all memory range, it is reasonable to be able to also take the

[U-Boot] [PATCH 6/6] common: add zip command support

2012-03-25 Thread adrian . wenl
From: Lei Wen lei...@marvell.com Signed-off-by: Lei Wen lei...@marvell.com --- common/Makefile |1 + common/cmd_zip.c | 60 ++ 2 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 common/cmd_zip.c diff --git

[U-Boot] [PATCH] doc: Fix some typos in different files

2012-03-25 Thread Thomas Weber
adresses/addresses alernate/alternate asssuming/assuming calcualted/calculated enviroment/environment evalutation/evaluation falsh/flash labled/labeled paramaters/parameters Signed-off-by: Thomas Weber tho...@tomweber.eu --- doc/README.AVR32-port-muxing |4 ++-- doc/README.SNTP

[U-Boot] BIOS EMULATOR driver

2012-03-25 Thread Viktor Křivák
Hello, I'm working on one project about bios emulator and I notice that this driver is linked for boards P1022DS and sequoia too, but they don't really use any methods of it. It's safe to remove this support from configs files? Whole this driver is seems to be imported from somewhere and lots of

Re: [U-Boot] BIOS EMULATOR driver

2012-03-25 Thread Wolfgang Denk
Dear Viktor, In message CAJxx_ay7FAz-SJ0k2cBqWd1meVhDqm6vtESy=T6f9rs=kat...@mail.gmail.com you wrote: I'm working on one project about bios emulator and I notice that this driver is linked for boards P1022DS and sequoia too, but they don't really use any methods of it. It's safe to remove

[U-Boot] [PATCH v5] kirkwood: add NAS62x0 board support

2012-03-25 Thread Luka Perkov
Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220. Only difference between boards is number of SATA ports. More information about the boards can be found here: http://www.raidsonic.de/en/products/nas-systems.php?we_objectID=7036

Re: [U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-25 Thread Eric Nelson
Hi Marek, Have you had a chance to review this V4 patch for the fec_mxc driver? http://lists.denx.de/pipermail/u-boot/2012-March/120205.html Note that Stefano pointed out yesterday that PPC doesn't properly implement invalidate_dcache_range.

[U-Boot] [PATCH 2/2] pci: declare pciauto functions in header

2012-03-25 Thread Linus Walleij
The FSL PCI driver uses local prototypes for pciauto_[pre|post]scan_setup_bridge(), this does not seem right, so move them to the pci.h file. Fixed a small extern declaration too, this is harmless but distracts the view since all other prototypes are explicitly external. Signed-off-by: Linus

[U-Boot] [PATCH 1/2] pci: get rid of local prototypes

2012-03-25 Thread Linus Walleij
two boards were redeclaring pciauto_region_allocate() in their local scope for no obvious reason, the function is in pci.h anyway, this is probably just copying artifacts and old cruft. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- board/esd/cpci750/pci.c |4

Re: [U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-25 Thread Marek Vasut
Dear Eric Nelson, Hi Marek, Have you had a chance to review this V4 patch for the fec_mxc driver? http://lists.denx.de/pipermail/u-boot/2012-March/120205.html If I didn't review, I was probably fine with it as it was ;-) Though I think I acked it. Note that Stefano pointed out

[U-Boot] (no subject)

2012-03-25 Thread Eric Nelson
These two patches split the previous patch http://lists.denx.de/pipermail/u-boot/2012-March/120150.html into two parts. The first is board-independent and will be useful on all i.MX6 boards. The second is specific to the mx6qsabrelite board.

[U-Boot] [PATCH 2/2] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-25 Thread Eric Nelson
V2 has been stripped of the board-independent changes and uses clrsetbits_le32() instead of twiddling bits by hand. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 32 + include/configs/mx6qsabrelite.h

[U-Boot] [PATCH 1/2] i.MX6: add enable_sata_clock()

2012-03-25 Thread Eric Nelson
Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- This patch requires Stefano's driver for MX5/MX6 to be useful. http://lists.denx.de/pipermail/u-boot/2012-February/118530.html This is the first and board-independent part of what's needed to enable SATA on an i.MX6 board as

Re: [U-Boot] [PATCH V3 0/2] i.MX6: mx6q_sabrelite: add SATA bindings

2012-03-25 Thread Eric Nelson
On 03/25/2012 04:00 PM, Eric Nelson wrote: These two patches split the previous patch http://lists.denx.de/pipermail/u-boot/2012-March/120150.html into two parts. The first is board-independent and will be useful on all i.MX6 boards. The second is specific to the mx6qsabrelite board.

Re: [U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-25 Thread Eric Nelson
On 03/25/2012 03:44 PM, Marek Vasut wrote: Dear Eric Nelson, Hi Marek, Have you had a chance to review this V4 patch for the fec_mxc driver? http://lists.denx.de/pipermail/u-boot/2012-March/120205.html If I didn't review, I was probably fine with it as it was ;-) Though I think I

Re: [U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-25 Thread Marek Vasut
Dear Eric Nelson, ensure that transmit and receive buffers are cache-line aligned invalidate cache for each packet as received update receive buffer descriptors one cache line at a time flush cache before transmitting Original patch by Marek:

Re: [U-Boot] [PATCH 2/2] cmd_fat: add FAT write command

2012-03-25 Thread Kyungmin Park
On 3/25/12, Anatolij Gustschin ag...@denx.de wrote: On Thu, 22 Mar 2012 15:38:56 +0100 Maximilian Schwerin m...@tigris.de wrote: Once CONFIG_FAT_WRITE is defined, users can invoke 'fatwrite' command that saves data in RAM as a FAT file. This patch was originally part of

[U-Boot] Please pull u-boot-sh/master

2012-03-25 Thread Nobuhiro Iwamatsu
Dear Wolfgang Denk. Please pull u-boot-sh/master. The following changes since commit 7cb30b13f12077c7eec8ce2419cd96cd65ace8e2: Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash (2012-03-23 21:59:16 +0100) are available in the git repository at: git://git.denx.de/u-boot-sh.git

Re: [U-Boot] Loading kernel from usb

2012-03-25 Thread Marek Vasut
Dear Calvin Boyd, * please always CC the mailing list! * please avoid top-posting! Dear Marek Vasut, I tried using the CONFIG_CMD_USB to enable the use of the usb commands from the u-boot command prompt. However, I am getting compilation errors:

Re: [U-Boot] [PATCH V4] net: fec_mxc: allow use with cache enabled

2012-03-25 Thread Eric Nelson
On 03/25/2012 04:57 PM, Marek Vasut wrote: Dear Eric Nelson, ensure that transmit and receive buffers are cache-line aligned invalidate cache for each packet as received update receive buffer descriptors one cache line at a time flush cache before transmitting

[U-Boot] kobs-ng tool?

2012-03-25 Thread Bud Miljkovic
Can some give a clue how to use this tool? It used to flash NAND chips with u-boot. The I use is mx53_ard. - bud ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] BIOS EMULATOR driver

2012-03-25 Thread Viktor Křivák
Dear Wolfgang, I'm working on one project about bios emulator and I notice that this driver is linked for boards P1022DS and sequoia too, but they don't really use any methods of it. It's safe to remove this support from configs files? Are you sure that the code is not used? I pretty

Re: [U-Boot] [PATCH] Enable high speed support for USB device framework and usbtty

2012-03-25 Thread Amit Virdi
On 3/19/2012 3:58 PM, Marek Vasut wrote: Dear Shiraz Hashim, Hi Marek, On Mon, Mar 19, 2012 at 06:57:29AM +0800, Marek Vasut wrote: Hi, Yes, ep0.c has direct access to the device field. I'll omit the usbd_device_qualifier_descriptor function in V2. How's V2 going? Unfortunately Amit

[U-Boot] [PATCH 2/2] ColdFire: Update the bitops for ColdFire platform

2012-03-25 Thread Alison Wang
This patch uses the general ffs definition to replace the platform ffs definition. This patch also fixes the build error by adding hweightN definition for m5329evb and m5373evb. Signed-off-by: Jason Jin jason@freescale.com Signed-off-by: Alison Wang b18...@freescale.com ---

[U-Boot] [PATCH 1/2] ColdFire: Rename NANDFLASH_SIZE into CONFIG_NANDFLASH_SIZE for MCF537x

2012-03-25 Thread Alison Wang
This patch fixes the build error for MCF537x. As the NANDFLASH_SIZE is redefined in boards.cfg, it is needed to rename NANDFLASH_SIZE into CONFIG_NANDFLASH_SIZE in include/configs/M5373EVB.h. Signed-off-by: Alison Wang b18...@freescale.com --- include/configs/M5373EVB.h | 10 +- 1