搜索
bottom↓
回复: 4

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

[复制链接]

出0入0汤圆

发表于 2009-9-11 16:53:13 | 显示全部楼层 |阅读模式
在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> [44b07700]
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 [1 disk] 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
[14]
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)
/>

阿莫论坛20周年了!感谢大家的支持与爱护!!

曾经有一段真挚的爱情摆在我的面前,我没有珍惜,现在想起来,还好我没有珍惜……

出0入0汤圆

发表于 2009-9-11 16:54:10 | 显示全部楼层
好事,恭喜恭喜!!!

出0入0汤圆

发表于 2009-9-15 01:05:12 | 显示全部楼层
先祝贺了,有些难点要提醒我们后来人呀!!

出0入0汤圆

 楼主| 发表于 2009-9-15 08:34:23 | 显示全部楼层
其实大部是配置问题,还有就是要有兴趣不怕折腾。

出0入0汤圆

发表于 2009-12-18 14:55:20 | 显示全部楼层
你的QQ是多少呀!!我2.6.9移植成功啦,现在移植2.6.14就没成功啦。你能不能给出一些修改思路呀???我的QQ:371451227!
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-8-26 03:16

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表