All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: suresh reddy <sureshreddy.balijepalli@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] regarding freezing at booting
Date: Mon, 20 Jun 2011 13:21:23 +0200	[thread overview]
Message-ID: <4DFF2D33.8090702@domain.hid> (raw)
In-Reply-To: <BANLkTi=DsC9d_LVt3deiBCUAQq2-UubTuA@mail.gmail.com>

On 06/20/2011 11:52 AM, suresh reddy wrote:
> Dear xenomai,
> 
> I compiled the the kernel and builded the uImage . I transfered the uImage
> to FAT partion of SD Card  and the directories DEV and usr (That generated
> due to make DESTDIR) to root filesystem of the sd card.
> 
> i started booting from sd card . It giving me the below result and freezing.
> Iam seeing nothing on terminal after this .

It means the kernel encountered an error before the console is enabled.
Enable CONFIG_EARLY_PRINTK and pass earlyprintk on the kernel command
line to know what the problem is.

Note that since I told you to download ipipe-gch, I finalized the port
of the I-pipe patch on panda board. So, if you download the ipipe-gch
git again, you will be able to enable CONFIG_SMP.


> And i thought whether my uImage that i created was crashed , so thought of
> building it again .
> when i run the make uImage , it giving me error No rule to make target
> uImage . stop
> 
> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
> O=/home/balijepalli/pandaboard/build uImage
> make: *** No rule to make target `uImage'.  Stop.
> 
> then i ran
> test06:/home/balijepalli/pandaboard/ipipe-gch# make ARCH=arm
> CROSS_COMPILE=arm-none-linux-gnueabi- O=/home/balijepalli/pandaboard/build
> omap4_panda_defconfig
> make: *** No rule to make target `omap4_panda_defconfig'.  Stop.
> 
> so i went to to 1st step to check scripts/prepare. kernel.sh as below
>  test06:/home/balijepalli/pandaboard/xenomai-2.5.6#
> scripts/prepare-kernel.sh --linux=/home/balijepalli/pandaboard/ipipe-gch
> --arch=arm
> scripts/prepare-kernel.sh: line 350: linux_: command not found
> 
> 
>  i checked this scripts/prepare.kernel.sh by downloading the xenomai again
> but i got the same error.

I do not know what to do from this explanation. You are giving us either
too much or not enough information.

Some ideas:

The prepared kernel should be built in the sources directory or in its
own build directory. And this is an exclusive or, if you start mixing
out-of-tree build with in-source builds you start having problems.

The omap4_panda_defconfig does not exist in the I-pipe patch, you have
to configure the kernel manually (start from omap2plus_defconfig, and
disable all options related to other omaps than omap4).

You should not try and prepare a kernel which has already been prepared.

-- 
                                                                Gilles.


      reply	other threads:[~2011-06-20 11:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20  9:52 [Xenomai-help] regarding freezing at booting suresh reddy
2011-06-20 11:21 ` Gilles Chanteperdrix [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DFF2D33.8090702@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sureshreddy.balijepalli@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.