[U-Boot] SPL boot modes

2011-09-16 Thread Joel A Fernandes
Hi Simon, Great work on the SPL patches for omap. I am getting a bit familiar with this and earlier SPL work. 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

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Joel A Fernandes
On Fri, Sep 16, 2011 at 1:11 AM, Joel A Fernandes agnel.j...@gmail.com wrote: Hi Simon, Great work on the SPL patches for omap. I am getting a bit familiar with this and earlier SPL work. Just one question about one of your patches I happen to notice [1], Sorry, I was referring to this

Re: [U-Boot] smc911x not functional on top of tree

2011-09-16 Thread Stefano Babic
On 09/16/2011 01:13 AM, Fabio Estevam wrote: Hi Stefano, On Thu, Sep 15, 2011 at 5:21 PM, stefano babic sba...@denx.de wrote: .. Does anyone have smc911x working with the latest U-boot? I have now tested on a mx35pdk with Debug board. It has a SMC911x. It works: Thanks for testing! I

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 u-b...@lakedaemon.net --- common/fdt_decode.c | 14 -- include/fdt_decode.h | 32 2 files changed, 0 insertions(+), 46 deletions(-) Did I miss where these files

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/6]

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 defined

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

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 the USB

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

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 angus.ains...@linaro.org 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

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 chander.kash...@linaro.org wrote: Dear Angus, On 10 September 2011 03:32,  angus.ains...@linaro.org wrote: From: Angus Ainslie angus.ains...@linaro.org Enable passing a flattened device tree to the kernel. Signed-off-by:

[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 picked

[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 sba...@denx.de --- arch/arm/include/asm/arch-mx35/imx-regs.h | 30 + board/freescale/mx35pdk/mx35pdk.h | 18 -

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

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- 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 ---

[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 sba...@denx.de --- 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 ---

[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 sba...@denx.de CC: Albert ARIBAUD albert.u.b...@aribaud.net --- arch/arm/cpu/armv7/Makefile |2 - arch/arm/cpu/armv7/syslib.c | 69

[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 sba...@denx.de CC: Heiko Schocher h...@denx.de --- 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 +++

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

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- 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

[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 sba...@denx.de --- board/flea3/Makefile| 49 board/flea3/flea3.c | 254 +++

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

2011-09-16 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- 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 ---

[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 sba...@denx.de CC: Heiko Schocher h...@denx.de --- tools/ublimage.c |5 + 1 files changed, 5 insertions(+), 0

[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 sba...@denx.de

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:

[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-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 s...@denx.de --- arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c |7 +++ 1 files changed, 7 insertions(+), 0

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

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 fabio.este...@freescale.com --- include/configs/mx31pdk.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/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 sba...@denx.de 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,

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 sba...@denx.de wrote: The flea3 board is a custom board used in automotive. Network (FEC), NOR, NAND and SPI are supported. Signed-off-by: Stefano Babic sba...@denx.de ---  board/flea3/Makefile        |   49  

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 sba...@denx.de wrote: The flea3 board is a custom board used in automotive. Network (FEC), NOR, NAND and SPI are supported. Signed-off-by: Stefano Babic sba...@denx.de ---

[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 sba...@denx.de 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 u-b...@lakedaemon.net --- common/fdt_decode.c | 14 -- include/fdt_decode.h | 32 2 files

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Wolfgang Denk
Dear Joel A Fernandes, In message CAD=gypaauvqo3s_8foufdlnayuys5cfs-fkl5guv3onng_z...@mail.gmail.com 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

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

2011-09-16 Thread Wolfgang Denk
Dear Athanasios Silis, In message CADgchnu2_UASD66sCcOK3cm3teC=qtj8p2drm7mcapdqf0j...@mail.gmail.com 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

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 messageCAD=gypaauvqo3s_8foufdlnayuys5cfs-fkl5guv3onng_z...@mail.gmail.com 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

[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 fabio.este...@freescale.com --- arch/arm/cpu/arm1136/mx31/generic.c |2 +- 1

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 york...@freescale.com --- arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 19 ++-

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 york...@freescale.com --- arch/powerpc/cpu/mpc8xxx/ddr/main.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) applied to 85xx 'next' -

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 york...@freescale.com --- 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 york...@freescale.com ---

[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 sshtyl...@ru.mvista.com --- Analogous Linux patch has been queued in the linux-davinci tree:

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 york...@freescale.com Signed-off-by: Kim

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 the

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 ga...@kernel.crashing.org --- board/freescale/p2041rdb/tlb.c | 34 +++--- 1

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

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

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 sshtyl...@ru.mvista.com --- Resending with the corrected subject/description... Analogous Linux patch

[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 santosh.shu...@freescale.com Signed-off-by: Kumar Gala

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

[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

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 wraps

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 := $(CPUDIR)/start.o

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

2011-09-16 Thread s-paulraj
From: Sandeep Paulraj s-paul...@ti.com Found a build erros when i ran MAKEALL. So fix it. Signed-off-by: Sandeep Paulraj s-paul...@ti.com --- 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

[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 them

[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 bige...@linutronix.de --- board/ti/sdp4430/Makefile |7 --- board/ti/sdp4430/fastboot.c | 36 2 files changed,

[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

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 functions should be

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

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_ANDROID/

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 before

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 marek.va...@gmail.com Cc: Stefano Babic sba...@denx.de Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de --- include/configs/m28evk.h | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-)

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. The value

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 too

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-by: Marek Vasut

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] [PATCH 3/6]

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 multiple defined

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 have

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

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Tom Rini
On Fri, Sep 16, 2011 at 1:14 AM, Simon Schwarz simonschwarz...@googlemail.com 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

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 bige...@linutronix.de ... --- /dev/null +++

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 provided that

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 binary forms,

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 support

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't think so

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 that you

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, this seems

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

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

Re: [U-Boot] SPL boot modes

2011-09-16 Thread Joel A Fernandes
On Fri, Sep 16, 2011 at 7:31 AM, Wolfgang Denk w...@denx.de wrote: Dear Joel A Fernandes, In message CAD=gypaauvqo3s_8foufdlnayuys5cfs-fkl5guv3onng_z...@mail.gmail.com you wrote: Just one question about one of your patches I happen to notice [1], why is there a SPL build for each