I am trying to boot kernel 2.6.10 (taken from kernel.org) on an MPC8272ADS board.
It hangs on a bootm command after decompressing the kernel. I'm using u-boot 1.1.3.
I've checked the BCSR value and the structure of bd_info and the kernel and u-boot values match.
What else could be the problem?
-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of
u-boot-users-request@lists.sourceforge.net
Sent: Friday, September 09, 2005 11:02 AM
To: u-boot-users@lists.sourceforge.net
Subject: U-Boot-Users digest, Vol 1 #1531 - 13 msgs
Send U-Boot-Users mailing list submissions to
u-boot-users@lists.sourceforge.net
You can reach the person managing the list at
u-boot-users-admin@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of U-Boot-Users digest..."
1. Re: Ram disk image for ARM and CRC error in flash (Wolfgang Denk)
2. RE: Re: booting u-boot from internal flash on M5282EVB (David Peters)
3. Re: stage-2 loader hangs (manju mahajan)
4. Re: stage-2 loader hangs (Harshapvstus)
5. Re: stage-2 loader hangs (Wolfgang Denk)
6. Re: stage-2 loader hangs (Harshapvstus)
7. Re: booting u-boot from internal flash on M5282EVB (Jens Scharsig)
8. Re: mtdparts (Andreas Engel)
9. RE: Re: booting u-boot from internal flash on M5282EVB (David Peters)
10. Where to start mtest from? (Martin Egholm Nielsen)
11. RE: stage-2 loader hangs (Nghiem, Tien)
12. Re: stage-2 loader hangs (manju mahajan)
13. Re: Where to start mtest from? (Martin Egholm Nielsen)
Dowanload address and load address must differt at by least the size
of the uncompressed kernel size.
Thisi s not a bootargs issue.
Read the manual.
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
No one may kill a man. Not for any purpose. It cannot be condoned.
-- Kirk, "Spock's Brain", stardate 5431.6
--__--__--
Message: 2
Reply-To:
davidp@matrixpd.com
From: "David Peters"
davidp@matrixpd.com
To:
u-boot-users@lists.sourceforge.net
Subject: RE: [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
Date: Wed, 7 Sep 2005 12:08:30 -0500
Organization: Matrix Product Development, Inc.
> the original EVB implementation doen't support this. But you can use my
> patches
>
> MCF5282 without reloader
> news://news.gmane.org:119/42F75DFA.80002@bus-elektronik.de
>
> and
>
> New Board (EB+MCF-EV123 based on Frescale MCF5282)
> news://news.gmane.org:119/42F75E25.2040301@bus-elektronik.de
>
> to implement this.
>
> The EB+MCF-EV123 Board can boot from internale and externel FLASH.
> For details please read the code.
>
> regards Jens
> David Peters schrieb:
> > I'm struggling trying to get U-Boot to boot from the internal flash of
> the
> > M5282EVB. Can anyone get me going in the right direction?
I'm still not having any luck. I downloaded the patch and installed it and
everything looks right.
I'm trying to start the evb as if there wasn't any external ram or flash.
We have a project coming up that needs to run the 5282 in single-chip mode.
I suspect that I'm not defining the base addresses correctly or TEXT_BASE.
Can anyone help any further?
Thank you!
--__--__--
Message: 3
Date: Wed, 7 Sep 2005 12:01:26 -0700 (PDT)
From: manju mahajan
manjumail@yahoo.com
Subject: Re: [U-Boot-Users] stage-2 loader hangs
To: u-boot-users@lists.sourceforge.net
I don't know how to use ppcboot_stage2 loader. As I
could not get it compiled in my environment. Not sure
if I should use it or not.
I have netbsd Image with me for WALNUT board
I used :
mkimage -A ppc -O netbsd -T kernel -C gzip -a 0 -e 0
-n "MyNetbsd" -d netbsd-WALNUT.gz
>loadb 400000
> bootm 400000
## Booting image at 00400000 ...
Image Name: Netbsd Manju
Created: 2005-09-06 21:17:01 UTC
Image Type: PowerPC NetBSD Kernel Image (gzip
compressed)
Data Size: 2006672 Bytes = 1.9 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at
address 00000000) ...
it hangs here.
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
--__--__--
Message: 4
From: "Harshapvstus"
harsha@pvst.us
To: "manju mahajan"
manjumail@yahoo.com,
u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] stage-2 loader hangs
Date: Thu, 8 Sep 2005 14:11:35 +0900
Hi,
I have burned the FLASH for U-boot,
I would like to debug the u-boot code.
how can i do.
Thanks
----- Original Message -----
From: "manju mahajan"
manjumail@yahoo.com
To:
u-boot-users@lists.sourceforge.net
Sent: Thursday, September 08, 2005 4:01 AM
Subject: Re: [U-Boot-Users] stage-2 loader hangs
> I don't know how to use ppcboot_stage2 loader. As I
> could not get it compiled in my environment. Not sure
> if I should use it or not.
>
>
> I have netbsd Image with me for WALNUT board
>
> I used :
>
> mkimage -A ppc -O netbsd -T kernel -C gzip -a 0 -e 0
> -n "MyNetbsd" -d netbsd-WALNUT.gz
>
>
>
> >loadb 400000
>
> > bootm 400000
> ## Booting image at 00400000 ...
> Image Name: Netbsd Manju
> Created: 2005-09-06 21:17:01 UTC
> Image Type: PowerPC NetBSD Kernel Image (gzip
> compressed)
> Data Size: 2006672 Bytes = 1.9 MB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> ## Transferring control to NetBSD stage-2 loader (at
> address 00000000) ...
>
> it hangs here.
>
>
>
>
>
>
> ______________________________________________________
> Click here to donate to the Hurricane Katrina relief effort.
>
http://store.yahoo.com/redcross-donate3/
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.19/92 - Release Date: 9/7/2005
>
>
--__--__--
Message: 5
To: "Harshapvstus"
harsha@pvst.us
Cc: "manju mahajan"
manjumail@yahoo.com,
u-boot-users@lists.sourceforge.net
From: Wolfgang Denk
wd@denx.de
Subject: Re: [U-Boot-Users] stage-2 loader hangs
Date: Thu, 08 Sep 2005 07:32:10 +0200
In message
011401c5b433$ca758b80$0510a8c0@pvst6novr74bnd you wrote:
>
> I have burned the FLASH for U-boot,
> I would like to debug the u-boot code.
> how can i do.
Read the manual at
http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot
Then attach your BDI2000 and start your GDB session.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
People are very flexible and learn to adjust to strange surroundings
-- they can become accustomed to read Lisp and Fortran programs, for
example. - Leon Sterling and Ehud Shapiro, Art of Prolog, MIT Press
--__--__--
Message: 6
From: "Harshapvstus"
harsha@pvst.us
To: "Wolfgang Denk"
wd@denx.de
Cc: "manju mahajan"
manjumail@yahoo.com,
u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] stage-2 loader hangs
Date: Thu, 8 Sep 2005 14:41:46 +0900
i have JTAG not BDI2000 is it possible ?
----- Original Message -----
From: "Wolfgang Denk"
wd@denx.de
To: "Harshapvstus"
harsha@pvst.us
Cc: "manju mahajan"
manjumail@yahoo.com;
u-boot-users@lists.sourceforge.net
Sent: Thursday, September 08, 2005 2:32 PM
Subject: Re: [U-Boot-Users] stage-2 loader hangs
> In message
011401c5b433$ca758b80$0510a8c0@pvst6novr74bnd you wrote:
> >
> > I have burned the FLASH for U-boot,
> > I would like to debug the u-boot code.
> > how can i do.
>
> Read the manual at
http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot
>
> Then attach your BDI2000 and start your GDB session.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> People are very flexible and learn to adjust to strange surroundings
> -- they can become accustomed to read Lisp and Fortran programs, for
> example. - Leon Sterling and Ehud Shapiro, Art of Prolog, MIT Press
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.19/92 - Release Date: 9/7/2005
>
>
--__--__--
Message: 7
To: u-boot-users@lists.sourceforge.net
From: Jens Scharsig
esw@bus-elektronik.de
Date: Thu, 08 Sep 2005 08:00:31 +0200
Subject: [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
Hello
> I'm trying to start the evb as if there wasn't any external ram or flash.
> We have a project coming up that needs to run the 5282 in single-chip mode.
U-boot needs more RAM than 64K. Why? U-Boot copies itself to RAM and
starts this ram copy.
Regards Jens
--__--__--
Message: 8
Date: Thu, 8 Sep 2005 12:49:23 +0200
From: Andreas Engel
Andreas.Engel@marconi.com
To: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] mtdparts
Organization: Marconi Communications GmbH
On Wed, 7 Sep 2005 14:54:59 +0200 Wolfgang Denk wrote:
>We willprovide an extension soon; we're going to create an additional
>variable 'mtddevnum'.
>
>Note: the numbering will be exactly as partitions are listed in the
>$mtdparts variable. This way user can fully control the indexing
>sequence but it is also a bit more troublesome you have to take care
>about the order of devices in $mtdparts.
>
>But the greater flexibilty seems to me to be a big advantage over any
>fixed scheme which cannot know about the init sequence in the Linux
>kernel.
>
>Is this OK with you?
That's ok with me, too. We won't change our current implementation anyway.
Regards,
Andreas Engel
--__--__--
Message: 9
Reply-To:
davidp@matrixpd.com
From: "David Peters"
davidp@matrixpd.com
To:
u-boot-users@lists.sourceforge.net
Subject: RE: [U-Boot-Users] Re: booting u-boot from internal flash on M5282EVB
Date: Thu, 8 Sep 2005 06:54:45 -0500
Organization: Matrix Product Development, Inc.
> Hello
> > I'm trying to start the evb as if there wasn't any external ram or
> flash.
> > We have a project coming up that needs to run the 5282 in single-chip
> mode.
>
> U-boot needs more RAM than 64K. Why? U-Boot copies itself to RAM and
> starts this ram copy.
>
> Regards Jens
>
That's what I was afraid of.
I was able to get u-boot to start coming up. The only way I made it happen
was by changing:
Move.l #(CFG_INT_FLASH_BASE + 0x21), %d0
To
Move.l (#CFG_INT_FLASH_BASE + 0x161), %d0
I downloaded CodeWarrior and looked at the code that was generated and that
is what they used. I haven't looked into it at all.
--__--__--
Message: 10
To: u-boot-users@lists.sourceforge.net
From: Martin Egholm Nielsen
martin@egholm-nielsen.dk
Date: Thu, 08 Sep 2005 16:08:32 +0200
Subject: [U-Boot-Users] Where to start mtest from?
Hi there,
Is there a way to know what memory segment U-boot uses (stack, etc) so I
can give the smallest (safe) possible start address for running "mtest"
on my memory?
// Martin
--__--__--
Message: 11
Subject: RE: [U-Boot-Users] stage-2 loader hangs
Date: Thu, 8 Sep 2005 10:22:41 -0400
From: "Nghiem, Tien"
TNghiem@oerlikon.ca
To: "Harshapvstus"
harsha@pvst.us,
"Wolfgang Denk"
wd@denx.de
Cc: "manju mahajan"
manjumail@yahoo.com,
u-boot-users@lists.sourceforge.net
It's possible. You have to read your JTAG's documentation.
-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of
Harshapvstus
Sent: Thursday, September 08, 2005 1:42 AM
To: Wolfgang Denk
Cc: manju mahajan; u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] stage-2 loader hangs=20
i have JTAG not BDI2000 is it possible ?
----- Original Message -----=20
From: "Wolfgang Denk"
wd@denx.de
To: "Harshapvstus"
harsha@pvst.us
Cc: "manju mahajan"
manjumail@yahoo.com;
u-boot-users@lists.sourceforge.net
Sent: Thursday, September 08, 2005 2:32 PM
Subject: Re: [U-Boot-Users] stage-2 loader hangs
> In message
011401c5b433$ca758b80$0510a8c0@pvst6novr74bnd you wrote:
> >
> > I have burned the FLASH for U-boot,
> > I would like to debug the u-boot code.
> > how can i do.
>
> Read the manual at =
http://www.denx.de/twiki/bin/view/DULG/DebuggingUBoot
>
> Then attach your BDI2000 and start your GDB session.
>
> Best regards,
>
> Wolfgang Denk
>
> --=20
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> People are very flexible and learn to adjust to strange surroundings
> -- they can become accustomed to read Lisp and Fortran programs, for
> example. - Leon Sterling and Ehud Shapiro, Art of Prolog, MIT Press
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing =
& QA
> Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
> --=20
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.19/92 - Release Date: =
9/7/2005
>
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle =
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & =
QA
Security * Process Improvement & Measurement * =
http://www.sqe.com/bsce5sf
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
--__--__--
Message: 12
Date: Thu, 8 Sep 2005 08:47:23 -0700 (PDT)
From: manju mahajan
manjumail@yahoo.com
Subject: Re: [U-Boot-Users] stage-2 loader hangs
To: u-boot-users@lists.sourceforge.net
Please don't contents in the subject...
was hoping I got some replies.....
--- Harshapvstus
harsha@pvst.us wrote:
> Hi,
>
> I have burned the FLASH for U-boot,
> I would like to debug the u-boot code.
> how can i do.
>
> Thanks
> ----- Original Message -----
> From: "manju mahajan"
manjumail@yahoo.com
> To:
u-boot-users@lists.sourceforge.net
> Sent: Thursday, September 08, 2005 4:01 AM
> Subject: Re: [U-Boot-Users] stage-2 loader hangs
>
>
> > I don't know how to use ppcboot_stage2 loader. As
> I
> > could not get it compiled in my environment. Not
> sure
> > if I should use it or not.
> >
> >
> > I have netbsd Image with me for WALNUT board
> >
> > I used :
> >
> > mkimage -A ppc -O netbsd -T kernel -C gzip -a 0 -e
> 0
> > -n "MyNetbsd" -d netbsd-WALNUT.gz
> >
> >
> >
> > >loadb 400000
> >
> > > bootm 400000
> > ## Booting image at 00400000 ...
> > Image Name: Netbsd Manju
> > Created: 2005-09-06 21:17:01 UTC
> > Image Type: PowerPC NetBSD Kernel Image (gzip
> > compressed)
> > Data Size: 2006672 Bytes = 1.9 MB
> > Load Address: 00000000
> > Entry Point: 00000000
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK
> > ## Transferring control to NetBSD stage-2 loader
> (at
> > address 00000000) ...
> >
> > it hangs here.
> >
> >
> >
> >
> >
> >
> >
>
______________________________________________________
> > Click here to donate to the Hurricane Katrina
> relief effort.
> >
http://store.yahoo.com/redcross-donate3/
> >
> >
> >
>
-------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle
> Practices
> > Agile & Plan-Driven Development * Managing
> Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement *
>
http://www.sqe.com/bsce5sf
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.344 / Virus Database: 267.10.19/92 -
> Release Date: 9/7/2005
> >
> >
>
>
>
>
-------------------------------------------------------
> SF.Net email is Sponsored by the Better Software
> Conference & EXPO
> September 19-22, 2005 * San Francisco, CA *
> Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects
> & Teams * Testing & QA
> Security * Process Improvement & Measurement *
>
http://www.sqe.com/bsce5sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
--__--__--
Message: 13
Date: Fri, 09 Sep 2005 10:01:32 +0200
From: Martin Egholm Nielsen
martin@egholm-nielsen.dk
To: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] Where to start mtest from?
Hi Andrew,
>>Is there a way to know what memory segment U-boot uses (stack, etc) so I
>>can give the smallest (safe) possible start address for running "mtest"
>>on my memory?
> you didn't say what your target is, but for mips you can turn on debug
> output in lib_mips/board.c and it will print out info about where various
> things are in memory. Maybe your target is similar.
Oh, sorry - it's PPC. And yes, scanning my board.c I see some debug
messages regarding adresses... But as I see them, it's start adresses,
hence I need to know the size of, say, u-boot it self and the stack...
Or what?!
BR,
Martin
--__--__--
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
End of U-Boot-Users Digest
***********************************************************************************
Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@nds.com and destroy the original message.
***********************************************************************************