Lorenzo Lutti ha scritto:
Now I'm trying to use the Platform Image Builder shipped with DevRocket, and I'm having the "no init found" problem too. I've selected the busybox profile, built it and copied all the files into the MTD partition, but when I boot the board the kernel panics in the same way: it successfully mounts the partition (ro or rw, it doesn't matter), but then it can't find init, even if it's there, with all the necessary symlinks. Maybe it's something that has to do with busybox itself?
I've managed to boot a DevRocket-created image. Apparently the Platform Image Builder can't directly generate proper jffs2 images, and also the file dump in the directory .build is somewhat corrupted. Therefore, to transfer the image you have to build the image as a CPIO archive (let's say image.cpio), copy it to a path visible from the target system (for example by using NFS) and then, from the target system: ftl_format /dev/mtd2 mount -t jffs2 /dev/mtdblock2 /mnt/flash cd /mnt/flash cpio -idv < /some_shared_path/image.cpio Probably you also need to copy the modules compiled for your kernel (but maybe the Platform Image Builder can do that for you in some way, I haven't checked yet). From the host system: cd path_to_your_kernel_sources make ARCH=arm CROSS_COMPILE=arm_v5t_le- INSTALL_MOD_PATH=/some_shared_path/modules/ modules_install Then, from the target system, copy the modules: cp -r /some_shared_path/modules/* /mnt/flash Then umount /mnt/flash, reboot and pray. :) Cheers, Lorenzo _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
