分类: LINUX
2010-01-29 21:05:08
移植linux-2.6.32.2到s3c2410
第一步: 让它跑起来 选用cramfs作为rootfs 编译后:
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
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 S
S
S
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
S
S
S
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 c
bio: create slab
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
s
s
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s
s
s
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S
s
s
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
s
s
s
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: v
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:
[
r7:c381bef0 r6:c029bf
[
[
r3:c
[
[
r4:00000004
[
[
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
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 S
S
S
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
S
S
S
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 c
bio: create slab
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
s
s
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s
s
s
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S
s
s
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
s
s
s
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: v
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:
[
r7:c381bef0 r6:c029bf
[
[
r3:c
[
[
r4:00000004
[
[
从这里:
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
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 S
S
S
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
S
S
S
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 c
bio: create slab
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
s
s
Serial: 8250/16550
driver, 4 ports, IRQ sharing enabled
s
s
s
brd: module loaded
loop: module
loaded
Uniform
Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
S
s
s
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
s
s
s
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: v
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:
[
r7:c381bef0 r6:c029bf
[
[
r3:c
[
[
r4:00000004
[
[