Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThe DIR "romfs" must be created??
Hi,
I have done "make"and "make linux image" BUT, [root@localhost uClinux-dist-test]# make make -C tools/ucfront make[1]: Entering directory `/home/ziguowei/uClinux-dist-test/tools/ucfront' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ziguowei/uClinux-dist-test/tools/ucfront' ln -sf /home/ziguowei/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-gcc ln -sf /home/ziguowei/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-g++ ln -sf /home/ziguowei/uClinux-dist-test/tools/ucfront/ucfront-ld tools/ucfront-l d make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_CO MPILE=nios2-linux-uclibc- -C linux-2.6.x zImage || exit 1 no emulation specific options. make[1]: Entering directory `/home/ziguowei/uClinux-dist-test/linux-2.6.x' CHK include/nios2_system.h CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list /home/ziguowei/uClinux-dist-test/linux-2.6.x/scripts/gen_initramfs_list.sh: Ca nnot open '/root/uClinux-dist-test/romfs' make[2]: *** [usr/initramfs_list] Error 1 make[1]: *** [usr] Error 2 make[1]: Leaving directory `/home/ziguowei/uClinux-dist-test/linux-2.6.x' make: *** [linux] Error 1 [root@localhost uClinux-dist-test]# make linux image make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x zImage || exit 1 no emulation specific options. make[1]: Entering directory `/home/ziguowei/uClinux-dist-test/linux-2.6.x' CHK include/nios2_system.h CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list /home/ziguowei/uClinux-dist-test/linux-2.6.x/scripts/gen_initramfs_list.sh: Cannot open '/root/uClinux-dist-test/romfs' make[2]: *** [usr/initramfs_list] Error 1 make[1]: *** [usr] Error 2 make[1]: Leaving directory `/home/ziguowei/uClinux-dist-test/linux-2.6.x' make: *** [linux] Error 1 [root@localhost uClinux-dist-test]# Pls give me some advice. Thanks!!7 Replies
- Altera_Forum
Honored Contributor
do "make romfs" first, it will fail but the romfs dir is created.
- Altera_Forum
Honored Contributor
I 'm new to uClinux, I try to follow
Wiki UClinuxDist and have the same error, make -C tools/ucfront make[1]: Entering directory `/home/fischer/work/nios/uClinux-dist-test/tools/ucfront' make[1]: Für das Ziel »all« ist nichts zu tun. make[1]: Leaving directory `/home/fischer/work/nios/uClinux-dist-test/tools/ucfront' ln -sf /home/fischer/work/nios/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-gcc ln -sf /home/fischer/work/nios/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-g++ ln -sf /home/fischer/work/nios/uClinux-dist-test/tools/ucfront/ucfront-ld tools/ucfront-ld make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x zImage || exit 1 no emulation specific options. make[1]: Entering directory `/home/fischer/work/nios/uClinux-dist-test/linux-2.6.x' CHK include/nios2_system.h perl -I/home/fischer/work/nios/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts /home/fischer/work/nios/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu sdram ext_flash < ../std_1c20.ptf > include/nios2_system.h.tmp; if [ -r include/nios2_system.h ] && cmp -s include/nios2_system.h include/nios2_system.h.tmp; then rm -f include/nios2_system.h.tmp; else echo ' UPD include/nios2_system.h'; mv -f include/nios2_system.h.tmp include/nios2_system.h; fi CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list /home/fischer/work/nios/uClinux-dist-test/linux-2.6.x/scripts/gen_initramfs_list.sh: Cannot open '/home/fischer/uClinux-dist-test/romfs' make[2]: *** [usr/initramfs_list] Fehler 1 make[1]: *** [usr] Fehler 2 make[1]: Leaving directory `/home/fischer/work/nios/uClinux-dist-test/linux-2.6.x' make: *** [linux] Fehler 1 however I run make romfs and directory romfs exists in directory uClinux-dist-test with the following content: insgesamt 0 drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 bin drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 dev drwxr-xr-x 4 fischer users 248 2006-07-30 14:10 etc drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 home lrwxrwxrwx 1 fischer users 9 2006-07-30 14:10 init -> /bin/init drwxr-xr-x 2 fischer users 80 2006-07-30 14:10 lib drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 mnt drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 proc drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 sys lrwxrwxrwx 1 fischer users 8 2006-07-30 14:10 tmp -> /var/tmp drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 usr drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 var thanks - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by fischer@Jul 31 2006, 05:31 AM i 'm new to uclinux, i try to followwiki uclinuxdist and have the same error,
make -c tools/ucfront
make[1]: entering directory `/home/fischer/work/nios/uclinux-dist-test/tools/ucfront'
make[1]: fã¼r das ziel â»allâ« ist nichts zu tun.
make[1]: leaving directory `/home/fischer/work/nios/uclinux-dist-test/tools/ucfront'
ln -sf /home/fischer/work/nios/uclinux-dist-test/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/fischer/work/nios/uclinux-dist-test/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/fischer/work/nios/uclinux-dist-test/tools/ucfront/ucfront-ld tools/ucfront-ld
make arch=nios2nommu cross_compile=nios2-linux-uclibc- arch=nios2nommu cross_compile=nios2-linux-uclibc- -c linux-2.6.x zimage || exit 1
no emulation specific options.
make[1]: entering directory `/home/fischer/work/nios/uclinux-dist-test/linux-2.6.x'
chk include/nios2_system.h
perl -i/home/fischer/work/nios/uclinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts /home/fischer/work/nios/uclinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu sdram ext_flash < ../std_1c20.ptf > include/nios2_system.h.tmp; if [ -r include/nios2_system.h ] && cmp -s include/nios2_system.h include/nios2_system.h.tmp; then rm -f include/nios2_system.h.tmp; else echo ' upd include/nios2_system.h'; mv -f include/nios2_system.h.tmp include/nios2_system.h; fi
chk include/linux/version.h
chk include/linux/compile.h
chk usr/initramfs_list
/home/fischer/work/nios/uclinux-dist-test/linux-2.6.x/scripts/gen_initramfs_list.sh: cannot open '/home/fischer/uclinux-dist-test/romfs'
make[2]: *** [usr/initramfs_list] fehler 1
make[1]: *** [usr] fehler 2
make[1]: leaving directory `/home/fischer/work/nios/uclinux-dist-test/linux-2.6.x'
make: *** [linux] fehler 1
however i run make romfs and directory romfs exists in directory uclinux-dist-test
with the following content:
insgesamt 0
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 bin
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 dev
drwxr-xr-x 4 fischer users 248 2006-07-30 14:10 etc
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 home
lrwxrwxrwx 1 fischer users 9 2006-07-30 14:10 init -> /bin/init
drwxr-xr-x 2 fischer users 80 2006-07-30 14:10 lib
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 mnt
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 proc
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 sys
lrwxrwxrwx 1 fischer users 8 2006-07-30 14:10 tmp -> /var/tmp
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 usr
drwxr-xr-x 2 fischer users 48 2006-07-30 14:10 var
thanks
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17267)
--- quote end ---
--- Quote End --- I did mention to make romfs after hwselect, <div class='quotetop'>QUOTE </div> --- Quote Start --- make linux_hwselect SYSPTF=~/your_project/your_system.ptf make romfs# to create romfs dir, make will fail, ignored Then config uClinux-dist for costmize kernel. make menuconfig[/b] --- Quote End ---
- Altera_Forum
Honored Contributor
Hi Hippo,
I got the same thing. I did all that was on the wiki, but still get this. --------------------------------------------------------- uclinux@colinux:~/download/uClinux-dist-test$ make make -C tools/ucfront make[1]: Entering directory `/home/uclinux/download/uClinux-dist-test/tools/ucfront' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/uclinux/download/uClinux-dist-test/tools/ucfront' ln -sf /home/uclinux/download/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-gcc ln -sf /home/uclinux/download/uClinux-dist-test/tools/ucfront/ucfront tools/ucfront-g++ ln -sf /home/uclinux/download/uClinux-dist-test/tools/ucfront/ucfront-ld tools/ucfront-ld make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- -C linux-2.6.x zImage || exit 1 no emulation specific options. make[1]: Entering directory `/home/uclinux/download/uClinux-dist-test/linux-2.6.x' CHK include/nios2_system.h perl -I/home/uclinux/download/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts /home/uclinux/download/uClinux-dist-test/linux-2.6.x/arch/nios2nommu/scripts/gen_nios2_system.h.pl cpu ddr_sdram ext_flash < std_2C35.ptf > include/nios2_system.h.tmp; if [ -r include/nios2_system.h ] && cmp -s include/nios2_system.h include/nios2_system.h.tmp; then rm -f include/nios2_system.h.tmp; else echo ' UPD include/nios2_system.h'; mv -f include/nios2_system.h.tmp include/nios2_system.h; fi CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list /home/uclinux/download/uClinux-dist-test/linux-2.6.x/scripts/gen_initramfs_list.sh: Cannot open '/home/uclinux/uClinux-dist-test/romfs' make[2]: *** [usr/initramfs_list] Error 1 make[1]: *** [usr] Error 2 make[1]: Leaving directory `/home/uclinux/download/uClinux-dist-test/linux-2.6.x' make: *** [linux] Error 1 uclinux@colinux:~/download/uClinux-dist-test$ ----------------------------------------------------------------------- Please help. Thanks. Al - Altera_Forum
Honored Contributor
hello albertyong88
your directory is: /home/uclinux/download/uclinux-dist-test but it trys to find romfs under : /home/uclinux/uClinux-dist-test i had the same error until i moved uClinux-dist-test directly under my home directory: in your case it should be /home/uclinux/uClinux-dist-test - Altera_Forum
Honored Contributor
Hi Fischer,
Thanks for the the tip. I will try it when i get to work tomorrow. --- Quote Start --- originally posted by fischer@Aug 11 2006, 11:27 AM hello albertyong88your directory is: /home/uclinux/download/uclinux-dist-test
but it trys to find romfs under : /home/uclinux/uclinux-dist-test
i had the same error until i moved uclinux-dist-test directly under my home
directory: in your case it should be /home/uclinux/uclinux-dist-test
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17549)
--- quote end ---
--- Quote End ---
- Altera_Forum
Honored Contributor
Hi Fischer,
It works !! Thanks. You rock. --- Quote Start --- originally posted by albertyong88+aug 13 2006, 05:16 am--><div class='quotetop'>quote (albertyong88 @ aug 13 2006, 05:16 am)</div>--- quote start ---
hi fischer,
thanks for the the tip. i will try it when i get to work tomorrow.
<!--quotebegin-fischer@Aug 11 2006, 11:27 AM hello albertyong88
your directory is: /home/uclinux/download/uclinux-dist-test
but it trys to find romfs under : /home/uclinux/uclinux-dist-test
i had the same error until i moved uclinux-dist-test directly under my home
directory: in your case it should be /home/uclinux/uclinux-dist-test
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17549)
--- quote end ---
--- Quote End --- <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17558)</div> [/b] --- Quote End ---