* [U-Boot-Users] Need some clarification on certain points
@ 2007-01-24 6:50 Deepak $ehrawat
2007-01-24 14:43 ` Jerry Van Baren
0 siblings, 1 reply; 4+ messages in thread
From: Deepak $ehrawat @ 2007-01-24 6:50 UTC (permalink / raw)
To: u-boot
Hi all,
I am new to U-boot. I am trying to port u-boot onto a propritery board
based on MPC8560.I have certain doubts regarding the u-boot's code ( i am
using latest version of U-boot) :-
1) File :- cpu/mpc85xx/cpu_init.c
function :- cpu_init_f()
Doubt :- Why are we not filling the values of (memory mapped registers )
BR2 & OR2 if CONFIG_MPC85xx flag is defined ?
2) Has anybody used CFG_POST_ETHER , CFG_POST_CACHE flags for MPC8560 based
board ? ( as the post code for the same is not present in u-boot ). If yes,
then can you please send me the respective post files for the same ?
3) My board has 512KB of Boot Flash. After compiling the u-boot code, the
size of elf comes out to be 666234bytes ( as shown by "ls -l" command). Is
there any way i can make sure that the actual size of the elf is not more
than the size of boot flash ?
Regards,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070124/99e4df8e/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Need some clarification on certain points
2007-01-24 6:50 [U-Boot-Users] Need some clarification on certain points Deepak $ehrawat
@ 2007-01-24 14:43 ` Jerry Van Baren
2007-01-24 15:06 ` Grant Likely
0 siblings, 1 reply; 4+ messages in thread
From: Jerry Van Baren @ 2007-01-24 14:43 UTC (permalink / raw)
To: u-boot
Deepak $ehrawat wrote:
>
> Hi all,
>
> I am new to U-boot. I am trying to port u-boot onto a propritery board
> based on MPC8560.I have certain doubts regarding the u-boot's code ( i
> am using latest version of U-boot) :-
>
> 1) File :- cpu/mpc85xx/cpu_init.c
> function :- cpu_init_f()
> Doubt :- Why are we not filling the values of (memory mapped
> registers ) BR2 & OR2 if CONFIG_MPC85xx flag is defined ?
Sorry, don't know.
> 2) Has anybody used CFG_POST_ETHER , CFG_POST_CACHE flags for MPC8560
> based board ? ( as the post code for the same is not present in u-boot
> ). If yes, then can you please send me the respective post files for the
> same ?
Sorry, don't know.
> 3) My board has 512KB of Boot Flash. After compiling the u-boot code,
> the size of elf comes out to be 666234bytes ( as shown by "ls -l"
> command). Is there any way i can make sure that the actual size of the
> elf is not more than the size of boot flash ?
You can use objdump to get lots of information from the elf file,
including sizes of sections.
> Regards,
> Deepak
HTH,
gvb
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Need some clarification on certain points
2007-01-24 14:43 ` Jerry Van Baren
@ 2007-01-24 15:06 ` Grant Likely
2007-01-24 16:48 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Grant Likely @ 2007-01-24 15:06 UTC (permalink / raw)
To: u-boot
On 1/24/07, Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com> wrote:
> Deepak $ehrawat wrote:
> > 3) My board has 512KB of Boot Flash. After compiling the u-boot code,
> > the size of elf comes out to be 666234bytes ( as shown by "ls -l"
> > command). Is there any way i can make sure that the actual size of the
> > elf is not more than the size of boot flash ?
>
> You can use objdump to get lots of information from the elf file,
> including sizes of sections.
Or just read the u-boot.map file
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Need some clarification on certain points
2007-01-24 15:06 ` Grant Likely
@ 2007-01-24 16:48 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2007-01-24 16:48 UTC (permalink / raw)
To: u-boot
In message <528646bc0701240706o126b380ds9d147e50f72ee3c9@mail.gmail.com> you wrote:
>
> > > 3) My board has 512KB of Boot Flash. After compiling the u-boot code,
> > > the size of elf comes out to be 666234bytes ( as shown by "ls -l"
> > > command). Is there any way i can make sure that the actual size of the
> > > elf is not more than the size of boot flash ?
> >
> > You can use objdump to get lots of information from the elf file,
> > including sizes of sections.
>
> Or just read the u-boot.map file
Or just type "ls -l u-boot.bin".
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The important thing about being a leader is not being right or wrong,
but being *certain*. - Terry Pratchett, _Truckers_
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-24 16:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 6:50 [U-Boot-Users] Need some clarification on certain points Deepak $ehrawat
2007-01-24 14:43 ` Jerry Van Baren
2007-01-24 15:06 ` Grant Likely
2007-01-24 16:48 ` Wolfgang Denk
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.