* [Xenomai-help] regarding freezing at booting
@ 2011-06-20 9:52 suresh reddy
2011-06-20 11:21 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: suresh reddy @ 2011-06-20 9:52 UTC (permalink / raw)
To: Xenomai help
[-- Attachment #1: Type: text/plain, Size: 2502 bytes --]
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 .
Texas Instruments X-Loader 1.41 (Oct 6 2010 - 17:27:48)
mmc read: Invalid size
Starting OS Bootloader from MMC/SD1 ...
U-Boot 2010.09-rc1 (Sep 23 2010 - 11:24:55)
CPU : OMAP4430
Board: OMAP4 Panda
I2C: ready
DRAM: 512 MiB
Using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
mmc1 is available
reading boot.scr
279 bytes read
Running bootscript from mmc1 ...
## Executing script at 82000000
reading uImage
3460944 bytes read
reading uInitrd
5977795 bytes read
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux-2.6.37.6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3460880 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
Image Name: Ubuntu Initrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5977731 Bytes = 5.7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
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.
Thanks for the help
Suresh balijepalli
Rosenehim,Baveria.
[-- Attachment #2: Type: text/html, Size: 4076 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] regarding freezing at booting
2011-06-20 9:52 [Xenomai-help] regarding freezing at booting suresh reddy
@ 2011-06-20 11:21 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2011-06-20 11:21 UTC (permalink / raw)
To: suresh reddy; +Cc: Xenomai help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-20 11:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 9:52 [Xenomai-help] regarding freezing at booting suresh reddy
2011-06-20 11:21 ` Gilles Chanteperdrix
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.