intro
uClinux seemed to mostly boot (finally was mounting the root fs on /dev/mtdblock0) but gave me EXT2 errors.
EXT2-fs error (device mtdblock0): ext2_check_page: bad entry in directory #163: directory entry across blocks - offset=0,
inode=2968543232, rec_len=12364, name_len=16
Warning: unable to open an initial console.
EXT2-fs error (device mtdblock0): ext2_check_page: bad entry in directory #12: rec_len is smaller than minimal - offset=2048,
inode=0, rec_len=0, name_len=0
EXT2-fs error (device mtdblock0): ext2_check_page: bad entry in directory #164: directory entry across blocks - offset=0,
inode=5301557, rec_len=37160, name_len=0
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
the cause
the issue seems to stem from a known bug in Uboots unzip function when loading compressed images. The fix is supposed to be in CVS but hasn't made it to a release yet (i am using 1.1.3 i think).
see this thread
cvs head
i've checked out the cvs head (i think. it's either a branch or a tag but either way it shows up in scm as u-boot_1.1.3). it built fine for me. to build it issue
make bf537_config or modify as needed. better yet read the
README included with the source.
with the version of u-boot from CVS, rather than the releases, the bf537 is able to boot compressed images.
--
ChristopherPepe - 29 Jul 2006