Re: [U-Boot] mtdparts not agreeing wiht fw_printenv

2013-03-07 Thread John Stile
Dear Wolfgang Denk , On Thu, 2013-03-07 at 07:52 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1362532855.20183.135.camel@genx> you wrote: > > I am quite confused about partitions in my NAND flash. > > > > Linux can mount my rootfs, so partiti

[U-Boot] mtdparts not agreeing wiht fw_printenv

2013-03-05 Thread John Stile
I am quite confused about partitions in my NAND flash. Linux can mount my rootfs, so partitions make sense to the kernel, but from the shell fw_printenv can't read the uboot environment, not matter what I use in /etc/fw_env.config. uboot is reading the proper uboot env, and booting the system. I

Re: [U-Boot] timing issue - uboot freeze after pringing header

2013-02-19 Thread John Stile
Hello Bo Shen, On Mon, 2013-02-18 at 11:06 +0800, Bo Shen wrote: > Hi John, > > On 02/16/2013 12:45 AM, John Stile wrote: > > I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old > > works, the new prints this before freezing: > > > > U-

[U-Boot] timing issue - uboot freeze after pringing header

2013-02-15 Thread John Stile
I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old works, the new prints this before freezing: U-Boot 2013.01 (Feb 14 2013 - 16:24:13) CPU: AT91SAM9G20 Crystal frequency: 18.432 MHz CPU clock: 396.288 MHz Master clock

Re: [U-Boot] support all dataflash for at91sam9g20ek_2mmc

2013-02-14 Thread John Stile
On Thu, 2013-02-14 at 07:20 -0800, John Stile wrote: > I am using uboot-2013.01, with at91sam9g20ek_2mmc and I am trying to > build for dataflash, using at91bootstrap-1.16, and buildroot-2011.11 > > Initially I built for nand flash, with a patch to boards.cfg and > at91sam9260ek.

[U-Boot] support all dataflash for at91sam9g20ek_2mmc

2013-02-14 Thread John Stile
something from those patches is lost in the current uboot. What can I try next. Bellow are the patches I applied so far. boards.cfg: add target name at91sam9g20ek_2mmc_nandflash,at91sam9g20ek_2mmc_dataflash_cs0,at91sam9g20ek_2mmc_dataflash_cs1 signed-off-by John Stile diff -ruNp a/boards.cfg b

Re: [U-Boot] booting from half of NAND, and mounting jffs on other half of NAND

2013-02-01 Thread John Stile
On Fri, 2013-02-01 at 12:47 -0800, John Stile wrote: > Using uboot 2013.01, booting from NAND, I am having difficulty > understanding how partitions (areas of NAND) work. > > I have written to NAND in the following layout: > 0x000 at91bootstrap1 > 0x002 uboot1 >

[U-Boot] booting from half of NAND, and mounting jffs on other half of NAND

2013-02-01 Thread John Stile
Using uboot 2013.01, booting from NAND, I am having difficulty understanding how partitions (areas of NAND) work. I have written to NAND in the following layout: 0x000 at91bootstrap1 0x002 uboot1 0x006 uboot-env1 0x020 kernel1 0x040 rootfs1 0x800 at91bootstrap2 0x802 ub

[U-Boot] call env print from uboot environment

2013-01-31 Thread John Stile
I am finally on uboot-2013.01. I having issue using: env import I have at91bootstrap reading an uboot environment from an address location in NAND to RAM address 0x2000. The environment uboot is compiled to load by default has one set of variables, but the environment loaded into ram by at91

Re: [U-Boot] Can I read env from RAM in uboot script?

2013-01-29 Thread John Stile
On Tue, 2013-01-29 at 17:58 +0800, Bo Shen wrote: > > You should use at91sam9g20ek_2mmc_nandflash to configure the u-boot > > > diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c > b/board/atmel/at91sam9260ek/at91sam9260ek.c > index 2555672..c

Re: [U-Boot] Can I read env from RAM in uboot script?

2013-01-28 Thread John Stile
On Mon, 2013-01-28 at 23:01 +0100, Jeroen Hofstee wrote: > > On 01/28/2013 10:19 PM, John Stile wrote: > >> On Sat, 2013-01-26 at 08:41 +0100, Wolfgang Denk wrote: > >>> Dear John Stile, > >>> > >>> In message <1359165410.7974.114.camel@gen

Re: [U-Boot] Can I read env from RAM in uboot script?

2013-01-28 Thread John Stile
On Sat, 2013-01-26 at 08:41 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1359165410.7974.114.camel@genx> you wrote: > > Is it possible to have uboot read it's environment from a RAM address, > > rather than NAND? > > OR > > Can uboot&#

[U-Boot] Can I read env from RAM in uboot script?

2013-01-25 Thread John Stile
Is it possible to have uboot read it's environment from a RAM address, rather than NAND? OR Can uboot's scripting support load variables from a RAM address? My NAND layout has redundant halves: 0 uboot ubootenv kernel fs 128 uboot ubootenv kernel fs 256 My firmware update strateg

[U-Boot] designing a firmware update mechanism

2013-01-17 Thread John Stile
I have an embedded project using an atmel arm processor, primary bootloader at91BootStrap on NOR to call uboot (and the reset of the system) on NAND. I am trying to devise a way to partition NAND redundantly, with 2 copies of (uboot + uboot-env + kernel + roofs). At91bootstrap will have to decide

[U-Boot] setting the environment address

2013-01-08 Thread John Stile
How does uboot decide where in NAND the configuration will be found? I'm getting the classic errors: *** Warning - bad CRC or NAND, using default environment I am writing my environment to nand, with crc, but how do I know that uboot is looking for it in the right place? Is that a compile time on

Re: [U-Boot] is it possilbe to have uboot find the kernel in the file system?

2013-01-04 Thread John Stile
On Fri, 2013-01-04 at 23:12 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1357323597.6335.19.ca...@genx.eng.msli.com> you wrote: > > > > > I see the following board configurations supported in current mainline > > > code: at91sam9g20ek_nand

Re: [U-Boot] is it possilbe to have uboot find the kernel in the file system?

2013-01-04 Thread John Stile
On Fri, 2013-01-04 at 09:00 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1357265217.7939.131.camel@genx> you wrote: > > > > u-boot-2012.10.tar.bz2 does not have support for the at91sam9g20ek > > I treid to apply my patches for u-boot-1.3.4,

Re: [U-Boot] is it possilbe to have uboot find the kernel in the file system?

2013-01-03 Thread John Stile
On Thu, 2013-01-03 at 22:07 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1357246601.7939.128.camel@genx> you wrote: > > Is it possible to add my kernel to the rootfs partition rather than have > > a separate partition? > > Yes, it is - assumi

[U-Boot] is it possilbe to have uboot find the kernel in the file system?

2013-01-03 Thread John Stile
Is it possible to add my kernel to the rootfs partition rather than have a separate partition? I am using U-Boot 1.3.4, on a at91sam9g20ek (256Mb Nand, 8Mb Nor), and use the sam-ba firmware upload tool. I'd like to put everything on nand, ignore nor, and hold redundant areas, in perpetration fo

Re: [U-Boot] no mtdparted from U-Boot> prompt

2012-12-21 Thread John Stile
On Sat, 2012-12-22 at 00:13 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1356130404.28896.135.camel@genx> you wrote: > > > > > I had the impression there was also an interactive command-line tool for > > > mtdparts, from the u-boot

Re: [U-Boot] no mtdparted from U-Boot> prompt

2012-12-21 Thread John Stile
On Fri, 2012-12-21 at 10:29 -0800, jo...@msli.com wrote: > On Fri, 2012-12-21 at 17:59 +0800, Bo Shen wrote: > > Hi Johns, > > > > On 12/21/2012 07:53 AM, jo...@msli.com wrote: > > > This is my first post to the list. > > > I am using u-boot-1.3.4 in buildroot-2011.11 > > > My device is a at91sam9

Re: [U-Boot] where is the crc stored?

2012-12-21 Thread John Stile
On Fri, 2012-12-21 at 20:54 +0100, Wolfgang Denk wrote: > Dear John Stile, > > In message <1356114777.28896.92.camel@genx> you wrote: > > What area of memory is the crc stored for a partition? > > Which sort of partitions are you talking here? Maybe partition is

[U-Boot] where is the crc stored?

2012-12-21 Thread John Stile
What area of memory is the crc stored for a partition? I would like to find some detailed documentation on the crc (how big is it, where it is stored, how to invalidate to force the booting from a second area). ___ U-Boot mailing list U-Boot@lists.denx.d