Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Still can't get buildroot to complete
PostPosted: Thu Jun 12, 2008 3:57 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 186
Location: Mounds View, MN
I am trying to compile a 2.6.22.1 kernel for my AT91SAM9260EK board and get the following errors when it tries to build the JFFS2 fiel for the NAND Flash:

rm -rf /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/buildroot-config
mkdir -p /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1
cp -dpRf package/config/buildroot-config /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/buildroot-config
rm -rf /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/usr/include
find /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/usr/lib -name '*.a' -delete
find /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/lib -name '*.a' -delete
find /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/usr/lib -name '*.la' -delete
find /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/lib -name '*.la' -delete
mkdir -p /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/boot
cp -dpf .config /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root/boot/busybox.config
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.ext2
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.ext2
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.ext2
# 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.ext2
# Use fakeroot so genext2fs believes the previous fakery
GENEXT2_REALSIZE=`LC_ALL=C du -s -c -k /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root | grep total | sed -e "s/total//"`; \
GENEXT2_ADDTOROOTSIZE=`if [ $GENEXT2_REALSIZE -ge 20000 ]; then echo 16384; else echo 2400; fi`; \
GENEXT2_SIZE=`expr $GENEXT2_REALSIZE + $GENEXT2_ADDTOROOTSIZE`; \
GENEXT2_ADDTOINODESIZE=`find /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root | wc -l`; \
GENEXT2_INODES=`expr $GENEXT2_ADDTOINODESIZE + 400`; \
set -x; \
echo "/home/falingtrea/buildroot/build_arm/genext2fs-1.4/genext2fs -b $GENEXT2_SIZE " \
"-N $GENEXT2_INODES -d /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root " \
" -U -m 0 /home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.ext2" >> /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.ext2
+ echo /home/falingtrea/buildroot/build_arm/genext2fs-1.4/genext2fs -b 5280 -N 868 -d /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/root -U -m 0 /home/falingtrea/buildroot/binaries/SuperModem-2.6.22.1/rootfs.arm-20080611.ext2
chmod a+x /home/falingtrea/buildroot/project_build_arm/SuperModem-2.6.22.1/_fakeroot.rootfs.arm-20080611.ext2
/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.ext2
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
-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

Any suggestions on how to fix this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: