Re: [U-Boot] Mainline u-boot SPL for socfpga

2014-05-14 Thread Charles Manning
On Thursday 15 May 2014 04:42:58 Pavel Machek wrote: Hi! I am trying to understand the state of the socfpga preloader in mainline u-boot. From what I see, this is broken and perhaps has never worked. That's correct AFAICT. When I build the code in u-boot-socfpga I get a healthy

Re: [U-Boot] [U-Boot, 2/2] mkimage: Refactor mxsimage to use common crc32 code

2014-05-13 Thread Charles Manning
On Tuesday 13 May 2014 08:26:44 Tom Rini wrote: On Tue, May 06, 2014 at 10:46:46AM +1200, Charles Manning wrote: mxsimage uses the same crc32 function as pblimage. Signed-off-by: Charles Manning cdhmann...@gmail.com Acked-by: Stefano Babic sba...@denx.de This introduces warnings: tools

[U-Boot] [PATCH v2 0/2] mkimage: Refactor and clean up 32-bit crcs

2014-05-13 Thread Charles Manning
1/2: casting pointers in mxsimage.c Charles Manning (2): mkimage : Split out and clean pbl_crc32 for use by other image types tools: Refactor mxsimage to use pbl_crc32 tools/Makefile|1 + tools/mxsimage.c | 32 +++--- tools/pbl_crc32.c | 56

[U-Boot] [PATCH v2 2/2] tools: Refactor mxsimage to use pbl_crc32

2014-05-13 Thread Charles Manning
Both pblimage and mxsimage use the same crc algorithm, so refactor. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Changes for V2: - Cast buffer pointers when calling pbl_crc32(). tools/mxsimage.c | 32 +++- 1 file changed, 7 insertions(+), 25 deletions

[U-Boot] [PATCH v2 1/2] mkimage : Split out and clean pbl_crc32 for use by other image types

2014-05-13 Thread Charles Manning
The crc32 used by pblimgae is NOT the same as zlib crc32. The pbl_crc32 is useful for other purposes in mkimage so split it out. While we are about it, clean up redundant and confusing code. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Unchanged from V1. tools/Makefile|1

Re: [U-Boot] Mainline u-boot SPL for socfpga

2014-05-11 Thread Charles Manning
On Thu, May 8, 2014 at 10:24 PM, Chin Liang See cl...@altera.com wrote: Hi Charles, On Tue, 2014-05-06 at 12:22 +1200, Charles Manning wrote: Hello I am trying to understand the state of the socfpga preloader in mainline u-boot. From what I see, this is broken and perhaps has

[U-Boot] [PATCH 0/2] mkimage: Refactor and clean up 32-bit crcs

2014-05-05 Thread Charles Manning
As a step towards adding an image signer for socfpga, this set of patches breaks out the common crc code that is used in both pblimage and mxsimage. Not that this is NOT the same algorithm as the crc generated by zlib. The new function has been named pbl_crc32. Charles Manning (2): mkimage

[U-Boot] [PATCH 2/2] mkimage: Refactor mxsimage to use common crc32 code

2014-05-05 Thread Charles Manning
mxsimage uses the same crc32 function as pblimage. Signed-off-by: Charles Manning cdhmann...@gmail.com --- tools/mxsimage.c | 28 +++- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/tools/mxsimage.c b/tools/mxsimage.c index 045b35a..0c4348c 100644

[U-Boot] [PATCH 1/2] mkimage : Split out and clean pbl_crc32 for use by other image types

2014-05-05 Thread Charles Manning
The crc32 used by pblimgae is NOT the same as zlib crc32. The pbl_crc32 is useful for other purposes in mkimage so split it out. While we are about it, clean up redundant and confusing code. Signed-off-by: Charles Manning cdhmann...@gmail.com --- tools/Makefile|1 + tools/pbl_crc32.c

[U-Boot] Mainline u-boot SPL for socfpga

2014-05-05 Thread Charles Manning
Hello I am trying to understand the state of the socfpga preloader in mainline u-boot. From what I see, this is broken and perhaps has never worked. When I build the code in u-boot-socfpga I get a healthy working u-boot-spl.bin of approx 45kbytes. When I build the mainline u-boot code I get a

Re: [U-Boot] Socfpga preloader signing patch

2014-04-07 Thread Charles Manning
On Saturday 05 April 2014 09:47:02 Pavel Machek wrote: Hi! I'm trying to get custom preloader to work (on EBV Socrates)... I tried applying old patch from mail archives, but a) applying patch from mail archives is not fun and b) it did not seem to do the trick. Just to make sure... right

Re: [U-Boot] [PATCH v7] socfpga: Add socfpga preloader signing to mkimage

2014-03-11 Thread Charles Manning
On Tuesday 11 March 2014 22:13:26 you wrote: Hello Charles, Gerhard, Is there any (real, technical) reason why the bzip stuff (the CRC-32 calculation that has been made available separately) cannot get built and used as a library, and the tools/ application just gets linked

Re: [U-Boot] [PATCH v7] socfpga: Add socfpga preloader signing to mkimage

2014-03-10 Thread Charles Manning
Dear Gerhard Thank you for your further comments and clarifications, may I press you for a few more? On Tuesday 11 March 2014 08:36:24 Gerhard Sittig wrote: [ Cc: to Masahiro for the tools/ vs lib/ build support part ] On Mon, Mar 10, 2014 at 16:04 +1300, Charles Manning wrote: On Sunday

Re: [U-Boot] [PATCH v7] socfpga: Add socfpga preloader signing to mkimage

2014-03-09 Thread Charles Manning
Hello Gerhard Thank you for that feedback. On Sunday 09 March 2014 05:51:23 Gerhard Sittig wrote: On Thu, Mar 06, 2014 at 15:40 +1300, Charles Manning wrote: [ ... ] Unfortunately the CRC used in this boot ROM is not the same as the Adler CRC in lib/crc32.c. Indeed the Adler code

[U-Boot] [PATCH v7] socfpga: Add socfpga preloader signing to mkimage

2014-03-05 Thread Charles Manning
as a checksum. Thus, the appropriate CRC generator is added to lib/ as crc32_alt.c. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Changes for v3: - Fix some coding style issues. - Move from a standalone tool to the mkimgae framework. Changes for v4: - Fix more coding style issues. - Fix

[U-Boot] Is it OK to use target code from host tools

2014-03-04 Thread Charles Manning
Hello All I am currently reworking a socfpga signer patch which is part of mkimage. One thing I need to do is to stuff some bytes into a header ensuring the endianism is correct. This is a trivial thing to do in C, but I have been instructed to use the existing functions put_unaligned_le32()

Re: [U-Boot] [PATCH v6] socfpga: Add socfpga preloader signing to mkimage

2014-03-04 Thread Charles Manning
Hello Wolfgang Further to my last response On Friday 28 February 2014 11:43:47 Charles Manning wrote: On Friday 28 February 2014 10:57:21 Wolfgang Denk wrote: +static uint32_t get_le32(const uint8_t *buf) +{ + uint32_t retval; + + retval = (((uint32_t) buf[0]) 0

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Charles Manning
I can certainly avoid the ifdef, but there is already another one three lines down for the SAMSUNG case: ifdef CONFIG_SOCFPGA ALL-y += $(OBJTREE)/socfpga-signed-preloader.bin endif ifdef CONFIG_SAMSUNG ALL-y+= $(obj)/$(BOARD)-spl.bin endif It seems odd to me that

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Charles Manning
On Friday 28 February 2014 10:23:11 Wolfgang Denk wrote: Dear Charles, sorry, I only send part of the message. Here is the rest. In message cae21aqp2gspedrdakio1wpa3vgtwjd-3d1wsqm0whg9r-8b...@mail.gmail.com you wrote: Both Gerhard and me asked before: Why exactly do we need another

Re: [U-Boot] [PATCH v6] socfpga: Add socfpga preloader signing to mkimage

2014-02-27 Thread Charles Manning
+++ b/lib/crc32_alt.c @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2014 Charles Manning cdhmann...@gmail.com + * + * SPDX-License-Identifier:GPL-2.0+ + * + * Note that the CRC is **not** the zlib/Adler crc32 in crc32.c. + * It is the CRC-32 used in bzip2, ethernet and elsewhere

[U-Boot] [PATCH v6] socfpga: Add socfpga preloader signing to mkimage

2014-02-26 Thread Charles Manning
as a checksum. Thus, the appropriate CRC generator is added to lib/ as crc32_alt.c. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Changes for v3: - Fix some coding style issues. - Move from a standalone tool to the mkimgae framework. Changes for v4: - Fix more coding style issues. - Fix

[U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-25 Thread Charles Manning
as a checksum. Thus, the appropriate CRC generator is added to lib/ as crc32_alt.c. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Changes for v3: - Fix some coding style issues. - Move from a standalone tool to the mkimgae framework. Changes for v4: - Fix more coding style issues. - Fix

Re: [U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-25 Thread Charles Manning
On Wednesday 26 February 2014 19:16:37 Michal Simek wrote: On 02/26/2014 02:17 AM, Charles Manning wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Changes for v3: - Fix some coding style issues. - Move from a standalone tool to the mkimgae framework

Re: [U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-24 Thread Charles Manning
Hello Wolfgang I have some further observations to my last email... Your input would be vastly appreciated. Please see below. On Tue, Feb 25, 2014 at 8:18 AM, Charles Manning cdhmann...@gmail.comwrote: Hello Wolfgang On Monday 24 February 2014 19:48:36 Wolfgang Denk wrote: Dear Charles

Re: [U-Boot] [PATCH v3] socfpga: Add a signer that is integrated into mkimage

2014-02-23 Thread Charles Manning
Hello All, but mainly a message to Wolfgang and Gerhard. I would like to apologise for my recent flurry of postings causing some confusion and gnashing of teeth. I only read some of the comments (relating to adding a version number on the patch). I had read that far then assumed the patch had

[U-Boot] [PATCH v4] socfpga: Add socfpga preloader signing to mkimage

2014-02-23 Thread Charles Manning
Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image. Signed-off-by: Charles Manning cdhmann...@gmail.com

[U-Boot] [PATCH v3] socfpga: Add a signer that is integrated into mkimage

2014-02-22 Thread Charles Manning
socfpgaimage. * This version passes checkpatch too :-) Signed-off-by: Charles Manning cdhmann...@gmail.com --- common/image.c |1 + include/image.h |1 + spl/Makefile |8 ++ tools/Makefile |2 + tools/mkimage.c |2 + tools/mkimage.h |1 + tools

[U-Boot] Questions on adding a new type to mkimage

2014-02-20 Thread Charles Manning
I am in the throes of extending mkimage to add socfpga support. This is my first time in mkimage, so please forgive me being on a learning curve. It seems that the most normal path for mkimage signers is to append some sort of header to the front of the image ie the flow is write header out

[U-Boot] [PATCH] socfpga: Add a signer that is integrated into mkimage

2014-02-20 Thread Charles Manning
This tool signs a preloader (built from SPL) when CONFIG_SOCFPGA is set. Signed-off-by: Charles Manning cdhmann...@gmail.com --- common/image.c |1 + include/image.h |1 + spl/Makefile |8 ++ tools/Makefile |2 + tools/mkimage.c |2 + tools

[U-Boot] [PATCH] socfpga: Add a signer that is integrated into mkimage

2014-02-20 Thread Charles Manning
This one passes checkpatch too :-) Signed-off-by: Charles Manning cdhmann...@gmail.com --- common/image.c |1 + include/image.h |1 + spl/Makefile |8 ++ tools/Makefile |2 + tools/mkimage.c |2 + tools/mkimage.h |1 + tools

[U-Boot] [PATCH] socfpga: Add a signing tool that automatically signs the preloader.

2014-02-19 Thread Charles Manning
No need to use the altera tool any more... Signed-off-by: Charles Manning cdhmann...@gmail.com --- spl/Makefile |8 ++ tools/Makefile |9 +- tools/socfpga-signer.c | 294 3 files changed, 310 insertions(+), 1 deletion

Re: [U-Boot] [PATCH] socfpga: Add a signing tool that automatically signs the preloader.

2014-02-19 Thread Charles Manning
Hi Tom On Thursday 20 February 2014 13:32:37 Tom Rini wrote: On Thu, Feb 20, 2014 at 12:01:40PM +1300, Charles Manning wrote: No need to use the altera tool any more... Signed-off-by: Charles Manning cdhmann...@gmail.com [snip] + //crcval = crc_calc ((uint32_t *)buf, len/4

[U-Boot] [PATCH] yaffs2: Remove block number check from summary verification

2014-01-19 Thread Charles Manning
The summary already has other verification. This one is not needed. The check caused summaries to be ignored if they were not on the numbered block. This caused problems when a summary was embedded in an image and the image is written to a flash with bad blocks. Signed-off-by: Charles Manning

Re: [U-Boot] Possible GPL violation

2013-03-07 Thread Charles Manning
I have had to deal with this a bit so I'll give my 2c. Under the GPL2, the company only has to provide source, or make an offer to do so, to customers buying the product containing the GPL code. The flip side to this is that the teeth in the GPL come from copyright law and the only person who

Re: [U-Boot] Possible GPL violation

2013-03-07 Thread Charles Manning
On Fri, Mar 8, 2013 at 11:23 AM, Wolfgang Denk w...@denx.de wrote: Dear Charles, In message CAE21AQoqC8_sJarKmSAa2f-3=3YDPL9gK7rxL7pXUx3aa=n...@mail.gmail.com you wrote: 1) If you buy a product containing GPL code, but the company does not supply the code, then - in general - you cannot

Re: [U-Boot] [PATCH] YAFFS2: Fix compiler errors preventing successful build

2012-08-14 Thread Charles Manning
On Wednesday 15 August 2012 08:16:22 Marek Vasut wrote: Signed-off-by: Marek Vasut ma...@denx.de Cc: Charles Manning cdhmann...@gmail.com Cc: Wolfgang Denk w...@denx.de While I appreciate this, I would prefer the use the patch I submitted today which also gets rid of the yaffs hweight code

[U-Boot] [PATCH] u-boot yaffs2: Fix compilation warnings

2012-08-14 Thread Charles Manning
Also remove yaffs_hweight and use the hweight in u-boot. Signed-off-by: Charles Manning cdhmann...@gmail.com --- fs/yaffs2/Makefile|2 +- fs/yaffs2/stdio.h |1 - fs/yaffs2/stdlib.h|1 - fs/yaffs2/string.h|4 --- fs/yaffs2/yaffs_hweight.c | 52

[U-Boot] Why no cache flushing in do_go_exec()

2012-08-09 Thread Charles Manning
Hi All I'm helping to work through an issue where some code is loaded into RAM and go xxx is issued to then launch the code. Sometimes this works and sometimes it does not, which makes me suspect that there might be a cache flushing issue. I looked at do_exec_go() and it does not flush caches

[U-Boot] AM3703 Overo SPL/u-boot booting woes

2012-05-28 Thread Charles Manning
Hello All I am trying to use SPL to boot an AM3703-based overo board from NAND. SPL runs and seems to load u-boot correctly but u-boot does not run correctly. When I use the same SPL and u-boot from MMC, everything boots fine. I have modified SPL slightly to add some extra debugging. Any ideas

[U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Charles Manning
Hi All My understanding of the way SPL is intended to be configured is: (a) You have one config file for both SPL and u-boot. (b) SPL features are selected via SPL-specific options. I have a need to build SPL with MMC/FAT support, but I don't want u-boot to have MMC/FAT support. I do however

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Charles Manning
On Friday 18 May 2012 08:58:06 Scott Wood wrote: On 05/17/2012 03:47 PM, Tom Rini wrote: On 05/17/2012 01:22 PM, Scott Wood wrote: We had problems with (B) regarding TEXT_BASE -- the makefile versions of the config symbols will only be generated once. CONFIG_SKIP_LOW_LEVEL_INIT doesn't

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: On Monday 14 May 2012 17:01:30 Charles Manning wrote: On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: Seems odd that this hasn't been done yet. Shaves 5k off an omap

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Wednesday 16 May 2012 10:25:26 Wolfgang Denk wrote: Dear Charles, In message 201205161007.59560.mannin...@actrix.gen.nz you wrote: On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: ... current u-boot policy is to not introduce changes that knowingly break other platforms. so

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-14 Thread Charles Manning
On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: Seems odd that this hasn't been done yet. Shaves 5k off an omap overo build. my understanding is that it doesn't work for some It won't work for people that don't set up their lds

[U-Boot] [PATCH] Add gc-section support for ARM

2012-05-02 Thread Charles Manning
Seems odd that this hasn't been done yet. Shaves 5k off an omap overo build. Signed-off-by: Charles Manning cdhmann...@gmail.com --- arch/arm/config.mk |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 45f9dca..73e0cce

Re: [U-Boot] [PATCH 0/2] Replace yaffs2 with new version

2012-05-01 Thread Charles Manning
On Monday 30 April 2012 16:40:16 Wolfgang Denk wrote: Dear Charles Manning, In message 1335739336-2942-1-git-send-email-cdhmann...@gmail.com you wrote: This patch set replaces fs/yaffs2 with a new version. This new version is faster and also adds the ability to dynamically add yaffs2

[U-Boot] [PATCH 0/2] Replace yaffs2 with new version

2012-04-29 Thread Charles Manning
This patch set replaces fs/yaffs2 with a new version. This new version is faster and also adds the ability to dynamically add yaffs2 mount points which makes configuration far simpler. -- Charles ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Pull request: Integrate latest yaffs2

2012-04-26 Thread Charles Manning
On Friday 27 April 2012 00:25:55 Wolfgang Denk wrote: Dear Charles Manning, In message 201204261028.44543.mannin...@actrix.gen.nz you wrote: yaffs went through a large reformat a while ago meaning that the current code does not diff well against the old code. Future changes shuld be a lot

Re: [U-Boot] [Yaffs] yaffs2 u-boot patching support

2012-04-25 Thread Charles Manning
On Tuesday 24 April 2012 03:33:35 Stefano Babic wrote: On 22/04/2012 22:23, Charles Manning wrote: On Friday 20 April 2012 09:40:50 Tom Rini wrote: On Mon, Apr 16, 2012 at 04:32:07PM +1200, Charles Manning wrote: Hello ubooters and yaffsers Hi Charles, I was commissioned to refresh

Re: [U-Boot] Pull request: Integrate latest yaffs2

2012-04-25 Thread Charles Manning
On Tuesday 24 April 2012 08:58:09 you wrote: Dear Charles Manning, In message 201204231346.32195.mannin...@actrix.gen.nz you wrote: I recently sent a message to the list announcing a method for patching in the latest yaffs2. u-boot updated with the latest yaffs2 can be pulled from g

Re: [U-Boot] Pull request: Integrate latest yaffs2

2012-04-25 Thread Charles Manning
On Thursday 26 April 2012 10:21:37 Tom Rini wrote: On Thu, Apr 26, 2012 at 09:08:42AM +1200, Charles Manning wrote: On Tuesday 24 April 2012 08:58:09 you wrote: Dear Charles Manning, In message 201204231346.32195.mannin...@actrix.gen.nz you wrote: I recently sent a message

Re: [U-Boot] Pull request: Integrate latest yaffs2

2012-04-25 Thread Charles Manning
On Thursday 26 April 2012 10:40:51 Tom Rini wrote: On 04/25/2012 03:28 PM, Charles Manning wrote: On Thursday 26 April 2012 10:21:37 Tom Rini wrote: On Thu, Apr 26, 2012 at 09:08:42AM +1200, Charles Manning wrote: On Tuesday 24 April 2012 08:58:09 you wrote: Dear Charles Manning

Re: [U-Boot] [Yaffs] yaffs2 u-boot patching support

2012-04-22 Thread Charles Manning
On Friday 20 April 2012 09:40:50 Tom Rini wrote: On Mon, Apr 16, 2012 at 04:32:07PM +1200, Charles Manning wrote: Hello ubooters and yaffsers I was commissioned to refresh yaffs2 in u-boot and add a mechanism to support dynamic yaffs partition set up (way simpler than screwing around

[U-Boot] Pull request: Integrate latest yaffs2

2012-04-22 Thread Charles Manning
Hello all I recently sent a message to the list announcing a method for patching in the latest yaffs2. u-boot updated with the latest yaffs2 can be pulled from g...@github.com:cdhmanning/u-boot-yaffs2.git -- CHarles ___ U-Boot mailing list

[U-Boot] yaffs2 u-boot patching support

2012-04-15 Thread Charles Manning
Hello ubooters and yaffsers I was commissioned to refresh yaffs2 in u-boot and add a mechanism to support dynamic yaffs partition set up (way simpler than screwing around with mtd part) and manual configuration. Rather than do this as a once off, I set this scripting up so that this can be

Re: [U-Boot] Enabling nand createbbt command

2012-03-19 Thread Charles Manning
in u-boot myself. have a look at the commands for the yaffs code. Bud -Original Message- From: Charles Manning [mailto:mannin...@actrix.gen.nz] Sent: Thursday, 15 March 2012 6:24 a.m. To: Bud Miljkovic Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Enabling nand createbbt

Re: [U-Boot] Enabling nand createbbt command

2012-03-14 Thread Charles Manning
happens. In a normal situation with mtd partitioning these are set to 0 and n-blocks-in-partition -1, but they can be set manually too. -- Charles Bud -Original Message- From: Charles Manning [mailto:mannin...@actrix.gen.nz] Sent: Monday, 12 March 2012 8:20 a.m. To: Bud

Re: [U-Boot] Enabling nand createbbt command

2012-03-11 Thread Charles Manning
Bud Yaffs can work without mtdpart. To do that you just need to configure the start and end blocks manually instead of using the partition info to do this. On Friday 09 March 2012 13:58:48 Bud Miljkovic wrote: Thank you Scott and Fabio, You help is much appreciated. I will try to add the

Re: [U-Boot] Build u-Boot for NAND boot on i.MX53x platform

2012-02-09 Thread Charles Manning
On Wednesday 08 February 2012 17:16:10 Bud Miljkovic wrote: Can someone clue me in how one goes about a NAND bootable u-Boot? Bud You can't actually run uboot from NAND per se. The rom boot loader reads the image into ram where it runs. Based on my experience with omap - which uses a very

Re: [U-Boot] Configuration settings for Freescale i.MX53x demo boards

2012-02-09 Thread Charles Manning
On Friday 10 February 2012 10:37:44 Bud Miljkovic wrote: Hello Jason Liu, Is there a glossary for the defines used in the /include/configs/board_name.h files? I find it far easier to just grep the code. -- Charles ___ U-Boot mailing list

Re: [U-Boot] Porting YAFFS2 to U-boot

2012-02-02 Thread Charles Manning
Bud Last time I looked, the yaffs code in u-boot is pretty old and I would recommend refreshing it. -- Charles On Friday 03 February 2012 10:40:45 Bud Miljkovic wrote: I am newbie in this. Anybody done it? Any lead is appreciated. Cheers, Bud Miljkovic -Original Message-

Re: [U-Boot] Can u-Boot Ran from RAM?

2012-01-31 Thread Charles Manning
On Tuesday 31 January 2012 17:07:05 Bud Miljkovic wrote: Hi there, While getting acquainted with possible u-Boot development issues, I read FAQ 14.2.1. Can U-Boot be configured such that it can be started in RAM? and was puzzled to learn that u-Boot cannot run from RAM. This is clearly

[U-Boot] Does usbtty work on omap3?

2011-05-10 Thread Charles Manning
Hi All I have usbtty partially working on omap3 (overo board). Unfortunately the byte stream gets corrupted. It looks like some sort of buffer / fifo corruption or similar with old bytes being sent and some bytes being dropped. Does anyone have this actually working reliably? I tried to have

Re: [U-Boot] Does usbtty work on omap3?

2011-05-10 Thread Charles Manning
On Wednesday 11 May 2011 11:47:14 Jason Kridner wrote: On Tue, May 10, 2011 at 7:23 PM, Charles Manning mannin...@actrix.gen.nzwrote: Hi All I have usbtty partially working on omap3 (overo board). Unfortunately the byte stream gets corrupted. It looks like some sort of buffer / fifo

[U-Boot] usbtty corruption on omap3

2011-05-04 Thread Charles Manning
Hi All I recently moved from a really old uboot to git master of a few days back to be able to get the benefit of dcache/icache Unfortunately I'm now seeing data corruption on the serial stream using usbtty. Anyone else seeing this problem? Thanks Charles

Re: [U-Boot] usbtty corruption on omap3

2011-05-04 Thread Charles Manning
On Thursday 05 May 2011 13:44:01 Charles Manning wrote: Hi All I recently moved from a really old uboot to git master of a few days back to be able to get the benefit of dcache/icache Unfortunately I'm now seeing data corruption on the serial stream using usbtty. Anyone else seeing

Re: [U-Boot] [PATCH] Strip dead code on omap3 devices

2011-04-20 Thread Charles Manning
On Wednesday 20 April 2011 15:51:56 Charles Manning wrote: Garbage collect code that isn't used. Saves a good few kbytes. Sorry folks. THis patch is broken. I'll submit another. Charles ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] Fix for overlapping sections?

2011-04-20 Thread Charles Manning
On Tuesday 19 April 2011 11:20:47 Ciummo, Larry (DS-1) wrote: Designation: Non-SSA/Finmeccanica A while back there was a fix for the overlapping section link problem (see below) involving changing some sort of global. Does anyone have a pointer to the change. I'm using a fairly old uboot

[U-Boot] [PATCH] Strip dead code on omap3 devices

2011-04-19 Thread Charles Manning
Garbage collect code that isn't used. Saves a good few kbytes. Signed-off-by: Charles Manning cdhmann...@gmail.com --- Makefile |2 +- arch/arm/config.mk|6 ++ arch/arm/cpu/armv7/u-boot.lds |6 +++--- 3 files changed, 10 insertions(+), 4

[U-Boot] Easy reduction to u-boot image size

2010-05-25 Thread Charles Manning
I've been investigating reducing the size of an omap3 uboot image to less than 64k to facilitate loading via the bootrom. I've been working with the Brian Silvermans' patch and some modifications to that. http://www.mail-archive.com/u-boot@lists.denx.de/msg16073.html With Brians's patch, and