免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1177 | 回复: 0
打印 上一主题 下一主题

移植linux-2.6.32.2 s3c2410 第一步跑起来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-01-29 21:05 |只看该作者 |倒序浏览

                        移植linux-2.6.32.2到s3c2410
第一步:  让它跑起来 选用cramfs作为rootfs  编译后:

  Normal
  0
  
  7.8 磅
  0
  2
  
  false
  false
  false
  
   
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4



st1\:*{behavior:url(#ieooui) }
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:普通表格;
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
Read chip id =
ec76
Nand flash status
= c0
Set boot params =
root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
Uncompressing
Linux......................................................................................
done, booting the kernel.
Linux version 2.6.32.2
(arm@arm-desktop) (gcc version 3.4.4) #1 Fri Jan 29 17:41:45 CST 2010
CPU: ARM920T
[41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data
cache, VIVT instruction cache
Machine: SMDK2410
ATAG_INITRD is
deprecated; please update your bootloader.
Memory policy: ECC
disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2410: core 200.000 MHz, memory 100.000 MHz,
peripheral 50.000 MHz
CLOCK: Slow mode
(1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists
in Zone order, mobility grouping on.
Total pages: 16256
Kernel command
line: root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
PID hash table
entries: 256 (order: -2, 1024 bytes)
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: 62084KB
available (2416K code, 259K data, 112K init, 0K highmem)
Hierarchical RCU
implementation.
NR_IRQS:85
irq: clearing
subpending status 00000093
irq: clearing
subpending status 00000092
Console: colour
dummy device 80x30
console [ttySAC0]
enabled
Calibrating delay
loop... 99.53 BogoMIPS (lpj=248832)
Mount-cache hash
table entries: 512
CPU: Testing write
buffer coherency: ok
S3C Power Management, Copyright 2004 Simtec
Electronics
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec
Electronics
DMA channel 0 at
c4808000, irq 33
DMA channel 1 at
c4808040, irq 34
DMA channel 2 at
c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
bio: create slab
at 0
SCSI subsystem
initialized
usbcore:
registered new interface driver usbfs
usbcore:
registered new interface driver hub
usbcore: registered
new device driver usb
NetWinder Floating
Point Emulator V0.97 (extended precision)
yaffs Jan 29 2010
17:35:59 Installing.
JFFS2 version 2.2.
(NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007
Red Hat, Inc.
msgmni has been
set to 121
io scheduler noop
registered
io scheduler
anticipatory registered (default)
io scheduler
deadline registered
io scheduler cfq
registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S3C24XX NAND Driver, (c) 2004 Simtec
Electronics
s3c24xx-nand s3c2410-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2
20ns
s3c24xx-nand s3c2410-nand: NAND ECC disabled
NAND device:
Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE
selected by board driver. This is not recommended !!
Scanning device
for bad blocks
Creating 4 MTD
partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000030000
: "boot"
0x000000030000-0x000000200000
: "kernel"
0x000000200000-0x000002000000
: "rootfs"
0x000002000000-0x000004000000
: "ext-fs3"
usbmon: debugfs is
not available
ohci_hcd: USB 1.1
'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus
number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1:
configuration #1 chosen from 1 choice
hub 1-0:1.0: USB
hub found
hub 1-0:1.0: 2
ports detected
usbcore:
registered new interface driver libusual
usbcore:
registered new interface driver usbserial
USB Serial support
registered for generic
usbcore:
registered new interface driver usbserial_generic
usbserial: USB
Serial Driver core
USB Serial support
registered for FTDI USB Serial Device
usbcore:
registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB
FTDI Serial Converters Driver
USB Serial support
registered for pl2303
usbcore:
registered new interface driver pl2303
pl2303: Prolific
PL2303 USB to serial adaptor driver
mice: PS/2 mouse
device common for all mice
VFS: Mounted root
(cramfs filesystem) readonly on device 31:2.
Freeing init
memory: 112K
Kernel panic - not
syncing: Attempted to kill init!
Backtrace:
[]
(dump_backtrace+0x0/0x104) from [0028c70>] (dump_stack+0x18/0x1c)
r7:c381bef0 r6:c029bf4c r5:c3815cc0 r4:c381a000
[0028c58>] (dump_stack+0x0/0x1c) from [004605c>] (panic+0x40/0x11c)
[004601c>] (panic+0x0/0x11c) from [] (do_exit+0x23c/0x59c)
r3:c028980c r2:c3815cc0 r1:c3815cc0 r0:c0242918
[]
(do_exit+0x0/0x59c) from
[] (do_group_exit+0xb4/0xbc)
[0048c4c>] (do_group_exit+0x0/0xbc) from [00527f0>] (get_signal_to_deliver+0x33c/0x374)
r4:00000004
[]
(get_signal_to_deliver+0x0/0x374) from []
(do_notify_resume+0x84/0x5a0)
[002779c>] (do_notify_resume+0x0/0x5a0) from [0024f08>] (work_pending+0x1c/0x20)

  Normal
  0
  
  7.8 磅
  0
  2
  
  false
  false
  false
  
   
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4



st1\:*{behavior:url(#ieooui) }
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:普通表格;
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
Read chip id =
ec76
Nand flash status
= c0
Set boot params =
root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
Uncompressing
Linux......................................................................................
done, booting the kernel.
Linux version 2.6.32.2
(arm@arm-desktop) (gcc version 3.4.4) #1 Fri Jan 29 17:41:45 CST 2010
CPU: ARM920T
[41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data
cache, VIVT instruction cache
Machine: SMDK2410
ATAG_INITRD is
deprecated; please update your bootloader.
Memory policy: ECC
disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2410: core 200.000 MHz, memory 100.000 MHz,
peripheral 50.000 MHz
CLOCK: Slow mode
(1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists
in Zone order, mobility grouping on.
Total pages: 16256
Kernel command
line: root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
PID hash table
entries: 256 (order: -2, 1024 bytes)
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: 62084KB
available (2416K code, 259K data, 112K init, 0K highmem)
Hierarchical RCU
implementation.
NR_IRQS:85
irq: clearing
subpending status 00000093
irq: clearing
subpending status 00000092
Console: colour
dummy device 80x30
console [ttySAC0]
enabled
Calibrating delay
loop... 99.53 BogoMIPS (lpj=248832)
Mount-cache hash
table entries: 512
CPU: Testing write
buffer coherency: ok
S3C Power Management, Copyright 2004 Simtec
Electronics
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec
Electronics
DMA channel 0 at
c4808000, irq 33
DMA channel 1 at
c4808040, irq 34
DMA channel 2 at
c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
bio: create slab
at 0
SCSI subsystem
initialized
usbcore:
registered new interface driver usbfs
usbcore:
registered new interface driver hub
usbcore: registered
new device driver usb
NetWinder Floating
Point Emulator V0.97 (extended precision)
yaffs Jan 29 2010
17:35:59 Installing.
JFFS2 version 2.2.
(NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007
Red Hat, Inc.
msgmni has been
set to 121
io scheduler noop
registered
io scheduler
anticipatory registered (default)
io scheduler
deadline registered
io scheduler cfq
registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S3C24XX NAND Driver, (c) 2004 Simtec
Electronics
s3c24xx-nand s3c2410-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2
20ns
s3c24xx-nand s3c2410-nand: NAND ECC disabled
NAND device:
Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE
selected by board driver. This is not recommended !!
Scanning device
for bad blocks
Creating 4 MTD
partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000030000
: "boot"
0x000000030000-0x000000200000
: "kernel"
0x000000200000-0x000002000000
: "rootfs"
0x000002000000-0x000004000000
: "ext-fs3"
usbmon: debugfs is
not available
ohci_hcd: USB 1.1
'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus
number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1:
configuration #1 chosen from 1 choice
hub 1-0:1.0: USB
hub found
hub 1-0:1.0: 2
ports detected
usbcore:
registered new interface driver libusual
usbcore:
registered new interface driver usbserial
USB Serial support
registered for generic
usbcore:
registered new interface driver usbserial_generic
usbserial: USB
Serial Driver core
USB Serial support
registered for FTDI USB Serial Device
usbcore:
registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB
FTDI Serial Converters Driver
USB Serial support
registered for pl2303
usbcore:
registered new interface driver pl2303
pl2303: Prolific
PL2303 USB to serial adaptor driver
mice: PS/2 mouse
device common for all mice
VFS: Mounted root
(cramfs filesystem) readonly on device 31:2.
Freeing init
memory: 112K
Kernel panic - not
syncing: Attempted to kill init!
Backtrace:
[]
(dump_backtrace+0x0/0x104) from [0028c70>] (dump_stack+0x18/0x1c)
r7:c381bef0 r6:c029bf4c r5:c3815cc0 r4:c381a000
[0028c58>] (dump_stack+0x0/0x1c) from [004605c>] (panic+0x40/0x11c)
[004601c>] (panic+0x0/0x11c) from [] (do_exit+0x23c/0x59c)
r3:c028980c r2:c3815cc0 r1:c3815cc0 r0:c0242918
[]
(do_exit+0x0/0x59c) from
[] (do_group_exit+0xb4/0xbc)
[0048c4c>] (do_group_exit+0x0/0xbc) from [00527f0>] (get_signal_to_deliver+0x33c/0x374)
r4:00000004
[]
(get_signal_to_deliver+0x0/0x374) from []
(do_notify_resume+0x84/0x5a0)
[002779c>] (do_notify_resume+0x0/0x5a0) from [0024f08>] (work_pending+0x1c/0x20)
从这里:

  Normal
  0
  
  7.8 磅
  0
  2
  
  false
  false
  false
  
   
   
   
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4



st1\:*{behavior:url(#ieooui) }
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:普通表格;
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
Read chip id =
ec76
Nand flash status
= c0
Set boot params =
root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
Uncompressing
Linux......................................................................................
done, booting the kernel.
Linux version 2.6.32.2
(arm@arm-desktop) (gcc version 3.4.4) #1 Fri Jan 29 17:41:45 CST 2010
CPU: ARM920T
[41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data
cache, VIVT instruction cache
Machine: SMDK2410
ATAG_INITRD is
deprecated; please update your bootloader.
Memory policy: ECC
disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2410: core 200.000 MHz, memory 100.000 MHz,
peripheral 50.000 MHz
CLOCK: Slow mode
(1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists
in Zone order, mobility grouping on.
Total pages: 16256
Kernel command
line: root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttySAC0,115200
devfs=mount display=sam320
PID hash table
entries: 256 (order: -2, 1024 bytes)
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: 62084KB
available (2416K code, 259K data, 112K init, 0K highmem)
Hierarchical RCU
implementation.
NR_IRQS:85
irq: clearing
subpending status 00000093
irq: clearing
subpending status 00000092
Console: colour
dummy device 80x30
console [ttySAC0]
enabled
Calibrating delay
loop... 99.53 BogoMIPS (lpj=248832)
Mount-cache hash
table entries: 512
CPU: Testing write
buffer coherency: ok
S3C Power Management, Copyright 2004 Simtec
Electronics
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec
Electronics
DMA channel 0 at
c4808000, irq 33
DMA channel 1 at
c4808040, irq 34
DMA channel 2 at
c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
bio: create slab
at 0
SCSI subsystem
initialized
usbcore:
registered new interface driver usbfs
usbcore:
registered new interface driver hub
usbcore: registered
new device driver usb
NetWinder Floating
Point Emulator V0.97 (extended precision)
yaffs Jan 29 2010
17:35:59 Installing.
JFFS2 version 2.2.
(NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007
Red Hat, Inc.
msgmni has been
set to 121
io scheduler noop
registered
io scheduler
anticipatory registered (default)
io scheduler
deadline registered
io scheduler cfq
registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S3C24XX NAND Driver, (c) 2004 Simtec
Electronics
s3c24xx-nand s3c2410-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2
20ns
s3c24xx-nand s3c2410-nand: NAND ECC disabled
NAND device:
Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE
selected by board driver. This is not recommended !!
Scanning device
for bad blocks
Creating 4 MTD
partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000030000
: "boot"
0x000000030000-0x000000200000
: "kernel"
0x000000200000-0x000002000000
: "rootfs"
0x000002000000-0x000004000000
: "ext-fs3"
usbmon: debugfs is
not available
ohci_hcd: USB 1.1
'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus
number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1:
configuration #1 chosen from 1 choice
hub 1-0:1.0: USB
hub found
hub 1-0:1.0: 2
ports detected
usbcore:
registered new interface driver libusual
usbcore:
registered new interface driver usbserial
USB Serial support
registered for generic
usbcore:
registered new interface driver usbserial_generic
usbserial: USB
Serial Driver core
USB Serial support
registered for FTDI USB Serial Device
usbcore:
registered new interface driver ftdi_sio
ftdi_sio: v1.5.0:USB
FTDI Serial Converters Driver
USB Serial support
registered for pl2303
usbcore:
registered new interface driver pl2303
pl2303: Prolific
PL2303 USB to serial adaptor driver
mice: PS/2 mouse
device common for all mice
VFS: Mounted root
(cramfs filesystem) readonly on device 31:2.
Freeing init
memory: 112K
Kernel panic - not
syncing: Attempted to kill init!
Backtrace:
[]
(dump_backtrace+0x0/0x104) from [0028c70>] (dump_stack+0x18/0x1c)
r7:c381bef0 r6:c029bf4c r5:c3815cc0 r4:c381a000
[0028c58>] (dump_stack+0x0/0x1c) from [004605c>] (panic+0x40/0x11c)
[004601c>] (panic+0x0/0x11c) from [] (do_exit+0x23c/0x59c)
r3:c028980c r2:c3815cc0 r1:c3815cc0 r0:c0242918
[]
(do_exit+0x0/0x59c) from
[] (do_group_exit+0xb4/0xbc)
[0048c4c>] (do_group_exit+0x0/0xbc) from [00527f0>] (get_signal_to_deliver+0x33c/0x374)
r4:00000004
[]
(get_signal_to_deliver+0x0/0x374) from []
(do_notify_resume+0x84/0x5a0)
[002779c>] (do_notify_resume+0x0/0x5a0) from [0024f08>] (work_pending+0x1c/0x20)
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103742/showart_2164420.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP