[Skyeye-developer] linux
Yonghao Wang
wyonghao at gmail.com
Wed Dec 5 05:42:28 CST 2007
Hi All
For people who is interested in pxa simulation using skyeye to run
linux. Here is patch for latest linux kernel: linux-2.6.23.9
(including config file).
After applied patch, you can run:
make lubbockskyeye_defconfig
make
skyeye -e vmlinux
and you can adjust your configuration by make menuconfig or xconfig later.
The problem of kernel 2.6.23 is that it introduced cpu_is_pxaXXX
macros. And modified pxa_init() function to check cpu id, and then
call platform_add_devices() and also try to init dma and
hardware-uart, which skyeye seems don't support.
The skyeye_ts.c(h) are included as well. But they are not used by
simulation at moment, just of your reference.
Y.W
On Dec 3, 2007 11:59 PM, Yonghao Wang <wyonghao at gmail.com> wrote:
> Hi all,
>
> I tested pxa simulation on linux-2.6.15.7 and latest kernel
> linux-2.6.23.9. There is no major problem on linux-2.6.15.7. But at
> latest kernel linux-2.6.23.9 it hangs on kernel panic. Compare two
> results, I suspect the latest linux pxa uart driver has caused the
> problem (or might be skyeye pxa uart simulation problem). Please see
> the booting messages in attached files for two versions of kernels.
>
> Ps: both have no problem to mount ramdisk.
>
> Regards
>
>
>
> On Dec 3, 2007 3:25 PM, Michael. Kang <blackfin.kang at gmail.com> wrote:
> > it seems linux cannot load your ramdisk.img. And you should check its
> > format and address.
> >
> > -- Thanks
> > -- MK
> >
> >
> > On Dec 3, 2007 7:02 PM, 波 王 <wangjunbo1007 at yahoo.com.cn> wrote:
> > > What I use in my project is linux2.6.20
> > > Debug in linux enviroment.
> > > what is the reason of that error?
> > > When run the vmlinux in testsuit, the palce where I
> > > have a error
> > > is:
> > > checking if image is initramfs...it isn't (ungzip
> > > failed);looks like an initrd.
> > > Then , it will run naturely.
> > >
> > >
> > >
> > > 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 = 0xc0008000 size =
> > > 0x00015000.
> > > load section .text: addr = 0xc001d000 size =
> > > 0x001f2620.
> > > not load section .rodata: addr = 0xc0210000 size =
> > > 0x00000000 .
> > > not load section .pci_fixup: addr = 0xc0210000 size =
> > > 0x00000000 .
> > > not load section .rio_route: addr = 0xc0210000 size =
> > > 0x00000000 .
> > > load section __ksymtab: addr = 0xc0210000 size =
> > > 0x00003b98.
> > > load section __ksymtab_gpl: addr = 0xc0213b98 size =
> > > 0x00000d40.
> > > not load section __ksymtab_unused: addr = 0xc02148d8
> > > size = 0x00000000 .
> > > not load section __ksymtab_unused_gpl: addr =
> > > 0xc02148d8 size = 0x00000000 .
> > > not load section __ksymtab_gpl_future: addr =
> > > 0xc02148d8 size = 0x00000000 .
> > > not load section __kcrctab: addr = 0xc02148d8 size =
> > > 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 =
> > > 0xc02148d8 size = 0x00000000 .
> > > not load section __kcrctab_gpl_future: addr =
> > > 0xc02148d8 size = 0x00000000 .
> > > load section __ksymtab_strings: addr = 0xc02148d8
> > > size = 0x0000b6e8.
> > > load section __param: addr = 0xc021ffc0 size =
> > > 0x00000320.
> > > load section .data: addr = 0xc0222000 size =
> > > 0x0001af7c.
> > > not load section .bss: addr = 0xc023cf80 size =
> > > 0x0001412c .
> > > not load section .comment: addr = 0x00000000 size =
> > > 0x000023dc .
> > > not load section .note.gnu.arm.ident: addr =
> > > 0x00000000 size = 0x0000001c .
> > > not load section .debug_abbrev: addr = 0x00000000
> > > size = 0x0007ed5a .
> > > not load section .debug_info: addr = 0x00000000 size
> > > = 0x00eb9626 .
> > > not load section .debug_line: addr = 0x00000000 size
> > > = 0x000ff64b .
> > > not load section .debug_pubnames: addr = 0x00000000
> > > size = 0x000193bb .
> > > not load section .debug_str: addr = 0x00000000 size =
> > > 0x000655cb .
> > > not load section .debug_aranges: addr = 0x00000000
> > > size = 0x00004d38 .
> > > not load section .debug_frame: addr = 0x00000000 size
> > > = 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 (root at localhost.localdomain)
> > > (gcc version 3.4.3) #2 Sun Dec 2 17:17:56 CST 2007
> > > CPU: XScale-PXA250 [69052100] 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
> > >
> > >
> > >
> > > ___________________________________________________________
> > > 进入雅虎游戏嘉年华,赢取液晶显示器!
> > > http://cn.mail.yahoo.com/promo/carnival07/
> > >
> > >
> > > _______________________________________________
> > > CLinux.org Websites:
> > > http://seohelper.cn/
> > > http://www.implight.net/
> > > http://gro.clinux.org/
> > > Skyeye-developer mailing list
> > > Skyeye-developer at lists.gro.clinux.org
> > > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > >
> > >
> >
> >
> >
> > --
> > www.skyeye.org
> >
> > _______________________________________________
> > CLinux.org Websites:
> > http://seohelper.cn/
> > http://www.implight.net/
> > http://gro.clinux.org/
> > Skyeye-developer mailing list
> > Skyeye-developer at lists.gro.clinux.org
> > http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> >
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-linux-2.6.23.9-skyeye-pxa.bz2
Type: application/x-bzip2
Size: 13411 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20071204/185803e8/patch-linux-2.6.23.9-skyeye-pxa-0001.bin
More information about the Skyeye-developer
mailing list