Re: [U-Boot] [RFC PATCH 1/4 v1] fdt: remove i2c example code.

2011-09-16 Thread Kumar Gala
On Sep 15, 2011, at 8:54 AM, Jason Cooper wrote: > > Signed-off-by: Jason Cooper > --- > common/fdt_decode.c | 14 -- > include/fdt_decode.h | 32 > 2 files changed, 0 insertions(+), 46 deletions(-) Did I miss where these files were added to u-bo

Re: [U-Boot] [PATCH 3/6] ColdFire: Move boards with simple _config rules to boards.cfg

2011-09-16 Thread Jin Zhengxiong-R64188
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On > Behalf Of Stany MARCEL > Sent: Wednesday, September 14, 2011 8:44 PM > To: u-boot@lists.denx.de > Cc: Jin Zhengxiong-R64188; Stany MARCEL; Jin Zhengxiong-R64188 > Subject: [U-Boot] [PATCH 3/

Re: [U-Boot] [PATCH 1/6] ColdFire: Cleanup lds files for multiple defined symbols

2011-09-16 Thread Jin Zhengxiong-R64188
> -Original Message- > From: Stany MARCEL [mailto:stany.mar...@novasys-ingenierie.com] > Sent: Wednesday, September 14, 2011 8:44 PM > To: u-boot@lists.denx.de > Cc: Jin Zhengxiong-R64188; Jin Zhengxiong-R64188; Stany MARCEL > Subject: [PATCH 1/6] ColdFire: Cleanup lds files for multiple de

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-16 Thread Stefano Babic
On 09/16/2011 01:18 AM, Fabio Estevam wrote: Hi Fabio, > When booting a mainline kernel on a mx31pdk the system gets getting resets > from the watchdog. > > As the kernel has watchdog support, disable it from U-boot. But if the kernel has support for watchdog, why does the system reset ? I che

Re: [U-Boot] [PATCH v3 0/2] usb:gadget:s5p USB Device Controller (UDC) implementation

2011-09-16 Thread Lukasz Majewski
Dear all, > This patch series adds support for Samsung's USB Device Controller > (UDC) on GONI reference target. > > --- > Depend on: > http://patchwork.ozlabs.org/patch/112847/ > > Lukasz Majewski (2): > usb:gadget:s5p USB Device Controller (UDC) implementation > usb:gadget:s5p Enabling th

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Simon Schwarz
Hi Joel, The current release (based on u-boot-ti) is V9: http://patchwork.ozlabs.org/bundle/Simon/OMAP3_SPL_V9/ Or V10 http://mid.gmane.org/1315949258-12064-1-git-send-email-tr...@ti.com (based on u-boot-arm) Actually this may already work (although I haven't tested it yet). If you define CO

Re: [U-Boot] [PATCH v2] ORIGEN : use absolute paths and fix tool naming

2011-09-16 Thread Minkyu Kang
Dear Angus Ainslie On 13 September 2011 05:11, Angus Ainslie wrote: > On some hosts using relative paths will cause the build to fail. This > patch sets absolute paths for the tools directory > > Get rid of MSDOS style excecutable extension > > Signed-off-by: Angus Ainslie > --- >  board/samsung

Re: [U-Boot] [Samsung] [PATCH] ORIGEN : enable device tree support

2011-09-16 Thread Minkyu Kang
Dear Angus Ainslie, On 12 September 2011 16:04, Chander Kashyap wrote: > Dear Angus, > > On 10 September 2011 03:32,   wrote: >> From: Angus Ainslie >> >> Enable passing a flattened device tree to the kernel. >> >> Signed-off-by: Angus Ainslie > Acked-by: Chander Kashyap >> --- >>  include/con

[U-Boot] git-clone doesn't compile

2011-09-16 Thread Athanasios Silis
Hello everyone, this is my first attempt to use u-boot on an sbc2410x board with s3c2410a arm processor (v. arm4t) I have surfed the git repository and realised that the specific board has been removed from the u-boot-arm branch. commit message was : "ARM: remove broken "sbc2410x" board" so I pic

[U-Boot] [PATCH 1/8] MX35: added ESDC structure to imx-regs

2011-09-16 Thread Stefano Babic
The structure and PLL defines are added to the imx-regs.h file and dropped from board header files. Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/imx-regs.h | 30 + board/freescale/mx35pdk/mx35pdk.h | 18 - 2 files changed

[U-Boot] [PATCH 2/8] MX35: add pins definition for UART3

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/mx35_pins.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx35/mx35_pins.h b/arch/arm/include/asm/arch-mx35/mx35_pins.h index 14669ff..3676e33 100644 --- a/arch/arm/include/asm/

[U-Boot] [PATCH 3/8] MX35: add reset cause as provided by other i.MX

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/cpu/arm1136/mx35/generic.c | 31 +-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx35/generic.c b/arch/arm/cpu/arm1136/mx35/generic.c index fcfaba5..951bccb 100644 --- a/arch/arm/cpu/

[U-Boot] [PATCH 5/8] ARM: moved general function to arm/lib

2011-09-16 Thread Stefano Babic
Functions inside armv7/syslib can be used by other ARM architectures, too. The file is added as part of ARM library. Signed-off-by: Stefano Babic CC: Albert ARIBAUD --- arch/arm/cpu/armv7/Makefile |2 - arch/arm/cpu/armv7/syslib.c | 69 --- arch/arm

[U-Boot] [PATCH 6/8] I2C: added I2C-2 and I2C-3 to MX35

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Heiko Schocher --- drivers/i2c/mxc_i2c.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index ebde3c5..25c33eb 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -63,6 +63,1

[U-Boot] [PATCH 4/8] MX35: factorize common assembly code

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/lowlevel_macro.S | 140 +++ 1 files changed, 140 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-mx35/lowlevel_macro.S diff --git a/arch/arm/include/asm/arch-mx35/lowlevel_macro.S b/

[U-Boot] [PATCH 8/8] MX35: add support for flea3 board

2011-09-16 Thread Stefano Babic
The flea3 board is a custom board used in automotive. Network (FEC), NOR, NAND and SPI are supported. Signed-off-by: Stefano Babic --- board/flea3/Makefile| 49 board/flea3/flea3.c | 254 +++ board/flea3/lowlevel_init.S | 79 +

[U-Boot] [PATCH 7/8] MX35: Drop unnecessary prototypes from imx-regs.h

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/imx-regs.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/arch-mx35/imx-regs.h b/arch/arm/include/asm/arch-mx35/imx-regs.h index 08fd2d5..038f0b6 100644 --- a/arch/arm/include/asm/ar

[U-Boot] [PATCH 1/3] mkimage: ublimage must return if the header is not verified

2011-09-16 Thread Stefano Babic
Each image handler must return a not-zero velue if the header is not recognized to allow the main program to iterate to the next handler. Signed-off-by: Stefano Babic CC: Heiko Schocher --- tools/ublimage.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tools/ublim

[U-Boot] [PATCH 2/3] mkimage: Add variable lenght header support

2011-09-16 Thread Stefano Babic
Some images have not a header of fix lenght. The patch will be used for the generation of AIS images, because this header has a variable lenght. The patch adds also the parameter "-s" (skip) to not copy automatically the passed image file. Signed-off-by: Stefano Babic --- tools/mkimage.c | 19

[U-Boot] [PATCH 3/3] mkimage: adding support for Davinci AIS image

2011-09-16 Thread Stefano Babic
Some Davinci processors supports the Application Image Script (AIS) boot process. The patch adds the generation of the AIS image inside the mkimage tool to make possible to generate a bootable U-boot without external tools (TI Davinci AIS Generator). Signed-off-by: Stefano Babic --- common/image

Re: [U-Boot] [PATCH 1/3] mkimage: ublimage must return if the header is not verified

2011-09-16 Thread Heiko Schocher
Hello Stefano, Stefano Babic wrote: > Each image handler must return a not-zero velue if the ^ value > header is not recognized to allow the main program to > iterate to the next handler. > > Signed-off-by: S

[U-Boot] moje zdje;cie

2011-09-16 Thread Facebook
i wannted wyslac u moje zdjecie dawno temu, ale balem sie, ze u dont like do mnie. sprawdzic na linki u zobaczyc moje zdjecie, mam nadzieje, ze u like it Pobierz i zobaczyc moje zdjecie ... http://dropfile.ru/files/get/w0VuEegoD6/dc595963.zip ___ U-Boo

[U-Boot] [PATCH] ppc4xx: Flush dcache after DDR2 autocalibration with caches on

2011-09-16 Thread Stefan Roese
Flush the dcache before removing the TLB with caches enabled. Otherwise this might lead to problems later on, e.g. while booting Linux (as seen on ICON-440SPe). Signed-off-by: Stefan Roese --- arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 1/2] mx31pdk: Disable watchdog

2011-09-16 Thread Sergei Shtylyov
Hello. On 16-09-2011 3:18, Fabio Estevam wrote: > When booting a mainline kernel on a mx31pdk the system gets getting resets > from the watchdog. That's tautological. Maybe "is getting reset"? > As the kernel has watchdog support, disable it from U-boot. > Signed-off-by: Fabio Estevam WB

Re: [U-Boot] [PATCH 2/2] mx31pdk: Change the prompt as per other i.MX boards

2011-09-16 Thread Stefano Babic
On 09/16/2011 01:18 AM, Fabio Estevam wrote: > Change the prompt as done in other i.MX boards. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx31pdk.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h

Re: [U-Boot] [PATCH 8/8] MX35: add support for flea3 board

2011-09-16 Thread Fabio Estevam
Hi Stefano, On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic wrote: .. > +void board_setup_sdram(void) > +{ > +       u32 val; > +       struct esdc_regs *esdc = (struct esdc_regs *)ESDCTL_BASE_ADDR; > + > +       /* Initialize with default values both CSD0/1 */ > +       writel(0x2000, &esdc->esdc

Re: [U-Boot] [PATCH 8/8] MX35: add support for flea3 board

2011-09-16 Thread Fabio Estevam
Hi Stefano, On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic wrote: > The flea3 board is a custom board used in automotive. > Network (FEC), NOR, NAND and SPI are supported. > > Signed-off-by: Stefano Babic > --- >  board/flea3/Makefile        |   49 >  board/flea3/flea3.c         |  254

Re: [U-Boot] [PATCH 8/8] MX35: add support for flea3 board

2011-09-16 Thread Stefano Babic
On 09/16/2011 01:49 PM, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic wrote: >> The flea3 board is a custom board used in automotive. >> Network (FEC), NOR, NAND and SPI are supported. >> >> Signed-off-by: Stefano Babic >> --- >> board/flea3/Makefile

[U-Boot] [RFC] Timer API (again!)

2011-09-16 Thread Graeme Russ
Hi All, Well, here we are again, a Timer API discussion :) All things considered, I don't think the Linux approach is right for U-Boot - It is designed to cater for way more use-cases than U-Boot will ever need to deal with (time queues and call-backs in particular) To summarise, in a nutshell,

Re: [U-Boot] [PATCH 8/8] MX35: add support for flea3 board

2011-09-16 Thread Stefano Babic
On 09/16/2011 01:48 PM, Fabio Estevam wrote: > Hi Stefano, > Hi Fabio, > On Fri, Sep 16, 2011 at 6:46 AM, Stefano Babic wrote: > .. >> +void board_setup_sdram(void) >> +{ >> + u32 val; >> + struct esdc_regs *esdc = (struct esdc_regs *)ESDCTL_BASE_ADDR; >> + >> + /* Initialize

Re: [U-Boot] [RFC PATCH 1/4 v1] fdt: remove i2c example code.

2011-09-16 Thread Jason
Kumar, On Fri, Sep 16, 2011 at 02:31:32AM -0500, Kumar Gala wrote: > On Sep 15, 2011, at 8:54 AM, Jason Cooper wrote: > > > > Signed-off-by: Jason Cooper > > --- > > common/fdt_decode.c | 14 -- > > include/fdt_decode.h | 32 > > 2 files changed, 0

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Wolfgang Denk
Dear Joel A Fernandes, In message you wrote: > > Just one question about one of your patches I happen to notice [1], > why is there a SPL build for each different boot mode such as for > NAND, MMC etc?. Wouldn't it be nicer to have a single SPL loader that > tried different boot modes one after

Re: [U-Boot] git-clone doesn't compile

2011-09-16 Thread Wolfgang Denk
Dear Athanasios Silis, In message you wrote: > > I have surfed the git repository and realised that the specific board has > been removed from the u-boot-arm branch. > commit message was : "ARM: remove broken "sbc2410x" board" Please digest that message: remove the BROKEN "sbc2410x" board... >

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Simon Schwarz
On 09/16/2011 02:31 PM, Wolfgang Denk wrote: > Dear Joel A Fernandes, > > In > message > you wrote: >> >> Just one question about one of your patches I happen to notice [1], >> why is there a SPL build for each different boot mode such as for >> NAND, MMC etc?. Wouldn't it be nicer to have a sin

[U-Boot] [PATCH] MX31: Improve readability for reset cause

2011-09-16 Thread Fabio Estevam
Currently the reset cause is printed like: CPU: Freescale i.MX31 rev 2.0 at 531 MHz.Reset cause: POR Improve readability by adding a new line like it is done on other i.MX boards. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm1136/mx31/generic.c |2 +- 1 files changed, 1 insertions(+),

Re: [U-Boot] [Patch v2 1/7] powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > Check second DIMM slot in case the first one is empty. > Honor DQS enable option for SDRAM mode register. > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 19 ++- > arch/powerpc/include/asm/fsl_ddr_sdr

Re: [U-Boot] [Patch v2 2/7] powerpc/mpc8xxx: Add SPD EEPROM address for single controller 2 slots

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > The two slots on the same controller have different addresses. > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc8xxx/ddr/main.c | 11 +++ > 1 files changed, 7 insertions(+), 4 deletions(-) applied to 85xx 'next' - k __

Re: [U-Boot] [Patch v2 3/7] powerpc/mpc8xxx: Fix picos_to_mclk() and get_memory_clk_period_ps()

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > Reduce the calculation error to 1ps. > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc8xxx/ddr/util.c | 26 +++--- > 1 files changed, 11 insertions(+), 15 deletions(-) applied to 85xx 'next' - k ___

Re: [U-Boot] [Patch v2 4/7] powerpc/mpc8xxx: Add DDR2 to unified DDR driver

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > DDR2 has different ODT table and values. Adding table according to Samsung > application note. > > Fix additive latency calculation to avoid interger underflow. > > Signed-off-by: York Sun > --- > .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c

[U-Boot] [PATCH] DaVinci: correct PDSTAT.STATE mask

2011-09-16 Thread Sergei Shtylyov
MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix the masks which previously was leaving out the itermediate state indicator bit. Signed-off-by: Sergei Shtylyov --- Analogous Linux patch has been queued in the linux-davinci tree: http://linux.davincidsp.com/piperm

Re: [U-Boot] [Patch v2 6/7] powerpc/mpc8349emds: Migrate from spd_sdram to unified DDR driver

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > Update MPC8349EMDS to use unified DDR driver instead of spd_sdram.c. > The unified driver can initialize data using DDR controller. No need to > use DMA if just to initialze for ECC. > > Signed-off-by: York Sun > Signed-off-by: Kim Phillips > ---

Re: [U-Boot] [PATCH] powerpc/85xx: Refactor P2041RDB to use common p_corenet files

2011-09-16 Thread Kumar Gala
On Aug 30, 2011, at 6:04 PM, Kumar Gala wrote: > The P2041RDB has almost identical setup for TLB, LAWS, and PCI with > other P-Series CoreNet platforms. > > The only difference between P2041RDB & P3041DS/P4080DS/P5020DS is the > CPLD vs PIXIS FPGA which we can handle via some simple #ifdefs in t

Re: [U-Boot] [PATCH] powerpc/85xx: p2041rdb - Remove unused 'execute' perm in TLB entries

2011-09-16 Thread Kumar Gala
On Aug 30, 2011, at 6:04 PM, Kumar Gala wrote: > We shouldn't be setting execute permissions on TLB entries that will not > actually have any code run from them. > > Signed-off-by: Kumar Gala > --- > board/freescale/p2041rdb/tlb.c | 34 +++--- > 1 files changed, 19

Re: [U-Boot] [Patch v2 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > Unified DDR driver is maintained for better performance, robustness and bug > fixes. Upgrading to use unified DDR driver for MPC83xx takes advantage of > overall improvement. It requires changes for board files to customize > platform-dependent param

Re: [U-Boot] [PATCH] powerpc/85xx: refactor common P-Series CoreNet files for FSL boards

2011-09-16 Thread Kumar Gala
On Aug 30, 2011, at 6:04 PM, Kumar Gala wrote: > We currently support 4 SoC/Boards from the P-Series of QorIQ SoCs that > are based on the 'CoreNet' Architecture: P2041RDB, P3041DS, P4080DS, and > P5020DS. There is a significant amount of commonality shared between > these boards that we can ref

Re: [U-Boot] [PATCH v2] DaVinci: correct MDSTAT.STATE mask

2011-09-16 Thread Sergei Shtylyov
MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix the masks which previously was leaving out the intermediate state indicator bit. Signed-off-by: Sergei Shtylyov --- Resending with the corrected subject/description... Analogous Linux patch has been queued in the li

[U-Boot] [PATCH v2] powerpc/85xx: Add support for setting up RAID engine liodns on P5020

2011-09-16 Thread Kumar Gala
Add support for Job Queue/Ring LIODN for the RAID Engine on P5020. Each Job Queue/Ring combo needs one id assigned for a total of 4 (2 JQs/2 Rings per JQ). This just handles RAID Engine in non-DPAA mode. Signed-off-by: Santosh Shukla Signed-off-by: Kumar Gala --- * Removed typedef arch/power

Re: [U-Boot] [Patch v2 7/7] powerpc/8xxx: Add support for interactive DDR programming interface

2011-09-16 Thread Kumar Gala
On Aug 26, 2011, at 1:32 PM, York Sun wrote: > Interactive DDR debugging provides a user interface to view and modify SPD, > DIMM parameters, board options and DDR controller registers before DDR is > initialized. With this feature, developers can fine-tune DDR for board > bringup and other debug

[U-Boot] altbootcmd and failbootcmd

2011-09-16 Thread Thomas Johnson
I already have configured and built and have running u-boot and booting Linux on my custom MPC8313 based board, all ok so far. I am now trying to enable the altbootcmd and failbootcmd features so in the event of a image failure or non linux boot I can reboot to a known working image set. I

[U-Boot] [PATCH] armv7: only call save_boot_params for OMAP

2011-09-16 Thread Simon Schwarz
save_boot_params in start.S got called for all armv7 based cpus. Since the function relys on the OMAP specific bootloader this broke some boards (or to be specific added more errors to already broken ones). This patch wraps the call in #ifdef CONFIG_OMAP. Signed-off-by: Simon Schwarz --- arch/ar

Re: [U-Boot] [PATCH] armv7: only call save_boot_params for OMAP

2011-09-16 Thread Aneesh V
Hi Simon, On Friday 16 September 2011 09:02 PM, Simon Schwarz wrote: > save_boot_params in start.S got called for all armv7 based cpus. Since the > function relys on the OMAP specific bootloader this broke some boards > (or to be specific added more errors to already broken ones). This patch > wra

Re: [U-Boot] [PATCH 1/2] SPL: Make path to start.S configurable

2011-09-16 Thread Scott Wood
On 09/15/2011 06:02 PM, Marek Vasut wrote: > On Friday, September 16, 2011 12:54:26 AM Scott Wood wrote: >> How about: >> >> ifdef CONFIG_SPL_START_FILE >> START := $(subst ",,$(CONFIG_SPL_START_FILE)) >> else >> START := $(CPUDIR)/start.o >> endif >> >> START_PATH := $(dir $(START)) >> >>> LIBS-y

Re: [U-Boot] [PATCH 1/2] SPL: Make path to start.S configurable

2011-09-16 Thread Marek Vasut
On Friday, September 16, 2011 06:16:15 PM Scott Wood wrote: > On 09/15/2011 06:02 PM, Marek Vasut wrote: > > On Friday, September 16, 2011 12:54:26 AM Scott Wood wrote: > >> How about: > >> > >> ifdef CONFIG_SPL_START_FILE > >> START := $(subst ",,$(CONFIG_SPL_START_FILE)) > >> else > >> START :=

[U-Boot] [PATCH] devkit8000: Fix build break

2011-09-16 Thread s-paulraj
From: Sandeep Paulraj Found a build erros when i ran MAKEALL. So fix it. Signed-off-by: Sandeep Paulraj --- arch/arm/include/asm/omap_common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h ind

[U-Boot] Fastboot gadget

2011-09-16 Thread Sebastian Andrzej Siewior
This series contains a smaller version of the fastboot gadget. I removed the flash/mmc/write to media part and re-add once I'm through with this basic thing :) This "basic" gadget supports the retrieval of variables (like serial number), reboot functionality, download of binary data and booting the

[U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
This patch adds support for the Android boot-image format. The header file is from the Android project and got slightly alterted so the struct + its defines are not generic but have something like a namespace. The header file is from bootloader/legacy/include/boot/bootimg.h. The header parsing has

[U-Boot] [Example 3/3] fastboot: add board specific implementation

2011-09-16 Thread Sebastian Andrzej Siewior
This is just an example how the board specific implementation can look like. Not for merging. Signed-off-by: Sebastian Andrzej Siewior --- board/ti/sdp4430/Makefile |7 --- board/ti/sdp4430/fastboot.c | 36 2 files changed, 40 insertions(+), 3 del

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

2011-09-16 Thread Sebastian Andrzej Siewior
This patch contains an implementation of the fastboot protocol on the device side and a little of documentation. The gadget expects the new-style gadget framework. The gadget implements the getvar, reboot, download and reboot commands. What is missing is the flash handling i.e. writting the image t

Re: [U-Boot] [RFC] ARM ISA/cpu/SoC code organization for cache and other functions

2011-09-16 Thread Albert ARIBAUD
Le 16/09/2011 01:18, Jason a écrit : > On Thu, Sep 15, 2011 at 07:10:49PM -0400, Jason wrote: >> Albert, >> >> On Thu, Sep 15, 2011 at 11:42:12PM +0200, Albert ARIBAUD wrote: >>> (re-posting cleaned up and outside any other discussion) >>> >>> This RFC is for discussing how cache operation function

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Mike Frysinger
On Friday, September 16, 2011 12:51:17 Sebastian Andrzej Siewior wrote: > +#ifdef CONFIG_ANDROID_BOOT_IMAGE we already have a standard here: CONFIG_BOOTM_ANDROID > +static u32 andoir_img_get_kload(struct andr_img_hdr *hdr) looks like you missed a "d" in that "andoir" -mike signature.asc Descri

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 08:22 PM, Mike Frysinger wrote: > On Friday, September 16, 2011 12:51:17 Sebastian Andrzej Siewior wrote: >> +#ifdef CONFIG_ANDROID_BOOT_IMAGE > > we already have a standard here: CONFIG_BOOTM_ANDROID Ehm. Can't follow. If you want me to s/CONFIG_ANDROID_BOOT_IMAGE /CONFIG_BOOTM_ANDR

Re: [U-Boot] [u-boot-release] [Patch v3 7/7] powerpc/8xxx: Add support for interactive DDR programming interface

2011-09-16 Thread Timur Tabi
York Sun wrote: > +Interactive DDR debugging > +=== > + > +For DDR parameter tuning up and debugging, the interactive DDR debugging can > +be activated by saving an environment variable "ddr_interactive". The value > +doesn't matter. Once activated, U-boot prompts "FSL DDR>"

Re: [U-Boot] [PATCH 27/31] M28: Save environment in NAND

2011-09-16 Thread Scott Wood
On 09/08/2011 03:42 PM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk > Cc: Detlev Zundel > --- > include/configs/m28evk.h | 11 +-- > 1 files changed, 9 insertions(+), 2 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/confi

Re: [U-Boot] [u-boot-release] [Patch v3 7/7] powerpc/8xxx: Add support for interactive DDR programming interface

2011-09-16 Thread York Sun
On Fri, 2011-09-16 at 14:15 -0500, Timur Tabi wrote: > York Sun wrote: > > +Interactive DDR debugging > > +=== > > + > > +For DDR parameter tuning up and debugging, the interactive DDR debugging > > can > > +be activated by saving an environment variable "ddr_interactive".

Re: [U-Boot] [u-boot-release] [Patch v3 7/7] powerpc/8xxx: Add support for interactive DDR programming interface

2011-09-16 Thread Timur Tabi
York Sun wrote: > I think the interactive command is self-explained. Why do people say things like that? If I say that it needs to be better documented, then obviously it isn't self-explanatory. > I can add some > examples if needed. But I am afraid the example will be either too short > or to

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Scott Wood
On 09/15/2011 06:17 PM, Marek Vasut wrote: > On Friday, September 16, 2011 12:57:44 AM Scott Wood wrote: >> On 09/11/2011 11:03 PM, Marek Vasut wrote: >>> Introduce CONFIG_SPL_NO_CPU_SUPPORT_CODE to avoid compiling the CPU >>> support library. This can be useful on some setups. >>> >>> Signed-off-b

Re: [U-Boot] [PATCH 3/6] ColdFire: Move boards with simple _config rules to boards.cfg

2011-09-16 Thread Stany MARCEL
>> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On >> Behalf Of Stany MARCEL >> Sent: Wednesday, September 14, 2011 8:44 PM >> To: u-boot@lists.denx.de >> Cc: Jin Zhengxiong-R64188; Stany MARCEL; Jin Zhengxiong-R64188 >> Subject: [U-Boot] [P

Re: [U-Boot] [PATCH 1/6] ColdFire: Cleanup lds files for multiple defined symbols

2011-09-16 Thread Stany MARCEL
>> -Original Message- >> From: Stany MARCEL [mailto:stany.mar...@novasys-ingenierie.com] >> Sent: Wednesday, September 14, 2011 8:44 PM >> To: u-boot@lists.denx.de >> Cc: Jin Zhengxiong-R64188; Jin Zhengxiong-R64188; Stany MARCEL >> Subject: [PATCH 1/6] ColdFire: Cleanup lds files for multi

Re: [U-Boot] [PATCH v2] DaVinci: correct MDSTAT.STATE mask

2011-09-16 Thread Wolfgang Denk
Dear Sergei Shtylyov, In message <201109161858.08706.sshtyl...@ru.mvista.com> you wrote: > MDSTAT.STATE occupies bits 0..5 according to all available documentation, so > fix > the masks which previously was leaving out the intermediate state indicator > bit. > > Signed-off-by: Sergei Shtylyov

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Wolfgang Denk
Dear Sebastian Andrzej Siewior, In message <1316191879-27214-2-git-send-email-bige...@linutronix.de> you wrote: > This patch adds support for the Android boot-image format. The header > file is from the Android project and got slightly alterted so the struct + > its defines are not generic but hav

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

2011-09-16 Thread Wolfgang Denk
Dear Sebastian Andrzej Siewior, In message <1316191879-27214-3-git-send-email-bige...@linutronix.de> you wrote: > This patch contains an implementation of the fastboot protocol on the > device side and a little of documentation. > The gadget expects the new-style gadget framework. > The gadget imp

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Tom Rini
On Fri, Sep 16, 2011 at 1:14 AM, Simon Schwarz wrote: > Hi Joel, > > The current release (based on u-boot-ti) is V9: > http://patchwork.ozlabs.org/bundle/Simon/OMAP3_SPL_V9/ > > Or V10 > http://mid.gmane.org/1315949258-12064-1-git-send-email-tr...@ti.com > (based on u-boot-arm) > > Actually this m

Re: [U-Boot] [Example 3/3] fastboot: add board specific implementation

2011-09-16 Thread Wolfgang Denk
Dear Sebastian Andrzej Siewior, In message <1316191879-27214-4-git-send-email-bige...@linutronix.de> you wrote: > This is just an example how the board specific implementation can look > like. Not for merging. > > Signed-off-by: Sebastian Andrzej Siewior ... > --- /dev/null > +++ b/board/ti/sdp4

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 11:03 PM, Wolfgang Denk wrote: > Dear Sebastian Andrzej Siewior, Hi Wolfgang, >> + * Copyright (C) 2008 The Android Open Source Project >> + * All rights reserved. >> + * >> + * Redistribution and use in source and binary forms, with or without >> + * modification, are permitted prov

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Mike Frysinger
On Friday, September 16, 2011 17:28:08 Sebastian Andrzej Siewior wrote: > On 09/16/2011 11:03 PM, Wolfgang Denk wrote: > > Dear Sebastian Andrzej Siewior, > >> + * Copyright (C) 2008 The Android Open Source Project > >> + * All rights reserved. > >> + * > >> + * Redistribution and use in source and

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Marek Vasut
On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote: > On 09/15/2011 06:17 PM, Marek Vasut wrote: > > On Friday, September 16, 2011 12:57:44 AM Scott Wood wrote: > >> On 09/11/2011 11:03 PM, Marek Vasut wrote: > >>> Introduce CONFIG_SPL_NO_CPU_SUPPORT_CODE to avoid compiling the CPU > >>> su

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Scott Wood
On 09/16/2011 04:38 PM, Marek Vasut wrote: > On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote: >> Still, this seems hackish. Shouldn't the control be on specific files >> that you include, not directories? > > I don't think so ... why ? That's how the main U-Boot build does it... More

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Marek Vasut
On Friday, September 16, 2011 11:42:50 PM Scott Wood wrote: > On 09/16/2011 04:38 PM, Marek Vasut wrote: > > On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote: > >> Still, this seems hackish. Shouldn't the control be on specific files > >> that you include, not directories? > > > > I don

Re: [U-Boot] [PATCH 1/3] image: add support for Android's boot image format

2011-09-16 Thread Sebastian Andrzej Siewior
On 09/16/2011 11:35 PM, Mike Frysinger wrote: > On Friday, September 16, 2011 17:28:08 Sebastian Andrzej Siewior wrote: >> On 09/16/2011 11:03 PM, Wolfgang Denk wrote: >>> Dear Sebastian Andrzej Siewior, + * Copyright (C) 2008 The Android Open Source Project + * All rights reserved.

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Scott Wood
On 09/16/2011 04:47 PM, Marek Vasut wrote: > On Friday, September 16, 2011 11:42:50 PM Scott Wood wrote: >> On 09/16/2011 04:38 PM, Marek Vasut wrote: >>> On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote: Still, this seems hackish. Shouldn't the control be on specific files tha

Re: [U-Boot] [PATCH 2/2 RESEND] SPL: Allow user to disable CPU support library

2011-09-16 Thread Marek Vasut
On Saturday, September 17, 2011 12:07:52 AM Scott Wood wrote: > On 09/16/2011 04:47 PM, Marek Vasut wrote: > > On Friday, September 16, 2011 11:42:50 PM Scott Wood wrote: > >> On 09/16/2011 04:38 PM, Marek Vasut wrote: > >>> On Friday, September 16, 2011 09:49:28 PM Scott Wood wrote: > Still,

Re: [U-Boot] [PATCH] devkit8000: Fix build break

2011-09-16 Thread Tom Rini
On Fri, Sep 16, 2011 at 9:42 AM, wrote: > From: Sandeep Paulraj > > Found a build erros when i ran MAKEALL. > So fix it. > > > Signed-off-by: Sandeep Paulraj > --- >  arch/arm/include/asm/omap_common.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/inclu

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Joel A Fernandes
On Fri, Sep 16, 2011 at 7:31 AM, Wolfgang Denk wrote: > Dear Joel A Fernandes, > > In message > you > wrote: >> >> Just one question about one of your patches I happen to notice [1], >> why is there a SPL build for each different boot mode such as for >> NAND, MMC etc?. Wouldn't it be nicer to

Re: [U-Boot] [PATCH] devkit8000: Fix build break

2011-09-16 Thread Albert ARIBAUD
Le 17/09/2011 00:59, Tom Rini a écrit : > On Fri, Sep 16, 2011 at 9:42 AM, wrote: >> From: Sandeep Paulraj >> >> Found a build erros when i ran MAKEALL. >> So fix it. >> >> >> Signed-off-by: Sandeep Paulraj >> --- >> arch/arm/include/asm/omap_common.h |2 +- >> 1 files changed, 1 insertions