Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, I want to build a 2.6.18-rc2 kernel iamge by wraplinux. I make the bzImage; and make the initramfs.cpio.gz rootfs. But whatever I tried,the kernel image can't bring up, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    8

    Wink wraplinux-build kernel error




    Hi everyone,
    I want to build a 2.6.18-rc2 kernel iamge by wraplinux.
    I make the bzImage;
    and make the initramfs.cpio.gz rootfs.
    But whatever I tried,the kernel image can't bring up,
    once load the kernel-image,the bios will go to sleep and reboot. to be a endless loop.
    Here is the build script,any body can help me.



    #!/bin/sh
    #
    # $Id: //depot/csp/tools/make-flexstar-kernel2#4 $
    #

    set -x

    USAGE="`basename $0` <kernel file name>"

    if [ $# != 1 ]
    then
    echo "$USAGE" >&2
    exit 1
    fi

    OUTPUT="$1"

    # TFTP image building utility
    MKELF=/home/workspace/bootldr/wraplinux-1.7/wraplinux
    # Kernel params
    KERNEL_COMMAND_LINE="vga=1 ip=on loglevel=7 debug"
    # Kernel (bzImage)
    KERNEL_IMAGE=/reli/proj/csp/src/kernel/2.6.18-rc2/BUILD/flexstar/arch/x86/boot/bzImage
    # Initramfs
    INITRAMFS_IMAGE=/reli/proj/csp/src/initramfs/r6/flexstar/initramfs.cpio.gz

    "$MKELF" --nbi --param "$KERNEL_COMMAND_LINE" --output "$OUTPUT"
    --initrd "$INITRAMFS_IMAGE" "$KERNEL_IMAGE"


    Thanks very much.

  2. #2
    Just Joined!
    Join Date
    Jun 2012
    Posts
    8
    any one can help me?
    please.
    thanks very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •