[U-Boot] u-boot 1.1.2 boot latest powerpc based kernel?
Shawn Jin
shawnxjin at gmail.com
Thu May 13 08:43:03 CEST 2010
Hi,
Can an old u-boot (e.g. 1.1.2) boot a latest powerpc based kernel
(e.g. 2.6.33)? I noticed that the bd_info in the latest u-boot is
different from the one in 1.1.2. The custom board with u-boot 1.1.2
passed only the first 6 parameters to a 2.4 kernel shown as below.
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_intfreq; /* Internal Freq, in MHz */
unsigned long bi_busfreq; /* Bus Freq, in MHz */
unsigned char bi_enetaddr[6]; /* Ethernet adress */
unsigned long bi_baudrate; /* Console Baudrate */
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_5xx) || defined(CONFIG_8xx) || defined(CONFIG_8260) \
|| defined(CONFIG_E500)
unsigned long bi_immr_base; /* base of IMMR register */
#endif
<...snipped>
}
The customer does't want to upgrade u-boot. If linux drivers are
ported to the new powerpc arch, is u-boot 1.1.2 still able to boot the
new kernel? Besides the bd_info, what else the powerpc kernel expect
from u-boot?
Thanks,
-Shawn.
More information about the U-Boot
mailing list