Re: [U-Boot] [PATCH 3/6] tegra: Add a function mux feature

2011-11-23 Thread Mike Frysinger
On Wednesday 23 November 2011 17:59:05 Simon Glass wrote: > --- /dev/null > +++ b/arch/arm/cpu/armv7/tegra2/funcmux.c > > +void funcmux_select(enum periph_id id, int func) > +{ > + switch (id) { > + case PERIPH_ID_UART1: > + pinmux_set_func(PINGRP_IRRX, PMUX_FUNC_UARTA); > +

Re: [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c

2011-11-23 Thread Mike Frysinger
On Wednesday 23 November 2011 17:59:06 Simon Glass wrote: > --- a/arch/arm/cpu/armv7/tegra2/board.c > +++ b/arch/arm/cpu/armv7/tegra2/board.c > > +static void setup_uarts(int uart_ids) > +{ > + static enum periph_id id_for_uart[UART_COUNT] = { > + PERIPH_ID_UART1, > + PE

Re: [U-Boot] [PATCH 6/6] tegra: Fix build error in plutux, medcom

2011-11-23 Thread Mike Frysinger
On Wednesday 23 November 2011 17:59:08 Simon Glass wrote: > We need to define CONFIG_ENV_IS_NOWHERE to avoid this error: > > cmd_nvedit.c:69:3: error: #error Define one of > CONFIG_ENV_IS_IN_{EEPROM|FLASH|DATAFLASH|ONENAND|SPI_FLASH|MG_DISK|NVRAM|M > MC} or CONFIG_ENV_IS_NOWHERE i'd truncate/abbr

Re: [U-Boot] [PATCH] M28: GPIO pin validity check added

2011-11-23 Thread Mike Frysinger
sorry if my messages have been a bit harsh with gpio freedback. the unwrapped lines and broken patch formats make me see red. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH v3] M28: Added pin name support in GPIO driver

2011-11-24 Thread Mike Frysinger
On Wednesday 23 November 2011 17:33:02 Mike Frysinger wrote: > On Wednesday 23 November 2011 16:10:49 Robert Deliën wrote: > > -#ifndef name_to_gpio > > -#define name_to_gpio(name) simple_strtoul(name, NULL, 10) > > +#ifndef gpio_name_to_pin > > +#define gpio_name_to_p

Re: [U-Boot] [PATCH] board/esd/cpci405/cpci405.c: Fix GCC 4.6 warning

2011-11-24 Thread Mike Frysinger
On Thursday 24 November 2011 10:39:21 Matthias Fuchs wrote: > - sprintf(str, "%08X%04X", > - *(unsigned int *)&ow_id[0], > - *(unsigned short *)&ow_id[4]); > + sprintf(str, "%02X%02X%02X%02X%02X%02X", > + ow_id[0], ow_id[1], ow_id[2], ow_id[3], ow_id[4],

Re: [U-Boot] [PATCH 11/11] MIPS: MAKEALL: fix lists for MIPSel and MIPS boards

2011-11-24 Thread Mike Frysinger
On Thursday 24 November 2011 08:57:56 Daniel Schwierzeck wrote: > Build dbau1550_el only in LIST_au1xx0_el and LIST_mips_el. > Also remove obsolete lists for mips5kc. if possible, i'd really like to kill off all the specialized mips lists and do selection purely based on fields in boards.cfg. -mi

Re: [U-Boot] [PATCH] board/esd/cpci405/cpci405.c: Fix GCC 4.6 warning

2011-11-25 Thread Mike Frysinger
On Friday 25 November 2011 03:33:39 Marek Vasut wrote: > > On Thursday 24 November 2011 10:39:21 Matthias Fuchs wrote: > > > - sprintf(str, "%08X%04X", > > > - *(unsigned int *)&ow_id[0], > > > - *(unsigned short *)&ow_id[4]); > > > + sprintf(str, "%02X%02X%02X%02X%02X%02X", > > > +

Re: [U-Boot] [PATCH 11/11] MIPS: MAKEALL: fix lists for MIPSel and MIPS boards

2011-11-25 Thread Mike Frysinger
On Friday 25 November 2011 07:29:57 Daniel Schwierzeck wrote: > On Fri, Nov 25, 2011 at 9:49 AM, Marek Vasut wrote: > >> On Thursday 24 November 2011 08:57:56 Daniel Schwierzeck wrote: > >> > Build dbau1550_el only in LIST_au1xx0_el and LIST_mips_el. > >> > Also remove obsolete lists for mips5kc.

Re: [U-Boot] [PATCH] Add PR1 Appliance - ISDN PRI board

2011-11-25 Thread Mike Frysinger
On Sunday 20 November 2011 15:24:12 Dimitar Penev wrote: > I have noticed however that you have removed the random MAC generation > which I would consider as a good feature. > What is your reasoning behind this? MAC randomization should not be the default mode for boards. where does this board s

[U-Boot] [PATCH] ignore new mkenvimage tool

2011-11-25 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- tools/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/.gitignore b/tools/.gitignore index 98a5c78..e4d2c2f 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -2,6 +2,7 @@ /envcrc /gen_eth_addr /img2srec

Re: [U-Boot] [PATCH v2 04/17] env: move extern environment[] to environment.h

2011-11-25 Thread Mike Frysinger
On Thursday 17 November 2011 11:07:23 Igor Grinberg wrote: > --- a/tools/envcrc.c > +++ b/tools/envcrc.c > > #if defined(ENV_IS_EMBEDDED) && !defined(CONFIG_BUILD_ENVCRC) > +# include > # define CONFIG_BUILD_ENVCRC 1 > #endif > ... > #ifdef CONFIG_BUILD_ENVCRC > extern unsigned int env_size;

Re: [U-Boot] [PATCH] Blackfin: br4: new board port

2011-11-25 Thread Mike Frysinger
ect: [PATCH] Blackfin: br4: new board port This adds support for the BR4 Appliance. It is a quad channel ISDN BRI board based on Blackfin BF537 CPU. Signed-off-by: Dimitar Penev Signed-off-by: Mike Frysinger --- MAINTAINERS |1 + board/br4/Makefile| 50 +++ bo

Re: [U-Boot] [PATCH v3 11/15] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-11-25 Thread Mike Frysinger
On Friday 25 November 2011 07:37:40 Christian Riesch wrote: > --- a/drivers/mtd/spi/Makefile > +++ b/drivers/mtd/spi/Makefile > > +ifdef CONFIG_SPL_BUILD > +ifdef CONFIG_SPL_SPI_LOAD > +COBJS-y += spi_spl_load.o > +endif > +endif COBJS-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o > --- /dev/null > +

Re: [U-Boot] [PATCH 8/9] mkenvimage: Really set the redundant byte when applicable

2011-11-25 Thread Mike Frysinger
On Wednesday 23 November 2011 15:28:17 David Wagner wrote: > --- a/tools/mkenvimage.c > +++ b/tools/mkenvimage.c > > + if (redundant) > + *(dataptr + sizeof(targetendian_crc)) = 1; dataptr[sizeof(targetendian_crc)] = 1; -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [PATCH 9/9] mkenvimage: Default to stdout if the output argument is absent or "-"

2011-11-25 Thread Mike Frysinger
squash this into the first stdin patch ? [PATCH 5/9] mkenvimage: Read from stdin if the filename is "-" -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/l

Re: [U-Boot] [PATCH] Add PR1 Appliance - ISDN PRI board

2011-11-25 Thread Mike Frysinger
On Friday 25 November 2011 16:54:29 Dimitar Penev wrote: > >On Sunday 20 November 2011 15:24:12 Dimitar Penev wrote: > >> I have noticed however that you have removed the random MAC generation > >> which I would consider as a good feature. > >> What is your reasoning behind this? > > > >MAC randomi

Re: [U-Boot] [PATCH] tools/os_support: add OS X Lion support

2011-11-26 Thread Mike Frysinger
On Friday 25 November 2011 14:29:02 Andy Fleming wrote: > I've been trying to get the compiler to run on Mac OS X for a bit, but > haven't managed to get it to build (let alone get U-Boot to build). > Any chance you could send me some pointers to how you got one up and > running? i don't recall ha

Re: [U-Boot] [PATCH 0/9] mkenvimage: v10/v11 diff split into several patches

2011-11-27 Thread Mike Frysinger
don't see anything wrong with the latest patchset now, thanks! -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] Blackfin: br4: new board port

2011-11-27 Thread Mike Frysinger
On Sunday 27 November 2011 09:56:20 Wolfgang Denk wrote: > Mike Frysinger wrote: > > +#ifndef __ADSPBF534__ > > +#define ADI_CMDS_NETWORK 1 > > +#define CONFIG_BFIN_MAC > > +#define CONFIG_NETCONSOLE 1 > > These #defines should have no values. i'll s

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Mike Frysinger
On Mon, Nov 28, 2011 at 04:04, Igor Grinberg wrote: > I don't have the tool chain for ppc. http://dev.gentoo.org/~vapier/u-boot/ -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > Making sleep command work i like the idea, but using clock_xxx funcs makes me sad (generally requires a "newerish" glibc and -lrt). my only alternative proposal is to use usec's with gettimeofday ... maybe that's good enough ? altho

Re: [U-Boot] practicality of demonstrating u-boot in a QEMU session?

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 07:07:47 Robert P. J. Day wrote: > i'm teaching some embedded linux next week and, while i will have > physical boards for the students to play with, i'd also like to > demonstrate basic u-boot within a QEMU session as far as that's > practical. if `make sandbox` is go

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 17:31:19 Graeme Russ wrote: > error: refs/tags/2009.01-rc2 does not point to a valid object! this tag seems to have bled into some people's repos ... i'd suggest you punt it locally: git tag -d 2009.01-rc2 and then punt it remotely: git push :2009.01-rc

Re: [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 15:14:40 Simon Glass wrote: > On Wed, Nov 23, 2011 at 3:40 PM, Mike Frysinger wrote: > > On Wednesday 23 November 2011 17:59:06 Simon Glass wrote: > >> + int i; > > > > size_t > > Ick. OK. why ick ? :) >

Re: [U-Boot] [PATCH] menu.c: use puts() instead of printf() where possible

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 14:24:49 Wolfgang Denk wrote: > common/menu.c used printf() in a number of places to print user > provided, constant strings (like the "title" string). printf() is > dangerous here for example in case the user unwittingly embeds some > '%' caracters that printf() would i

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 18:05:00 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: > > On Monday 28 November 2011 17:31:19 Graeme Russ wrote: > >> $ git fetch u-boot > >> ... > >> $ git rebase u-boot/master > >> ... > &

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 18:20:51 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 10:16 AM, Andy Fleming wrote: > > On Mon, Nov 28, 2011 at 5:13 PM, Mike Frysinger wrote: > >> On Monday 28 November 2011 18:05:00 Graeme Russ wrote: > >>> On Tue, Nov 29, 2011 at

Re: [U-Boot] [RFC PATCH 2/7] reboard: Add generic link symbols

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:55 Simon Glass wrote: > include/asm-generic/link_symbols.h | 38 this should be asm-generic/sections.h. might actually want to import the Linux one and then add a section for u-boot specific symbols. -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:56 Simon Glass wrote: > board/Makefile | 45 > board/reloc.c| 101 not to bikeshed, but i don't think we want files in board/. how about board/common/ or board/generic/ instead ? > --- /dev/null > +++ b/board/Makefile > > +ifndef CONFIG_SYS_LEGACY_BOARD

Re: [U-Boot] [RFC PATCH 1/7] reboard: define CONFIG_SYS_LEGACY_BOARD everywhere

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:54 Simon Glass wrote: > We are introducing a new unified board setup and we want this to > be the default. So we need to opt all architectures out first. the define says "BOARD", so shouldn't it be in board configs ? we can do that easily: add it to include/confi

Re: [U-Boot] [RFC PATCH 5/7] reboard: arm: Add processor function library

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:58 Simon Glass wrote: > +.globl proc_call_board_init_r > +proc_call_board_init_r: ENTRY(proc_call_board_init_r) > + mov sp, r3 > + /* jump to it ... */ > + mov pc, r2 then add ENDPROC(proc_call_board_init_r) here -mike signature.asc Descript

Re: [U-Boot] [RFC PATCH 6/7] reboard: arm: Move over to generic relocation

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:59 Simon Glass wrote: > --- a/board/reloc.c > +++ b/board/reloc.c > > -void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) > +void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) shouldn't this be squashed into the patch that

Re: [U-Boot] [RFC PATCH 7/7] reboard: arm: Remove unused code in start.S

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:58:00 Simon Glass wrote: > --- a/board/reloc.c > +++ b/board/reloc.c > > -void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) > +void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) this is too fragile. we can't have every arch

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 19:02:20 Graeme Russ wrote: > > cd Source/U-Boot/x86 (my local version of the u-boot-x86 repo) > > git fetch u-boot (as per the 'new' methodology of not having a seperate > > u-boot branch) > > git checkout master > > git rebase u-boot/master > > git push ssh://gu-...@git

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 22:35:24 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 2:31 PM, Mike Frysinger wrote: > > the expected behavior of downstream users is apparently to always > > fetch+rebase rather than fetch+merge (what "pull" normally does). this > > is

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Mike Frysinger
anks! Tested-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] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 23:17:47 Graeme Russ wrote: > My development is done using stacked git on development branches (I'm even > considering using an entirely independent local git repo 'just in case') that's fine. it's just a matter of how often you want to publish patches to the wider wor

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Tuesday 29 November 2011 00:04:12 Graeme Russ wrote: > I think I need to do some reading up on 'rebase' versus 'merge' in git rebase: rewrites the history by taking all of your local changes and placing them on top of the commit you've specified. this ultimately produces a much more linear a

Re: [U-Boot] uboot to load uboot

2011-11-28 Thread Mike Frysinger
On Tuesday 29 November 2011 00:38:40 Sridhar Addagada wrote: > Here is a scenario, i have a working version of the u-boot on my board, and > am trying my changes. Am not sure it is going to freeze the board, so > would like the present version to load the new version for testing before > it can be

Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 04:35:06 Matthias Weißer wrote: > Am 28.11.2011 23:57, schrieb Mike Frysinger: > > On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > >> Making sleep command work > > > > i like the idea, but using clock_xxx funcs makes me

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 05:51:52 Graeme Russ wrote: > However, I still get: > > error: refs/tags/2009.01-rc2 does not point to a valid object! if `git tag -d 2009.01-rc2` doesn't fix things, then try: rm .git/refs/tags/2009.01-rc2 sed -i /tags.2009.01-rc2/d .git/packed-refs -m

Re: [U-Boot] [PATCH RFC] sandbox: Add tap based networking

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 09:09:03 Matthias Weisser wrote: > This patch adds support for networking to sandbox architecture using tap. A > tap device "tap0" has to be created e.g. using openvpn > this info should be in the changelog as it's useful > As sandbox is build using the native com

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-11-29 Thread Mike Frysinger
Acked-by: Mike Frysinger Simon: did we decide to start a dedicated sandbox repo ? -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: add tools/mkenvimage to target 'clean'

2011-11-29 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 RFC] sandbox: Add tap based networking

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 13:21:38 Matthias Weisser wrote: > Am 29.11.2011 16:24, schrieb Mike Frysinger: > > On Tuesday 29 November 2011 09:09:03 Matthias Weisser wrote: > >> As sandbox is build using the native compiler, which is in my case > >> x86_64, ulong is 64 b

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 11:55:17 Simon Glass wrote: > On Tue, Nov 29, 2011 at 7:25 AM, Mike Frysinger wrote: > > Simon: did we decide to start a dedicated sandbox repo ? > > We didn't decide - it was an idea and I suppose given Wolfgang's email > about workload a

Re: [U-Boot] [RFC] mx28evk: Add initial support for MX28EVK board

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 13:17:59 Fabio Estevam wrote: > --- /dev/null > +++ b/board/freescale/mx28evk/Makefile > > +all: $(ALL) dead code; please delete -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing li

Re: [U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 04:15:05 Macpaul Lin wrote: > +.globl turnoff_watchdog > +turnoff_watchdog: should be: ENTRY(turnoff_watchdog) > + ret and at the end, add: ENDPROC(turnoff_watchdog) seems a lot of the nds32 code could use this fixup ... -mike signature.asc Description: T

Re: [U-Boot] uboot to load uboot

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 02:00:38 Wolfgang Denk wrote: > Sridhar Addagada you wrote: > > Here is a scenario, i have a working version of the u-boot on my > > board, and am trying my changes. Am not sure it is going to freeze > > the board, so would like the present version to load the new versi

Re: [U-Boot] [RFC PATCH 1/7] reboard: define CONFIG_SYS_LEGACY_BOARD everywhere

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 15:08:09 Simon Glass wrote: > On Mon, Nov 28, 2011 at 7:11 PM, Mike Frysinger wrote: > > On Monday 21 November 2011 18:57:54 Simon Glass wrote: > >> We are introducing a new unified board setup and we want this to > >> be the default. So we ne

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 15:04:04 Simon Glass wrote: > On Tue, Nov 29, 2011 at 10:40 AM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 11:55:17 Simon Glass wrote: > >> On Tue, Nov 29, 2011 at 7:25 AM, Mike Frysinger wrote: > >> > Simon: did we decide to

Re: [U-Boot] [RFC PATCH 1/7] reboard: define CONFIG_SYS_LEGACY_BOARD everywhere

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 17:09:19 Simon Glass wrote: > On Tue, Nov 29, 2011 at 1:40 PM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 15:08:09 Simon Glass wrote: > >> On Mon, Nov 28, 2011 at 7:11 PM, Mike Frysinger wrote: > >> > On Monday 21 November 2

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 17:15:18 Simon Glass wrote: > On Mon, Nov 28, 2011 at 7:07 PM, Mike Frysinger wrote: > > On Monday 21 November 2011 18:57:56 Simon Glass wrote: > >> --- /dev/null > >> +++ b/board/Makefile > >> > >> +ifndef CONFIG_S

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 17:57:39 Graeme Russ wrote: > 1) ${upstream}/master merges in multiple conflicting ${sub-repo}/master > and the order that they get pulled results in a conflict when a merge is done and a conflict is thrown up, it's up to the guy doing the merge to resolve that co

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 18:49:58 Graeme Russ wrote: > On Wed, Nov 30, 2011 at 10:41 AM, Simon Glass wrote: > > On Tue, Nov 29, 2011 at 3:20 PM, Mike Frysinger wrote: > >> On Tuesday 29 November 2011 17:15:18 Simon Glass wrote: > >>> On Mon, Nov 28, 2011 at

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 18:48:08 Graeme Russ wrote: > On Wed, Nov 30, 2011 at 10:35 AM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 17:57:39 Graeme Russ wrote: > >> Now ${upstream}/master is always the 'gold standard', so what does the > >> con

Re: [U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Mike Frysinger
On Tuesday 29 November 2011 23:32:27 Macpaul Lin wrote: > these kind of implementation? I know there are such code in Linux. > One benefits might be alignment (marco ENDPROC), and the other looks like > for coding style. makes sure the visibility/alignment/ELF size is correct. for the last part,

Re: [U-Boot] [PATCH 1/3] linkage.h: move from blackfin to common includes

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 02:23:45 Macpaul Lin wrote: > Add linkage.h support from blackfin to common include, > which is a reduced version from Linux. since applying any of these patches alone will break things, you'll have to squash them into one. otherwise git bisect won't work. otherwis

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR ".align 4" #endif i think most arches will be this way -mike signature.asc Description: This is a digitally si

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-30 Thread Mike Frysinger
On Tuesday 29 November 2011 23:12:02 Graeme Russ wrote: > On Wed, Nov 30, 2011 at 2:52 PM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 18:48:08 Graeme Russ wrote: > >> At this point, how do you make the merge 'conflict free' without > >> re-writing t

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote: > 2011/12/1 Mike Frysinger > > On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > > > Add linkage support. > > > > let's add this to our linux/linkage.h: > > #ifndef __ALIGN >

Re: [U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2011-12-01 Thread Mike Frysinger
On Wednesday 30 November 2011 23:32:10 Macpaul Lin wrote: > 1. Add linkage.h support from blackfin to common include, >which is a reduced version from Linux. > 2. Add architecture part support of linkage.h into blackfin > 3. Fix include path of in blackfin related to linkage.h >due to heade

Re: [U-Boot] Sandbox question

2011-12-01 Thread Mike Frysinger
On Thursday 01 December 2011 11:35:14 Andreas Bießmann wrote: > I started to play around with new sandbox architecture and encountered a > serious problem. > Due to the '-nostdinc' switch the file arch/sandbox/cpu/os.c requires > additional CPPFLAGS '-I/usr/include'. On my debian box this is not >

Re: [U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
e. Also some warnings introduced by this patch are fixed. 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] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:26:12 Matthias Weisser wrote: > When building u-boot as 64 bit application (e.g. sandbox) ulong might be > 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in > size then. This patch makes sure that IPaddr_t is always 32 bits in > size. Also some warni

Re: [U-Boot] [PATCH V4] sandbox: Add improved RAM simulation

2011-12-02 Thread Mike Frysinger
On Saturday 05 November 2011 06:40:34 Matthias Weisser wrote: > Using mmap to allocate memory from the OS for RAM simulation we can use > u-boot own malloc implementation. i've merged this into my sandbox branch -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-12-02 Thread Mike Frysinger
On Tuesday 29 November 2011 06:16:40 Matthias Weisser wrote: > Making sleep command work i've added this to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://

[U-Boot] [PATCH v2] sandbox: fix compiling of cpu/os.c

2011-12-02 Thread Mike Frysinger
as: ---8<--- In file included from /usr/include/fcntl.h:27:0, from os.c:22: /usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory --->8--- Signed-off-by: Andreas Bießmann Signed-off-by: Mike Frysinger --- v2 - merge my local chan

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-12-02 Thread Mike Frysinger
On Tuesday 29 November 2011 16:58:38 Simon Glass wrote: > On Tue, Nov 29, 2011 at 1:41 PM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 15:04:04 Simon Glass wrote: > >> On Tue, Nov 29, 2011 at 10:40 AM, Mike Frysinger wrote: > >> > On Tuesday 29 November 2

Re: [U-Boot] [PATCH v4 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-02 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 v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:12:10 Christian Riesch wrote: > +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin > + $(obj)tools/mkimage -s -n /dev/null -T aisimage \ > + -e $(CONFIG_SPL_TEXT_BASE) -d $(obj)spl/u-boot-spl.bin \ > + $(obj)spl/u-boo

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:48 Rob Herring wrote: > --- /dev/null > +++ b/drivers/net/calxedaxgmac.c > > + writel(value, dev->iobase + XGMAC_CORE_CONFIG); you should declare a C struct that represents the hardware's register layout, and then use that rather than iobase+register_offset >

Re: [U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:49 Rob Herring wrote: > int misc_init_r(void) > { > + setenv("verify", "n"); looks unrelated ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 17:02:00 Rob Herring wrote: > On 12/02/2011 03:30 PM, Mike Frysinger wrote: > > On Friday 02 December 2011 15:21:48 Rob Herring wrote: > >> --- /dev/null > >> +++ b/drivers/net/calxedaxgmac.c > >> > >> + writel(value, d

Re: [U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:49 Rob Herring wrote: > --- a/include/configs/highbank.h > +++ b/include/configs/highbank.h > > +#define CONFIG_NET_MULTI this define no longer exists, so delete it -mike signature.asc Description: This is a digitally signed message part. ___

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 17:46:39 Rob Herring wrote: > On 12/02/2011 04:14 PM, Mike Frysinger wrote: > > On Friday 02 December 2011 17:02:00 Rob Herring wrote: > >> On 12/02/2011 03:30 PM, Mike Frysinger wrote: > >>> On Friday 02 December 2011 15:21:48 Rob Herring

Re: [U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Mike Frysinger
On Saturday 03 December 2011 00:20:19 Christian Riesch wrote: > The chaos above contains three commands: > 1) I run the SPL through mkimage to add an AIS header for booting from SPI. > Since an empty config file (-n) is sufficient here I use /dev/null here. > 2) I pad the result $(obj)spl/u-boot-sp

Re: [U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-02 Thread Mike Frysinger
On Saturday 03 December 2011 02:32:03 Marek Vasut wrote: > + if [ "$ONLY_LIST" == 'y' ] ; then return ; fi [ "$ONLY_LIST" = "y" ] && return -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-03 Thread Mike Frysinger
On Saturday 03 December 2011 03:23:28 Marek Vasut wrote: > > On Saturday 03 December 2011 02:32:03 Marek Vasut wrote: > > > + if [ "$ONLY_LIST" == 'y' ] ; then return ; fi > > > > [ "$ONLY_LIST" = "y" ] && return > > I prefer to be explicit. my version is "explicit" as well the point was more t

Re: [U-Boot] [PATCH RFC] sandbox: Add tap based networking

2011-12-03 Thread Mike Frysinger
On Saturday 03 December 2011 10:06:58 Matthias Weisser wrote: > Am 29.11.2011 19:39, schrieb Mike Frysinger: > > then when tap_set_hwaddr() gets called, if the MAC is different, it will > > attempt to set the MAC to what the user requested. if they don't have > > per

Re: [U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-03 Thread Mike Frysinger
On Saturday 03 December 2011 04:36:32 Marek Vasut wrote: > > On Saturday 03 December 2011 03:23:28 Marek Vasut wrote: > > > > On Saturday 03 December 2011 02:32:03 Marek Vasut wrote: > > > > > + if [ "$ONLY_LIST" == 'y' ] ; then return ; fi > > > > > > > > [ "$ONLY_LIST" = "y" ] && return > >

[U-Boot] [PATCH v2] global_data: unify global flag defines

2011-12-04 Thread Mike Frysinger
All the global flag defines are the same across all arches. So unify them in one place, and add a simple way for arches to extend for their needs. Signed-off-by: Mike Frysinger --- v2 - rebased onto head after x86 patch has been merged arch/arm/include/asm/global_data.h| 14

[U-Boot] [PATCH v2] cmd_bdinfo: simplify local static funcs a bit

2011-12-04 Thread Mike Frysinger
If we move the local funcs to the top of the file, and use the __maybe_unused define, we can drop a lot of ugly ifdef logic and duplicated prototypes. Acked-by: Simon Glass Signed-off-by: Mike Frysinger --- v2 - rebased onto current master common/cmd_bdinfo.c | 89

Re: [U-Boot] [PATCH v2] global_data: unify global flag defines

2011-12-04 Thread Mike Frysinger
On Sunday 04 December 2011 22:47:59 Graeme Russ wrote: > On Mon, Dec 5, 2011 at 2:43 PM, Mike Frysinger wrote: > > +/* > > + * Base for arches to start adding their own: > > + * #define GD_FLG_FOO (GD_FLG_ARCH_BASE << 0) > > + * #define GD_FLG_BAR (GD_FL

Re: [U-Boot] [PATCH v2] global_data: unify global flag defines

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 00:47:12 Graeme Russ wrote: > Hi Mike, > > On Mon, Dec 5, 2011 at 5:39 PM, Mike Frysinger wrote: > > On Sunday 04 December 2011 22:47:59 Graeme Russ wrote: > >> On Mon, Dec 5, 2011 at 2:43 PM, Mike Frysinger wrote: > >> > +/* > &

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 11:43:09 Shadid, Bill wrote: > /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d > ivsf3.o): In function `__divsf3': > /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil > d/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux

Re: [U-Boot] undefined reference to `abort'

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 12:56:48 Matthias Weißer wrote: > Am 05.12.2011 18:28, schrieb Mike Frysinger: > > On Monday 05 December 2011 11:43:09 Shadid, Bill wrote: > >> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc. > >> a(d ivsf3.o): In fun

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 14:33:40 Scott Wood wrote: > On 12/05/2011 04:58 AM, Christian Riesch wrote: > > Signed-off-by: Christian Riesch > > Cc: Heiko Schocher > > Cc: Mike Frysinger > > Cc: Scott Wood > > Acked-by: Mike Frysinger > > --- > >

Re: [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 15:03:44 Tom Rini wrote: > On Mon, Dec 5, 2011 at 12:56 PM, Mike Frysinger wrote: > > On Monday 05 December 2011 14:33:40 Scott Wood wrote: > >> On 12/05/2011 04:58 AM, Christian Riesch wrote: > >> > Signed-off-by: Christian Riesch > &

Re: [U-Boot] [PATCH] pxe: get ethaddr from the current device instead of env

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 19:04:33 Rob Herring wrote: > The env variable "ethaddr" may not be set, so get the address from the > eth_device struct instead. This also enables pxe for secondary ethernet > devices. NAK: this won't work either ;). the API contract is that the env is the canonical s

Re: [U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-05 Thread Mike Frysinger
On Monday 05 December 2011 17:52:01 Simon Glass wrote: > On Mon, Dec 5, 2011 at 2:22 PM, Stephen Warren wrote: > > On 12/05/2011 02:56 PM, Simon Glass wrote: > > * A system-wide GPIO ID, in which case the numbering is "virtual" (e.g. > > a concatenation of the GPIOs on all the present controllers),

Re: [U-Boot] Change to miiphy_register() creates warnings

2011-12-06 Thread Mike Frysinger
On Wednesday 07 December 2011 00:59:17 Simon Glass wrote: > 5c45a22 mii: miiphy register address width change odd, i thought that commit was NAK-ed and people were told to convert to the newer mii api. maybe this is a good time to do so ... -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH] arm: Tegra: fix undefined instruction hang immediately after reset

2011-12-07 Thread Mike Frysinger
On Tuesday 06 December 2011 18:00:19 Tom Warren wrote: > commit 0d479b53 (Aneesh V) added code for OMAP4 that doesn't > execute on Tegra, due to the AVP (ARM7TDI) not having a CP15. > Result was an undefined instruction hang just after reset. > > --- a/arch/arm/cpu/armv7/start.S > +++ b/arch/arm/c

Re: [U-Boot] [PATCH] Append board name to version identifier

2011-12-07 Thread Mike Frysinger
On Wednesday 07 December 2011 13:39:06 Wolfgang Denk wrote: > Ed Swarthout wrote: > > so it is printed as part of the version command and visible when > > displaying the image in the various flash banks. > > > > This allows "strings u-boot.bin | head -1" to identify target: > > > > VU-Boot 2011.0

Re: [U-Boot] Build breakage due to "Standalone Apps: Standalone apps should only need exports.h"

2011-12-07 Thread Mike Frysinger
On Wednesday 07 December 2011 14:56:30 Mike Partington wrote: > As I understand it, one of the main purposes of standalone applications is > to enable proprietary code to be run with U-Boot. In order to realize this > objective, however, the code cannot be forced to include anything that is > GPL-

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-12-07 Thread Mike Frysinger
On Wednesday 07 December 2011 02:38:40 Albert ARIBAUD wrote: > Le 30/11/2011 03:58, Mike Frysinger a écrit : > > On Tuesday 29 November 2011 18:49:58 Graeme Russ wrote: > >> On Wed, Nov 30, 2011 at 10:41 AM, Simon Glass wrote: > >>> On Tue, Nov 29, 2011 at 3:20 PM, M

Re: [U-Boot] [PATCH V9 0/4] SPL Linux boot

2011-12-07 Thread Mike Frysinger
On Tuesday 06 December 2011 13:34:34 Simon Schwarz wrote: > Adds direct Linux boot to SPL. It implements a spl export command to save > ATAGS or FDT to NAND flash. The kernel image has to be in place for this! sounds like you just obsoleted Qi. nice! http://wiki.openmoko.org/wiki/Qi -mike

Re: [U-Boot] [PATCH V9 1/4] Add cmd_spl command

2011-12-07 Thread Mike Frysinger
On Tuesday 06 December 2011 13:34:35 Simon Schwarz wrote: > --- /dev/null > +++ b/common/cmd_spl.c > > +int call_bootm(int argc, char * const argv[], char *subcommand[]) static > +int spl_export_fdt(int argc, char * const argv[]) static > +#ifdef CONFIG_OF_LIBFDT > + /* Create subcommand s

Re: [U-Boot] [PATCH V9 4/4] omap-common/spl: Add linux boot to SPL

2011-12-07 Thread Mike Frysinger
On Tuesday 06 December 2011 13:34:38 Simon Schwarz wrote: > --- a/arch/arm/cpu/armv7/omap-common/spl.c > +++ b/arch/arm/cpu/armv7/omap-common/spl.c > > +void jump_to_image_linux(void *arg) > +{ > ... > +} > +void jump_to_image_linux(void *) __attribute__ ((noreturn)); no need for this. do it in o

<    3   4   5   6   7   8   9   10   11   12   >