• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 今日成功移植2.6.28到QQ2440 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 4545
精华: 3
发帖: 88
金钱: 810 两
威望: 614 点
综合积分: 236 分
注册时间: 2009-03-19
最后登录: 2020-06-17
楼主  发表于: 2009-04-02 17:34

 今日成功移植2.6.28到QQ2440

先贴启动打印信息
复制代码
  1. Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
  2. zImage magic = 0x016f2818
  3. Setup linux parameters at 0x30000100
  4. linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
  5. MACH_TYPE = 362
  6. NOW, Booting Linux......
  7. Uncompressing Linux..................................................................................................... done, booting the kernel.
  8. Linux version 2.6.28 (root@Eadith) (gcc version 3.4.1) #24 Thu Apr 2 16:21:51 CST 2009
  9. CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
  10. CPU: VIVT data cache, VIVT instruction cache
  11. Machine: SMDK2440
  12. ATAG_INITRD is deprecated; please update your bootloader.
  13. Memory policy: ECC disabled, Data cache writeback
  14. CPU S3C2440A (id 0x32440001)
  15. S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
  16. S3C24XX Clocks, (c) 2004 Simtec Electronics
  17. CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
  18. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
  19. Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
  20. irq: clearing pending ext status 00000200
  21. irq: clearing subpending status 00000003
  22. irq: clearing subpending status 00000002
  23. PID hash table entries: 256 (order: 8, 1024 bytes)
  24. timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
  25. Console: colour dummy device 80x30
  26. console [ttySAC0] enabled
  27. Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  28. Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  29. Memory: 64MB = 64MB total
  30. Memory: 61572KB available (2872K code, 280K data, 120K init)
  31. Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
  32. Mount-cache hash table entries: 512
  33. CPU: Testing write buffer coherency: ok
  34. net_namespace: 484 bytes
  35. NET: Registered protocol family 16
  36. S3C2440: Initialising architecture
  37. S3C2440: IRQ Support
  38. S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
  39. DMA channel 0 at c4808000, irq 33
  40. DMA channel 1 at c4808040, irq 34
  41. DMA channel 2 at c4808080, irq 35
  42. DMA channel 3 at c48080c0, irq 36
  43. S3C244X: Clock Support, DVS off
  44. SCSI subsystem initialized
  45. usbcore: registered new interface driver usbfs
  46. usbcore: registered new interface driver hub
  47. usbcore: registered new device driver usb
  48. NET: Registered protocol family 2
  49. IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
  50. TCP established hash table entries: 2048 (order: 2, 16384 bytes)
  51. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  52. TCP: Hash tables configured (established 2048 bind 2048)
  53. TCP reno registered
  54. NET: Registered protocol family 1
  55. NetWinder Floating Point Emulator V0.97 (extended precision)
  56. audit: initializing netlink socket (disabled)
  57. type=2000 audit(0.355:1): initialized
  58. yaffs Apr  2 2009 14:53:30 Installing.
  59. msgmni has been set to 120
  60. io scheduler noop registered
  61. io scheduler anticipatory registered (default)
  62. io scheduler deadline registered
  63. io scheduler cfq registered
  64. Console: switching to colour frame buffer device 30x20
  65. fb0: s3c2410fb frame buffer device
  66. Serial: 8250/16550 driver4 ports, IRQ sharing enabled
  67. s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
  68. s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
  69. s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
  70. loop: module loaded
  71. [cs89x0_probe] S3C2410_BWSCON = 2211d112
  72. [cs89x0_probe] S3C2410_BANKCON3 = 1f7c
  73. [cs89x0_probe] S3C2410_GPGCON = fd95ffba
  74. [cs89x0_probe] S3C2410_EXTINT1 = 22222242
  75. [cs89x0_probe] S3C2410_EINTMASK = fffdf0
  76. [cs89x0_probe] MAC ADDR: 0-0-c0-ff-ee-8
  77. cs89x0:cs89x0_probe(0x0)
  78. cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton
  79. eth0: cs8900 rev K found at 0xf8000300
  80. cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
  81. cs89x0 media RJ-45, IRQ 53, programmed I/O, MAC 00:00:c0:ff:ee:08
  82. cs89x0_probe1() successful
  83. [cs89x0_probe] S3C2410_BWSCON = 2211d112
  84. [cs89x0_probe] S3C2410_BANKCON3 = 1f7c
  85. [cs89x0_probe] S3C2410_GPGCON = fd95ffba
  86. [cs89x0_probe] S3C2410_EXTINT1 = 22222242
  87. [cs89x0_probe] S3C2410_EINTMASK = fffdf0
  88. [cs89x0_probe] MAC ADDR: 0-0-c0-ff-ee-8
  89. cs89x0:cs89x0_probe(0x0)
  90. cs89x0: request_region(0xf8000300, 0x10) failed
  91. cs89x0: no cs8900 or cs8920 detected.  Be sure to disable PnP with SETUP
  92. Linux video capture interface: v2.00
  93. gspca: main v2.3.0 registered
  94. usbcore: registered new interface driver zc3xx
  95. zc3xx: registered
  96. Driver 'sd' needs updating - please use bus_type methods
  97. S3C24XX NAND Driver, (c) 2004 Simtec Electronics
  98. s3c2440-nand s3c2440-nand: Tacls=1, 9ns Twrph0=4 39ns, Twrph1=1 9ns
  99. NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
  100. NAND_ECC_NONE selected by board driver. This is not recommended !!
  101. Scanning device for bad blocks
  102. Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
  103. 0x00000000-0x00030000 : "bootloader"
  104. 0x00050000-0x00250000 : "kernel"
  105. 0x00250000-0x01e00000 : "root"
  106. 0x01e00000-0x03ffc000 : "local"
  107. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  108. s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
  109. s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
  110. s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
  111. usb usb1: configuration #1 chosen from 1 choice
  112. hub 1-0:1.0: USB hub found
  113. hub 1-0:1.0: 2 ports detected
  114. Initializing USB Mass Storage driver...
  115. usbcore: registered new interface driver usb-storage
  116. USB Mass Storage support registered.
  117. mice: PS/2 mouse device common for all mice
  118. s3c2410 TouchScreen successfully loaded
  119. input: s3c2410 TouchScreen as /class/input/input0
  120. S3C24XX RTC, (c) 2004,2006 Simtec Electronics
  121. s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
  122. s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
  123. i2c /dev entries driver
  124. s3c2440-i2c s3c2440-i2c: slave address 0x10
  125. s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
  126. s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
  127. mapped channel 0 to 0
  128. s3c2440-sdi s3c2440-sdi: powered down.
  129. s3c2440-sdi s3c2440-sdi: initialisation done.
  130. usbcore: registered new interface driver usbhid
  131. usbhid: v2.6:USB HID core driver
  132. TCP cubic registered
  133. NET: Registered protocol family 17
  134. s3c2410-rtc s3c2410-rtc: setting system clock to 2009-04-02 17:31:45 UTC (1238693505)
  135. VFS: Mounted root (cramfs filesystem) readonly.
  136. Freeing init memory: 120K
  137. yaffs: dev is 32505859 name is "mtdblock3"
  138. yaffs: passed flags ""
  139. yaffs: Attempting MTD mount on 31.3, "mtdblock3"
  140. yaffs_read_super: isCheckpointed 0
  141. ------Starting networking-----
  142. eth0: using half-duplex 10Base-T (RJ-45)
  143. Please press Enter to activate this console. [root@RctArm]/#
  144. [root@RctArm]/# ping google.cn
  145. PING google.cn (203.208.37.104): 56 data bytes
  146. 64 bytes from 203.208.37.104: seq=0 ttl=244 time=98.151 ms
  147. 64 bytes from 203.208.37.104: seq=1 ttl=245 time=99.170 ms
  148. 64 bytes from 203.208.37.104: seq=2 ttl=245 time=108.463 ms
  149. 64 bytes from 203.208.37.104: seq=3 ttl=245 time=98.929 ms
  150. ^C
  151. --- google.cn ping statistics ---
  152. 4 packets transmitted, 4 packets received, 0% packet loss
  153. round-trip min/avg/max = 98.151/101.178/108.463 ms
  154. [root@RctArm]/# ts_calibrate
  155. xres = 240, yres = 320
  156. Took 15 samples...
  157. Top left : X = 1160 Y = 3159
  158. Took 15 samples...
  159. Top right : X = 2926 Y = 3160
  160. Took 11 samples...
  161. Bot right : X = 2939 Y =  881
  162. Took 19 samples...
  163. Bot left : X = 1144 Y =  906
  164. Took 14 samples...
  165. Center : X = 2038 Y = 2019
  166. -40.401978 0.078624 -0.000050
  167. 357.938660 -0.000659 -0.097083
  168. Calibration constants: -2647784 5152 -3 23457868 -43 -6362 65536
  169. [root@RctArm]/# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
  170. usb 1-1: configuration #1 chosen from 1 choice
  171. gspca: probing 0ac8:301b
  172. zc3xx: probe 2wr ov vga 0x0000
  173. zc3xx: probe sensor -> 11
  174. zc3xx: Find Sensor HV7131R(c)
  175. gspca: probe ok


支持驱动:
LCD(NEC3.5)
USB摄像头
触摸屏
网卡(CS8900)
RTC
U盘热插拔
YAFFS2(官方最新版)
SD卡热插拔 (昨日未带SD卡,今日测试已经支持,相信打印信息请看5楼)

还未完成:
音频驱动
……

根文件系统由 busybox 1.13.3 制作

待整理完成再发布补丁
[ 此帖被长风在2009-04-03 09:02重新编辑 ]
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
1楼  发表于: 2009-04-02 17:55
不错
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
2楼  发表于: 2009-04-02 17:56
可否提供cs8900驱动
级别: 侠客
UID: 4545
精华: 3
发帖: 88
金钱: 810 两
威望: 614 点
综合积分: 236 分
注册时间: 2009-03-19
最后登录: 2020-06-17
3楼  发表于: 2009-04-02 18:00

 回 2楼(26672624) 的帖子

呀,代码都在公司机器里,留下邮箱地址,明天发给你
这个阶段正是我事业的上升期,我怎么能走得开呢?
级别: 精灵王
UID: 3197
精华: 3
发帖: 770
金钱: 6995 两
威望: 5398 点
综合积分: 1600 分
注册时间: 2008-12-30
最后登录: 2010-12-31
4楼  发表于: 2009-04-02 18:09
级别: 侠客
UID: 4545
精华: 3
发帖: 88
金钱: 810 两
威望: 614 点
综合积分: 236 分
注册时间: 2009-03-19
最后登录: 2020-06-17
5楼  发表于: 2009-04-03 08:58
热插拔SD卡调试打印信息
复制代码
  1.  [root@RctArm]/# s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
  2. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  3. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  4. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  5. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #239 op:8 arg:0x000001aa flags:0x082f5 retries:0 Status:nothing to complete
  6. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #240 op:5 arg:0x00000000 flags:0x082e1 retries:3 Status:nothing to complete
  7. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #241 op:5 arg:0x00000000 flags:0x082e1 retries:2 Status:nothing to complete
  8. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #242 op:5 arg:0x00000000 flags:0x082e1 retries:1 Status:nothing to complete
  9. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #243 op:5 arg:0x00000000 flags:0x082e1 retries:0 Status:nothing to complete
  10. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  11. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  12. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  13. s3c2440-sdi s3c2440-sdi: CMD[ERR -110] #247 op:8 arg:0x000001aa flags:0x082f5 retries:0 Status:nothing to complete
  14. s3c2440-sdi s3c2440-sdi: running at 198kHz (requested: 197kHz).
  15. s3c2440-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
  16. s3c2440-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
  17. mmc0: new SD card at address b368
  18. mmcblk0: mmc0:b368 SD    952 MiB
  19.  mmcblk0:<7>mmc0: starting CMD18 arg 00000000 flags 000000b5
  20.  p1
  21. [root@RctArm]/# mount /dev/mmcblk0p1 /mnt/mmc/
  22. [root@RctArm]/# mount
  23. rootfs on / type rootfs (rw)
  24. /dev/root on / type cramfs (ro)
  25. none on /proc type proc (rw)
  26. mdev on /dev type tmpfs (rw)
  27. none on /sys type sysfs (rw)
  28. /dev/mtdblock3 on /mnt type yaffs (rw)
  29. /dev/mtdblock3 on /etc type yaffs (rw)
  30. /dev/mtdblock3 on /usr/local type yaffs (rw)
  31. /dev/mmcblk0p1 on /mnt/mmc type vfat (rw,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
6楼  发表于: 2009-04-08 09:40
能介绍下过程吗?我移植yaffs2系统已经头大了
级别: 新手上路
UID: 3819
精华: 0
发帖: 32
金钱: 295 两
威望: 275 点
综合积分: 64 分
注册时间: 2009-02-11
最后登录: 2010-02-05
7楼  发表于: 2009-04-08 09:42
我的2.6.28打了patch.sh补丁后,menuconfig的enable yaffs2 system那个选项出现在根目录下,我记得以前别的内核都在filesystem的m。。。里,然后make uImage就出现错误,说什么没定义之类的
级别: 侠客
UID: 4545
精华: 3
发帖: 88
金钱: 810 两
威望: 614 点
综合积分: 236 分
注册时间: 2009-03-19
最后登录: 2020-06-17
8楼  发表于: 2009-04-08 14:07

 回 7楼(lsw0136) 的帖子

哦?你打的补丁是哪儿下的?现在官方发布2.6.29内核了,用官方内核吧
2.6.28我就不发补丁了
级别: 新手上路
UID: 4048
精华: 0
发帖: 5
金钱: 45 两
威望: 41 点
综合积分: 10 分
注册时间: 2009-02-22
最后登录: 2010-03-07
9楼  发表于: 2009-04-09 16:38
楼主你好啊  我现在也在学习这个东西 能不能给我发一份啊  我的邮箱185965479@qq.com
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go