Skip to contentSkip to conversation

PR1-Appliance UART Boot Issue

U-Boot Amber and Sarosh 2 participants 5 messages Feb 22, 2012 – Feb 23, 2012

lore
Share & tools
lore
#0 lore raw

Hi all We have somehow damaged u-boot of PR1-Appliance. Now are trying to unbrick the device.We read in one of the posts at the switchfin forum that we can unbrick the device by changing the Boot mode to UART.

Here are the steps that we are following to address this issue.

1. Changing the bootmode to UART 2. Loading the u-boot file in ldr format through LdrViewer.
3. Accessing this u-boot in hyperterminal via serial connection
4. Transfering the u-boot file for SPI mode in ldr format to the board via tftp to a RAM location.
5. Writing this u-boot to the SPI flash using sf commands of erase and write. 6.Changing the bootmode to SPI again.
7. Trying to access this u-boot from SPI flash .

In these setps, the u-boot files that are accesed successfully in both UART and SPI boot modes are the ones compiled for BF537 STAMP board on the terminal emulator. This uboot is unable to boot a uImage compiled for PR1-Appliance. The ones we compiled for PR1 Appliance dont show up on the terminal emulator in both modes, and same is the result for the precompiled u-boot for PR1 Appliance. Can anyone please guide us, what to do in order to access u-boot of PR1-Appliance and to boot the image?
Let us know if you require any other details.We shall be very thankful!

Regards,
Amber & Sarosh

#1 lore raw
Quoted 8 lines · On Wednesday 22 February 2012 01:16:54 Amber and Sarosh wrote:

In these setps, the u-boot files that are accesed successfully in both UART and SPI boot modes are the ones compiled for BF537 STAMP board on the terminal emulator. This uboot is unable to boot a uImage compiled for PR1-Appliance. The ones we compiled for PR1 Appliance dont show up on the terminal emulator in both modes, and same is the result for the precompiled u-boot for PR1 Appliance. Can anyone please guide us, what to do in order to access u-boot of PR1-Appliance and to boot the image? Let us know if you require any other details.We shall be very thankful!

what source tree are you compiling exactly ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120222/54095197/attachment.pgp>

#2 lore raw

We are compiling from these sources:
https://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/trunkhttps://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/tags/br4-ui2.15 https://blackfin.uclinux.org/gf/download/frsrelease/360/3630/u-boot-trunk-svn.src.tar.bz2https://blackfin.uclinux.org/gf/download/frsrelease/533/9651/u-boot-2011.11-2011R1-RC5.tar.bz2
Regards,Amber & Sarosh

Quoted 18 lines

From: vapier at gentoo.org
To: u-boot at lists.denx.de; dpn at switchfin.org
Subject: Re: [U-Boot] PR1-Appliance UART Boot Issue
Date: Wed, 22 Feb 2012 11:42:03 -0500
CC: amber_sarosh at hotmail.com

Quoted 8 lines · On Wednesday 22 February 2012 01:16:54 Amber and Sarosh wrote:

In these setps, the u-boot files that are accesed successfully in both UART and SPI boot modes are the ones compiled for BF537 STAMP board on the terminal emulator. This uboot is unable to boot a uImage compiled for PR1-Appliance. The ones we compiled for PR1 Appliance dont show up on the terminal emulator in both modes, and same is the result for the precompiled u-boot for PR1 Appliance. Can anyone please guide us, what to do in order to access u-boot of PR1-Appliance and to boot the image? Let us know if you require any other details.We shall be very thankful!

what source tree are you compiling exactly ?
-mike

#3 lore raw
Quoted 7 lines · On Wednesday 22 February 2012 12:54:22 Amber and Sarosh wrote:

We are compiling from these sources:
https://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/trunkhttp
s://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/tags/br4-ui2. 15
https://blackfin.uclinux.org/gf/download/frsrelease/360/3630/u-boot-trunk-
svn.src.tar.bz2https://blackfin.uclinux.org/gf/download/frsrelease/533/9651 /u-boot-2011.11-2011R1-RC5.tar.bz2

well, you'll prob have to wait for feedback from the switchfin guys. what you describe sounds right, and the bf537-stamp boots, so that's good.

off the top of my head, you'll want to make sure you do make clean before doing make xxx_config to be sure all previous objects have been removed. -mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120222/28f4a4a9/attachment.pgp>

#4 lore raw

We did that too.. Even if its a compilation error, the precompiled u-boot for PR1 Appliance should have worked atleast, but it does not.

Quoted 21 lines

From: vapier at gentoo.org
To: amber_sarosh at hotmail.com
Subject: Re: [U-Boot] PR1-Appliance UART Boot Issue
Date: Wed, 22 Feb 2012 13:46:18 -0500
CC: u-boot at lists.denx.de; dpn at switchfin.org

Quoted 7 lines · On Wednesday 22 February 2012 12:54:22 Amber and Sarosh wrote:

We are compiling from these sources:
https://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/trunkhttp
s://switchfin.svn.sourceforge.net/svnroot/switchfin/switchfin/tags/br4-ui2. 15
https://blackfin.uclinux.org/gf/download/frsrelease/360/3630/u-boot-trunk-
svn.src.tar.bz2https://blackfin.uclinux.org/gf/download/frsrelease/533/9651 /u-boot-2011.11-2011R1-RC5.tar.bz2

well, you'll prob have to wait for feedback from the switchfin guys. what you describe sounds right, and the bf537-stamp boots, so that's good.

off the top of my head, you'll want to make sure you do make clean before doing make xxx_config to be sure all previous objects have been removed. -mike