From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 6/8] mpc5121: add support for PDM360NG board
Date: Mon, 10 May 2010 12:41:46 +0200 [thread overview]
Message-ID: <20100510124146.17d88196@wker> (raw)
In-Reply-To: <AANLkTikzGySIMJ4Gml-CHtHGrQznwjqD3zFO8W7vDz19@mail.gmail.com>
On Sun, 9 May 2010 11:01:45 +0300
Michael Zaidman <michael.zaidman@gmail.com> wrote:
> On Sat, Apr 24, 2010 at 8:27 PM, Anatolij Gustschin <agust@denx.de> wrote:
> > PDM360NG is a MPC5121E based board by ifm ecomatic gmbh.
> >
>
> [snip]
>
> +#define CONFIG_SYS_INIT_RAM_END CONFIG_SYS_SRAM_SIZE
> /* End of area */
> +
> +#define CONFIG_SYS_GBL_DATA_SIZE 0x100 /* num bytes of initial data */
> +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - \
> + CONFIG_SYS_GBL_DATA_SIZE)
> +#define CONFIG_SYS_POST_WORD_ADDR (CONFIG_SYS_GBL_DATA_OFFSET - 0x4)
>
> The CONFIG_SYS_POST_WORD_ADDR is not defined correctly. The base
> address is absent.
This is true. This macro is slightly confusing and for some other
boards it actually means the post word offset. I should have
defined _POST_ADDR as (CONFIG_SYS_SRAM_BASE + CONFIG_SYS_POST_WORD_ADDR)
in .../mpc5121/common.c file. Since the post test on this board
runs quite late (in RAM and not before relocation), this bug
didn't show up. Thanks for reporting it!
> This will be fixed by POST cleanup consolidated patch anyway.
Thanks for this work!
Best regards,
Anatolij
next prev parent reply other threads:[~2010-05-10 10:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-21 21:40 [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx Wolfgang Denk
2010-03-21 21:47 ` Wolfgang Denk
2010-03-21 22:34 ` Wolfgang Denk
2010-04-13 14:31 ` [U-Boot] [PATCH] serial: fix struct serial_device initialisation Anatolij Gustschin
2010-04-24 19:23 ` Anatolij Gustschin
2010-04-23 8:28 ` [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx Anatolij Gustschin
2010-04-23 9:56 ` Wolfgang Denk
2010-04-24 17:27 ` [U-Boot] [PATCH v4 0/8] Add support for PDM360NG board Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 2/8] mpc512x: add multi serial PSC support Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 3/8] mpc5121: add PSC serial communication routines Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 4/8] mpc512x: make MEM IO Control configuration a board config option Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 5/8] mpc5121: determine RAM size using get_ram_size() Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 6/8] mpc5121: add support for PDM360NG board Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 7/8] mpc5121: add common post_word_load/store code Anatolij Gustschin
2010-04-24 17:27 ` [U-Boot] [PATCH v4 8/8] mpc5121: pdm360ng: add coprocessor POST Anatolij Gustschin
2010-05-09 8:01 ` [U-Boot] [PATCH v4 6/8] mpc5121: add support for PDM360NG board Michael Zaidman
2010-05-10 10:41 ` Anatolij Gustschin [this message]
2010-04-24 20:32 ` [U-Boot] [PATCH v4 1/8] serial: struct serial_device: add uninit() entry for drivers Wolfgang Denk
2010-04-24 21:58 ` [U-Boot] [PATCH v4 0/8] Add support for PDM360NG board Wolfgang Denk
2010-04-24 22:23 ` Anatolij Gustschin
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=20100510124146.17d88196@wker \
--to=agust@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