Porting uClinux 2.4 to S3C44B0X successful!
时间:2009-07-30 来源:daiban
Now is Jul 30, 2009, 00:30.
Don't know how to express my happiness! I eventually had uClinux 2.4 booted on my S3C44B0X board! After two or three months trying and experiments, finally figured it out that all has to do with the toolchain used.
Following is the startup information:
Yet another thing proud of: I done finished all jobs in linux, except sometimes burning the bootloader after a serious failure.
Will post another detailed document the other day, now go to sleep! zzz~
Don't know how to express my happiness! I eventually had uClinux 2.4 booted on my S3C44B0X board! After two or three months trying and experiments, finally figured it out that all has to do with the toolchain used.
Following is the startup information:
U-Boot 1.1.1 for S3C44B0----LoiteringLeo (Jul 12 2009 - 17:24:45) U-Boot code: 0C700000 -> 0C71A914 BSS: -> 0C71EA7C RAM Configuration: Bank #0: 0c000000 8 MB rtl8019 base_addr: 0x6000000 Flash: 2 MB In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 => tftp rtl8019 base_addr: 0x6000000 TFTP from server 192.168.3.10; our IP address is 192.168.3.100 Filename 'uclinux_rom.bin'. Load address: 0xc500000 Loading: ################################################################# ################################################################# ################################################################# #################################################### done Bytes transferred = 1260401 (133b71 hex) => bootm ## Booting image at 0c500000 ... Image Name: uClinux_www.itsn.cn Created: 2009-07-29 16:35:03 UTC Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 1260337 Bytes = 1.2 MB Load Address: 0c008000 Entry Point: 0c008000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... 0c000100 Linux version 2.4.24-uc0 (root@maya) (gcc version 2.95.3 20010315 (release)(Col9 Processor: Samsung S3C44B0X revision 0 Architecture: S3C44B0X On node 0 totalpages: 2048 zone(0): 0 pages. zone(1): 2048 pages. zone(2): 0 pages. Kernel command line: root=/dev/rom0 init=/linuxrc Calibrating delay loop... 23.85 BogoMIPS Memory: 8MB = 8MB total Memory: 5276KB available (2568K code, 167K data, 44K init) Dentry cache hash table entries: 1024 (order: 1, 8192 bytes) Inode cache hash table entries: 512 (order: 0, 4096 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd ttyS0 at I/O 0x1d00000 (irq = 3) is a S3C44B0 ttyS1 at I/O 0x1d04000 (irq = 2) is a S3C44B0 ne.c:v1.10 9/23/94 Donald Becker ([email protected]) Last modified Nov 1, 2000 by Paul Gortmaker NE*000 ethercard probe at 0x6000000:NE2000 driver modified by http://www.21spact 00 49 34 00 00 00 eth0: NE2000 found at 0x6000000, using IRQ 24 Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 Kenneth Albanowski Blkmem 1 disk images: 0: C0EA968-C295167 [VIRTUAL C0EA968-C295167] (RO) RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 512) IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver Linux IP multicast router 0.06 plus PIM-SM 802.1Q VLAN Support v1.8 Ben Greear <[email protected]> Other stuff added by David S. Miller <[email protected]> NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com VFS: Mounted root (romfs filesystem) readonly. Freeing init memory: 44K 41 41.1 41.3 41.4 41.5 41.6 41.2 42 43 44 45 47 Shell invoked to run file: /etc/rc Command: hostname Samsung Command: /bin/expand /etc/ramfs.img /dev/ram0 Command: /bin/expand /etc/ramfs2048.img /dev/ram1 Command: mount -t proc proc /proc mount: /etc/mtab: Read-only file system Command: mount -t ext2 /dev/ram0 /var mount: /etc/mtab: Read-only file system Command: mount -t ext2 /dev/ram1 /ramdisk mount: Mounting /dev/ram1 on /ramdisk failed: No such file or directory pid 13: failed 256 Command: chmod 777 /ramdisk /ramdisk: No such file or directory Command: mkdir /var/config Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig eth0 192.168.0.28 netmask 255.255.255.0 up Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ \ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_| For further information check: http://www.uclinux.org/ Command: Execution Finished, Exiting init: exec rc failed init: /bin/firewall failed!init: exec rc failed 48 Sash command shell (version 1.1.1) /> pwd / /> version Linux release 2.4.24-uc0, build #68 Thu Jul 30 00:31:21 CST 2009 release 1.0.0, build #192 Thu Jul 30 00:28:53 CST 2009 /> |
Yet another thing proud of: I done finished all jobs in linux, except sometimes burning the bootloader after a serious failure.
Will post another detailed document the other day, now go to sleep! zzz~
相关阅读 更多 +