[PATCH v3 4/5] ARM: zynq: add zynq fsbl checksum script

2013-03-26 Thread Steffen Trumtrar
The bootrom only reads an image if the correct checksum is present in the header. The calculation is pretty simple: sum over all words from 0x20 to 0x44 Two of this words are the image length. That is why the checksum can not be calculated until barebox_image_size is known. The easiest solution is

[PATCH v3 1/5] serial: Add driver for Cadence UART

2013-03-26 Thread Steffen Trumtrar
Support for Cadence UART core. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- Changes since v2: - remove superfluous Kconfig option - add help text to Kconfig option drivers/serial/Kconfig | 5 + drivers/serial/Makefile | 1 +

[PATCH v3 2/5] ARM: zynq: Add new architecture zynq

2013-03-26 Thread Steffen Trumtrar
Add basic support for the Xilinx Zynq-7000 EPP architecture. The Zynq-7000 is an embedded processing platform that combines a Cortex A9 dualcore MPSoC with an Artix-7 FPGA. Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- Changes since v2: - don't force serial driver in

Re: [PATCH v4 0/5] ARM: add support for Zynq

2013-03-26 Thread Michal Simek
Hi Steffen, On 03/26/2013 10:11 AM, Steffen Trumtrar wrote: Hi! This is mostly a repost of v3. Only changes are in 4/5. The final image now gets always piped through zynq_mkimage. This is needed anyway, so do it always. This tool will eventually replace all the flash_header linker stuff,

Re: [PATCH v4 0/5] ARM: add support for Zynq

2013-03-26 Thread Michal Simek
2013/3/26 Steffen Trumtrar s.trumt...@pengutronix.de: On Tue, Mar 26, 2013 at 10:21:01AM +0100, Michal Simek wrote: Hi Steffen, On 03/26/2013 10:11 AM, Steffen Trumtrar wrote: Hi! This is mostly a repost of v3. Only changes are in 4/5. The final image now gets always piped through

Re: [PATCH v4 0/5] ARM: add support for Zynq

2013-03-26 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:21 Tue 26 Mar , Michal Simek wrote: Hi Steffen, On 03/26/2013 10:11 AM, Steffen Trumtrar wrote: Hi! This is mostly a repost of v3. Only changes are in 4/5. The final image now gets always piped through zynq_mkimage. This is needed anyway, so do it always. This tool will

Re: [PATCH v2 3/5] ARM: zynq: add clk support for zynq7000

2013-03-26 Thread Josh Cartwright
On Tue, Mar 26, 2013 at 10:11:24AM +0100, Steffen Trumtrar wrote: This adds support for the clocktree on zynq7000 SoCs. The patch is based on clocks.c from the larger patch ARM: zynq: add suppport for Zynq 7000 SoC by Josh Cartwright. The driver in that patch is converted to a

Re: [PATCH v2 3/5] ARM: zynq: add clk support for zynq7000

2013-03-26 Thread Michal Simek
2013/3/26 Josh Cartwright jo...@eso.teric.us: On Tue, Mar 26, 2013 at 08:20:15AM -0500, Josh Cartwright wrote: On Tue, Mar 26, 2013 at 10:11:24AM +0100, Steffen Trumtrar wrote: This adds support for the clocktree on zynq7000 SoCs. The patch is based on clocks.c from the larger patch

[RFC PATCH 2/2] OMAP: Add option to use enviroment from MMC

2013-03-26 Thread Teresa Gámez
Make loading enviroment from MMC generic for all OMAP. Tested on AM335x, OMAP4. Signed-off-by: Teresa Gámez t.ga...@phytec.de Tested-by: Jan Weitzel j.weit...@phytec.de --- arch/arm/boards/panda/board.c | 30 --- arch/arm/mach-omap/include/mach/generic.h |

[RFC PATCH 1/2] OMAP: Move bootsource functions

2013-03-26 Thread Teresa Gámez
The bootsource functions are not specific to the first stage bootloader. They may also be used for detecting the bootsource to decide where to load the enviroment from. Also clean up includes in board files. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/beagle/board.c

[help] Calculation of size for nor_parts

2013-03-26 Thread Mylene Josserand
Hi everyone, I need some help about the calculation of some sizes. I did not know if I have to post my problem in the barebox list or in the kernelnewbies list. Sorry in advance if I would have to post it in kernelnewbie list ! In fact, I have a nor divided in two parts : nor0 and nor1 of 32