Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   Regarding linux porting (http://www.linux-archive.org/ubuntu-kernel-team/271817-regarding-linux-porting.html)

Vadivelan M 10-29-2009 06:39 AM

Regarding linux porting
 
Hi ,



we are porting linux 2.6.27 on imx27 based platform. we did all the platform dependent changes .



With this linux is booting till a point and stopping there ..



stopping at



(VFS) Mounting file system

Freeing init memory



While debugging through printk we could go till



rest_init()* -> kernel _init() -> init_post() --->



Going for opening initial console . .... using sys_open() .... After that no prints .......





Can any body help us to go forward ?



Thanks in advance ,

vels





Please see the following logs ..



Launch LinuxUncompressing Linux............................................. ......................... done, booting the kernel.

Linux version 2.6.28-arm2 (root@localhost.localdomain) (gcc version 4.1.1) #75 Wed Oct 28 13:12:53 IST 2009

CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177

CPU: VIVT data cache, VIVT instruction cache

Machine: Freescale i.MX27ADS

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists in Zone order, mobility grouping on.* Total pages: 16256

Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200

MXC GPIO hardware

MXC IRQ initialized

PID hash table entries: 256 (order: 8, 1024 bytes)



*Clock input source is 26000000



*After for loop

*test1

*CCM_PCCR1 = fe5aef88

*b4 spll_clk.disableConsole: colour dummy device 80x30

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory: 64MB = 64MB total

Memory: 60780KB available (1956K code, 252K data, 92K init)

Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)

Security Framework initialized

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

kernel thread started : M.V<5>SCSI subsystem initialized

checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

do_sys_open entry<6>Freeing initrd memory: 1792K

NetWinder Floating Point Emulator V0.97 (extended precision)

VFS: Disk quotas dquot_6.5.1

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

JFS: nTxBlock = 489, nTxLock = 3914

msgmni has been set to 122

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

Serial: IMX driver

imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX

console [ttymxc0] enabled

imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX

imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX

imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX

imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX

imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX

brd: module loaded

loop: module loaded

st: Version 20080504, fixed bufsize 32768, s/g segs 256

Driver 'st' needs updating - please use bus_type methods

Driver 'sd' needs updating - please use bus_type methods

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

do_sys_open entrydo_sys_open entry<5>RAMDISK: Compressed image found at block 0

EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

VFS: Mounted root (ext2 filesystem).

Freeing init memory: 92K





After this some junk characters are coming like ....



��֍�*0^ޝ��r�'���ϊ��r: ������:��M���D�d�z? �Τ��8V�`�Т���V잊]nn]^ク�m8m��^��m�E��N��8�� 6���:]���




=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you




--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

Daniel J Blueman 10-30-2009 02:33 PM

Regarding linux porting
 
On Thu, Oct 29, 2009 at 7:39 AM, Vadivelan M <vadivelan.m@tcs.com> wrote:
> Hi ,
>
> we are porting linux 2.6.27 on imx27 based platform. we did all the platform
> dependent changes .
>
> With this linux is booting till a point and stopping there ..
>
> stopping at
>
> (VFS) Mounting file system
> Freeing init memory
>
> While debugging through printk we could go till
>
> rest_init()* -> kernel _init() -> init_post() --->
>
> Going for opening initial console . .... using sys_open() .... After that no
> prints .......
>
>
> Can any body help us to go forward ?
>
> Thanks in advance ,
> vels
>
>
> Please see the following logs ..
>
> Launch LinuxUncompressing
> Linux............................................. .........................
> done, booting the kernel.
> Linux version 2.6.28-arm2 (root@localhost.localdomain) (gcc version 4.1.1)
> #75 Wed Oct 28 13:12:53 IST 2009
> CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: Freescale i.MX27ADS
> Memory policy: ECC disabled, Data cache writeback
> Built 1 zonelists in Zone order, mobility grouping on.* Total pages: 16256
> Kernel command line: root=/dev/ram rw mem=64M console=ttymxc0,115200
> MXC GPIO hardware
> MXC IRQ initialized
> PID hash table entries: 256 (order: 8, 1024 bytes)
>
> *Clock input source is 26000000
>
> *After for loop
> *test1
> *CCM_PCCR1 = fe5aef88
> *b4 spll_clk.disableConsole: colour dummy device 80x30
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 64MB = 64MB total
> Memory: 60780KB available (1956K code, 252K data, 92K init)
> Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)
> Security Framework initialized
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> kernel thread started : M.V<5>SCSI subsystem initialized
> checking if image is initramfs...it isn't (no cpio magic); looks like an
> initrd
> do_sys_open entry<6>Freeing initrd memory: 1792K
> NetWinder Floating Point Emulator V0.97 (extended precision)
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> JFS: nTxBlock = 489, nTxLock = 3914
> msgmni has been set to 122
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> Serial: IMX driver
> imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
> console [ttymxc0] enabled
> imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
> imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
> imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
> imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
> imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
> brd: module loaded
> loop: module loaded
> st: Version 20080504, fixed bufsize 32768, s/g segs 256
> Driver 'st' needs updating - please use bus_type methods
> Driver 'sd' needs updating - please use bus_type methods
> drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
> do_sys_open entrydo_sys_open entry<5>RAMDISK: Compressed image found at
> block 0
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> VFS: Mounted root (ext2 filesystem).
> Freeing init memory: 92K
>
>
> After this some junk characters are coming like ....
>
> ��֍�򁰠0^ޝ��r�'���ϊ��r:� �����:��M� ��D�d�z ?��
> Τ��8V�`�Т���V잊]nn]^ク�m8m��^� �m� E��N��8��6���:]���

This is off-topic, so definitely do not include this mailing list in any reply.

The junk characters will be from the serial port output, so it looks
like your system is booting, just the serial port is being setup by
userspace at something other than 115200 baud etc. Here, the kernel
isn't using hardware flow control and is fine.

Daniel
--
Daniel J Blueman

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team


All times are GMT. The time now is 10:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.