[U-Boot-Users] PROBLEM ABOUT PORTING U-BOOT-1.1.4 TO INTEL PXA255 BOARD

hi,u-boot-users
I am trying to port u-boot-1.1.4 to my board,But i meet some problems.
Main resources of the board: CPU : INTEL PXA255 400MHZ FLASH : INTEL TE28F128J3C150 32M SDRAM : SAMSUNG 64M
Problem description : According to the Lubbock developing board and the manual of my board , i have modified some files of uboot and compiled correctly(u-boot.bin is about 108K). Because i have no any hardware emulator, so i write a simple program to trace the uboot running, i find it stop in board_init() function(/u-boot-1.1.4/board/xhyper255/xhyper255.c).
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); }
when executing "gd->bd->bi_arch_number=MACH_TYPE_XHYPER255;" or other similiar sentences("gd->bd->**=**"), the progress was terminated. But when executing other sentences such as "gd->env_addr = (ulong)&default_environment[0];gd->env_valid = 0;"(these sentences are in function env_init(),common/env_flash.c),the progress can do them well.
Does anyone meet this problem,or give some useful debug methods without any hardware emulator? Appreciate for any help.
THANKS
Paradise scut.paradise@gmail.com 2006-06-19
participants (1)
-
Paradise