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

2012-01-06 Thread Ran Shalit
On Fri, Jan 6, 2012 at 1:26 AM, Mike Frysinger vap...@gentoo.org wrote: 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

[U-Boot] [PATCH v2 2/4] OMAP3+: Clock: Adding ehci clock enabling

2012-01-06 Thread Govindraj.R
From: Govindraj.R govindraj.r...@ti.com Adding ehci clock enabling mechanism part of clock framework. When essential clocks are enabled during init phase usb host clocks can also be enabled from clock framework. Signed-off-by: Govindraj.R govindraj.r...@ti.com ---

[U-Boot] [PATCH v2 3/4] OMAP4: clock-common: Move the usb dppl configuration to new func

2012-01-06 Thread Govindraj.R
From: Govindraj.R govindraj.r...@ti.com usb dpll configuration is done only part of non-essential dppl configuration however if CONFIG_USB_EHCI_OMAP is defined we may have to configure usb dpll's for proper functioning of usb modules. So move the usb dppl configuration to a new func. and utilise

[U-Boot] [PATCH v2 0/4] Clean up ehci-omap and extend support for omap3/4 socs

2012-01-06 Thread Govindraj.R
From: Govindraj.R govindraj.r...@ti.com Clean up ehci-omap added and make it generic to extend support for omap4 socs. Add ehci support for panda board. Patch series depends on below patch: http://patchwork.ozlabs.org/patch/130952/ Patch series based commit id:

[U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-06 Thread Govindraj.R
From: Govindraj.R govindraj.r...@ti.com Clean up added ehci-omap.c and make it generic for re-use across soc having same ehci ip block. Also pass the modes to be configured and configure the ports accordingly. All usb layers are not cache aligned till then keep cache off for usb ops as ehci will

[U-Boot] [PATCH v2 4/4] OMAP3+: ehci-omap: enable usb host ports for beagle/panda

2012-01-06 Thread Govindraj.R
From: Govindraj.R govindraj.r...@ti.com For beagle and panda enable and use the ehci-omap.c generic api's added to configure usb host ports based on data passed from board file to configure in modes as specified from board data. For panda initialise the mux pins for ehci usage. Signed-off-by:

Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread Wolfgang Denk
Dear amruth vamadev, In message cal5dgcruo3ayzjtdoqbgszd6-d4kagso7bfvsnphyajx3lm...@mail.gmail.com you wrote: How do we know whether hush shell capability is supported or not in the command shell.I have enabled CONFIG_SYS_HUSH_PARSER in in config file. A simple test is echo a echo

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

2012-01-06 Thread Wolfgang Denk
Dear Ran Shalit, In message CAJ2oMhKLcdT_NFjbfcJ4O7kGz+B-TK93MWynb4=F02iLnBB=s...@mail.gmail.com you wrote: Do you think such bug is independent of architecture type ? This is impossible to say without knowing where and what the bug is. Best regards, Wolfgang Denk -- DENX Software

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

2012-01-06 Thread Wolfgang Denk
This reverts commit 914c9ee971924665c9d2927fe83d8d70060b1eb8 which is causing tons of build warnings like start.S:39:0: warning: _LINUX_CONFIG_H redefined [enabled by default] /home/wd/git/u-boot/work/include/common.h:28:0: note: this is the location of the previous definition

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

2012-01-06 Thread Ran Shalit
On Fri, Jan 6, 2012 at 11:18 AM, Wolfgang Denk w...@denx.de wrote: Dear Ran Shalit, In message CAJ2oMhKLcdT_NFjbfcJ4O7kGz+B-TK93MWynb4=F02iLnBB= s...@mail.gmail.com you wrote: Do you think such bug is independent of architecture type ? This is impossible to say without knowing where and

[U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-06 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- arch/mips/cpu/xburst/cpu.c |4 + arch/mips/cpu/xburst/start_spl.S | 65 drivers/mtd/nand/jz4740_nand.c | 40 +++- include/configs/qi_lb60.h|3 +

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-06 Thread Xiangfu Liu
On 01/06/2012 02:44 AM, Scott Wood wrote: Use mips-whatever-objdump -dlrsh on the good and bad u-boot binaries (or on any .o files you suspect may be relevant), to see more specifically what's different. You may also want to try compiling suspect files to assembly and comparing the differences

Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread amruth vamadev
Wolfgang Denk Thanks for response.If I want to store those strings into variable and may be compare it or parse it for information.For example echo a redirected to variable like assignment. My goal is to write simple diags to test pci or serial flash using commands in the shell using script. We

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

2012-01-06 Thread Andreas Bäck
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 any toughts on integating this in trunk or should I try to merge

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-06 Thread Chander Kashyap
Dear Wolfgang Denk, On 5 January 2012 17:02, Wolfgang Denk w...@denx.de wrote: Dear Chander Kashyap, In message canuqghhy8_6m1riva6rawry0pvrx5nnykxd_p+u340a0d4j...@mail.gmail.com you wrote: No need to reuse the code, if SoCs are different. If need, please separate the functions.

Re: [U-Boot] [PATCH 4/6] EEYNOS: Add SMDK5250 board support

2012-01-06 Thread Chander Kashyap
Dear Minkyu Kang, On 6 January 2012 07:10, Minkyu Kang proms...@gmail.com wrote: Dear Chander Kashyap, On 5 January 2012 19:31, Chander Kashyap chander.kash...@linaro.org wrote: Hi Minkyu Kang, On 5 January 2012 12:13, Minkyu Kang proms...@gmail.com wrote: Dear Chander Kashyap, On 27

[U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-06 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim riverful@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- MAINTAINERS |4 + board/samsung/trats/Makefile| 45 ++ board/samsung/trats/lowlevel_init.S | 50

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-06 Thread HeungJun, Kim
Hi Wolfgang Denk, This is related with this: http://lists.denx.de/pipermail/u-boot/2012-January/114710.html And, I prepared version 2 patch modified with: 1) sorting the list of the name in MAINTAINERS 2) modifying to GPLv2+ 3) change assem code in lowlevel_init.S to C code in lowlevel_util.c

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

2012-01-06 Thread Stefan Kristiansson
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: + +void dcache_enable(void) +{ +mtspr(SPR_SR,

[U-Boot] Parameter restriction in mxsboot tool

2012-01-06 Thread Robert Deliën
Hi, Currently, the mxsboot tool checks all parsed options for being an even number, including the partition sector for SD/MMC devices. I don't believe such a restriction exists; I've been (unintentionally) using an odd sectored part ion for some time now. Shall I change it? If yes; any

[U-Boot] Multi-os on OMAP4430 mp

2012-01-06 Thread Clemens Fischer
Hi, I am currently examining the posibility of multiple operating systems on embedded devices. After some research I found out that amp is possible on a freescale p2020 using u-boot. There is a simple description in README.p2020rdb which includes the u-boot commands fdt and cpu. I know that fdt is

Re: [U-Boot] A Problem of u-boot on TI PandaBoard porting

2012-01-06 Thread Ira W. Snyder
On Fri, Jan 06, 2012 at 12:35:28AM -0500, Peter Barada wrote: On 01/06/2012 12:21 AM, qiao.hellowo...@gmail.com wrote: 2012/1/6 John Rigbyjohn.ri...@linaro.org *u-boot/spl/u-boot-spl.lds:1: syntax error make[1]: *** [/home/qian/Desktop/u-boot/spl/u-boot-spl] Error 1 make[1]: Leaving

[U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Robert Deliën
Hi Marek, I'm currently working on U-Boot support for the Freescale i.mx28evk board. It started out as an update of the old Freescale supplied U-Boot 2009.08, but it ended up in reconfiguring your work on the Denx m28evk module. Today I stumbled upon a problem with Ethernet. It turned out

Re: [U-Boot] Parameter restriction in mxsboot tool

2012-01-06 Thread Marek Vasut
Hi, Currently, the mxsboot tool checks all parsed options for being an even number, including the partition sector for SD/MMC devices. I don't believe such a restriction exists; I've been (unintentionally) using an odd sectored part ion for some time now. Shall I change it? If yes; any

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

2012-01-06 Thread Scott Wood
On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these SPLs, it needs to be a separate config option from the one that enables libnand.o to be included, so that other

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
Hi Marek, I'm currently working on U-Boot support for the Freescale i.mx28evk board. This is already supported mainline. It started out as an update of the old Freescale supplied U-Boot 2009.08, but it ended up in reconfiguring your work on the Denx m28evk module. Today I stumbled upon a

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-06 Thread Scott Wood
On 01/06/2012 04:18 AM, Xiangfu Liu wrote: On 01/06/2012 02:44 AM, Scott Wood wrote: Use mips-whatever-objdump -dlrsh on the good and bad u-boot binaries (or on any .o files you suspect may be relevant), to see more specifically what's different. You may also want to try compiling suspect

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

2012-01-06 Thread Tom Rini
On Fri, Jan 6, 2012 at 12:03 PM, Scott Wood scottw...@freescale.com wrote: On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these SPLs, it needs to be a separate config

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

2012-01-06 Thread Scott Wood
On 01/06/2012 01:14 PM, Tom Rini wrote: On Fri, Jan 6, 2012 at 12:03 PM, Scott Wood scottw...@freescale.com wrote: On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these

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] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Robert Deliën
I'm currently working on U-Boot support for the Freescale i.mx28evk board. This is already supported mainline. Hm; my workspace is quite up-to-date, but I didn't find it. What configuration should I use for the Freescale i.mx28evk board? m28evk_config boots the board, but not much more. The

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 2/9] Fix strict-aliasing warning in dlmalloc

2012-01-06 Thread Simon Glass
Hi Wolfgang, On Thu, Jan 5, 2012 at 10:48 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1325822097-15227-3-git-send-email-...@chromium.org you wrote: This fixes the following warnings in dlmalloc seen with my gcc 4.6. Which exact version is this? dlmalloc.c: In

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
I'm currently working on U-Boot support for the Freescale i.mx28evk board. This is already supported mainline. Hm; my workspace is quite up-to-date, but I didn't find it. What configuration should I use for the Freescale i.mx28evk board? m28evk_config boots the board, but not much

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Robert Deliën
make mx28evk_config? board/freescale/mx28evk Are you sure you checked it in? I checked, but I couldn't find it. (http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=include/configs;h=fe894c3b95e3d154264c2f8731b668c410131f01;hb=HEAD) Yes, it can go both ways. For the SoC I understand.

[U-Boot] [PATCH 2/3] tegra2: Fix default RAM size selection in odmdata

2012-01-06 Thread Stephen Warren
A value of 0 in the odmdata RAM size field means default, which is 512MB not 1GB. Fix this. For reference, see: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;\ f=arch/arm/mach-tegra/odm_kit/query/harmony/tegra_devkit_custopt.h;\ h=1ec7010911454f19a5018952fd245785a62c59ad;\

[U-Boot] [PATCH 1/3] tegra2: Fix conflicting pinmux for UARTA

2012-01-06 Thread Stephen Warren
Tegra appears to boot with function UARTA pre-selected on mux group SDB. If two mux groups are both set to the same function, it's unclear which group's pins drive the RX signals into the HW module. For UARTA, SDB certainly overrides group IRTX in practice. To solve this, configure some

[U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-06 Thread Stephen Warren
The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook derived from the NVIDIA Tegra Harmony reference board. It ships with Android, but is often repurposed to run Linux. This patch adds just enough support to get a U-Boot serial console, and the ability access built-in eMMC and

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-06 Thread Scott Wood
On 01/06/2012 04:17 AM, Xiangfu Liu wrote: Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- arch/mips/cpu/xburst/cpu.c |4 + arch/mips/cpu/xburst/start_spl.S | 65 drivers/mtd/nand/jz4740_nand.c | 40 +++-

[U-Boot] [PATCH] ns16550: tegra: Specify debugging serial port at boot.

2012-01-06 Thread Stephen Warren
From: Doug Anderson diand...@chromium.org This works together with a kernel change that looks at the scratchpad register to determine which of the many UARTs it should use for early printing: http://www.spinics.net/lists/arm-kernel/msg154633.html While it is unfortunate to need to pass this

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

2012-01-06 Thread Wolfgang Denk
Dear Wolfgang Denk, In message 1325841606-24698-1-git-send-email...@denx.de you wrote: This reverts commit 914c9ee971924665c9d2927fe83d8d70060b1eb8 which is causing tons of build warnings like start.S:39:0: warning: _LINUX_CONFIG_H redefined [enabled by default]

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

2012-01-06 Thread Wolfgang Denk
Dear Ran Shalit, In message CAJ2oMh+D0MKGXYiAvjy-uGA3DCssJPCn=n0fm5vc7j4h34x...@mail.gmail.com you wrote: 2. Otherwise, if the network interface ip is not the same as ncip, or cable is disconnected the u-boot does not start bootcmd, and I actually do not know where it stoped and why.

Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread Wolfgang Denk
Dear amruth vamadev, In message CAL5DGCQABjk_F8T2-3XLFJkmp8ZvPwH_RvAa2i_==js+8__...@mail.gmail.com you wrote: Thanks for response.If I want to store those strings into variable and may be compare it or parse it for information.For example echo a redirected to variable like assignment. My

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

2012-01-06 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Andreas_B=E4ck?=, In message cab+ekh5g3ybyslgytbkatefvg_wzesyc3k0smfog4436dr6...@mail.gmail.com you 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

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-06 Thread Marek Vasut
make mx28evk_config? board/freescale/mx28evk Are you sure you checked it in? I checked, but I couldn't find it. (http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree;f=include/config s;h=fe894c3b95e3d154264c2f8731b668c410131f01;hb=HEAD) It's in u-boot-imx tree. Yes, it can go

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-06 Thread Wolfgang Denk
Dear HeungJun, Kim, In message 00bc0173$83da7820$8b8f6860$%k...@samsung.com you wrote: This is related with this: http://lists.denx.de/pipermail/u-boot/2012-January/114710.html Arghh... You should not need to include such information. Proper mail threading isall we need. But we really

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

2012-01-06 Thread Wolfgang Denk
Dear Simon, In message capnjgz1oxjjsseodsm-fqtn791mw-uezqwjflqbas-4rbfh...@mail.gmail.com you wrote: Can you please tell me at least one board configuration that throws this error (preferrably ppc, arm or mips) ? I can't see one with those architectures. It does happen for others

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

2012-01-06 Thread Kim Phillips
On Fri, 30 Dec 2011 13:37:47 +0100 Wolfgang Denk w...@denx.de wrote: Dear Andreas, In message CAB+EkH4j-UoUyHb=XgDbGRncX=oq6+3+mnjwstiuojooyuc...@mail.gmail.com you wrote: sha1sum sum is yes enough to verify that no files have been modified on the file system on the already

[U-Boot] [RFC PATCH v2 0/28] Create generic board init for ARM, x86, PPC

2012-01-06 Thread Simon Glass
This series creates a generic board.c implementation which contains the essential functions of the major arch/xxx/lib/board.c files. What is the motivation for this change? 1. There is a lot of repeated code in the board.c files. Any change to things like setting up the baud rate requires a

[U-Boot] [RFC PATCH v2 01/28] arm: Change board baud_rate to ulong

2012-01-06 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change ARM to be consistent. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [RFC PATCH v2 02/28] x86: Change board baud_rate to ulong

2012-01-06 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change x86 to be consistent. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [RFC PATCH v2 05/28] x86: Remove dead code in eNET

2012-01-06 Thread Simon Glass
This avoids a compiler warning about unused variables. Signed-off-by: Simon Glass s...@chromium.org --- board/eNET/eNET.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 429fe1b..2f26470 100644 --- a/board/eNET/eNET.c +++

[U-Boot] [RFC PATCH v2 06/28] x86: Add initial memory barrier macros

2012-01-06 Thread Simon Glass
These are available on other architectures, so add them on x86. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9b757d4..b12bdd8

[U-Boot] [RFC PATCH v2 10/28] Introduce generic link symbol file

2012-01-06 Thread Simon Glass
We create a separate header file for link symbols defined by the link scripts. It is helpful to have these all in one place and try to make them common across architectures. Since Linux already has a similar file, we bring this in even though many of the symbols there are not relevant to us.

[U-Boot] [RFC PATCH v2 03/28] arm: Only display frame buffer info if there is LCD/video support

2012-01-06 Thread Simon Glass
This value has no meaning otherwise. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_bdinfo.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index ac8e78d..cdc595e 100644 --- a/common/cmd_bdinfo.c +++

[U-Boot] [RFC PATCH v2 04/28] x86: Remove compiler warning in sc520_timer.c

2012-01-06 Thread Simon Glass
Removes 'set but not used' warning. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/cpu/sc520/sc520_timer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/cpu/sc520/sc520_timer.c b/arch/x86/cpu/sc520/sc520_timer.c index 495a694..7f812dc 100644 ---

[U-Boot] [RFC PATCH v2 12/28] x86: Change stub example to use asm-generic/sections.h

2012-01-06 Thread Simon Glass
We can use the declarations of __bss_start and _end from this header instead of declaring them locally. Signed-off-by: Simon Glass s...@chromium.org --- examples/standalone/stubs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/standalone/stubs.c

[U-Boot] [RFC PATCH v2 07/28] ppc: Add initial memory barrier macros

2012-01-06 Thread Simon Glass
These are available on other architectures, so add them on ppc. Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index

[U-Boot] [RFC PATCH v2 13/28] Introduce a basic initcall implementation

2012-01-06 Thread Simon Glass
This library supports calling a list of functions one after the other. It is intended that we move to a more powerful initcall implementation as proposed by Graeme Russ graeme.r...@gmail.com. For now, this allows us to do the basics. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [RFC PATCH v2 11/28] arm: Use sections header to obtain link symbols

2012-01-06 Thread Simon Glass
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/u-boot-arm.h |4 arch/arm/lib/board.c |1 + board/cm4008/flash.c |1 + board/cm41xx/flash.c

[U-Boot] [RFC PATCH v2 18/28] arm: Enable generic board support

2012-01-06 Thread Simon Glass
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/config.mk |3 --- arch/arm/include/asm/global_data.h |7 +++ arch/arm/include/asm/u-boot.h |9 +

[U-Boot] [RFC PATCH v2 15/28] Introduce generic pre-relocation board_f.c

2012-01-06 Thread Simon Glass
This file handles common pre-relocation init for boards which use the generic framework. It starts up the console, DRAM, performs relocation and then jumps to post-relocation init. Signed-off-by: Simon Glass s...@chromium.org --- common/Makefile |3 + common/board_f.c | 490

[U-Boot] [RFC PATCH v2 08/28] Introduce generic global_data

2012-01-06 Thread Simon Glass
We want to unify the global_data structure. Most fields are common across architectures, but there are a fair number of SOC-specific additions. It isn't clear how best to deal with these, but for now we just use #ifdef. Checkpatch warnings here might be unavoidable: warning:

[U-Boot] [RFC PATCH v2 20/28] x86: Use sections header to obtain link symbols

2012-01-06 Thread Simon Glass
These are defined in asm-generic/sections.h, so remove them from architecture-specific files. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/include/asm/u-boot-x86.h |8 arch/x86/lib/board.c |1 + 2 files changed, 1 insertions(+), 8 deletions(-) diff

[U-Boot] [RFC PATCH v2 25/28] Adjust board_r.c for PowerPC

2012-01-06 Thread Simon Glass
This adds ppc features to the generic post-relocation board init. Signed-off-by: Simon Glass s...@chromium.org --- common/board_r.c | 463 +- 1 files changed, 460 insertions(+), 3 deletions(-) diff --git a/common/board_r.c b/common/board_r.c

[U-Boot] [RFC PATCH v2 16/28] Introduce generic post-relocation board_r.c

2012-01-06 Thread Simon Glass
This file handles common post-relocation init for boards which use the generic framework. Signed-off-by: Simon Glass s...@chromium.org --- common/Makefile |1 + common/board_r.c | 401 ++ 2 files changed, 402 insertions(+), 0

[U-Boot] [RFC PATCH v2 27/28] tegra: Mark board init files for ARMv4t

2012-01-06 Thread Simon Glass
Since Tegra executes early code on an ARMv4T (but the rest on ARMv7) we must mark the new board init files for compilation with ARMv4t architecture. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/config.mk |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

[U-Boot] [RFC PATCH v2 26/28] ppc: Enable generic board board

2012-01-06 Thread Simon Glass
This enables generic board support so that ppc boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/config.mk |3 --- arch/powerpc/include/asm/global_data.h |7 +++ arch/powerpc/include/asm/u-boot.h |7

[U-Boot] [RFC PATCH v2 09/28] Introduce generic u-boot.h file

2012-01-06 Thread Simon Glass
This file holds the board info structure. We need this to be generic for the unified board series, so create a structure which contains the basic fields required by the main architectures. Signed-off-by: Simon Glass s...@chromium.org --- include/asm-generic/u-boot.h | 155

[U-Boot] [RFC PATCH v2 17/28] Add spl load feature

2012-01-06 Thread Simon Glass
This adds secondary program loader support to the generic board. Signed-off-by: Simon Glass s...@chromium.org --- common/board_f.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index ef24bc0..94f316c 100644 ---

[U-Boot] [RFC PATCH v2 14/28] Define CONFIG_SYS_LEGACY_BOARD everywhere

2012-01-06 Thread Simon Glass
We are introducing a new unified board setup and we want this to be the default. So we need to opt all architectures out first. Signed-off-by: Simon Glass s...@chromium.org --- README| 11 +++ arch/arm/config.mk|3 +++ arch/avr32/config.mk |3

[U-Boot] [RFC PATCH v2 21/28] Add x86 fields to generic global_data

2012-01-06 Thread Simon Glass
These fields are needed for x86. Signed-off-by: Simon Glass s...@chromium.org --- include/asm-generic/global_data.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 6199926..fb976f9 100644 ---

[U-Boot] [RFC PATCH v2 28/28] tegra: Enable generic board for Seaboard.

2012-01-06 Thread Simon Glass
Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Change generic board to an opt-in system on a per-board basic - Add CONFIG_SYS_GENERIC_BOARD to allow board to select generic board - Add PowerPC support - Rebase to master

[U-Boot] [RFC PATCH v2 19/28] Add CONFIG_SYS_SYM_OFFSETS to support offset symbols

2012-01-06 Thread Simon Glass
Link symbols as created by the link script can either be absolute or relative to the text start. This option switches between the two options so that we can support both. As we convert architectures over to generic board, we can see if this option is actually needed, or whether it is possible to

[U-Boot] [RFC PATCH v2 24/28] Adjust board_f for ppc

2012-01-06 Thread Simon Glass
This adds ppc features to the generic pre-relocation board init. This is a separate commit so that these features are clearly shown. Signed-off-by: Simon Glass s...@chromium.org --- common/board_f.c | 373 +- include/common.h | 16 +++ 2

[U-Boot] [RFC PATCH v2 22/28] x86: Enable generic board support

2012-01-06 Thread Simon Glass
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/config.mk |3 --- arch/x86/include/asm/global_data.h |7 +++ arch/x86/include/asm/u-boot.h | 11 +++

[U-Boot] [RFC PATCH v2 23/28] Add ppc fields to generic global data

2012-01-06 Thread Simon Glass
This adds fields required by PowerPC to the global data. Signed-off-by: Simon Glass s...@chromium.org --- include/asm-generic/global_data.h | 124 + 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/global_data.h

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

2012-01-06 Thread Thomas Weber
Signed-off-by: Thomas Weber we...@corscience.de --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/cpu/armv7/imx-common/timer.c mode change 100755 = 100644 drivers/fpga/ivm_core.c mode change 100755 = 100644 include/lattice.h diff --git

[U-Boot] I want to recommend a good website to you

2012-01-06 Thread mike zenon
hey, have a nice day. I want to recommend a good website to you, they sell all kinds of electronic products such as laptop, handset,lcd tv,playstation,camera,bicycles. Now they are holding a promoting sale action to meet Christmas day coming, they offer competitive price, this promotion will last