public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Markus Klotzbücher" <mk@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PROBLEM ABOUT PORTING U-BOOT-1.1.4 TO INTEL PXA255 BOARD
Date: Mon, 19 Jun 2006 12:30:27 +0200	[thread overview]
Message-ID: <87y7vtigjg.fsf@denx.de> (raw)
In-Reply-To: <fc0f2070606190138t3159451ar4faacee3d6e63f24@mail.gmail.com> (scut.paradise@gmail.com's message of "Mon, 19 Jun 2006 16:38:32 +0800")

Hi Scut Paradise,

If you think you're going to get more help the more times you resend you
message, you are probably wrong.

"???" <scut.paradise@gmail.com> writes:

> int board_init (void)
> {
> 	DECLARE_GLOBAL_DATA_PTR;
>
> 	/* memory and cpu-speed are setup before relocation */
> 	/* so we do _nothing_ here */
>
> 	/* arch number of cerf PXA Board */
> 	gd->bd->bi_arch_number = MACH_TYPE_XHYPER255;
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~It stops here!!!!
> 			
> 	/* adress of boot parameters */
> 	gd->bd->bi_boot_params = 0xa0000100;
>
> 	return(0);

The fact that the "DECLARE_GLOBAL_DATA_PTR" is defined inside board_init
indicates that you are not using top of the tree U-Boot. Please switch
to current sourcen first of all. The DECLARE_GLOBAL_DATA_PTR statement
needs to be defined globally due to gcc misbehaviour.

Regards

Markus Klotzbuecher

  reply	other threads:[~2006-06-19 10:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  8:38 [U-Boot-Users] PROBLEM ABOUT PORTING U-BOOT-1.1.4 TO INTEL PXA255 BOARD 陈洪宝
2006-06-19 10:30 ` Markus Klotzbücher [this message]
     [not found]   ` <fc0f2070606190528m214e3591w762c88ecf994b29f@mail.gmail.com>
2006-06-19 14:24     ` Markus Klotzbücher
  -- strict thread matches above, loose matches on Subject: below --
2006-06-19  8:22 Paradise
2006-06-19  3:37 Paradise
2006-06-12  1:45 Paradise

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=87y7vtigjg.fsf@denx.de \
    --to=mk@denx.de \
    --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