有时候我必须选择一个人过冬 习惯在冰天雪地里追梦

kernel 2.6.25 is running on my ARM9 development board now

上一篇 / 下一篇  2008-09-07 15:26:48 / 个人分类:工作

I have to say that because the S3C2410 ARM9 core has MMU,porting the linux kernel to it is very easy.

All thought the official kernel sources allready includes the ARM9 arch support,what I need to do is only redefineing the NAND flash partitions,disabling the NAND_ECC function,then,using the smdk2410.config to 'make menuconfig',and 'make'.

Little tips about the develop board:When you in linux,using WINE to run mytftp.exe of windows is very useful in transfering the image file to the develop board by net,and the speed is very fast,you don't need the minicom to transfer,that is very slow and quite unstable.

Here is the dmesg:


Linux version 2.6.25.2 (root@llc) (gcc version 3.4.1) #15 PREEMPT Sun Sep 7 03:53:15 PDT 2008  
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177  
Machine: SMDK2410  
ATAG_INITRD is deprecated; please update your bootloader.  
Memory policy: ECC disabled, Data cache writeback  
CPU S3C2410A (id 0x32410002)  
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz  
S3C24XX Clocks, (c) 2004 Simtec Electronics  
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on  
CPU0: D VIVT write-back cache  
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets  
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets  
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256  
Kernel command line: root=31:3 init=/linuxrc console=ttySAC0  
irq: clearing subpending status 00000003  
irq: clearing subpending status 00000002  
PID hash table entries: 256 (order: 8, 1024 bytes)  
timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8  
Console: colour dummy device 80x30  
console [ttySAC0] enabled  
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: 62116KB available (2404K code, 252K data, 100K init)  
Mount-cache hash table entries: 512  
CPU: Testing write buffer coherency: ok  
net_namespace: 152 bytes  
NET: Registered protocol family 16  
S3C2410: Initialising architecture  
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics  
DMA channel 0 at c4800000, irq 33  
DMA channel 1 at c4800040, irq 34  
DMA channel 2 at c4800080, irq 35  
DMA channel 3 at c48000c0, irq 36  
SCSI subsystem initialized  
usbcore: registered new interface driver usbfs  
usbcore: registered new interface driver hub  
usbcore: registered new device driver usb  
NET: Registered protocol family 2  
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)  
TCP established hash table entries: 2048 (order: 2, 16384 bytes)  
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)  
TCP: Hash tables configured (established 2048 bind 2048)  
TCP reno registered  
NetWinder Floating Point Emulator V0.97 (double precision)  
io scheduler noop registered  
io scheduler deadline registered (default)  
s3c2410-lcd s3c2410-lcd: no platform. data for lcd, cannot attach  
s3c2410-lcd: probe of s3c2410-lcd failed with error -22  
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  
nbd: registered device at major 43  
Uniform. Multi-Platform. E-IDE driver  
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx  
Driver 'sd' needs updating - please use bus_type methods  
S3C24XX NAND Driver, (c) 2004 Simtec Electronics  
s3c2410-nand s3c2410-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns  
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 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":  
0x00000000-0x00020000 : "vivi"  
0x00020000-0x00030000 : "param"  
0x00030000-0x00200000 : "kernel"  
0x00200000-0x00600000 : "root"  
0x01f00000-0x03c00000 : "usr"  
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  
Initializing USB Mass Storage driver...  
usbcore: registered new interface driver usb-storage  
USB Mass Storage support registered.  
mice: PS/2 mouse device common for all mice  
S3C24XX RTC, (c) 2004,2006 Simtec Electronics  
i2c /dev entries driver  
s3c2410-i2c s3c2410-i2c: slave address 0x10  
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz  
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter  
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics  
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled  
usbcore: registered new interface driver usbhid  
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver  
TCP cubic registered  
NET: Registered protocol family 1  
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)  
VFS: Mounted root (cramfs filesystem) readonly.  
Freeing init memory: 100K
mount /etc as ramfs
re-create the /etc/mtab entries
insmod: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

mount: Mounting /dev/mtdblock/4 on /usr failed: No such device
insmod: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

insmod: QM_MODULES: Function not implemented

console=/dev/console
init started: BusyBox v0.60.3 (2002.05.13-08:36+0000) multi-call binary
Starting pid 540, console /dev/console: '/etc/init.d/rcS'
mount: Mounting none on /dev/pts failed: No such file or directory
mount: Mounting tmpfs on /dev/shm failed: No such file or directory
exec: /usr/etc/rc.local: No such file or directory
Waiting for enter to start '/bin/sh' (pid 543, terminal /dev/console)

Please press Enter to activate this console.
Starting pid 543, console /dev/console: '/bin/sh'


BusyBox v0.60.3 (2002.05.13-08:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#





相关阅读:

TAG: ARM9 S3C2410

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-12-03  
 123456
78910111213
14151617181920
21222324252627
28293031   

数据统计

  • 访问量: 28546
  • 日志数: 189
  • 图片数: 24
  • 文件数: 6
  • 书签数: 4
  • 建立时间: 2006-04-20
  • 更新时间: 2008-11-30

RSS订阅

Open Toolbar