I tried it on my PC and sure enough the image did not boot, SSL loaded then it just hung. Of course that makes zero sense as it "should" work.
I repeated the whole procedure on my dm800 and the resulting image booted and runs. I guess something in the PC versions of either nfidump, buildimage, or mkfs.jffs2 does not play well with others. Since the PC versions of buildimage and mkfs.jffs2 work to build images from source, I'm leaning twords a problem with nfidump on pc. The version on my PC is 0.41 while the one on my DB is 0.42. Regardless, this worked on my DM800:
mkdir /hdd/tmp (make working directory)
cp desired_image /hdd/tmp (copy nfi image to work directory)
cd /hdd/tmp (change to work directory)
nfidump --loaderextract ./desired_image.nfi image (extract desired_image to /hdd/tmp/image & SSL to /hdd/tmp/secondstage-dm800.bin)
mv /hdd/tmp/image/boot /hdd/tmp (seperate /boot out of the root filesystem)
mkdir /hdd/tmp/image/boot (recreate /boot mountpoint in root filesystem)
(make any desired edits to image)
mkfs.jffs2 --root=boot --faketime --output=boot.jffs2 --eraseblock=0x4000 -n -l (create boot.jffs2 image)
mkfs.jffs2 --root=image --faketime --output=root.jffs2 --eraseblock=0x4000 -n -l (create root.jffs2 image)
buildimage --brcmnand --arch dm800 -e 0x4000 -f 0x4000000 -s 512 -b 0x40000:secondstage-dm800.bin -d 0x3C0000:boot.jffs2 -d 0x3C00000:root.jffs2 > NewImage.nfi (build NewImage.nfi)
Note the commands are identical to ones run on my PC that created a broken image....
--
hemi
Edited by hemispherical1, 18 December 2012 - 21:54.