From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 21 Apr 2010 15:50:40 +0200 Subject: [U-Boot] [PATCH] tx25: fix crash while booting Linux In-Reply-To: <1271850758-25478-1-git-send-email-agust@denx.de> References: <1271850758-25478-1-git-send-email-agust@denx.de> Message-ID: <4BCF02B0.60209@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 > Cc: John Rigby > Cc: Stefano Babic > --- > 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 =====================================================================