[U-Boot-Users] Reset command causes Bus Fault on MPC823

Hi Folks
Been working on getting u-boot's reset command to work correctly on my RPXlite. Kept on getting bus failures around line 181 of cpu/mpc8xx/cpu_init.c (version 1.1.1). I finally tried commenting out the following lines (figuring that I wasn't an 850 and wasn't rev A silicon) and am now able to perform a reset successfully at u-boot's command prompt.
/************************************************************** * The following causes the RPXlite 823 with rev b2(?) silicon * to generate a bus fault when executing u-boot reset command.
/* perform BR0 reset that MPC850 Rev. A can't guarantee * reg = memctl->memc_br0; reg &= BR_PS_MSK; /* Clear everything except Port Size bits * reg |= BR_V; /* then add just the "Bank Valid" bit * memctl->memc_br0 = reg;
***************************************************************/
Regards, John Miller

In message B3EAAA8B12E2D611A7D800C0F03BC7D191BA1D@inconbdc.franklin.fele you wrote:
Been working on getting u-boot's reset command to work correctly on my RPXlite. Kept on getting bus failures around line 181 of cpu/mpc8xx/cpu_init.c (version 1.1.1). I finally tried commenting out the following lines (figuring that I wasn't an 850 and wasn't rev A silicon) and am now able to perform a reset successfully at u-boot's command prompt.
All of this has absolutely nothing to do with resetting the board.
What exactly is your memory map, and did you #define CFG_RESET_ADDRESS, and if, which value did you use?
Best regards,
Wolfgang Denk
participants (2)
-
Miller, John
-
Wolfgang Denk