weekly report(read NAND)
xiangfu
xiangfu at openmoko.org
Mon Jul 7 02:30:02 CEST 2008
sorry for the late weekly report
this week:
1. download a blink led image to the NAND.
(dfu-util -a 0 -R -D ./led_on
nand erase u-boot
nand write.e 0x32000000 0 0x1000 )
2. use OPENOCD to load other image(this image have the read NAND
function)
(reset halt
load_image ~/start 0
resume
i use the function ~ ./cpu/arm920t/s3c24x0/nand_read.c
nand_read_LL the code is:
unsigned char buf[824];
int start_kboot()
{
unsigned long start_addr = 0x32000000;
int size = 824;
nand_read_ll(buf, start_addr, size);
void (*fp)(void)=(void (*)(void))&buf[0];
(fp)();
return 0;
}
but it is not work : ) i still trying.
can i send this not work code to GIT?
More information about the openmoko-kernel
mailing list