Re: 承上
我在编译ucosii for skyeye 的时候提示 文件 ucosii4skyeye/lib/skyeye_printf.c内的 isdigit 函数没定义,我看已经有 #include <ctype.h> 了, 需要在哪个makfile 配置文件内加个 路径 指示?
不用ulib 下的 libuc.a,改用 libc.a 和 libgcc.a 倒是可以的。
不过不算好吧!
请问大侠你的问题是如何解决的?? 请问《Skyeye和Arm开发平台》一书上的linux-2.4.18-rmk7.tar.bz2 哪里可以下载,它与光盘上patch-2.4.18-rmk7.bz2的文件是否相同 谢谢了。
很重要的初学资料呀! 我按照你说的方法作,为什么总出现kernel panic,无法加载根文件系统?我有romfs.img啊,在
tar sim
load 阶段都加载romfs了,
run 的时候就出现panic NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Blkmem: bad access: block=2, count=2 (pos=800, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 2
EXT2-fs: unable to read superblock
Blkmem: bad access: block=0, count=2 (pos=400, len=0)
end_request: I/O error, dev 1f:00 (Blkmem), sector 0
romfs: unable to read superblock
Kernel panic: VFS: Unable to mount root fs on 1f:00 I also meet this problem.
unable to read superblock and kernel panic.
God! help me!
Up 我装2.6.9也不能加载根系统, 按提示想看kernel/workqueue.c:104, 但功力不足.没法找到原因,希望各位赐教
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(SkyEye) target sim
cpu info: armv3, arm7tdmi, 41007700, fff8ff00, 0
mach info: name at91, mach_init addr 0x8160cbc
SKYEYE: use arm7100 mmu ops
Loaded ROM ./boot.rom
Connected to the simulator.
(SkyEye) load
Loading section .init, size 0xc000 vma 0x1000000
Loading section .text, size 0xcdfa8 vma 0x100c000
Loading section __ex_table, size 0x718 vma 0x10d9fb0
Loading section __param, size 0x14 vma 0x10da6c8
Loading section .data, size 0x9614 vma 0x10dc000
Start address 0x1000000
Transfer rate: 7464768 bits/sec.
(SkyEye) run
Starting program: /root/uClinux-dist/linux-2.6.x/linux
Linux version 2.6.9-hsc0 (root@server) (gcc version 3.4.0) #10 Mon May 1 11:08:59 CST 2006
CPU: Atmel-AT91M40xxx revision 0 (ARMvundefined/unknown)
Machine: ATMEL EB01
Built 1 zonelists
Kernel command line: root=/dev/ram initrd=0x01300000,800K keepinitrd
PID hash table entries: 32 (order: 5, 512 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 512 (order: 0, 4096 bytes)
Memory: 4MB = 4MB total
Memory: 2252KB available (823K code, 100K data, 48K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
checking if image is initramfs... it is
Linux NoNET1.0 for Linux 2.6
Atmel USART driver version 0.99
ttyS0 at 0xfffd0000 (irq = 2) is a builtin Atmel APB USART
ttyS1 at 0xfffcc000 (irq = 3) is a builtin Atmel APB USART
RAMDISK driver initialized: 16 RAM disks of 2048K size 1024 blocksize
loop: loaded (max 8 devices)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
<2>kernel BUG at kernel/workqueue.c:104!
sim_info called
Program received signal SIGINT, Interrupt.
panic (fmt=0x10d2298 "VFS: Unable to mount root fs on %s")
at kernel/panic.c:102
102 for (;;)
(SkyEye) quit 编译uclinux无法include到系统头文件。
到最后make的时候出现问题,跟了一下makefile,最后在make subdirs.
debian:/usr/src/uClinux-dist/user/boa# pwd
/usr/src/uClinux-dist/user/boa
手工执行:
/usr/src/uClinux-dist/tools/ucfront-gcc arm-elf-gcc-Os -g \
-fno-common -fno-builtin -Wall -DEMBED -D__PIC__ -fpic \
-msingle-pic-base -Dlinux -D__linux__ -Dunix -D__uClinux__ \
-c -o alias.o alias.c
.
主要报错信息:
/usr/src/uClinux-dist/uClibc/include/sys/types.h:30: bits/types.h: No such file or directory
查看了一下/usr/include/bits下其实有这个头文件。
请大侠指点迷津。
版本信息:
uClinux-dist-20051110.tar.bz2
arm-elf-tools-20030314.sh 执行tar sim后 提示 failed to open skyeye config file skyeye.conf in the same directory.哪里有这个文件? 我现在在/usr/local/bin/下面都装了 skyeye, arm-elf-tools,skyeyeinsight接下来如果要调试一些小程序应该怎么办? arm-elf-tools我一直下不下来呀~!!
uClinux网站打开好慢阿,有没有其他的地方可以下载呀?急需谢谢大家 请教一下:
我不太清楚mem_bank: 项具体是根据什么来设置的,具体需要几个段,段的开始和大小是根据什么来设定的?