From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] tx25: fix crash while booting Linux
Date: Wed, 21 Apr 2010 15:50:40 +0200 [thread overview]
Message-ID: <4BCF02B0.60209@denx.de> (raw)
In-Reply-To: <1271850758-25478-1-git-send-email-agust@denx.de>
Anatolij Gustschin wrote:
> Currently booting Linux on TX25 board doesn't work
> since there is no correct mach-id and boot parameters
> setup for tx25 board. Fix it now.
>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> Cc: John Rigby <jcrigby@gmail.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
> board/karo/tx25/tx25.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
> index 4d6a96d..2608698 100644
> --- a/board/karo/tx25/tx25.c
> +++ b/board/karo/tx25/tx25.c
> @@ -145,6 +145,9 @@ int board_init()
>
> mx25_uart_init_pins();
> #endif
> + /* board id for linux */
> + gd->bd->bi_arch_number = MACH_TYPE_TX25;
> + gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
> return 0;
> }
>
Applied to u-boot-imx, thanks.
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2010-04-21 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 11:52 [U-Boot] [PATCH] tx25: fix crash while booting Linux Anatolij Gustschin
2010-04-21 13:43 ` Wolfgang Denk
2010-04-21 13:50 ` Stefano Babic [this message]
2010-05-05 22:40 ` Wolfgang Denk
2010-05-06 2:01 ` Fabio Estevam
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=4BCF02B0.60209@denx.de \
--to=sbabic@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