QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4507|回复: 8

uclinux-2.6 to s3c44b0 porting

[复制链接]
发表于 2005-9-12 19:35:47 | 显示全部楼层 |阅读模式
Linux version 2.6.9-hsc0 (root@caolingzi) (gcc version 3.4.0) #15 Sun Aug 215CPU: Samsung-S3C44B0x [44b07700] revision 0 (ARMv4T)
Machine: S3C44B0X Development Board
Built 1 zonelists
Kernel command line: root=/dev/ram0 init=/bin/busybox initrd=0x0c0f57ec,365k kedPID hash table entries: 64 (order: 6, 1024 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 8MB = 8MB total
Memory: 6624KB available (1262K code, 139K data, 52K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
NET: Registered protocol family 16
ttyS0 at I/O 0x1d00000 (irq = 3) is a Samsung S3C44B0 Internal UART
ttyS1 at I/O 0x1d04000 (irq = 2) is a Samsung S3C44B0 Internal UART
init_module
Samsung S3C44B0 Rtl8019as driver version 0.1 (2002-02-20) <[email protected]>
init
eth0: 12:34:56:78:90:ab
get_stats
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: romfs filesystem found at block 0
RAMDISK: Loading 365KiB [1 disk] into ram disk... done.
VFS: Mounted root (romfs filesystem) readonly.                                             
Freeing init memory: 52K   
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
到这里就OVER了,davide 说有可能如下三种情况,都试过了,最有可能是我写的串口驱动有问题,请大家看看,是什么问题呢?
——————————————————————————————
Possible consoles:
- VT console (/dev/tty0)
- Serial console
- Debug console (debug=)

Problem solved. I was using the wrong genromfs version ! (I'm a newbie)

Thanks, now all works fine !!!

Davide Ballestrero
——————————————————————————————————————

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2005-9-15 10:33:06 | 显示全部楼层
告诉我你的email.
我给wlm和ksh发了信息. 看看他们能否帮忙!
如果有可能,希望在最新的skyeye上进行尝试和改进!
回复

使用道具 举报

发表于 2005-9-15 10:35:48 | 显示全部楼层
很可能是你的文件系统中缺少设备文件/dev/tty0
回复

使用道具 举报

 楼主| 发表于 2005-9-15 11:23:36 | 显示全部楼层
我把RAMDISK MOUNT 出来过的,没有少的。
我的email: [email protected]
好的,我在SKYEYE试一试。。。
回复

使用道具 举报

发表于 2005-9-15 11:44:40 | 显示全部楼层
你的44b0移植可否给我发一份?
我们正在skyeye上完善我们的44b0仿真。
你是在skyeye上运行的你的port么?
44b0的问题请直接和我联系。
回复

使用道具 举报

 楼主| 发表于 2005-9-15 11:45:00 | 显示全部楼层
[root@localhost images]# mount -r -o loop -t romfs romfs.img /mnt/romfs
[root@localhost images]# ls /mnt/romfs/
bin/  dev/  etc/  home/ lib/  mnt/  proc/ sbin/ tmp/  usr/  var/
[root@localhost images]# ls /mnt/romfs/dev/
console  null   ptyp5  ptypb  ram1    rom4  tty    ttyp1  ttyp7  ttypd    zero
cua0     ptyp0  ptyp6  ptypc  random  rom5  tty0   ttyp2  ttyp8  ttype
cua1     ptyp1  ptyp7  ptypd  rom0    rom6  tty1   ttyp3  ttyp9  ttypf
kmem     ptyp2  ptyp8  ptype  rom1    rom7  tty2   ttyp4  ttypa  ttyS0
log      ptyp3  ptyp9  ptypf  rom2    rom8  tty3   ttyp5  ttypb  ttyS1
mem      ptyp4  ptypa  ram0   rom3    rom9  ttyp0  ttyp6  ttypc  urandom
回复

使用道具 举报

 楼主| 发表于 2005-9-15 11:46:10 | 显示全部楼层
不是,我是基于立宇泰的开发板移植的。。。
回复

使用道具 举报

发表于 2005-9-18 09:49:00 | 显示全部楼层
写email给wlm和康烁吧。希望能有一个完善的44b0仿真
回复

使用道具 举报

 楼主| 发表于 2005-9-19 10:59:12 | 显示全部楼层
网友samfi 帮我改了许多的BUG,可能还有问题,我现在没时间调,大家再帮这看看吧,应该快了。。。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-11 15:34 , Processed in 0.147812 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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