• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : First try to run Linux 2.6.23 on qq2440 复制链接 | 浏览器收藏 | 打印
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
楼主  发表于: 2008-01-28 23:12

 First try to run Linux 2.6.23 on qq2440

管理提醒: 本帖被 qq2440 执行置顶操作(2009-12-07)
It is my first try to run Linux 2.6.23 on qq2440 V3, boot log here:

Lesson No1: iotable_init() use pfn instead of physcal address
Lesson No2:  cannot use  s3c2410 HW   ECC with the original yaffs format rootfs image, kernel 2.6.13 use yaffs to do its own ECC, NO ECC is used for s3c2410 NAND flash driver
Lesson No3: It seemes there's no way to transfer image to supervivi via USB on Linux develop host :(

Supervivi> boot
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
MACH_TYPE = 782
NOW, Booting Linux......
Uncompressing Linux.................................................................................................................... done, booting the ke.
Linux version 2.6.23.1-moko11 (alex@alex-desktop) (gcc version 4.1.2) #1 PREEMPT Fri Jan 18 14:46:56 CST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: Friendly-ARM QQ2440 Development Board
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
MM: CPU does not support supersection mapping for 0x19000000000 at 0xe0800000
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 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.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000007
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
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: 61184KB available (3096K code, 265K data, 368K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
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
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)
JFFS2 version 2.2. (NAND) (SUMMARY) 
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-01-28 23:14
io scheduler noop registered
io scheduler deadline registered (default)
s3c2410-lcd s3c2410-lcd: invalid bpp 16
Console: switching to colour frame buffer device 40x29
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=1, 9ns Twrph0=4 39ns, Twrph1=1 9ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
s3c2410_nand_update_chip: chip c0578ab8: 9
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00030000 : "bootloader"
0x00050000-0x00250000 : "kernel"
0x00250000-0x03ffc000 : "root"
s3c2440-nand s3c2440-nand: clock idle support enabled
jbt_init: entering
usbmon: debugfs is not available
usbcore: registered new interface driver libusual
s3c2410_udc: debugfs dir creation failed -19
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
ether gadget: using random self ethernet address
ether gadget: using random host ethernet address
usb0: Ethernet Gadget, version: May Day 2005
usb0: using s3c2410_udc, OUT ep2-bulk IN ep1-bulk STATUS ep3-bulk
usb0: MAC 6e:19:69:95:16:8c
usb0: HOST MAC d6:1f:dd:42:27:63
usb0: RNDIS ready
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /devices/virtual/input/input0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
pcf50606_attach_adapter: entering, calling i2c_probe
pcf50633_attach_adapter: entering, calling i2c_probe
Advanced Linux Sound Architecture Driver Version 1.0.14 (Fri Jul 20 09:12:58 2007 UTC).
ASoC version 0.13.1
Only GTA01 hardware supported by ASoc driver
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 1
Bridge firewalling registered
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
end_request: I/O error, dev mtdblock2, sector 0
Buffer I/O error on device mtdblock2, logical block 0
end_request: I/O error, dev mtdblock2, sector 0
Buffer I/O error on device mtdblock2, logical block 0
end_request: I/O error, dev mtdblock2, sector 8
Buffer I/O error on device mtdblock2, logical block 1
end_request: I/O error, dev mtdblock2, sector 8
Buffer I/O error on device mtdblock2, logical block 1
end_request: I/O error, dev mtdblock2, sector 16
Buffer I/O error on device mtdblock2, logical block 2
end_request: I/O error, dev mtdblock2, sector 16
Buffer I/O error on device mtdblock2, logical block 2
end_request: I/O error, dev mtdblock2, sector 24
Buffer I/O error on device mtdblock2, logical block 3
end_request: I/O error, dev mtdblock2, sector 24
Buffer I/O error on device mtdblock2, logical block 3
end_request: I/O error, dev mtdblock2, sector 0
romfs: unable to read superblock
List of all partitions:
1f00        192 mtdblock0 (driver?)
1f01      2048 mtdblock1 (driver?)
1f02      63152 mtdblock2 (driver?)
No filesystem could mount root, tried:  ext3 cramfs romfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 4684
精华: 0
发帖: 67
金钱: 430 两
威望: 233 点
贡献值: 0 点
综合积分: 134 分
注册时间: 2009-03-25
最后登录: 2012-02-13
2楼  发表于: 2009-03-26 22:15
VFS挂载不上能用NFS来做根文件系统能行么???
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5407
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11054 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2009-03-27 07:38
VFS(Virtual File System,虚拟文件系统)不是具体的某一种文件系统,而是它们的统称,理论上你可以用任何一种内核支持的文件系统类型
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 风云使者
UID: 39598
精华: 0
发帖: 2713
金钱: 84685 两
威望: 16937 点
贡献值: 0 点
综合积分: 5426 分
注册时间: 2011-03-10
最后登录: 2017-07-08
4楼  发表于: 2017-07-06 23:21
楼主,支持!
级别: 风云使者
UID: 133553
精华: 0
发帖: 2691
金钱: 13455 两
威望: 2691 点
贡献值: 0 点
综合积分: 5382 分
注册时间: 2017-07-06
最后登录: 2017-07-08
5楼  发表于: 2017-07-07 03:15
他们说我是BT,让我去做CT,结果我是ET。
级别: 风云使者
UID: 43453
精华: 0
发帖: 2712
金钱: 84640 两
威望: 16928 点
贡献值: 0 点
综合积分: 5424 分
注册时间: 2011-04-17
最后登录: 2017-09-24
6楼  发表于: 2017-07-07 08:38
不要等到人人都说你丑时才发现自己真的丑。
级别: 禁止发言
UID: 133549
精华: 0
发帖: 2701
金钱: 13505 两
威望: 2701 点
贡献值: 0 点
综合积分: 5402 分
注册时间: 2017-07-06
最后登录: 2017-07-08
7楼  发表于: 2017-07-07 12:16
用户被禁言,该主题自动屏蔽!
还是市郊好
级别: 风云使者
UID: 9845
精华: 0
发帖: 2737
金钱: 85200 两
威望: 17040 点
贡献值: 0 点
综合积分: 5474 分
注册时间: 2009-10-15
最后登录: 2018-07-15
8楼  发表于: 2017-07-07 15:31
牛牛牛牛
还是市郊好
级别: 风云使者
UID: 9845
精华: 0
发帖: 2737
金钱: 85200 两
威望: 17040 点
贡献值: 0 点
综合积分: 5474 分
注册时间: 2009-10-15
最后登录: 2018-07-15
9楼  发表于: 2017-07-07 20:04
任何业绩的质变都来自于量变的积累。忠叠
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go