[Buildroot] Can't get Buildrooot to finish

Christopher Taylor chtaylo3 at gmail.com
Tue Jun 17 15:08:05 UTC 2008


somehow you've botched what files are being pulled from /target to
create your filesystem

try deleting project_<whatever>/<projectname>/.root
and project_<whatever>/<projectname>/root

and then doing a make and see if that fixes it.  if not, let me know

-Chris

On Wed, Jun 11, 2008 at 5:56 PM, Tim Barr <tbarr at multitech.com> wrote:
> I am getting the following errors when buildroot tried to create a NAND
> Flash RFS Jfss2 file:
>
> table='target/device/Atmel/root/device_table.txt'
>
> 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
>
> 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
>
> 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
>
> -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
>
> test -x
> /home/falingtrea/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ldconfig
> &&
> /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>/dev/null
>
> # Use fakeroot to pretend all target binaries are owned by root
>
> rm -f
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> touch
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/.fakeroot.00000
>
> cat
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/.fakeroot*
>>
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> echo "chown -R 0:0
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root" >>
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> # Use fakeroot to pretend to create all needed device nodes
>
> 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" \
>
>>>
>>> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> # Use fakeroot so mkfs.jffs2 believes the previous fakery
>
> 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"
> \
>
>>>
>>> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> chmod a+x
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.jffs2
>
> /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
>
> rootdir=/home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root
>
> table='target/device/Atmel/root/device_table.txt'
>
> 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
>
> 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
>
> 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
>
> mkfs.jffs2:
> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/etc/shadow:
> does not exist!
>
> make: ***
> [/home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.jffs2]
> Error 1
>
>
> What can I do to correct this???
>
> Timothy Barr
> Hardware Development Engineer
> for Multi-Tech Systems, Inc.
> tbarr at multitech.com
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>



More information about the uClibc mailing list