pxa250_io_write_byte()
Sorry for posting in english. There's some problem so I can't type chinese now.I got a "SKYEYE: pxa250_io_read_write error" error message, then traced the code. I found that pxa250_io_read_byte() and pxa250_io_write_byte() are not implemented.
I wonder why they are not implemented?
I comment the exit code out, and add
pxa250_io_write_word (state, addr);
in the pxa250_io_write_byte() function.
Also, I replace the exit() with
pxa250_io_read_word (state, addr);
But it does not work.
My program still can not get the input from the console.
Actually, what I typed appears on the console but I can't send enter. tell me your skyeye version and more detailed error information I use skyeye-1.0.0.
The error message is very simple.
"SKYEYE: pxa250_io_read_byte error"
This is caused by skyeye-1.0.0/arch/arm/mach/skyeye_mach_pxa250.c
about line 366
ARMword
pxa250_io_read_byte (ARMul_State * state, ARMword addr)
{
printf ("SKYEYE: pxa250_io_read_byte error\n");
exit (-1);
}
The program print the error message and exit.
pxa250_io_read_halfword(), pxa250_io_write_byte(), and pxa250_io_write_halfword() all have the same implementation
My skyeye.conf is showned below:
cpu: pxa25x
mach: pxa_lubbock
mem_bank: map=M, type=RW, addr=0x00000000, size=0x01000000, file=iboot.img,boot=yes
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xa0000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0xa0200000, size=0x00100000
mem_bank: map=M, type=RW, addr=0xa0300000, size=0x00d00000
mem_bank: map=M, type=RW, addr=0xa1000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xa2000000, size=0x02000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00096000
Where iboot.img comes from
http://download.intrinsyc.com/supported/tools/i-boot-lite/i-boot-lite-1.8/images/i-boot-cerf-board-pxa25x_1.8-lite.img
Boot the image until the following messages apears.
Error: No OS image found.
IBoot>
When I try to type something, the program exit with the "SKYEYE: pxa250_io_read_byte error" error message. The byte and halfword read and write is not supported by arm. Maybe you missed your kernel image
页:
[1]