public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] tx25: fix crash while booting Linux
@ 2010-04-21 11:52 Anatolij Gustschin
  2010-04-21 13:43 ` Wolfgang Denk
  2010-04-21 13:50 ` Stefano Babic
  0 siblings, 2 replies; 5+ messages in thread
From: Anatolij Gustschin @ 2010-04-21 11:52 UTC (permalink / raw)
  To: u-boot

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;
 }
 
-- 
1.6.2.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] tx25: fix crash while booting Linux
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-04-21 13:43 UTC (permalink / raw)
  To: u-boot

Dear Stefano,

In message <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(-)

Acked-by: Wolfgang Denk <wd@denx.de>

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I wish Captain Vimes were here. He wouldn't have  known  what  to  do
either, but he's got a much better vocabulary to be baffled in.
                                 - Terry Pratchett, _Guards! Guards!_

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] tx25: fix crash while booting Linux
  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
  2010-05-05 22:40   ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Stefano Babic @ 2010-04-21 13:50 UTC (permalink / raw)
  To: u-boot

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
=====================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] tx25: fix crash while booting Linux
  2010-04-21 13:50 ` Stefano Babic
@ 2010-05-05 22:40   ` Wolfgang Denk
  2010-05-06  2:01     ` Fabio Estevam
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2010-05-05 22:40 UTC (permalink / raw)
  To: u-boot

Dear Stefano Babic,

In message <4BCF02B0.60209@denx.de> you wrote:
> 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.

Will you send a pull request to Tom any time soon?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would be illogical to kill without reason
	-- Spock, "Journey to Babel", stardate 3842.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] tx25: fix crash while booting Linux
  2010-05-05 22:40   ` Wolfgang Denk
@ 2010-05-06  2:01     ` Fabio Estevam
  0 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2010-05-06  2:01 UTC (permalink / raw)
  To: u-boot

Hi Wolfgang,

--- On Wed, 5/5/10, Wolfgang Denk <wd@denx.de> wrote:

> From: Wolfgang Denk <wd@denx.de>
> Subject: Re: [U-Boot] [PATCH] tx25: fix crash while booting Linux
> To: "Stefano Babic" <sbabic@denx.de>
> Cc: u-boot at lists.denx.de, "John Rigby" <jcrigby@gmail.com>
> Date: Wednesday, May 5, 2010, 7:40 PM
> Dear Stefano Babic,
> 
> In message <4BCF02B0.60209@denx.de>
> you wrote:
> > 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.
> 
> Will you send a pull request to Tom any time soon?

Stefano sent the pull request : http://www.mail-archive.com/u-boot at lists.denx.de/msg31966.html

Regards,

Fabio Estevam


      

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-06  2:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-05-05 22:40   ` Wolfgang Denk
2010-05-06  2:01     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox