How to load a linux kernel under vxworks bootloader (PPC860 board)
Guy Streeter
streeter at redhat.com
Fri Jul 29 01:01:30 EST 2005
On Thu, 2005-07-28 at 12:16 +0800, FCG WANG Baohua wrote:
> Dear All:
> I want to boot a linux 2.4.25 kernel under vxworks bootloader. When
> I using flat mode(0x200000 --> 0x10000) kernel uncompressed ELF
> format ( vmlinux ),
>
> and download it using TFTP of vxworks, it print the "starting at
> 0x1000 ...." and freeze. No input or output on serial port.
>
> The version of vxworks is 5.3.1.
> can you give me some detail advice or give me a tool to slove it?
> thanks !
Most ppc kernels depend on the bootloader to configure some devices and
to leave some configuration data in a known memory location so that the
kernel (or the kernel's boot wrapper) can use the devices and data
during startup.
None of the board-specific startup code in kernel supports booting from
a VxWorks bootloader. Code I have written to do that for some boards
doesn't appear to be in the kernel anywhere.
You will need to look at the startup code your board is using and figure
out how to do without the device and data setup normally provided by the
bootloader. I addition, you will need to make sure the kernel is trying
to use the console port at the same baud rate as VxWorks.
--Guy Streeter
More information about the Linuxppc-embedded
mailing list