pxa250 linux
请问为什么uClinux内核里没有pxa250啊?是不是不能用uClinux? use linux in kernel.org 谢谢了,我知道了,编译内核下载到skyeye中时总是出现这样的错误,
start addr is set to oxooo8000 by exec file
这是怎么回事那? Refer to http://skyeye.wiki.sourceforge.net/Linux#tocLinux0 谢谢提醒,我就是按照上面做的,用的testsuit里的文件,只是增加了自己的vmlinux文件,但是运行testsuit就可以成功,但是运行自己的就不行了?不知道在编译内核的时候要注意什么?还有能不能详细的介绍一下你们pxa255的内核制作过程,不胜 感激!! I had successfully run pxa255 on SkyEye according that document.So I think probably you missed something. You can describe your whole procedure more detailed include linux version and build procedure. Thereisaerrorlike the following,
Why?
and
What should I do to correct it?
When I use the vmlinux in testsuit, it is OK,
but when I run the linux compiled by me
there is a error.
I think it may be in the linux config,but I don't know
where I should change.
Would you like to tell me?
I use
Redhat Linux 2.4 environment,
arm-linux-tools-20061213.tar.gz
Linux 2.6.23 and Linux 2.6.20 kernel
Then
1 export ARCH=arm
2 export CROSSCOMPILE=arm-linux-
3 modify
> #define PHYS_OFFSET UL(0xa0000000)
> to
> #define PHYS_OFFSET UL(0xc0000000)
4 make lubbock_defconfig
5 make menuconfig
modify:root/dev/ramrwinitrd=0x08000000,0x00800000 console=ttyS0 mem=64M
--->修改
[ ]RamDisk support
为
[*]RamDisk support
--->修改
(4096) Default Ram disk size(kbytes)
为
(8192) Default Ram disk size(kbytes)
--->修改
[ ] Initial Ram disk (initrd) support
为
[*] Initial Ram disk (initrd) support
Then make zImage
There is no error in compile.
Then
use init.img and skyeye.conf in testsuit
then
skyeye -e vmlinux
# skyeye -e vmlinux
big_endian is false.
arch: arm
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x808259c
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use xscale mmu ops
Loaded RAM ./ramdisk.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size =
0x00015000.
load section .text: addr = 0xc001d000size =
0x001f2620.
not load section .rodata: addr = 0xc0210000size =
0x00000000 .
not load section .pci_fixup: addr = 0xc0210000size =
0x00000000 .
not load section .rio_route: addr = 0xc0210000size =
0x00000000 .
load section __ksymtab: addr = 0xc0210000size =
0x00003b98.
load section __ksymtab_gpl: addr = 0xc0213b98size =
0x00000d40.
not load section __ksymtab_unused: addr = 0xc02148d8
size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr =
0xc02148d8size = 0x00000000 .
not load section __ksymtab_gpl_future: addr =
0xc02148d8size = 0x00000000 .
not load section __kcrctab: addr = 0xc02148d8size =
0x00000000 .
not load section __kcrctab_gpl: addr = 0xc02148d8
size = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc02148d8
size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr =
0xc02148d8size = 0x00000000 .
not load section __kcrctab_gpl_future: addr =
0xc02148d8size = 0x00000000 .
load section __ksymtab_strings: addr = 0xc02148d8
size = 0x0000b6e8.
load section __param: addr = 0xc021ffc0size =
0x00000320.
load section .data: addr = 0xc0222000size =
0x0001af7c.
not load section .bss: addr = 0xc023cf80size =
0x0001412c .
not load section .comment: addr = 0x00000000size =
0x000023dc .
not load section .note.gnu.arm.ident: addr =
0x00000000size = 0x0000001c .
not load section .debug_abbrev: addr = 0x00000000
size = 0x0007ed5a .
not load section .debug_info: addr = 0x00000000size
= 0x00eb9626 .
not load section .debug_line: addr = 0x00000000size
= 0x000ff64b .
not load section .debug_pubnames: addr = 0x00000000
size = 0x000193bb .
not load section .debug_str: addr = 0x00000000size =
0x000655cb .
not load section .debug_aranges: addr = 0x00000000
size = 0x00004d38 .
not load section .debug_frame: addr = 0x00000000size
= 0x000463fc .
not load section .debug_ranges: addr = 0x00000000
size = 0x0001b648 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
`Linux version 2.6.20 ([email protected])
(gcc version 3.4.3) #2 Sun Dec 2 17:17:56 CST 2007
CPU: XScale-PXA250 revision 0 (ARMv5TE),
cr=00003907
Machine: Intel DBPXA250 Development Platform (aka
Lubbock)
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 99.53MHz (*1)
Turbo Mode clock: 99.53MHz (*1.0, inactive)
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte
lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte
lines, 32 sets
Built 1 zonelists.Total pages: 16256
Kernel command line: root=/dev/ram0 console=ttyS0
initrd=0xc0800000,0x00800000 rw mem=64M
options=mode:640x480-8
PID hash table entries: 256 (order: 8, 1024 bytes)
start_kernel(): bug: interrupts were enabled early
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
Memory: 64MB = 64MB total
Memory: 54332KB available (2064K code, 188K data, 84K
init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Lubbock configured to boot from ROM (bank 0)
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0,
4096 bytes)
TCP established hash table entries: 2048 (order: 1,
8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096
bytes)
TCP: Hash tables configured (established 2048 bind
1024)
TCP reno registered
Unpacking initramfs...<0>Kernel panic - not syncing:
bad gzip magic numbers
[ 本帖最后由 snowman2008 于 2007-12-4 13:48 编辑 ]
页:
[1]