ZephRay 发表于 2012-4-29 07:54:47

自制开源计算器OurCalc——进展贴7 更新视频

本帖最后由 nbzwt 于 2012-4-30 11:19 编辑

2012.4.29 7:51
    昨天晚上一直在编译Qt4.8,我的电脑(Core 2 Duo 1.6GHz+2GB RAM)会编译了2个钟头!今天早上测试,它只丢给我一句:FATAL:kernel too old.一查,我的文件系统用的libc是2.9版本的,要求内核版本2.6.32以上,而我现在测试用系统内核为2.6.30,之前3.3内核linuxrc一直执行不起来,所以就没继续研究。看来问题总是要面对的。现在在移植linux 2.6.39


2012.4.29 9:34
    太激动了,3.3.4内核终于启动成功了(显示出控制台)!现在继续移植驱动

完整启动信息:Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.3.4-nbzwt (root@nbzwt-x61t) (gcc version 4.4.3 (ctng-1.6.1) ) #8 Sun Apr 29 09:32:01 CST 2012
CPU: ARM920T revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 400.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: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0,115200
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: 60212k/60212k available, 5324k reserved, 0K highmem
Virtual kernel memory layout:
    vector: 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem: 0xc0000000 - 0xc4000000   (64 MB)
    modules : 0xbf000000 - 0xc0000000   (16 MB)
      .text : 0xc0008000 - 0xc0427884   (4223 kB)
      .init : 0xc0428000 - 0xc0446000   ( 120 kB)
      .data : 0xc0446000 - 0xc046d5e0   ( 158 kB)
       .bss : 0xc046d604 - 0xc0495a74   ( 162 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:85
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
Console: colour dummy device 80x30
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x30328f38 - 0x30328f90
gpiochip_add: registered GPIOs 0 to 23 on device: GPIOA
gpiochip_add: registered GPIOs 32 to 47 on device: GPIOB
gpiochip_add: registered GPIOs 64 to 79 on device: GPIOC
gpiochip_add: registered GPIOs 96 to 111 on device: GPIOD
gpiochip_add: registered GPIOs 128 to 143 on device: GPIOE
gpiochip_add: registered GPIOs 160 to 167 on device: GPIOF
gpiochip_add: registered GPIOs 192 to 207 on device: GPIOG
gpiochip_add: registered GPIOs 224 to 234 on device: GPIOH
gpiochip_add: registered GPIOs 256 to 271 on device: GPIOJ
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 117
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
console enabled
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns
s3c24xx-nand s3c2440-nand: NAND ECC disabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended!
Scanning device for bad blocks
Bad eraseblock 1111 at 0x000008ae0000
Bad eraseblock 1274 at 0x000009f40000
Bad eraseblock 1361 at 0x00000aa20000
Bad eraseblock 1988 at 0x00000f880000
Creating 3 MTD partitions on "NAND":
0x000000000000-0x000000040000 : "UBoot"
0x000000200000-0x000000500000 : "Kernel"
0x000000500000-0x000010000000 : "Yaffs2"
dm9000 Ethernet Driver, V1.31
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
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.6.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
mousedev: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 120K
hwclock: can't open '/dev/misc/rtc': No such file or directory
input_polldev: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/input-polldev.ko': invalid module format
/bin/qt4: line 32: syntax error: unexpected "else"
mac80211: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/mac80211.ko': invalid module format
rt2x00lib: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/rt2x00lib.ko': invalid module format
rt2x00usb: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/rt2x00usb.ko': invalid module format
rt73usb: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/rt73usb.ko': invalid module format
zd1211rw: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/zd1211rw.ko': invalid module format
ov9650: version magic '2.6.30.4-EmbedSky mod_unload ARMv4 ' should be '3.3.4-nbzwt mod_unload ARMv4 p2v8 '
insmod: can't insert '/lib/ov9650.ko': invalid module format
ifconfig: SIOCGIFFLAGS: No such device
open device leds: No such file or directory
ifconfig: SIOCSIFHWADDR: No such device
ifconfig: SIOCSIFADDR: No such device
route: SIOCADDRT: Network is unreachable
boa: server version Boa/0.94.13
boa: server built Jul 29 2009 at 14:27:34.
boa: starting server pid=1018, port 80

Please press Enter to activate this console.
# 2012.4.30 10:39
QT4演示视频正在上传

2012.4.30 11:17
http://player.youku.com/player.php/sid/XMzg5MDg4NTgw/v.swf

tian 发表于 2012-4-29 08:42:31

加油

零下一度 发表于 2012-4-29 10:24:30

加油

diameter 发表于 2012-4-29 17:19:34

加油!

936854586 发表于 2012-4-29 18:41:07

给个开机界面好不好?

936854586 发表于 2012-4-29 18:41:35

加油!

cfanzfr 发表于 2012-4-29 19:26:26

不错,激动人心!

月与映之皮丘 发表于 2012-4-29 20:09:47

求开机界面……

diameter 发表于 2012-4-29 22:07:05

求整机图片

cs538138 发表于 2012-4-30 16:27:27

干巴爹!!!!!!!j_0003.gif

936854586 发表于 2012-4-30 18:19:44

LS??

diameter 发表于 2012-4-30 18:27:29

11# 936854586
lss的意思其实就是がんばって(加油)...
页: [1]
查看完整版本: 自制开源计算器OurCalc——进展贴7 更新视频