Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-19 Thread Mike Frysinger
On Tuesday 14 October 2008, Timur Tabi wrote: Wolfgang Denk wrote: What about resubmitting this patch, with adding a debug() to the new, common i2c_reg_read() and i2c_reg_write() funtions? I can do that. First, however, I need Mike Frysinger to help me resolve the Blackfin version

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-19 Thread Mike Frysinger
On Sunday 19 October 2008, Timur Tabi wrote: On Sun, Oct 19, 2008 at 4:18 PM, Mike Frysinger [EMAIL PROTECTED] wrote: it's broken and i fixed it in the Blackfin i2c read write. feel free to make the change and ignore the weirdness. Ah, thank you! I'll do it after WD pulls your repo. dont

Re: [U-Boot] [U-Boot-Users] [PATCH] [resubmit] AX88180: new gigabit network driver

2008-10-19 Thread Mike Frysinger
On Sunday 12 October 2008, Ben Warren wrote: Wolfgang Denk wrote: Dear Ben, In message [EMAIL PROTECTED] you wrote: I don't see any responses to this latest version of the driver. Is there any special reason it was neither added nor rejected? ... No specific reasons - I should

Re: [U-Boot] [PATCH] improved strmhz()

2008-10-21 Thread Mike Frysinger
On Tuesday 21 October 2008, Kumar Gala wrote: I haven't been following this thread, but can we control the number of significant digits. customizable # of digits is always going to differ according to taste. just lock everyone to like .3 and be done. no point in wasting overhead on this.

Re: [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS}

2008-10-21 Thread Mike Frysinger
On Tuesday 21 October 2008, Wolfgang Denk wrote: Dear Kumar Gala, In message [EMAIL PROTECTED] you wrote: Added the ability to config out bootm support for Linux, NetBSD, RTEMS Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Looking for suggestions on how to deal with enabling

Re: [U-Boot] [PATCH] [trivial] common.h: remove value from bool defines

2011-12-31 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] [trivial] env: remove value from boolean defines

2011-12-31 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] AES128 in U-Boot

2012-01-05 Thread Mike Frysinger
On Wednesday 21 December 2011 15:12:20 Simon Glass wrote: Can we use public domain code? It seems incompatible with the restrictions in the GPL how so ? public domain (by its definition) has no copyright or license to worry about. so you literally could (legally) do whatever you want with

Re: [U-Boot] Starting point of uboot learning from scratch..pls helpeom

2012-01-05 Thread Mike Frysinger
http://www.denx.de/wiki/U-Boot -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] Uboot build system question

2012-01-05 Thread Mike Frysinger
On Wednesday 21 December 2011 06:21:21 Bharath H S wrote: I had a question regarding uboot build system. One starts a build for platform1 and without cleaning tree builds for platform2, what is the expected result? make platform1_config make platform2_config Is the final product build of

Re: [U-Boot] [PATCH v2 3/9] openrisc: Add cpu files

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 06:39:32 Stefan Kristiansson wrote: On Thu, Dec 22, 2011 at 10:09:30AM +0100, Michal Simek wrote: Stefan Kristiansson wrote: + +void dcache_enable(void) +{ + mtspr(SPR_SR, mfspr(SPR_SR) | SPR_SR_DCE); + asm volatile(l.nop); + asm volatile(l.nop); +

Re: [U-Boot] [PATCH] tools/env: fix cross-compilation

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 13:39:35 Grant Erickson wrote: This patch fixes the make infrastructure for the fw_printenv tool such that it is built, by default, as a cross-compilation for the target board when so requested with TOOLSUBDIRS on the U-Boot make command line. how is this any

Re: [U-Boot] [PATCH] lib/string: added strndup

2012-01-05 Thread Mike Frysinger
On Thursday 22 December 2011 13:16:56 Grant Erickson wrote: +#ifndef __HAVE_ARCH_STRNDUP +extern char * strndup(const char *,__kernel_size_t); +#endif no space after that first *, and add a space after the , since your definition uses size_t, then use that rather than __kernel_size_t ---

Re: [U-Boot] stuck after redirecting stdout to nc

2012-01-05 Thread Mike Frysinger
On Monday 02 January 2012 09:50:42 ran shalit wrote: On uboot loading, I checking a specific environement (called consoleddev), to decide to rediect console to nc or staying in serial. I then see some strange behaviour: if the environment tell uboot to redirect to net console, everything works

Re: [U-Boot] [PATCH] Add support for MMC to fw_printenv/setenv

2012-01-05 Thread Mike Frysinger
On Monday 02 January 2012 18:49:11 Christian Daudt wrote: --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c +static int fd_is_mtd(int fd) ... + rc = ioctl (fd, MEMGETINFO, mtdinfo); no space before the ( + if (rc 0) { + // Failed MEMGETINFO, not MTD +

Re: [U-Boot] [PATCH] lib/string: added strndup

2012-01-05 Thread Mike Frysinger
On Thursday 05 January 2012 18:25:06 Wolfgang Denk wrote: Mike Frysinger wrote: + if ((s == NULL) || + ((new = malloc (len + 1)) == NULL) ) { + return NULL; + } please split this up such as: I'm OK with the splitting, but... if (s == NULL

Re: [U-Boot] [PATCH v2] Add support for MMC to fw_printenv/setenv

2012-01-05 Thread Mike Frysinger
On Thursday 05 January 2012 19:30:57 Christian Daudt wrote: Subject: [PATCH] Add support for MMC to fw_printenv/setenv This patch checks if the fd is MTD and if not (using an MTD-specific IOCTL) and skips the flash unlock/erase/lock sequence if it is not MTD. - fd_is_mtd function added to

Re: [U-Boot] User Question

2012-01-05 Thread Mike Frysinger
On Tuesday 03 January 2012 16:26:54 Bishop, Mark wrote: Is this the list I can ask questions for deploying uboot to a custom board based off the blackfin bf548? this is the list for anything u-boot related Some of my questions are not processor specific (like what is the approach to getting

Re: [U-Boot] [PATCH 15/16] New command bootmenu: ANSI terminal Boot Menu support

2012-01-05 Thread Mike Frysinger
On Sunday 18 December 2011 15:16:21 Pali Rohár wrote: On Sunday 18 December 2011 15:07:25 Mike Frysinger wrote: On Sunday 18 December 2011 14:12:38 Pali Rohár wrote: On Sunday 18 December 2011 14:07:37 Mike Frysinger wrote: this needs checkpatch for sure seems like this doesn't

Re: [U-Boot] Secure update of uboot devices?

2012-01-06 Thread Mike Frysinger
On Friday 06 January 2012 06:24:50 Andreas Bäck wrote: Actually there seams to exsist some very old patches for this http://lists.denx.de/pipermail/u-boot/2006-September/016960.html Here a paper quite exact what I am after: http://elinux.org/images/2/28/Trusted_Boot_Loader.pdf Is there

Re: [U-Boot] [PATCH v2 3/9] openrisc: Add cpu files

2012-01-06 Thread Mike Frysinger
On Friday 06 January 2012 08:22:54 Stefan Kristiansson wrote: On Thu, Jan 05, 2012 at 06:15:48PM -0500, Mike Frysinger wrote: On Thursday 22 December 2011 06:39:32 Stefan Kristiansson wrote: On Thu, Dec 22, 2011 at 10:09:30AM +0100, Michal Simek wrote: Stefan Kristiansson wrote

Re: [U-Boot] [PATCH 05/15] common/main.c: Fix function readline

2012-01-06 Thread Mike Frysinger
On Sunday 18 December 2011 16:34:01 Pali Rohár wrote: * Ignore ANSI escape codes for moving cursor, which are generated by keyboard this probably should be behind an appropriate CONFIG knob. i don't think this is relevant to serial users (which are the majority of boards). -mike

Re: [U-Boot] [PATCH V3 2/2] ext4fs write support

2012-01-07 Thread Mike Frysinger
On Tuesday 27 December 2011 21:23:27 uma.shan...@samsung.com wrote: From: Uma Shankar uma.shan...@samsung.com Signed-off-by: Uma Shankar uma.shan...@samsung.com Signed-off-by: Manjunatha C Achar a.manjuna...@samsung.com Signed-off-by: Iqbal Shareef iqbal@samsung.com Signed-off-by:

Re: [U-Boot] [PATCH V3 1/2] ext4fs ls load support

2012-01-07 Thread Mike Frysinger
NAK: you missed a bunch of my previous feedback -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] Add a CBFS driver and commands to u-boot

2012-01-07 Thread Mike Frysinger
On Saturday 03 December 2011 06:47:01 Gabe Black wrote: --- /dev/null +++ b/common/cmd_cbfs.c +int do_cbfs_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) static + if (argc 2) { + printf(usage: cbfsls [end of rom]\n); + return 0; + }

Re: [U-Boot] [PATCH 2/2] usb/gadget: add the fastboot gadget

2012-01-07 Thread Mike Frysinger
On Monday 21 November 2011 09:09:35 Sebastian Andrzej Siewior wrote: --- a/common/Makefile +++ b/common/Makefile COBJS-y += usb.o COBJS-$(CONFIG_USB_STORAGE) += usb_storage.o endif +COBJS-$(CONFIG_CMD_FASTBOOT) += cmd_fastboot.o + COBJS-$(CONFIG_CMD_XIMG) += cmd_ximg.o no newline

Re: [U-Boot] [PATCH] Remove execute permissions from source files

2012-01-07 Thread Mike Frysinger
-by: Mike Frysinger vap...@gentoo.org -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] x86: Set up the PCI busses when initializing the coreboot board

2012-01-07 Thread Mike Frysinger
On Monday 05 December 2011 17:12:30 Gabe Black wrote: --- a/board/chromebook-x86/coreboot/coreboot_pci.c +++ b/board/chromebook-x86/coreboot/coreboot_pci.c +static struct pci_config_table pci_coreboot_config_table[] = { const ? -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-01-07 Thread Mike Frysinger
On Wednesday 09 November 2011 04:52:21 Andrzej Pietrasiewicz wrote: --- /dev/null +++ b/drivers/usb/dfu/Makefile +ifdef CONFIG_MMC +COBJS-y += mmc.o +endif + +ifdef CONFIG_CMD_FAT +COBJS-y += fat.o +endif COBJS-$(CONFIG_XXX) += foo.o --- /dev/null +++ b/drivers/usb/dfu/fat.c @@ -0,0

Re: [U-Boot] [PATCH v3] Add 'patman' patch generation, checking and submission script

2012-01-07 Thread Mike Frysinger
On Tuesday 29 November 2011 21:35:46 Simon Glass wrote: tools/scripts/patman/.gitignore |1 + seems like tools/patman/ would be better. i wonder if anyone else here uses it and so would be useful for actually committing ... -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2012-01-07 Thread Mike Frysinger
On Wednesday 30 November 2011 01:07:54 Gabe Black wrote: +struct sysinfo_t lib_sysinfo __attribute__((section(.data))); seems like it should be .data.lib_sysinfo or maybe pick a field you always init and set it to something non-zero. struct sysinfo_t lib_sysinfo = { /* force into .data

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-07 Thread Mike Frysinger
On Monday 26 December 2011 14:32:54 Simon Glass wrote: --- /dev/null +++ b/lib/aes.c +static u8 sbox[256] = { +static u8 inv_sbox[256] = { +static u8 x2_sbox[256] = { +static u8 x3_sbox[256] = { +static u8 x_time_9[256] = { +static u8 x_time_b[256] = { +static u8 x_time_d[256] = {

Re: [U-Boot] [PATCH 03/14] tegra: Add crypto library for warmboot code

2012-01-07 Thread Mike Frysinger
On Monday 26 December 2011 14:32:56 Simon Glass wrote: --- /dev/null +++ b/arch/arm/cpu/armv7/tegra2/crypto.c +#ifdef DEBUG +static void debug_print_vector(char *name, u32 num_bytes, u8 *data) +{ + u32 i; + + printf(%s [%d] @0x%08x, name, num_bytes, (u32)data); + for (i = 0;

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-07 Thread Mike Frysinger
On Monday 26 December 2011 13:11:48 Simon Glass wrote: --- /dev/null +++ b/drivers/i2c/tegra2_i2c.c +static int wait_for_tx_fifo_empty(struct i2c_control *control) ... + while (timeout_us = 0) { ... + }; no semicolon here +static int wait_for_rx_fifo_notempty(struct i2c_control

Re: [U-Boot] [PATCHv2 1/8] Strip mkenvimage

2012-01-07 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] [PATCHv3 3/8] mkenvimage: Correct the includes and add a missing one

2012-01-07 Thread Mike Frysinger
On Thursday 05 January 2012 13:44:54 David Wagner wrote: --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c +#include stdlib.h -#include compiler.h +#include compiler.h these are fine -#include u-boot/crc.h +#include u-boot/crc.h i don't think this is necessary -mike signature.asc

Re: [U-Boot] [PATCHv2 4/8] mkenvimage: More error handling

2012-01-07 Thread Mike Frysinger
On Thursday 05 January 2012 13:44:55 David Wagner wrote: --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c datasize = strtol(optarg, NULL, 0); - break; + if (!errno) + break; + +

Re: [U-Boot] [PATCHv3 5/8] mkenvimage: Read/Write from/to stdin/out by default or if the filename is -

2012-01-07 Thread Mike Frysinger
On Thursday 05 January 2012 13:44:56 David Wagner wrote: + bin_fd = creat(bin_filename, S_IRUSR | S_IWUSR | S_IRGRP | + S_IWGRP); this should prob be open() -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCHv2 6/8] mkenvimage: Use mmap() when reading from a regular file

2012-01-07 Thread Mike Frysinger
On Thursday 05 January 2012 13:44:57 David Wagner wrote: --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c filesize = txt_file_stat.st_size; - /* Read the raw input file and transform it */ - filebuf = malloc(sizeof(*envptr) * filesize); -

Re: [U-Boot] [PATCH] tools/env: fix cross-compilation

2012-01-07 Thread Mike Frysinger
On Thursday 05 January 2012 18:25:52 Grant Erickson wrote: On Jan 5, 2012, at 3:18 PM, Mike Frysinger wrote: On Thursday 22 December 2011 13:39:35 Grant Erickson wrote: This patch fixes the make infrastructure for the fw_printenv tool such that it is built, by default, as a cross

Re: [U-Boot] [PATCH 2/2] api: storage: Share attributes with block_dev_desc

2012-01-07 Thread Mike Frysinger
On Friday 21 October 2011 02:31:48 Che-Liang Chiou wrote: struct device_info in api_public.h defined its own subset of attributes of block_dev_desc, which limits the capability of external apps. This patch let struct device_info and block_dev_desc share the same set of attributes so that an

Re: [U-Boot] [RFC PATCH v2 02/15] bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()

2012-01-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:07:53 Simon Glass wrote: --- /dev/null +++ b/include/bootstage.h +/* + * This file implements recording of each stage of the boot process. It is + * intended to implement timing of each stage, reporting this information + * to the user and passing it to the

Re: [U-Boot] [RFC PATCH v2 03/15] bootstage: Use show_boot_error() for -ve progress numbers

2012-01-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] [RFC PATCH v2 04/15] bootstage: Convert progress numbers 1-9 into enums

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:07:56 Simon Glass wrote: --- a/include/bootstage.h +++ b/include/bootstage.h enum bootstage_id { + BOOTSTAGE_ID_START, + BOOTSTAGE_ID_CHECK_MAGIC, /* Checking image magic */ + BOOTSTAGE_ID_CHECK_HEADER, /* Checking image header */ +

Re: [U-Boot] [RFC PATCH v2 05/15] bootstage: Convert progress numbers 10-19 to enums

2012-01-08 Thread Mike Frysinger
not sure why this isn't just squashed into 04/15, but whatever Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:03 Simon Glass wrote: --- a/lib/time.c +++ b/lib/time.c +ulong __timer_get_boot_us(void) +{ + static ulong base_time; + + /* + * We can't implement this properly. Return 0 on the first call and + * larger values after that. + */

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:05 Simon Glass wrote: This defines the basics of a new boot time measurement feature. This allows logging of very accurate time measurements as the boot proceeds, by using an available microsecond counter. To enable the feature, define CONFIG_BOOTSTAGE in

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:07 Simon Glass wrote: --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c static void announce_and_cleanup(void) { printf(\nStarting kernel ...\n\n); + bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, start_kernel); +#ifdef

Re: [U-Boot] [PATCH] tegra: mmc: Support operation with dcache enabled

2012-01-08 Thread Mike Frysinger
On Wednesday 21 December 2011 16:10:16 Stephen Warren wrote: Simon Glass wrote at Wednesday, December 21, 2011 1:03 PM: When the data cache is enabled we must flush on write and invalidate on read. We also check that buffers are aligned to data cache lines boundaries. With recent work in

Re: [U-Boot] [PATCH v3 03/16] Add gpio_request() to asm-generic header

2012-01-08 Thread Mike Frysinger
On Tuesday 06 December 2011 20:24:02 Simon Glass wrote: +int gpio_request(unsigned gpio, const char *label); should add gpio_free too -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list

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

2012-01-08 Thread Mike Frysinger
were you going to post an updated version ? -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 5/9] sandbox: sort header files in os.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:53 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c +#include errno.h #include fcntl.h +#include linux/types.h #include stdlib.h #include termios.h -#include unistd.h #include time.h -#include errno.h -#include

Re: [U-Boot] [PATCH 6/9] sandbox: Add required header to os.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:54 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c #include unistd.h #include sys/mman.h #include sys/stat.h +#include sys/time.h #include sys/types.h #include os.h guess this will need a rebase once 5/9 is rewritten

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 03:57:47 Marek Vasut wrote: On Monday 26 December 2011 14:32:54 Simon Glass wrote: --- /dev/null +++ b/lib/aes.c +static u8 sbox[256] = { +static u8 inv_sbox[256] = { +static u8 x2_sbox[256] = { +static u8 x3_sbox[256] = { +static u8

[U-Boot] [PATCH] lzma: fix printf warnings

2012-01-08 Thread Mike Frysinger
', but argument 2 has type 'SizeT' Signed-off-by: Mike Frysinger vap...@gentoo.org --- lib/lzma/LzmaTools.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lzma/LzmaTools.c b/lib/lzma/LzmaTools.c index 2eafad2..28a8aef 100644 --- a/lib/lzma/LzmaTools.c

[U-Boot] [PATCH] Blackfin: add in/out le32 variants

2012-01-08 Thread Mike Frysinger
These are rarely used, but the post code does currently, so add small redirect hacks for that. Signed-off-by: Mike Frysinger vap...@gentoo.org --- arch/blackfin/include/asm/io.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/include/asm/io.h b/arch

[U-Boot] [PATCH] post: add blackfin to the post_time_ms list

2012-01-08 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- post/post.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/post/post.c b/post/post.c index d62f10a..8705b12 100644 --- a/post/post.c +++ b/post/post.c @@ -495,7 +495,8 @@ void post_reloc(void) */ unsigned long

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

2012-01-08 Thread Mike Frysinger
On Monday 28 November 2011 10:33:39 Wolfgang Denk wrote: Dimitar Penev wrote: +#define CONFIG_TFTP_BLOCKSIZE 4404 ... I have to admit that I'm not sure i having the last ine is a clever idea, but in any case it's not my problem. I have not dug in the code to understand the impact

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

2012-01-08 Thread Mike Frysinger
From: Dimitar Penev d...@switchfin.org 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 d...@switchfin.org Signed-off-by: Mike Frysinger vap...@gentoo.org --- v2 - rebased and applied feedback from

Re: [U-Boot] [PATCH 2/9] Fix strict-aliasing warning in dlmalloc

2012-01-08 Thread Mike Frysinger
On Friday 06 January 2012 15:39:08 Simon Glass wrote: On Thu, Jan 5, 2012 at 10:48 PM, Wolfgang Denk wrote: Simon Glass wrote: This fixes the following warnings in dlmalloc seen with my gcc 4.6. Which exact version is this? dlmalloc.c: In function 'malloc_bin_reloc':

Re: [U-Boot] [PATCH 9/9] ppc: Change memsz variable to signed char

2012-01-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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 8/9] m68k: Change memsz to a signed char to avoid warning

2012-01-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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/9] usb: Fix strict-aliasing warning in host/ohci-hcd.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:49 Simon Glass wrote: len = min_t(int, len, leni); - if (data != databuf.ptr) - memcpy(data, databuf.ptr, len); + if (dataptr) + memcpy(data, dataptr, len); + else + memcpy(data, databuf, len); this

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-08 Thread Mike Frysinger
On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. --- a/drivers/mtd/nand/Makefile +++

Re: [U-Boot] [PATCHv4 3/8] mkenvimage: Correct an include and add a missing one

2012-01-08 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] [PATCHv3 4/8] mkenvimage: More error handling

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 09:25:21 David Wagner wrote: --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c +long int xstrtol(char *s) const +{ + long int tmp; + + tmp = strtol(s, NULL, 0); + if (!errno) + return tmp; you should manually clear errno before

Re: [U-Boot] [PATCHv3 5/8] mkenvimage: Read/Write from/to stdin/out by default or if the filename is -

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 07:02:40 David Wagner wrote: Le 08/01/2012 07:50, Mike Frysinger a écrit : On Thursday 05 January 2012 13:44:56 David Wagner wrote: + bin_fd = creat(bin_filename, S_IRUSR | S_IWUSR | S_IRGRP | + S_IWGRP

Re: [U-Boot] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:22:54 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:26 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:07:53 Simon Glass wrote: +enum bootstage_id { + BOOTSTAGE_ID_RUN_OS = 15, /* Exiting U-Boot, entering OS */ +}; what relevance does

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:33:34 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:30 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:03 Simon Glass wrote: --- a/lib/time.c +++ b/lib/time.c +ulong __timer_get_boot_us(void) +{ + static ulong base_time

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:43:09 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:07 Simon Glass wrote: --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c static void announce_and_cleanup(void) { printf

Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 02:50:00 Andrzej Pietrasiewicz wrote: However, Wolfgang Denk was not convinced about introducing dfu support to u-boot the way it was proposed. Are there any new circumstances? i just had the thread marked unread, so i read it reviewed for some high level details.

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 18:48:18 Simon Glass wrote: On Sun, Jan 8, 2012 at 11:58 AM, Mike Frysinger wrote: On Sunday 08 January 2012 12:43:09 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:07 Simon Glass wrote: --- a/arch

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 12:42:02 Simon Glass wrote: On Sun, Jan 8, 2012 at 12:35 AM, Mike Frysinger wrote: On Saturday 10 December 2011 16:08:05 Simon Glass wrote: --- a/include/bootstage.h +++ b/include/bootstage.h +static inline ulong bootstage_mark(enum bootstage_id id

Re: [U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 13:25:50 Sughosh Ganu wrote: arch/arm/cpu/arm926ejs/start.S | 10 +++--- your patch summary should include a relevant prefix. something like arm: or arm926: . that way non-arm people can ignore this. -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far where it doesn't), and add fine grained

Re: [U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 17:25:15 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c +#include errno.h #include fcntl.h +#include os.h #include stdlib.h #include termios.h -#include unistd.h #include time.h -#include errno.h -#include sys/types.h

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:27:44 Scott Wood wrote: On 01/09/2012 03:21 PM, Mike Frysinger wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:25:41 Tom Rini wrote: On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:58 Doug Anderson wrote: --- a/README +++ b/README @@ -606,9 +606,8 @@ The following options need to be configured: environment 'console=serial'. When CONFIG_SILENT_CONSOLE is defined, all console - messages (by U-Boot

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:56 Doug Anderson wrote: As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on bootm to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:04:27 Doug Anderson wrote: I believe that you can do a script something like this (where normal_bootargs is the old bootargs without the console= part, console_args is the non-silent console settings, and old_bootcmd is the old bootcmd): it's not exactly the same

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:20 Doug Anderson wrote: --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c +static void fixup_silent_linux(void) __attribute__ ((deprecated)); __deprecated (from linux/compiler.h) --- a/doc/README.silent +++ b/doc/README.silent

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:19 Doug Anderson wrote: include/configs/bfin_adi_common.h |1 + don't bother. we didn't enable silent=1 by default in any of the Blackfin boards. just made the functionality available to people if they wanted to test things out with it when

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:26:22 Doug Anderson wrote: As Mike Frysinger writes: We didn't enable silent=1 by default in any of the Blackfin boards Just made the functionality available to people if they wanted to test things out with it when prototyping on dev boards. --- a/include

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:28:05 Wolfgang Denk wrote: Doug Anderson wrote: This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc(). Previously it was silently overflowing the stack.

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 17:51:15 Doug Anderson wrote: On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk wrote: I think your patch is likely to break all these architectures? I'm not sure how my patch would break these architectures. if the kernel doesn't do len checking on the input string

Re: [U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:04:19 Michael Walle wrote: --- a/common/cmd_source.c +++ b/common/cmd_source.c +/* + * Run a series of commands, separated by '\n'. + * Beware, the contents of script may be modified while it is parsed. + */ +int run_script(char *script) const also, we

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: 3. Something else (?) getenv returns a writable buffer, so i wonder if things couldn't be avoided easily all around. after all, you're just deleting bytes here, not adding new ones. -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:54:05 Simon Glass wrote: Tidy this up as the list is long and likely to get longer. added to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:54:06 Simon Glass wrote: We should include the sys/time.h header to avoid warnings. added to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 18:48:12 Doug Anderson wrote: On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: getenv returns a writable buffer, so i wonder if things couldn't be avoided easily all around. after

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

2012-01-10 Thread Mike Frysinger
On Thursday 01 December 2011 13:05:42 Mike Frysinger wrote: 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

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

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 21:05:35 Fabio Estevam wrote: On Wed, Nov 30, 2011 at 5:23 AM, Macpaul Lin macp...@andestech.com wrote: Add linkage.h support from blackfin to common include, which is a reduced version from Linux. Signed-off-by: Macpaul Lin macp...@andestech.com ---

Re: [U-Boot] [PATCH] configs: Remove CONFIG_NET_MULTI from board files

2012-01-14 Thread Mike Frysinger
On Wednesday 11 January 2012 07:47:31 Fabio Estevam wrote: CONFIG_NET_MULTI is not used anymore, so remove it from board files. NAK: idea: good. actual patch: buggy :(. --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h -#if defined(CONFIG_TSEC_ENET) -#ifndef

Re: [U-Boot] [PATCH 3/5] miiphyutil: Add Micrel KSZ9021 support to miiphy_speed

2012-01-14 Thread Mike Frysinger
On Friday 13 January 2012 07:10:02 Dirk Behme wrote: common/miiphyutil.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) this is dead code ... i think we're pushing people to use the name phy framework rather than fixing/extending the old one. ---

Re: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver

2012-01-14 Thread Mike Frysinger
On Thursday 12 January 2012 10:27:13 Dirk Behme wrote: +struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, + unsigned int max_hz, unsigned int mode) +{ + struct imx_spi_dev_t *imx_spi_slave = NULL; setting to NULL is kind of pointless when you init it

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-14 Thread Mike Frysinger
On Thursday 12 January 2012 10:27:14 Dirk Behme wrote: +#ifdef CONFIG_CMD_SF + #define CONFIG_FSL_SF 1 + #define CONFIG_SPI_FLASH 1 + #define CONFIG_SPI_FLASH_SST1 + #define CONFIG_SPI_FLASH_CS 1 + #define CONFIG_IMX_ECSPI + #define

Re: [U-Boot] [PATCH 2/2] i.mx6q: SabreLite: Add SPI NOR support

2012-01-14 Thread Mike Frysinger
On Thursday 12 January 2012 10:38:40 Marek Vasut wrote: From: Eric Nelson eric.nel...@boundarydevices.com +#ifdef CONFIG_IMX_ECSPI +s32 spi_get_cfg(struct imx_spi_dev_t *dev) +{ + int rval = 0 ; + if (1 == dev-slave.cs) { + dev-base = ECSPI1_BASE_ADDR; +

  1   2   3   4   5   6   7   8   9   10   >