public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Martin Hejnfelt <mh@newtec.dk>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot 1.3.1 booting problem
Date: Wed, 29 Oct 2008 11:12:16 +0100	[thread overview]
Message-ID: <49083700.9020409@newtec.dk> (raw)
In-Reply-To: <4907B3E9.7040001@gmail.com>

Jerry Van Baren wrote:
> pugazh mahalingam wrote:
>   
>> Hi,
>> I'm porting u-boot-1.3.1. on a MPC8548PC processor and I'm using the start.S
>> file of u-boot-1.1.4.
>> But I encounter booting problems.. The processor cannot bootup .. its going
>> to hang state ..
>> I used start.S of u-boot-1.1.4 since it works fine for u-boot-1.1.4 ..
>> please help in this regard ..
>>
>> thanks ..
>>
>> regards
>> pugazh
>>     
>
> Hi pugazh,
>
>  From your description, it sounds like you took 1.3.1, discarded its 
> start.S, and simply tried to replace it with the start.S from 1.1.4.
>
> If that is what you are attempting, it isn't surprising it doesn't work.
>
> (Listen to Kumar's advice: you should go all the way to the latest code.)
>
> If you are trying to pull your port forward from 1.1.4, you are going to 
> have to understand what the differences are between 1.1.4 and 1.3.1 (or 
> newer).  There just aren't any shortcuts.
>
> Time to crank up your JTAG debugger and see where the code is stopping 
> and why.
>
> You can (theoretically) use git-bisect to figure out where booting 
> breaks in the series of changesets from 1.1.4 to 1.3.1.  It isn't going 
> to be fast because you are talking years of changes (and I'm guessing 
> your board isn't in the standard u-boot tree, which may cause you grief 
> too).
>
> We really cannot help you much, you basically have given us no useful 
> data: "It's broken and there are lots of changes."  We're good, but we 
> aren't *that* good.  :-(  Sorry.
>
> Good luck,
> gvb
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>   
I just went through somewhat the same procedure as I had to port a 
custom AT91RM9200EK based board from U-boot 1.1.4 to 1.3.4. I tried the 
same method of just replacing files, that is surely a no go, since you 
never know what was changed in all the other files included and 
whatnot... The first method was finding the place in the release chain 
where my system broke, which in my example was in the switch from 1.2.0 
to 1.3.0. I then worked my way through the differences in the versions, 
where I saw the most crucial differences also lied in the start.S file, 
but the way I debugged myself through this was the use of the three LEDs 
on my board, which I could turn on and off and work my way through the 
code, find "crash points", resolve these and continue on... This was 
tiresome and all in all it took me 1? week to get the port up and 
running, so it's not something that you do overnight.

Good luck,

Martin Hejnfelt

  reply	other threads:[~2008-10-29 10:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5eba3f410810280706x4613b1aeu8bf931555fc6b22e@mail.gmail.com>
2008-10-28 14:11 ` [U-Boot] U-Boot 1.3.1 booting problem pugazh mahalingam
2008-10-28 14:51   ` Kumar Gala
2008-10-29  0:52   ` Jerry Van Baren
2008-10-29 10:12     ` Martin Hejnfelt [this message]
2008-10-29 11:45       ` Jerry Van Baren

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=49083700.9020409@newtec.dk \
    --to=mh@newtec.dk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox