[U-Boot-Users] Problem booting MontaVista 3.0 Linux on IBM 405EP Bubinga board

Hello all,
I am using U-boot with Linux version 2.4.18 but booting hung at = "Uncompressing Kernel Image...OK".=20
I modified the bd_info structure in the kernel (file = include/asm-ppc/ppcboot.h) to match the bd_info structure of U-boot = (file include/asm/uboot.h) as suggested in the U-boot manual. The contents of the 2 board info structures = were almost identical except for the extra entry of "mon_fnc_t = *bi_mon_fnc;" at the end of the ppcboot.h file of the kernel. I did not = know if this entry was needed or not so I left it in there. I then = booted the recompiled kernel but it still died at the same place.
Below is the kernel's bd_info structure from file = include/asm-ppc/ppcboot.h that I used for the 405EP Bubinga board:
typedef struct bd_info { unsigned long bi_memstart; /* start of DRAM memory */ unsigned long bi_memsize; /* size of DRAM memory in bytes */ unsigned long bi_flashstart; /* start of FLASH memory */ unsigned long bi_flashsize; /* size of FLASH memory */ unsigned long bi_flashoffset; /* reserved area for startup monitor */ unsigned long bi_sramstart; /* start of SRAM memory */ unsigned long bi_sramsize; /* size of SRAM memory */ #if defined(CONFIG_8xx) || defined(CONFIG_8260) unsigned long bi_immr_base; /* base of IMMR register */ #endif unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */ unsigned long bi_ip_addr; /* IP Address */ unsigned char bi_enetaddr[6]; /* Ethernet adress */ unsigned short bi_ethspeed; /* Ethernet speed in Mbps */ unsigned long bi_intfreq; /* Internal Freq, in MHz */ unsigned long bi_busfreq; /* Bus Freq, in MHz */ #if defined(CONFIG_8260) unsigned long bi_cpmfreq; /* CPM_CLK Freq, in MHz */ unsigned long bi_brgfreq; /* BRG_CLK Freq, in MHz */ unsigned long bi_sccfreq; /* SCC_CLK Freq, in MHz */ unsigned long bi_vco; /* VCO Out from PLL, in MHz */ #endif unsigned long bi_baudrate; /* Console Baudrate */ #if defined(CONFIG_405GP) || defined(CONFIG_405EP) unsigned char bi_s_version[4]; /* Version of this structure */ unsigned char bi_r_version[32]; /* Version of the ROM (IBM) */ unsigned int bi_procfreq; /* CPU (Internal) Freq, in Hz */ unsigned int bi_plb_busfreq; /* PLB Bus speed, in Hz */ unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */ unsigned char bi_pci_enetaddr[6]; /* PCI Ethernet MAC address */ #endif #if defined(CONFIG_HYMOD) hymod_conf_t bi_hymod_conf; /* hymod configuration information */ #endif #if defined(CONFIG_EVB64260) /* the board has three onboard ethernet ports */ unsigned char bi_enet1addr[6]; unsigned char bi_enet2addr[6]; #endif #if defined(CONFIG_405GP) || defined(CONFIG_405EP)=20 unsigned int bi_opbfreq; /* OPB clock in Hz */=20 int bi_iic_fast[2]; /* Use fast i2c mode */=20 #endif mon_fnc_t *bi_mon_fnc; /* Pointer to monitor functions */
} bd_t;
I am fairly new to embedded Linux so any detailed help would be greatly = appreciated. Sorry for the long email.
Andy

In message 3A3617C85809DF46B90A175A3F0F983FE347B1@mail02hq.adic.com you wrote:
I am using U-boot with Linux version 2.4.18 but booting hung at
You are using an old version of the Linux kernel in combination with an very old version of U-Boot. This is bound to fail.
Below is the kernel's bd_info structure from file include/asm-ppc/ppcboot.h that I used for the 405EP Bubinga board:
...
This file seems to be about a whole year old. Please do yourself a favour and use current code.
------_=_NextPart_001_01C40602.EC1A6DD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
And please NEVER post HTML code to this list.
NEVER!
Best regards,
Wolfgang Denk
participants (2)
-
Andy Vo
-
Wolfgang Denk