From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Wed, 14 Jan 2015 00:38:18 +0100 Subject: [U-Boot] avr32 atmel ngw100 support question In-Reply-To: <20150113232313.GY5040@waldemar-brodkorb.de> References: <20150113213113.GR5040@waldemar-brodkorb.de> <54B59E6E.5010905@googlemail.com> <20150113225935.GV5040@waldemar-brodkorb.de> <54B5A6B4.1030202@googlemail.com> <20150113232313.GY5040@waldemar-brodkorb.de> Message-ID: <54B5AC6A.9020901@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.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