All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] avr32 atmel ngw100 support question
Date: Wed, 14 Jan 2015 00:38:18 +0100	[thread overview]
Message-ID: <54B5AC6A.9020901@googlemail.com> (raw)
In-Reply-To: <20150113232313.GY5040@waldemar-brodkorb.de>

Hi Waldemar,

On 14.01.15 00:23, Waldemar Brodkorb wrote:
> Hi Andreas,
> Andreas Bie?mann wrote,
> 

> Yes, fileaddr and filesize seemed to be set correctly.
> Uboot> printenv
> baudrate=115200
> ethaddr=00:04:25:1C:5A:AC
> eth1addr=00:04:25:1C:5A:AD
> bootcmd=fsload;bootm
> bootdelay=3
> bootargs=console=ttyS0 root=/dev/nfs ip=dhcp
> bootfile=iod
> stdin=serial
> stdout=serial
> stderr=serial
> ethact=macb1
> filesize=21e20
> fileaddr=10400000
> gatewayip=10.0.0.1
> netmask=255.255.255.0
> ipaddr=10.0.0.11
> serverip=10.0.0.1
> 
> Environment size: 323/65532 bytes
> Uboot> protect off 0x0 +${filesize}
> Un-Protected 10 sectors
> Uboot> erase 0x0 +${filesize}
> Erasing sector   0...Erasing sector   1...Erasing sector
> 2...Erasing sector   3...Erasing sector   4...Erasing sector
> 5...Erasing sector   6...Erasing sector   7...Erasing sector
> 8...Erasing sector   9...
> 
> But unfortunately the device is dead after the erase command.

Damn, this damn old code run completely from NOR. Current u-boot
versions relocate itself to ram after the very first bootstrap. Sorry, I
did not know that these old versions do not relocate itself.

> Where do you live with your JTAG programmer? ;)

In Germany near Nuremberg.

> Is a AVR dragon device usable to reprogram the NGW100?

I think the dragon should work too. I dunno which software to use then
but basically the dragon supports avr32.

> Or what is my cheapest choice now?

You could send me the board. I feel sad breaking your board :( So I'd
pay the postage back (france, right?).

Best regards

Andreas Bie?mann

  reply	other threads:[~2015-01-13 23:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 21:31 [U-Boot] avr32 atmel ngw100 support question Waldemar Brodkorb
2015-01-13 22:38 ` Andreas Bießmann
2015-01-13 22:59   ` Waldemar Brodkorb
2015-01-13 23:13     ` Andreas Bießmann
2015-01-13 23:23       ` Waldemar Brodkorb
2015-01-13 23:38         ` Andreas Bießmann [this message]
2015-01-19 20:24           ` Waldemar Brodkorb
2015-01-19 21:27             ` Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B5AC6A.9020901@googlemail.com \
    --to=andreas.devel@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.