sample code

53 views
Skip to first unread message

bushing

unread,
May 25, 2009, 6:17:25 PM5/25/09
to bootmii-devel
This is hardly beautiful code -- most of it should be refactored into
a library, but oh well. It's up in the "Files" section (http://
groups.google.com/group/bootmii-devel/files). It's about half of the
code that's in the provided ppcboot.elf, which is why it's called
"ppcskel".

Enjoy!
-b

yellowstar

unread,
Jun 30, 2009, 1:23:59 PM6/30/09
to bootmii-devel
In ppc-skel nandfs.c, nandfs_read is broken. It doesn't adjust ptr,
thus only the first 0x6400 bytes of the buffer will have the last
0x6400 bytes or so of the the read buffer. I fixed this by adding this
after the memcpy: ptr+= copy_len;
Perhaps ppc-skel should be moved to git or something?
Reply all
Reply to author
Forward
0 new messages