<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=209415121-11062008>I am getting the 
following errors when buildroot tried to create a NAND Flash RFS Jfss2 
file:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=209415121-11062008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=209415121-11062008><FONT 
size=2>table='target/device/Atmel/root/device_table.txt'</DIV>
<DIV>
<P>makedevs: line 42: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/shadow' 
does not exist: No such file or directory</P>
<P>makedevs: line 43: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/passwd' 
does not exist: No such file or directory</P>
<P>makedevs: line 48: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/usr/share/udhcpc/default.script' 
does not exist: No such file or directory</P>
<P>-rw-r--r-- 1 falingtrea admin 5406720 2008-06-11 16:15 
/home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.ext2</P>
<P>test -x 
/home/falingtrea/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ldconfig 
&amp;&amp; 
/home/falingtrea/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ldconfig 
-r /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root 
2&gt;/dev/null</P>
<P># Use fakeroot to pretend all target binaries are owned by root</P>
<P>rm -f 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P>touch 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/.fakeroot.00000</P>
<P>cat 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/.fakeroot* &gt; 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P>echo "chown -R 0:0 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root" &gt;&gt; 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P># Use fakeroot to pretend to create all needed device nodes</P>
<P>echo "/home/falingtrea/buildroot/build_arm/staging_dir/bin/makedevs -d 
target/device/Atmel/root/device_table.txt 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root" \</P>
<P>&gt;&gt; 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P># Use fakeroot so mkfs.jffs2 believes the previous fakery</P>
<P>echo "/home/falingtrea/buildroot/toolchain_build_arm/mtd_orig/mkfs.jffs2 -e 
0x2100 -l -s 0x420 -n -D target/device/Atmel/root/device_table.txt -d 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root -o 
/home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.jffs2" 
\</P>
<P>&gt;&gt; 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P>chmod a+x 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P>/home/falingtrea/buildroot/build_arm/staging_dir/usr/bin/fakeroot -- 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2</P>
<P>rootdir=/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root</P>
<P>table='target/device/Atmel/root/device_table.txt'</P>
<P>makedevs: line 42: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/shadow' 
does not exist: No such file or directory</P>
<P>makedevs: line 43: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/passwd' 
does not exist: No such file or directory</P>
<P>makedevs: line 48: regular file 
'/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/usr/share/udhcpc/default.script' 
does not exist: No such file or directory</P>
<P>mkfs.jffs2: 
/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/shadow: 
does not exist!</P>
<P>make: *** 
[/home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.jffs2] 
Error 1</P></FONT></SPAN></FONT></DIV>
<DIV><FONT face="Comic Sans MS" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=209415121-11062008><FONT face="Comic Sans MS" color=#000080 
size=2>What can I do to correct this???</FONT></SPAN></DIV>
<DIV><FONT face="Comic Sans MS" color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Comic Sans MS" color=#000080 size=2>Timothy Barr<BR>Hardware 
Development Engineer<BR>for Multi-Tech Systems, Inc.</FONT><BR><A 
href="mailto:tbarr@multitech.com"><FONT face="Comic Sans MS" 
size=2>tbarr@multitech.com</FONT></A></DIV>
<P></P>
<P>
<P></P>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>