flight871 发表于 2009-9-11 16:53:13

折腾一下午终于把uclinux 2.6.14 跑起来了

在44b0X上移植uclinux 2.6.14,以前做过一些碰到问题暂时放下了,今天网上看资料时想到一个自己移植时可能忽略的问题,下午开始动手继续做,终于把sash 跑起来了,以后有空再把网络和文件系统弄上,跑上自己的程序看看稳定不稳定。显示信息如下:

Starting kernel ...

Linux version 2.6.14-hsc0 (root@tpdwyy) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 200
10318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.
com/)) #200 Fri Sep 11 16:42:57 CST 2009
CPU: <NULL>
Machine: S3C44B0X Development Board
Memory management: Non-Paged(unused/noMMU)
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw initrd=0xc800000,1M console=ttyS0 init=/bin/init
PID hash table entries: 128 (order: 7, 2048 bytes)
drivers/serial/serial_s3c44b0.c:628 __s3c44b0_console_init
pdata addr:0xc167830
pdata addr.tty_driver:0xc167854
drivers/serial/serial_s3c44b0.c:595 __s3c44b0_console_setup
this is in drivers/serial/serial_s3c44b0.c:336 __s3c44b0_initdivisor=32
divisor=32
start initrd config
end initrd config
initrd addr=0x0c800000
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 16MB = 16MB total
Memory: 13696KB available (1286K code, 118K data, 76K init)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
initrd addr in ramfsc=0x0c800000
Freeing initrd memory: 1024K
softlockup thread 0 started up.
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
s3c44b0 serial init!!!!!!!
Samsung S3C44B0X Internal UART0 at I/O 0x1d00000 (irq = 3) is a Samsung S3C44B0X Internal UART
Samsung S3C44B0X Internal UART1 at I/O 0x1d04000 (irq = 2) is a Samsung S3C44B0X Internal UART
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
creat dev
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 141KiB into ram disk... done.
VFS: Mounted root (romfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 76K
this is in drivers/serial/serial_s3c44b0.c:336 __s3c44b0_initdivisor=32
divisor=32
begin sys_dup
begin if (ramdisk_execute_command)
begin if (execute_command)
begin memset
begin execve
end execve
the ret is 0x0
Shell invoked to run file: /etc/rc
Command: hostname Samsung
Command: /bin/expand /etc/ramfs.img /dev/ram1
in execvp
/bin/expand: Bad command or file name
Command: cat /etc/motd
Welcome to
          ____ __
         /__| ||_|
    _   _| || | _ _____   ___
   | | | | || || |_ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

For further information check:
http://www.uclinux.org/

Command: dhcpcd &
in execvp
dhcpcd: Bad command or file name

sh 12: Child 14 died

Execution Finished, Exiting
toks= /bin/sh (null) (null) (null)
tty= console
termcap= linux
toks= /bin/sh (null) (null) (null)
tty= console
termcap= linux

Sash command shell (version 1.1.1)
/>

FREEXP 发表于 2009-9-11 16:54:10

好事,恭喜恭喜!!!

hcfwll 发表于 2009-9-15 01:05:12

先祝贺了,有些难点要提醒我们后来人呀!!

flight871 发表于 2009-9-15 08:34:23

其实大部是配置问题,还有就是要有兴趣不怕折腾。

fahai2003 发表于 2009-12-18 14:55:20

你的QQ是多少呀!!我2.6.9移植成功啦,现在移植2.6.14就没成功啦。你能不能给出一些修改思路呀???我的QQ:371451227!
页: [1]
查看完整版本: 折腾一下午终于把uclinux 2.6.14 跑起来了