Re: Kernel panic while booting!!! ( Freescale i.MX35 )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Apr 9, 2009 at 2:54 PM, Murali N <nalajala.murali@xxxxxxxxx> wrote:
> Hi, can you please know me how to use the busybox to create a initrd
> file? Do you think the problem i said is because of "initrd" building
> problem?
I don't say use busybox to create initrd :). For your embedded device
you need some
environment and busybox is what you need. So download busybox, compile
with your toolchain
and install (read README how to do this). Then you have some directory
structure (/bin /sbin ...) in some directory.
Then compress this directory with command at
http://open-nandra.com/?p=142 (part initrd creation) and
thats it. Just pass then created initrd image to kernel command line
and it should work.
I see that you're using ext2 filesystem so you can't compress nothing
just copy it to rootfs.
>
> On Thu, Apr 9, 2009 at 6:13 PM, Belisko Marek <marek.belisko@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> On Thu, Apr 9, 2009 at 2:30 PM, Murali N <nalajala.murali@xxxxxxxxx> wrote:
>> > Hi, i am porting the "linux-2.6.28.7" kernel onto latest Freescale
>> > i.MX35 board.I am able to reach till initrd loading, after unpacking
>> > the initrd file, kernel calling the "run_init_process("/sbin/init/")"
>> > function.After this kernel is giving panic.I am unable to proceed
>> > further from this point,can any one please tell me what could be the
>> > problem?
>> > Below are the booting message sequence.Also can any one share the link
>> > to build "initrd" file for ARM platforms?
>> You can follow my example: http://open-nandra.com/?p=142
>> You just need build busybox, install and compress like it's described
>> in example.
>> >
>> >
>> >
>> > Uncompressing Linux.............................................................
>> > ................... done, booting the kernel.
>> > [    0.000000] Linux version 2.6.28.7 (root@danny) (gcc version 4.2.2)
>> > #15 PREEMPT Thu Apr 9 16:13:21 IST 2009
>> > [    0.000000] CPU: ARMv6-compatible processor [4117b363] revision 3
>> > (ARMv6TEJ), cr=00c5387f
>> > [    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
>> > instruction cache
>> > [    0.000000] Machine: Freescale MX35ADS
>> > [    0.000000] Memory policy: ECC disabled, Data cache writeback
>> > [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
>> > Total pages: 32512
>> > [    0.000000] Kernel command line: console=ttymxc0,115200
>> > root=/dev/ram initrd=0x80800000,16M ip=off nohlt
>> > [    0.000000] MXC GPIO hardware
>> > [    0.000000] MXC IRQ initialized
>> > [    0.000000] MX35ADS EXPIO(CPLD) hardware
>> > [    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
>> > [    0.000000] Clock input source is 26000000
>> > [42949372.960000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
>> > [42949372.960000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
>> > [42949372.970000] Memory: 128MB = 128MB total
>> > [42949372.970000] Memory: 110832KB available (2264K code, 180K data, 104K init)
>> > [42949372.970000] Calibrating delay loop... 1556.48 BogoMIPS (lpj=7782400)
>> > [42949373.200000] Mount-cache hash table entries: 512
>> > [42949373.200000] CPU: Testing write buffer coherency: ok
>> > [42949373.210000] net_namespace: 288 bytes
>> > [42949373.210000] NET: Registered protocol family 16
>> > [42949373.230000] checking if image is initramfs...it isn't (no cpio
>> > magic); looks like an initrd
>> > [42949378.430000] Freeing initrd memory: 16384K
>> > [42949378.430000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
>> > [42949378.440000] msgmni has been set to 248
>> > [42949378.440000] io scheduler noop registered
>> > [42949378.440000] io scheduler anticipatory registered
>> > [42949378.440000] io scheduler deadline registered
>> > [42949378.440000] io scheduler cfq registered (default)
>> > [42949378.440000] Serial: IMX driver
>> > [42949378.440000] imx-uart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a IMX
>> > [42949378.440000] console [ttymxc0] enabled
>> > [42949378.510000] brd: module loaded
>> > [42949378.520000] loop: module loaded
>> > [42949378.520000] TCP cubic registered
>> > [42949378.520000] NET: Registered protocol family 17
>> > [42949378.530000] RPC: Registered udp transport module.
>> > [42949378.530000] RPC: Registered tcp transport module.
>> > [42949378.530000] VFP support v0.3: implementor 41 architecture 1 part
>> > 20 variant b rev 3
>> > [42949378.530000] RAMDISK: Compressed image found at block 0
>> > [42949384.110000] VFS: Mounted root (ext2 filesystem).
>> > [42949384.110000] Freeing init memory: 104K
>> > [42949384.120000] Kernel panic - not syncing: Attempted to kill init!
>> >
>> > --
>> > To unsubscribe from this list: send an email with
>> > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>> > Please read the FAQ at http://kernelnewbies.org/FAQ
>> >
>> >
>>
>> good luck,
>>
>> Marek
>>
>> --
>> as simple as primitive as possible
>> ----------------------------------------------
>> Marek Beliško - open-nandra
>> Ruská Nová Ves 219
>> 08005 Prešov
>> Slovakia
>> http://open-nandra.com
>
>
>
> --
> Regards,
> Murali N
>

good luck,

Marek
-- 
as simple as primitive as possible
----------------------------------------------
Marek Beliško - open-nandra
Ruská Nová Ves 219
08005 Prešov
Slovakia
http://open-nandra.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux