Loading file system hangs during auto run of davinci
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.os.linux.development.system
From:
kracks <kirthikai... @gmail.com>
Date: Fri, 23 Oct 2009 09:45:00 -0700 (PDT)
Subject: Loading file system hangs during auto run of davinci
I am making Auto run of the sytem on power on. When i boot the system after writing uImage and ramdisk to flash memory, system hangs.
Uncompressing Linux...................................................................... ... Linux version 2.6.10_mvl401-davinci_evm (kirth... @localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #1549 Sat Oct 24 01:31:12 KST 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: mem=64M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,12M ip=192.168.0.182 video=dm64xxfb:output=visualizerlcd:format=rgb:vid0=800x480@0,0:vid1=800x48 0@0,0:osd0=800x480@0,0:osd1=800x480@0,0 PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 49696KB available (2206K code, 472K data, 120K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task(00000000) desched cpu_callback 3/00000000 ksoftirqd started up. desched cpu_callback 2/00000000 desched thread 0 started up. checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 12288K NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform GPIO Interrupt Bank 0 GPIO Interrupt Bank = 0xe1067008: Interrupt Status 0x1 DaVinci I2C DEBUG: 23:46:08 Oct 23 2009 Registering platform device 'i2c'. Parent at platform pin mux reg 0 = 0xe1040000: pin mul reg 0 value 0x80000000 pin mux reg 1 = 0xe1040004: pin mux reg 1 value 0x81 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Oct 23 2009 23:45:28 Installing. Registering platform device 'davincifb.0'. Parent at platform DAVINCI VPBE use user specific values(parameters)... Visualizer LCD Mode Visualiser LCD config Console: switching to colour frame buffer device 100x30 [drivers/video/davincifb_dlcd.c] Try to setting Visualizer LCD registers... videomode->hsync_len = 10videomode->left_margin = 50videomode-
>left_margin = 50videomode->yr
es = 480videomode->xres = 800videomode->upper_margin = 10videomode- >lower_margin = 10<6>Regi
stering platform device 'davinci_resizer.2'. Parent at platform Registering platform device 'davinci_previewer.2'. Parent at platform Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Registering platform device 'serial8250'. Parent at platform ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize loop: loaded (max 8 devices) elevator: using anticipatory as default io scheduler nbd: registered device at major 43 Registering platform device 'ti_davinci_emac'. Parent at platform 0:e1080000:13:0:76500000:0:0:0:1:1:1554:128:32:128:32:0:e1084000:0:0:765000 00:2200000:2:10 TI DaVinci EMAC: MAC address is 00:0e:99:02:29:00 TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. netconsole: not configured, aborting i2c /dev entries driver Linux video capture interface: v1.00 I2C Device Entry for CMOS OV 7725 I2C Device Entry for CMOS OV 5642 Registering platform device 'vpfe.1'. Parent at platform Device Type = OV5642 ov5642 Configuring for Video standard DaVinci v4l2 capture driver V1.0 loaded dio major#: 252, minor# 0 Registering platform device 'dm6446_dio.2'. Parent at platform request_irq succeeded DM6446->dio driver registered NAND device: Manufacturer ID: 0xec, Chip ID: 0x36 (Samsung NAND 64MiB 1,8V 8-bit) Scanning device for bad blocks Bad eraseblock 3124 at 0x030d0000 Creating 5 MTD partitions on "nand_davinci.0": 0x00000000-0x00060000 : "bootloader" 0x00060000-0x00200000 : "params" 0x00200000-0x00400000 : "kernel" 0x00400000-0x01800000 : "filesystem" 0x01800000-0x04000000 : "data" nand_davinci: hardware revision: 2.1 NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.255.255.0 IP-Config: Complete: device=eth0, addr=192.168.0.182, mask=255.255.255.0, gw=255.255.255.255, host=192.168.0.182, domain=, nis-domain=(none), bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= RAMDISK: Compressed image found at block 0 It stops here.
Is the any problem in making kernel image or any specific reason.
Suggest me
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: comp.os.linux.development.system
From:
André Gillibert <MetaEntropy.removeT... @gmail.com>
Date: Sat, 24 Oct 2009 10:43:39 +0200
Local: Sat, Oct 24 2009 6:43 pm
Subject: Re: Loading file system hangs during auto run of davinci
kracks <kirthikai
... @gmail.com> wrote:
> I am making Auto run of the sytem on power on.
> When i boot the system after writing uImage and ramdisk to flash > memory, system hangs.
> Uncompressing > Linux...................................................................... ... > Linux version 2.6.10_mvl401-davinci_evm > [...] > Kernel command line: mem=64M console=ttyS0,115200n8 root=/dev/ram0 rw > initrd=0x82000000,12M > ip=192.168.0.182 > video=dm64xxfb:output=visualizerlcd:format=rgb:vid0=800x480@0,0:vid1=800x48 > 0@0,0:osd0=800x480@0,0:osd1=800x480@0,0 > [...] > checking if image is initramfs...it isn't (no cpio magic); looks like > an initrd > Freeing initrd memory: 12288K > [...] > IP-Config: Guessing netmask 255.255.255.0 > IP-Config: Complete: > device=eth0, addr=192.168.0.182, mask=255.255.255.0, > gw=255.255.255.255, > host=192.168.0.182, domain=, nis-domain=(none), > bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= > RAMDISK: Compressed image found at block 0
> It stops here.
> Is the any problem in making kernel image or any specific reason.
1) Is your initrd valid? It should either be an initramfs newc cpio archive (optionally compressed) with a /init executable file, or a fs image (e.g. cramfs) with a /sbin/init executable file. 2) Is your ramdisk big enough to contain it? You may have to set ramdisk_size on the kernel command line. ramdisk_size=12M -- André Gillibert
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: comp.os.linux.development.system
From:
kracks <kirthikai... @gmail.com>
Date: Tue, 27 Oct 2009 00:39:09 -0700 (PDT)
Local: Tues, Oct 27 2009 6:39 pm
Subject: Re: Loading file system hangs during auto run of davinci
On Oct 24, 5:43 pm, André Gillibert <MetaEntropy.removeT... @gmail.com> wrote:
> kracks <kirthikai
... @gmail.com> wrote:
> > I am making Auto run of the sytem on power on.
> > When i boot the system after writing uImage and ramdisk to flash > > memory, system hangs.
> > Uncompressing > > Linux...................................................................... ... > > Linux version 2.6.10_mvl401-davinci_evm > > [...] > > Kernel command line: mem=64M console=ttyS0,115200n8 root=/dev/ram0 rw > > initrd=0x82000000,12M > > ip=192.168.0.182 > > video=dm64xxfb:output=visualizerlcd:format=rgb:vid0=800x480@0,0:vid1=800x48 > > 0@0,0:osd0=800x480@0,0:osd1=800x480@0,0 > > [...] > > checking if image is initramfs...it isn't (no cpio magic); looks like > > an initrd > > Freeing initrd memory: 12288K > > [...] > > IP-Config: Guessing netmask 255.255.255.0 > > IP-Config: Complete: > > device=eth0, addr=192.168.0.182, mask=255.255.255.0, > > gw=255.255.255.255, > > host=192.168.0.182, domain=, nis-domain=(none), > > bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= > > RAMDISK: Compressed image found at block 0
> > It stops here.
> > Is the any problem in making kernel image or any specific reason.
> 1) Is your initrd valid? > It should either be an initramfs newc cpio archive (optionally compressed) with a /init executable file, or a fs image (e.g. cramfs) with a /sbin/init executable file. > 2) Is your ramdisk big enough to contain it? > You may have to set ramdisk_size on the kernel command line. > ramdisk_size=12M
> -- > André Gillibert- Hide quoted text -
> - Show quoted text -
I checked the above mentioned config. Memory allocated for Kernel is only 64MB
I have video driver which capture image of HD resolution. My ramdisk size after unzip is 32MB I increased the memory allocated to linux by 82Mb and it works now.
Thanks for suggestion.
Regards Kirthika
You must
Sign in before you can post messages.
You do not have the permission required to post.