Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 11:08:10 Tom Rini wrote: > On 07/18/2012 08:11 PM, Mike Frysinger wrote: > > On Wednesday 18 July 2012 19:45:52 Allen Martin wrote: > >> +MAJOR=$($gas --version | head -1 | awk '{print $NF}' | cut -d . -f 1) > >> +MINOR=$($gas --versio

Re: [U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 02:28:05 Albert ARIBAUD wrote: > On Thu, 19 Jul 2012 00:29:23 -0400, Mike Frysinger wrote: > > On Monday 02 July 2012 12:14:40 Måns Rullgård wrote: > > > It's slightly more complicated than that. Data can be misaligned for a > > > va

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 00:51:23 Jorgen Lundman wrote: > Mike Frysinger wrote: > > i just picked out the first "version 3" i saw in your patch. going back > > to it and searching again shows more than just one file. > > You are correct, 3 files to be precise:

Re: [U-Boot] [PATCH v3 08/18] tegra: Add SOC support for display/lcd

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 04:03:04 Adam Jiang wrote: > On Thu, Jul 12, 2012 at 11:25:08PM +0800, Simon Glass wrote: > > + /* Use a ref-to-sync of 1 always, and take this from the front > > porch */ > > ref-to-sync is supposed to be 1 here. > > > + back = fdtdec_get_int(blob, rgb, "left

Re: [U-Boot] [PATCH v3 11/18] arm: Add control over cachability of memory regions

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 14:12:41 Albert ARIBAUD wrote: > On Thu, 12 Jul 2012 08:25:11 -0700, Simon Glass wrote: > > --- a/arch/arm/include/asm/system.h > > +++ b/arch/arm/include/asm/system.h > > > > +/* options available for data cache on each page */ > > +enum dcache_option { > > + DCACHE_OFF

Re: [U-Boot] [PATCH v3 17/18] lcd: Add CONSOLE_SCROLL_LINES option to speed console

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:17 Simon Glass wrote: > --- a/README > +++ b/README > > + CONSOLE_SCROLL_LINES > + > + When the console need to be scrolled, this is the number of > + lines to scroll by. It defaults to 1. Increasing this makes > + the

Re: [U-Boot] [PATCH v3 14/18] tegra: Align LCD frame buffer to section boundary

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 13/18] lcd: Add support for flushing LCD fb from dcache after update

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:13 Simon Glass wrote: > --- a/common/lcd.c > +++ b/common/lcd.c > > +/* Flush LCD activity to the caches */ > +void lcd_sync(void) > +{ > + /* > + * flush_dcache_range() is declared in common.h but it seems that some > + * architectures do not actually

Re: [U-Boot] [PATCH v3 12/18] lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:12 Simon Glass wrote: > --- a/common/lcd.c > +++ b/common/lcd.c > > +#ifdef CONFIG_ARM > +#include > +#endif this header isn't ARM specific. also, i think most arches just include this in their "main" points rather than any non-arch places including it explicitly.

Re: [U-Boot] [PATCH v3 07/18] tegra: Add support for PWM

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:07 Simon Glass wrote: > --- a/arch/arm/cpu/armv7/tegra2/Makefile > +++ b/arch/arm/cpu/armv7/tegra2/Makefile > > +COBJS-$(CONFIG_VIDEO_TEGRA) += pwm.o should this get its own knob ? PWM isn't video specific ... -mike signature.asc Description: This is a digitally s

Re: [U-Boot] [PATCH v3 04/18] tegra: Add display support to funcmux

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 03/18] tegra: Use const for pinmux_config_pingroup/table()

2012-07-19 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 02/18] fdt: Add header guard to fdtdec.h

2012-07-19 Thread Mike Frysinger
On Thursday 12 July 2012 11:25:02 Simon Glass wrote: > This makes it easier to include this header from other headers. Acked-by: Mike Frysinger > --- a/include/fdtdec.h > +++ b/include/fdtdec.h > > const u8 *fdtdec_locate_byte_array(const void

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-19 Thread Mike Frysinger
On Thursday 19 July 2012 05:02:21 Marek Vasut wrote: > Dear Mike Frysinger, > > On Sunday 15 July 2012 04:12:45 Marek Vasut wrote: > > > Dear Macpaul Lin, > > > > +void flush_cache(unsigned long addr, unsigned long size) > > > > +{ > >

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-07-19 Thread Mike Frysinger
On Saturday 02 June 2012 11:32:14 Stijn Souffriau wrote: > On 05/20/2012 08:59 PM, Mike Frysinger wrote: > > On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: > >> --- a/board/davinci/dm365evm/dm365evm.c > >> +++ b/board/davinci/dm365evm/dm365evm.c > >&

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-07-19 Thread Mike Frysinger
On Tuesday 05 June 2012 03:28:40 Anatolij Gustschin wrote: > On Sat, 28 Apr 2012 17:04:07 +0200 Anatolij Gustschin wrote: > > Data cache flushing is required for frame buffer in RAM to fix the > > distorted console text output. Currently this text distortion is > > observed with cfb on beageboard a

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-18 Thread Mike Frysinger
On Sunday 15 July 2012 04:12:45 Marek Vasut wrote: > Dear Macpaul Lin, > > +void flush_cache(unsigned long addr, unsigned long size) > > +{ > > + flush_dcache_range(addr, addr + size); > > + invalidate_icache_range(addr, addr + size); > > You probably want to flush dcache in here and that's it

Re: [U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available

2012-07-18 Thread Mike Frysinger
On Thursday 05 July 2012 03:57:19 Albert ARIBAUD wrote: > But to be honest, I haven't seen such badly a designed protocol or file > format; their designers tend to make sure that (assuming the start of a > protocol or file 'content' (frame, record, etc) is aligned, then all > fields in it are align

Re: [U-Boot] [PATCH] arm: armv7: add compile option -mno-unaligned-access if available

2012-07-18 Thread Mike Frysinger
On Monday 02 July 2012 12:14:40 Måns Rullgård wrote: > It's slightly more complicated than that. Data can be misaligned for a > variety of reasons: > > 1. Errors in software. > 2. Specified by a file format or communication protocol. > 3. Deliberately misaligned by the compiler. > > Misaligned d

[U-Boot] Pull request u-boot-blackfin.git (master branch)

2012-07-18 Thread Mike Frysinger
nges up to 6705e036ce2a815ff23eef0e4ed123550474516d: Blackfin: bfin_mac: drop volatile markings on packet buffers (2012-07-19 00:09:32 -0400) ---- Mike Frysinger (2): Blackfin: easylogo: add lzma logos Blackfin: bfin_mac: drop volatil

[U-Boot] [PATCH] Blackfin: bfin_mac: drop volatile markings on packet buffers

2012-07-18 Thread Mike Frysinger
Now that common code doesn't declare these as volatile, we don't need to either anymore. This fixes the build warning: bfin_mac.c: In function 'bfin_EMAC_recv': bfin_mac.c:193:23: warning: assignment discards qualifiers from pointer target type Signed-off-by: Mike Frysing

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-18 Thread Mike Frysinger
On Wednesday 18 July 2012 23:20:05 Jorgen Lundman wrote: > Mike Frysinger wrote: > > i could care less about ZFS. i think you missed the entire point i > > highlighted: we cannot accept GPLv3 code. u-boot is currently GPLv2, so > > adding GPLv3 simply won't work. >

Re: [U-Boot] [PATCH v3 4/4] c6x: Add support c6745-som board

2012-07-18 Thread Mike Frysinger
On Monday 25 June 2012 14:02:41 Dmitry Bondar wrote: > --- /dev/null > +++ b/board/inmys/c6745-som/c6745-som.c > > +int board_init() (void) > +int board_eth_init(bd_t *bis) > +{ > + u_int8_t mac_addr[6]; uchar > + /* Read Ethernet MAC address from EEPROM */ > + if (dvevm_read_mac_ad

Re: [U-Boot] [PATCH v3 3/4] c6x: Add suport build davinci SOC with c674x CPUs

2012-07-18 Thread Mike Frysinger
On Monday 25 June 2012 14:02:40 Dmitry Bondar wrote: > --- a/mkconfig > +++ b/mkconfig > > + if [ "${arch}" == "c6x" -a "$soc" == "davinci" ]; then use "=", not "==" -mike signature.asc Description: This is a digitally signed message part. ___ U-Bo

Re: [U-Boot] [PATCH v3 2/4] c6x: Add support c674x CPUs

2012-07-18 Thread Mike Frysinger
On Monday 25 June 2012 14:02:39 Dmitry Bondar wrote: > --- /dev/null > +++ b/arch/c6x/cpu/c674x/cache.c > > +void flush_cache(unsigned long addr, unsigned long len) > +{ > +} > + > +void flush_dcache_range(unsigned long start, unsigned long stop) > +{ > +} > + > +void invalidate_dcache_range(unsign

Re: [U-Boot] [PATCH v3 1/4] Add support new arch: c6x

2012-07-18 Thread Mike Frysinger
On Monday 25 June 2012 14:02:38 Dmitry Bondar wrote: > C6X (C6000) is Texas Instruments architecture of fixed and floating-point > DSPs. This patch add basic support. > Many of code in arch/c6x/include/asm come from c6x-linux project > (http://linux-c6x.org) you should also update README and doc/R

Re: [U-Boot] [PATCH] doc/git-mailrc: update at91 and avr32

2012-07-18 Thread Mike Frysinger
On Monday 02 July 2012 10:51:39 Andreas Bießmann wrote: > --- a/doc/git-mailrc > +++ b/doc/git-mailrc i would just run this through your avr tree as part of your next pull request -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH 3/3] Makefile: cosmetic: optimize usage of LIBS-y

2012-07-18 Thread Mike Frysinger
On Thursday 28 June 2012 12:45:21 Daniel Schwierzeck wrote: > --- a/Makefile > +++ b/Makefile > > +HAVE_VENDOR_COMMON_LIB := $(shell [ -f board/$(VENDOR)/common/Makefile ] \ > + && echo y || echo n) HAVE_VENDOR_COMMON_LIB = $(if $(wildcard board/$(VENDOR)/common/Makefile),y,n)

Re: [U-Boot] [PATCH 2/3] Makefile: replace LIBS by LIBS-y

2012-07-18 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] Makefile: allow appending to LIB in sub-makefiles

2012-07-18 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Makefile: change LIB to LIB-y

2012-07-18 Thread Mike Frysinger
On Thursday 28 June 2012 08:40:00 Daniel Schwierzeck wrote: > Use LIB-y and LIB-$(xxx) for appending libraries. Also allow appending > to LIB-y in sub-makefiles. nice ... hope this gets split & merged soon :) -mike signature.asc Description: This is a digitally signed message part. _

Re: [U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific predefined macros

2012-07-18 Thread Mike Frysinger
On Friday 13 July 2012 09:03:40 Horst Kronstorfer wrote: > Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content > that matches system-specific or gcc-specific predefined macros. > > Example: A number of PowerPC related *.dts files in the kernel define a > property named 'linux,n

Re: [U-Boot] __led_set usage is inconsistent

2012-07-18 Thread Mike Frysinger
On Friday 13 July 2012 08:30:12 Holger Freyther wrote: > I hope that this is not a common question. I have read doc/README.LED, > compiled in the GPIO LED driver, provided my GPIO number, enabled the > LED command and then noticed that "led 0 on" didn't do what I wanted. > > It appears that the se

Re: [U-Boot] [PATCH v4 1/2] tools, config.mk: add binutils-version

2012-07-18 Thread Mike Frysinger
On Wednesday 18 July 2012 19:45:52 Allen Martin wrote: > +MAJOR=$($gas --version | head -1 | awk '{print $NF}' | cut -d . -f 1) > +MINOR=$($gas --version | head -1 | awk '{print $NF}' | cut -d . -f 2) > + > +printf "%02d%02d\\n" $MAJOR $MINOR can be replaced with a single awk script: $gas --versi

[U-Boot] [PATCH] tools: clean up mingw ifdefs

2012-07-18 Thread Mike Frysinger
We have a header file specifically for mingw cruft, so keep it there to avoid crap spreading into the main tools. This lets our devs just worry about *nix systems. Signed-off-by: Mike Frysinger --- tools/mingw_support.h |8 tools/mkenvimage.c| 10 ++ 2 files changed

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-18 Thread Mike Frysinger
On Wednesday 18 July 2012 20:14:21 Jorgen Lundman wrote: > That "ZFS" and "license" produces a knee-jerk reaction is a little tedious. i could care less about ZFS. i think you missed the entire point i highlighted: we cannot accept GPLv3 code. u-boot is currently GPLv2, so adding GPLv3 simply

Re: [U-Boot] [PATCH] tools: add kwboot binary to .gitignore file

2012-07-18 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] problem on BL1.bin

2012-07-18 Thread Mike Frysinger
On Friday 13 July 2012 01:34:02 VISWANADHULA BALAJI wrote: > Iam using smdkv310 board of SAMSUNG EXYNOS SOC. How bl1.bin file copy the > uboot.bin file from SD/MMC card to DDR2 RAM. > > by using the following device copy functions > > #define SDMMC_ReadBlocks_eMMC_ByCPU(uNumOfBlks, uDstAddr) \ >

Re: [U-Boot] [PATCH v2] fdt: Include arch specific gpio.h instead of asm-generic/gpio.h

2012-07-18 Thread Mike Frysinger
pio.h > (For example: ARM) Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] tools: Fix mingw tools build

2012-07-18 Thread Mike Frysinger
On Saturday 07 July 2012 16:05:06 Vladimir Yakovlev wrote: > --- a/tools/mkenvimage.c > +++ b/tools/mkenvimage.c > @@ -45,6 +45,13 @@ > > #define CRC_SIZE sizeof(uint32_t) > > +#ifdef __MINGW32__ > +#define FILE_PERM(S_IRUSR | S_IWUSR) > +#else > +#define FILE_PERM(S_IRUS

Re: [U-Boot] [PATCH v4 1/1] zfs: Add ZFS filesystem support

2012-07-18 Thread Mike Frysinger
On Thursday 24 May 2012 22:11:46 Jorgen Lundman wrote: > U-Boot port is based on sources forked from GRUB-0.97 by Sun in 2004, > which can be found here: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.9 > 7/stage2/zfs-include/zfs.h > > Released by Sun for GRUB under th

Re: [U-Boot] Modifying IP&mac address

2012-07-18 Thread Mike Frysinger
On Sunday 01 July 2012 05:29:15 Ran Shalit wrote: > I would like to ask your advise concerning modifying ip address: > I need to modify ip address and ethernet address according to some > hardware input in application. This change can be done in u-boot or > linux. > When I consider where is the bes

[U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Mike Frysinger
The clean up patch missed an &, so we end up passing an int rather than a pointer to the sprintf function. arp.c: In function 'ArpReceive': arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has type 'int' Signed-off-by: Mike

Re: [U-Boot] [PATCH] net: Remove redefinitions of net.h functions

2012-05-22 Thread Mike Frysinger
On Tuesday 22 May 2012 16:28:57 Joe Hershberger wrote: > Some copy/pasted drivers redefine functions > defined in include/net.h. Remove these so that > the definitions can be changed without error. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signe

Re: [U-Boot] [PATCH] Added u-boot header generating functionality to ublimage

2012-05-20 Thread Mike Frysinger
On Sunday 20 May 2012 12:53:06 Stijn Souffriau wrote: > --- a/tools/ublimage.c > +++ b/tools/ublimage.c > > +static uint32_t getDataPageSize() { don't use CamelCase in naming things. use "(void)" not "()". uncuddle the brace with function definitions. -mike signature.asc Description: This is

Re: [U-Boot] [PATCH] Added watchdog support for davinchi_dm365evm

2012-05-20 Thread Mike Frysinger
On Sunday 20 May 2012 12:50:40 Stijn Souffriau wrote: > --- a/board/davinci/dm365evm/dm365evm.c > +++ b/board/davinci/dm365evm/dm365evm.c > > +#ifdef CONFIG_HW_WATCHDOG > +static struct davinci_timer * const wdttimer = > +(struct davinci_timer *)CONFIG_SYS_WDTTIMERBASE; > + > +/* WDTCR bit

Re: [U-Boot] [RFC] Make i2c probe opt-outable?

2012-05-18 Thread Mike Frysinger
On Friday 18 May 2012 12:11:57 Tom Rini wrote: > On 05/17/2012 07:48 PM, Mike Frysinger wrote: > > On Thursday 17 May 2012 14:43:45 Tom Rini wrote: > >> I'd like to propose making 'i2c probe' be a command that is > >> opt-out'able. In the Lin

Re: [U-Boot] [PATCH] video/lcd: add new driver of LCD controler for Atmel new SoC

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 22:49:46 Bo Shen wrote: > --- a/drivers/video/Makefile > +++ b/drivers/video/Makefile > > COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o > COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o > +COBJS-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o H comes before L ;) -mike

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-17 Thread Mike Frysinger
On Tuesday 15 May 2012 01:53:10 Marek Vasut wrote: > Dear Mike Frysinger, > > On Monday 14 May 2012 14:25:14 Marek Vasut wrote: > > > Dear Mike Frysinger, > > > > On Monday 14 May 2012 07:31:35 Marek Vasut wrote: > > > > > Dear Mike Frysinger, >

Re: [U-Boot] [RFC] Make i2c probe opt-outable?

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 14:43:45 Tom Rini wrote: > I'd like to propose making 'i2c probe' be a command that is > opt-out'able. In the Linux Kernel the notion of probing for devices was > abandoned a while ago due to, in short, devices misbehaving when > randomly poked at. Over in omap24xx_i2c lan

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 18:35:25 Timur Tabi wrote: > Well, I already have code in U-boot that does this. If you look at > board/freescale/p1022ds/diu.c, you'll see that I override each of the NOR > flash accessors. This is horribly inefficient, but it works. > Unfortunately, it only covers NOR fl

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 12:10:48 Timur Tabi wrote: > Mike Frysinger wrote: > > this is less bloat: > > int board_start_saveenv(void) __attribute__((weak, alias("saveenv"))); > > > > int do_env_save(cmd_tbl_t *cmdtp, int flag, int argc, char * const >

Re: [U-Boot] [PATCH v5 2/3] create lib/tizen directory

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 03:27:55 Kyungmin Park wrote: > On 5/14/12, Mike Frysinger wrote: > > On Monday 14 May 2012 01:37:10 Kyungmin Park wrote: > >> On 5/14/12, Mike Frysinger wrote: > >> > On Thursday 10 May 2012 01:23:40 Donghwa Lee wrote: > >> &g

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 17:01:30 Charles Manning wrote: > On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: > > On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: > > > Seems odd that this hasn't been done yet. > > > Shaves 5k off an omap overo build. >

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 14:25:14 Marek Vasut wrote: > Dear Mike Frysinger, > > On Monday 14 May 2012 07:31:35 Marek Vasut wrote: > > > Dear Mike Frysinger, > > > > On Tuesday 01 May 2012 16:50:14 Marek Vasut wrote: > > > > > The gpio_from_str

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 07:31:35 Marek Vasut wrote: > Dear Mike Frysinger, > > On Tuesday 01 May 2012 16:50:14 Marek Vasut wrote: > > > The gpio_from_string() call shall parse the incoming GPIO name taken > > > from the command line and return the GPIO number used within U

Re: [U-Boot] [PATCH] config.mk:Update DBGFLAGS with dwarf information

2012-05-13 Thread Mike Frysinger
On Wednesday 15 February 2012 03:55:31 Prabhakar Kushwaha wrote: > Built u-boot elf file does not contain any dwarf informations by default. > This information is required for debugging. no real information here as to what is going wrong. the -g flag provides debug information and many people (m

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-13 Thread Mike Frysinger
On Tuesday 01 May 2012 16:50:14 Marek Vasut wrote: > The gpio_from_string() call shall parse the incoming GPIO name taken > from the command line and return the GPIO number used within U-Boot or > return -1 on error. i.e. the already existing name_to_gpio() func > The gpio_to_string() on the othe

Re: [U-Boot] [PATCH v5 2/3] create lib/tizen directory

2012-05-13 Thread Mike Frysinger
On Monday 14 May 2012 01:37:10 Kyungmin Park wrote: > On 5/14/12, Mike Frysinger wrote: > > On Thursday 10 May 2012 01:23:40 Donghwa Lee wrote: > >> Makefile |1 + > >> include/libtizen.h | 30 + > >> lib/tizen/Makefile

Re: [U-Boot] [PATCH v4 2/3] net: add helper to generate random mac address

2012-05-13 Thread Mike Frysinger
On Friday 11 May 2012 15:21:19 Wolfgang Denk wrote: > Michael Walle wrote: > > Add new function eth_random_enetaddr() to generate a locally administered > > ethernet address. > > > > Signed-off-by: Michael Walle > > --- > > > > include/net.h | 15 +++ > > net/eth.c | 20

Re: [U-Boot] [PATCH v4 0/3] net: helper functions

2012-05-13 Thread Mike Frysinger
On Friday 11 May 2012 17:22:23 Michael Walle wrote: > Am Freitag 11 Mai 2012, 23:14:25 schrieb Wolfgang Denk: > > Michael Walle wrote: > > > What about the rand function? I guess that should be two > > > compile time options > > > > > > - CONFIG_RAND > > > - CONFIG_RANDOM_HWADDR > > > > > > Any b

Re: [U-Boot] [PATCH v8 03/23] Add abs() macro to return absolute value

2012-05-13 Thread Mike Frysinger
On Friday 11 May 2012 20:08:16 Simon Glass wrote: > This macro is generally useful to make it available in common. > > This version is taken directly from the Linux kernel include/linux/kernel.h > > Signed-off-by: Simon Glass Acked-by: Mike Frysinger -mike signature.asc Descr

Re: [U-Boot] [PATCH v4] Kirkwood: add lschlv2 and lsxhl board support

2012-05-13 Thread Mike Frysinger
On Thursday 10 May 2012 13:40:33 Michael Walle wrote: > --- /dev/null > +++ b/board/buffalo/lsxl/Makefile > > +clean: > + rm -f $(SOBJS) $(OBJS) > + > +distclean: clean > + rm -f $(LIB) core *.bak .depend dead code; please delete > --- /dev/null > +++ b/board/buffalo/lsxl/lsxl.c > > +in

Re: [U-Boot] [PATCH v5 2/3] create lib/tizen directory

2012-05-13 Thread Mike Frysinger
On Thursday 10 May 2012 01:23:40 Donghwa Lee wrote: > Makefile |1 + > include/libtizen.h | 30 + > lib/tizen/Makefile | 46 + > lib/tizen/tizen.c | 40 + > lib/tizen/tizen_hd_logo.h | 5071 > lib/tizen/tizen_hd_logo_data.h |

Re: [U-Boot] [PATCH] tegra: override compiler flags for cmd_nvedit

2012-05-13 Thread Mike Frysinger
On Monday 07 May 2012 12:36:00 Allen Martin wrote: > On Sat, May 05, 2012 at 01:01:22PM -0700, Wolfgang Denk wrote: > > Allen Martin wrote: > > > Override -march setting for tegra to -march=armv4t for cmd_nvedit.c > > > > > > The recent change to use -march=armv7-a for armv7 caused a regression >

Re: [U-Boot] [PATCH] openrisc: Work around potential relocation issues

2012-05-13 Thread Mike Frysinger
On Saturday 05 May 2012 18:32:11 Julius Baxter wrote: > When reset code is in flash, the jump instructions emitted by the compiler > are relative instead of absolute jumps. > > A fix to the reset code to make correct jumps to the beginning of code > relocated to RAM have also been added. please l

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-13 Thread Mike Frysinger
On Friday 04 May 2012 18:21:31 Timur Tabi wrote: > Introduce board_start_saveenv() and board_finish_saveenv(), two "weak" > functions that are called before and after saving the environment. This > allows for board-specific functions that "prepare" the board for saving > the environment. This is

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-13 Thread Mike Frysinger
On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: > Seems odd that this hasn't been done yet. > Shaves 5k off an omap overo build. my understanding is that it doesn't work for some > +PLATFORM_RELFLAGS += -ffunction-sections where's the -fdata-sections ? -mike signature.asc Description:

Re: [U-Boot] [PATCH] checkpatch: warn of whitespace before semicolon at end of line.

2012-05-02 Thread Mike Frysinger
On Tuesday 01 May 2012 18:06:16 Eric Nelson wrote: > tools/checkpatch.pl |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) should be sent to lkml/kbuild lists ... -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-30 Thread Mike Frysinger
On Monday 30 April 2012 11:32:21 Anatolij Gustschin wrote: > On Sat, 28 Apr 2012 14:16:39 -0400 Mike Frysinger wrote: > > On Saturday 28 April 2012 11:04:07 Anatolij Gustschin wrote: > > > +static int cfb_fb_is_in_dram(void) > > > +{ > > > + bd_t *bd = gd->bd

Re: [U-Boot] [PATCH 2/2] GCC47: Fix warning in md5.c

2012-04-28 Thread Mike Frysinger
+ ctx->in32[14] = ctx->bits[0]; > + ctx->in32[15] = ctx->bits[1]; nice Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 01/11] arm: Optionally use existing atags in bootm.c

2012-04-28 Thread Mike Frysinger
On Saturday 28 April 2012 13:26:41 Pali Rohár wrote: > defined(CONFIG_INITRD_TAG) || \ > defined(CONFIG_SERIAL_TAG) || \ > defined(CONFIG_REVISION_TAG) > + #define CONFIG_SETUP_ANY_TAG don't indent the "#" -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [PATCH] video: cfb_console: flush dcache for frame buffer in DRAM

2012-04-28 Thread Mike Frysinger
On Saturday 28 April 2012 11:04:07 Anatolij Gustschin wrote: > +static int cfb_fb_is_in_dram(void) > +{ > + bd_t *bd = gd->bd; > + ulong start, end; > + int i; > + > + for (i = 0; i < CONFIG_NR_DRAM_BANKS; ++i) { > +#if defined(CONFIG_ARM) || defined(CONFIG_AVR32) || defined(COFNIG_

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Mike Frysinger
On Friday 27 April 2012 14:03:28 Tom Rini wrote: > On 04/26/2012 11:31 PM, Wolfgang Denk wrote: > > Tom Rini wrote: > >> We provide a default table of { 9600, 19200, 38400, 57600, 115200 } > >> in which mkconfig places after in > >> the generated config file. This is used when a board has not se

Re: [U-Boot] [PATCH v2 2/2] hush.c: Move default CONFIG_SYS_PROMPT_HUSH_PS2 to hush.c

2012-04-26 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-26 Thread Mike Frysinger
On Thursday 26 April 2012 18:46:35 Tom Rini wrote: > --- /dev/null > +++ b/include/config_fallbacks.h > @@ -0,0 +1,16 @@ > +/* > + * Copyright 2012 Texas Instruments > + * > + * This file is licensed under the terms of the GNU General Public > + * License Version 2. This file is licensed "as is" wi

Re: [U-Boot] [SOT] linker scripts

2012-04-26 Thread Mike Frysinger
On Thursday 26 April 2012 00:16:24 Jason wrote: > I know this is a little off topic, but u-boot is the only project I've > found implementing a feature I'd like to add to a project. > Specifically, the macro U_BOOT_CMD() and it's use of > section(".u_boot_cmd"). what is it you want to do ? a list

Re: [U-Boot] [PATCH 4/4] USB: Document the QH and qTD antics in EHCI-HCD

2012-04-26 Thread Mike Frysinger
On Sunday 08 April 2012 23:09:52 Marek Vasut wrote: > The construction of QH and qTD lists in ehci_submit_async() call is cryptic > business, add at least a bit of comments so if someone is reading it, he > can at least reference the intel ehci manual (ehci-r10.pdf). nice -mike signature.asc Des

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-04-26 Thread Mike Frysinger
On Thursday 26 April 2012 06:34:43 Thierry Reding wrote: > For reference, see sd_change_freq() in drivers/mmc/mmc.c. yes, that shows what we're talking about. int sd_change_freq(struct mmc *mmc) { ... stack vars ... int err; ALLOC_CACHE_ALIGN_BUFFER(uint, scr, 2); s

Re: [U-Boot] [PATCH 2/2] mmc: tegra: invalidate complete cachelines

2012-04-25 Thread Mike Frysinger
On Tuesday 24 April 2012 03:53:44 Thierry Reding wrote: > The MMC core sometimes reads buffers that are smaller than a complete > cacheline, for example when reading the SCR. In order to avoid a warning > from the ARM v7 cache handling code, this patch makes sure that complete > cachelines are flus

Re: [U-Boot] [PATCH] CONFIG_SYS_BAUDRATE_TABLE: Place default into

2012-04-25 Thread Mike Frysinger
On Wednesday 25 April 2012 14:46:27 Tom Rini wrote: > --- a/mkconfig > +++ b/mkconfig > @@ -167,6 +167,11 @@ cat << EOF >> config.h > #include > #include > #include > + > +/* Default baud rate table */ > +#ifndef CONFIG_SYS_BAUDRATE_TABLE > +#define CONFIG_SYS_BAUDRATE_TABLE{ 9600, 19200,

Re: [U-Boot] [PATCH] Remove remaining mdelay() macros

2012-04-25 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/4] lin_gadget: use common linux/compat.h

2012-04-25 Thread Mike Frysinger
On Wednesday 25 April 2012 04:11:41 Anatolij Gustschin wrote: > From: Mike Frysinger > > Merge our duplicate definitions with the common header. > Also fix drivers/usb/gadget/s3c_udc_otg_xfer_dma.c to > use min() instead of min_t() since we remove the latter > from compat.h.

Re: [U-Boot] [PATCH] openrisc/cache: disable icache during invalidation

2012-04-24 Thread Mike Frysinger
On Tuesday 24 April 2012 01:34:31 Stefan Kristiansson wrote: > invalidating the memory area that is being executed > while icache is on is a bit adventurous, > make sure it's turned off during this operation sounds like a bug in the chip. you should be able to icache invalidate the active insn a

Re: [U-Boot] [PATCH v2 1/2] spi: mxs: Introduce spi_cs_is_valid()

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 14:30:49 Fabio Estevam wrote: > Introduce spi_cs_is_valid() for validating spi bus and chip select numbers. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mail

[U-Boot] Sandbox: auto exiting on pipe closure

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: > 2) Sandbox does no handle EOF on stadin; this makes it impossible to >use it in test scripts. For example, something like this should >work: > > $ echo printenv | ./u-boot > >[As woraround I have to use ``echo 'printenv;re

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 17:17:57 Wolfgang Denk wrote: > Mike Frysinger wrote: > > also, what you're proposing is changing the behavior of u-boot when it's > > in the sandbox so that it acts less like the hardware. when you run > > u-boot on the hardware and it

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 16:57:16 Mike Frysinger wrote: > On Monday 23 April 2012 15:33:42 Wolfgang Denk wrote: > > Mike Frysinger wrote: > > > > You can use standard methods like select() or poll() to wait for > > > > input, which will also inform you about even

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 15:33:42 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > I don't see why we cannot simply read from stdin (or rathr from file > > > descriptor 0) as usual? > > > > the "usual" method of reading from stdin involves the

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 14:39:59 Wolfgang Denk wrote: > Simon wrote: > > > currently as designed -- this is how the hardware works after all. it > > > keeps polling stdin forever and there is no concept of "EOF" in a > > > serial port. the reads are also non-blocking, so i'm not sure it's > > > p

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 14:39:59 Wolfgang Denk wrote: > Simon wrote: > > I did try to start a discussion on the list about how to deal with > > this. One idea was to add a translation function in the md command > > (and potentially then in other code) that converts an effective > > address as seen

Re: [U-Boot] [PATCH] spi: mxs: Allow other chip selects to work

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 08:43:12 Fabio Estevam wrote: > --- a/drivers/spi/mxs_spi.c > +++ b/drivers/spi/mxs_spi.c > @@ -56,12 +58,19 @@ struct spi_slave *spi_setup_slave(unsigned int bus, > > if (bus > 3) { > printf("MXS SPI: Max bus number is 3\n"); > return NULL

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: > =>md 0x100 > 0100:Segmentation fault yes, this is because the code to make this work was reverted because of ppc oddity. i haven't reviewed that yet to see why, but it seems to me that the ppc code is not quite right. > 2)

[U-Boot] Pull request u-boot-blackfin.git (master branch)

2012-04-22 Thread Mike Frysinger
The following changes since commit 2790bf69dc12fb9aeb9836904e5f57c7f83d5552: Prepare v2012.04 (2012-04-21 18:55:26 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-blackfin.git master Mike Frysinger (3): Blackfin: gd_t: relocate volatile markings

[U-Boot] [PATCH] image/fit: drop inline markings on parser code

2012-04-22 Thread Mike Frysinger
Putting "inline" on extern funcs makes no sense, so drop them. Signed-off-by: Mike Frysinger --- common/image.c |4 ++-- include/image.h |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/image.c b/common/image.c index 342b315..91954ac 100644 --

Re: [U-Boot] FW: I want to use Barebox

2012-04-17 Thread Mike Frysinger
On Tuesday 17 April 2012 19:40:08 Graeme Russ wrote: > On Wed, Apr 18, 2012 at 2:11 AM, ANDY KENNEDY wrote: > But you fall into the trap of thinking that driver porting from Linux is > trivial - I doubt this is the case as you do not have the feature rich > kernel API (locks, mutexes, memory manage

Re: [U-Boot] Introducing myself

2012-04-14 Thread Mike Frysinger
On Thursday 12 April 2012 03:20:31 Timo Ketola wrote: > This is the first time for me to work with a community. Working practices > in a community (git procedures etc.) are all new for me. So, I'll expect > constructive critic on my forthcoming posts. g'luck! -mike signature.asc Description: Thi

Re: [U-Boot] [PATCH V3]fs/fat: align disk buffers on cache line to enable DMA and cache

2012-04-11 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2012-04-10 Thread Mike Frysinger
On Tuesday 10 April 2012 01:05:13 Lei Wen wrote: > Hi Mike, > > On Tue, Apr 10, 2012 at 12:37 PM, Mike Frysinger wrote: > > On Tuesday 03 April 2012 05:31:09 Lei Wen wrote: > >> Hi Mike, > >> > >> On Tue, Apr 3, 2012 at 3:17 AM, Mike Frysinger wrote:

Re: [U-Boot] [PATCH] net: ll_temac: drop obsolete "NAMESIZE" define

2012-04-10 Thread Mike Frysinger
x27;xilinx_ll_temac_initialize': > xilinx_ll_temac.c:301: error: 'NAMESIZE' undeclared (first use in this > function) xilinx_ll_temac.c:301: error: (Each undeclared identifier is > reported only once xilinx_ll_temac.c:301: error: for each function it > appears in.) Acked-by: M

<    1   2   3   4   5   6   7   8   9   10   >