Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] uclibc / glibc rfs issues
@ 2010-04-23 11:01 Nataraj S Narayan
  2010-04-23 11:20 ` Nataraj S Narayan
  2010-04-23 11:25 ` Peter Korsgaard
  0 siblings, 2 replies; 8+ messages in thread
From: Nataraj S Narayan @ 2010-04-23 11:01 UTC (permalink / raw)
  To: buildroot

Hi

I use at91sam9263ek.

I am on BR  latest git. I was trying to duplicate same .config for
uclibc and for , glibc using COdesourcery toolchain.  Both are
building full, but unfortunately I am getting the following for both
toolchains file systems. It waits endlessly without giving login
prompt.

regards

Nataraj

TCP cubic registered
NET: Registered protocol family 17
VFS: Mounted root (jffs2 filesystem) on device 31:0.
Freeing init memory: 136K
g_ether gadget: full speed config #1: CDC Ethernet (ECM)
mount: mounting none on /proc failed: No such file or directory
/bin/sh: can't create /proc/sys/kernel/hotplug: nonexistent directory
mount: can't read /proc/mounts: No such file or directory
mount: mounting proc on /proc failed: No such file or directory
mount: mounting configfs on /config failed: No such device
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
Starting dropbear sshd: generating rsa key... generating dsa key... OK

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
  2010-04-23 11:01 [Buildroot] uclibc / glibc rfs issues Nataraj S Narayan
@ 2010-04-23 11:20 ` Nataraj S Narayan
  2010-04-23 11:27   ` Peter Korsgaard
  2010-04-23 11:25 ` Peter Korsgaard
  1 sibling, 1 reply; 8+ messages in thread
From: Nataraj S Narayan @ 2010-04-23 11:20 UTC (permalink / raw)
  To: buildroot

Hi

At the end of build getting this too:-

echo "  /home/noy/buildroot/output/host/usr/sbin/mkfs.jffs2 -e 0x20000
-l -s 0x800 -n -D target/generic/device_table.txt -d
/home/noy/buildroot/output/target -o
/home/noy/buildroot/output/images/rootfs.jffs2" >>
/home/noy/buildroot/output/build/_fakeroot.fs
chmod a+x /home/noy/buildroot/output/build/_fakeroot.fs
/home/noy/buildroot/output/host/usr/bin/fakeroot --
/home/noy/buildroot/output/build/_fakeroot.fs
rootdir=/home/noy/buildroot/output/target
table='target/generic/device_table.txt'
makedevs: line 49: regular file
'/home/noy/buildroot/output/target/usr/share/udhcpc/default.script'
does not exist: No such file or directory
mkfs.jffs2: skipping device_table entry
'/usr/share/udhcpc/default.script': no parent directory!
mkdir -p /home/noy/buildroot/output/target/etc
echo "buildroot" > /home/noy/buildroot/output/target/etc/hostname
mkdir -p /home/noy/buildroot/output/target/etc
echo "Welcome to MMFSL ucLibc" > /home/noy/buildroot/output/target/etc/issue
rm -f /home/noy/buildroot/output/build/.fakeroot*

regards

Nataraj

On Fri, Apr 23, 2010 at 11:01 AM, Nataraj S Narayan <natarajsn@gmail.com> wrote:
> Hi
>
> I use at91sam9263ek.
>
> I am on BR ?latest git. I was trying to duplicate same .config for
> uclibc and for , glibc using COdesourcery toolchain. ?Both are
> building full, but unfortunately I am getting the following for both
> toolchains file systems. It waits endlessly without giving login
> prompt.
>
> regards
>
> Nataraj
>
> TCP cubic registered
> NET: Registered protocol family 17
> VFS: Mounted root (jffs2 filesystem) on device 31:0.
> Freeing init memory: 136K
> g_ether gadget: full speed config #1: CDC Ethernet (ECM)
> mount: mounting none on /proc failed: No such file or directory
> /bin/sh: can't create /proc/sys/kernel/hotplug: nonexistent directory
> mount: can't read /proc/mounts: No such file or directory
> mount: mounting proc on /proc failed: No such file or directory
> mount: mounting configfs on /config failed: No such device
> Initializing random number generator... done.
> Starting network...
> ip: RTNETLINK answers: File exists
> Starting dropbear sshd: generating rsa key... generating dsa key... OK
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
  2010-04-23 11:01 [Buildroot] uclibc / glibc rfs issues Nataraj S Narayan
  2010-04-23 11:20 ` Nataraj S Narayan
@ 2010-04-23 11:25 ` Peter Korsgaard
       [not found]   ` <w2k630286c71004230440w822541bdqc0bbd128fb4a2e5e@mail.gmail.com>
  2010-04-24  7:30   ` Nataraj S Narayan
  1 sibling, 2 replies; 8+ messages in thread
From: Peter Korsgaard @ 2010-04-23 11:25 UTC (permalink / raw)
  To: buildroot

>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:

 Nataraj> TCP cubic registered
 Nataraj> NET: Registered protocol family 17
 Nataraj> VFS: Mounted root (jffs2 filesystem) on device 31:0.
 Nataraj> Freeing init memory: 136K
 Nataraj> g_ether gadget: full speed config #1: CDC Ethernet (ECM)
 Nataraj> mount: mounting none on /proc failed: No such file or directory

Sounds like you don't have a /proc directory in your rootfs.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
  2010-04-23 11:20 ` Nataraj S Narayan
@ 2010-04-23 11:27   ` Peter Korsgaard
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Korsgaard @ 2010-04-23 11:27 UTC (permalink / raw)
  To: buildroot

>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:

 Nataraj> Hi
 Nataraj> At the end of build getting this too:-

 Nataraj> echo "  /home/noy/buildroot/output/host/usr/sbin/mkfs.jffs2 -e 0x20000
 Nataraj> -l -s 0x800 -n -D target/generic/device_table.txt -d
 Nataraj> /home/noy/buildroot/output/target -o
 Nataraj> /home/noy/buildroot/output/images/rootfs.jffs2" >>
 Nataraj> /home/noy/buildroot/output/build/_fakeroot.fs
 Nataraj> chmod a+x /home/noy/buildroot/output/build/_fakeroot.fs
 Nataraj> /home/noy/buildroot/output/host/usr/bin/fakeroot --
 Nataraj> /home/noy/buildroot/output/build/_fakeroot.fs
 Nataraj> rootdir=/home/noy/buildroot/output/target
 Nataraj> table='target/generic/device_table.txt'
 Nataraj> makedevs: line 49: regular file
 Nataraj> '/home/noy/buildroot/output/target/usr/share/udhcpc/default.script'

Your device_table.txt refers to a file you don't have in your target
skeleton. What skeleton are you using, what is your .config?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
       [not found]   ` <w2k630286c71004230440w822541bdqc0bbd128fb4a2e5e@mail.gmail.com>
@ 2010-04-23 11:46     ` Peter Korsgaard
       [not found]       ` <k2k630286c71004230507hf51966b6qd1d488ee90570fdb@mail.gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2010-04-23 11:46 UTC (permalink / raw)
  To: buildroot

>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:

 Nataraj> Hi jacmet
 Nataraj> created /proc , but now getting:-

 Nataraj> mount: mounting configfs on /config failed: No such device

Like it says, same issue.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
       [not found]       ` <k2k630286c71004230507hf51966b6qd1d488ee90570fdb@mail.gmail.com>
@ 2010-04-23 12:20         ` Peter Korsgaard
  2010-04-23 12:25           ` Nataraj S Narayan
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Korsgaard @ 2010-04-23 12:20 UTC (permalink / raw)
  To: buildroot

>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:

 Nataraj> Hi Jacmet
 Nataraj> My .config:-

Thanks, don't forget to send it to the mailing list, and not just
straight to me.

 Nataraj> BR2_HAVE_DOT_CONFIG=y
 Nataraj> BR2_VERSION="2010.05-git"
 Nataraj> BR2_arm=y
 Nataraj> BR2_arm926t=y

 Nataraj> BR2_ARM_TYPE="ARM926T"
 Nataraj> BR2_ARM_EABI=y
 Nataraj> BR2_ARCH="arm"
 Nataraj> BR2_ENDIAN="LITTLE"
 Nataraj> BR2_GCC_TARGET_TUNE="arm9tdmi"
 Nataraj> BR2_GCC_TARGET_ARCH="armv5te"
 Nataraj> BR2_GCC_TARGET_ABI="aapcs-linux"


 Nataraj> BR2_TARGET_GENERIC_HOSTNAME="buildroot"
 Nataraj> BR2_TARGET_GENERIC_ISSUE="Welcome to MMFSL ucLibc"


 Nataraj> BR2_WGET="wget --passive-ftp -nd"
 Nataraj> BR2_SVN_CO="svn co"
 Nataraj> BR2_SVN_UP="svn up"
 Nataraj> BR2_BZR_CO="bzr co"
 Nataraj> BR2_BZR_UP="bzr up"
 Nataraj> BR2_GIT="git clone"
 Nataraj> BR2_ZCAT="gzip -d -c"
 Nataraj> BR2_BZCAT="bzcat"
 Nataraj> BR2_TAR_OPTIONS=""
 Nataraj> BR2_DL_DIR="/home/nataraj/buildroot/dl"
 Nataraj> BR2_COPYTO=""
 Nataraj> BR2_STAGING_DIR="$(BASE_DIR)/staging"

 Nataraj> BR2_PRIMARY_SITE=""
 Nataraj> BR2_BACKUP_SITE="http://buildroot.net/downloads/sources/"
 Nataraj> BR2_SOURCEFORGE_MIRROR="easynews"
 Nataraj> BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
 Nataraj> BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
 Nataraj> BR2_DEBIAN_MIRROR="http://ftp.debian.org"
 Nataraj> BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi"
 Nataraj> BR2_JLEVEL=2
 Nataraj> BR2_STRIP_strip=y
 Nataraj> BR2_OPTIMIZE_S=y

 Nataraj> BR2_CONFIG_CACHE=y

 Nataraj> BR2_TOOLCHAIN_BUILDROOT=y

 Nataraj> BR2_KERNEL_HEADERS_2_6_32=y
 Nataraj> BR2_DEFAULT_KERNEL_HEADERS="2.6.32.11"

 Nataraj> BR2_UCLIBC_VERSION_0_9_31=y
 Nataraj> BR2_UCLIBC_VERSION_STRING="0.9.31"
 Nataraj> BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config"

 Nataraj> BR2_BINUTILS_VERSION_2_20=y
 Nataraj> BR2_BINUTILS_VERSION="2.20"
 Nataraj> BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""

 Nataraj> BR2_GCC_VERSION_4_3_4=y
 Nataraj> BR2_GCC_SUPPORTS_SYSROOT=y
 Nataraj> BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
 Nataraj> BR2_GCC_VERSION="4.3.4"
 Nataraj> BR2_TOOLCHAIN_SYSROOT=y
 Nataraj> BR2_EXTRA_GCC_CONFIG_OPTIONS=""
 Nataraj> BR2_GCC_SHARED_LIBGCC=y
 Nataraj> BR2_GCC_ENABLE_TLS=y




 Nataraj> BR2_ENABLE_LOCALE=y
 Nataraj> BR2_ENABLE_LOCALE_PURGE=y
 Nataraj> BR2_ENABLE_LOCALE_WHITELIST="C en_US"
 Nataraj> BR2_USE_WCHAR=y
 Nataraj> BR2_PREFER_SOFT_FLOAT=y
 Nataraj> BR2_SOFT_FLOAT=y
 Nataraj> BR2_PTHREADS_OLD=y
 Nataraj> BR2_TARGET_OPTIMIZATION="-Os -pipe"
 Nataraj> BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y

 Nataraj> BR2_PACKAGE_BUSYBOX=y
 Nataraj> BR2_BUSYBOX_VERSION_1_16_X=y
 Nataraj> BR2_BUSYBOX_VERSION="1.16.1"
 Nataraj> BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
 Nataraj> BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.16.x.config"
 Nataraj> BR2_PACKAGE_BUSYBOX_SKELETON=y

The busybox skeleton is afaik not used much, so that might cause you
trouble. That said, it does have a  /proc entry and no reference to
configfs - Have you changed anything yourself?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
  2010-04-23 12:20         ` Peter Korsgaard
@ 2010-04-23 12:25           ` Nataraj S Narayan
  0 siblings, 0 replies; 8+ messages in thread
From: Nataraj S Narayan @ 2010-04-23 12:25 UTC (permalink / raw)
  To: buildroot

Hi

Changed only these by editing .config:-

BR2_DL_DIR="/home/nataraj/buildroot/dl"
 BR2_TARGET_GENERIC_ISSUE="Welcome to MMFSL ucLibc"

So I remove skeleton option?

regards

Nataraj

On Fri, Apr 23, 2010 at 12:20 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:
>
> ?Nataraj> Hi Jacmet
> ?Nataraj> My .config:-
>
> Thanks, don't forget to send it to the mailing list, and not just
> straight to me.
>
> ?Nataraj> BR2_HAVE_DOT_CONFIG=y
> ?Nataraj> BR2_VERSION="2010.05-git"
> ?Nataraj> BR2_arm=y
> ?Nataraj> BR2_arm926t=y
>
> ?Nataraj> BR2_ARM_TYPE="ARM926T"
> ?Nataraj> BR2_ARM_EABI=y
> ?Nataraj> BR2_ARCH="arm"
> ?Nataraj> BR2_ENDIAN="LITTLE"
> ?Nataraj> BR2_GCC_TARGET_TUNE="arm9tdmi"
> ?Nataraj> BR2_GCC_TARGET_ARCH="armv5te"
> ?Nataraj> BR2_GCC_TARGET_ABI="aapcs-linux"
>
>
> ?Nataraj> BR2_TARGET_GENERIC_HOSTNAME="buildroot"
> ?Nataraj> BR2_TARGET_GENERIC_ISSUE="Welcome to MMFSL ucLibc"
>
>
> ?Nataraj> BR2_WGET="wget --passive-ftp -nd"
> ?Nataraj> BR2_SVN_CO="svn co"
> ?Nataraj> BR2_SVN_UP="svn up"
> ?Nataraj> BR2_BZR_CO="bzr co"
> ?Nataraj> BR2_BZR_UP="bzr up"
> ?Nataraj> BR2_GIT="git clone"
> ?Nataraj> BR2_ZCAT="gzip -d -c"
> ?Nataraj> BR2_BZCAT="bzcat"
> ?Nataraj> BR2_TAR_OPTIONS=""
> ?Nataraj> BR2_DL_DIR="/home/nataraj/buildroot/dl"
> ?Nataraj> BR2_COPYTO=""
> ?Nataraj> BR2_STAGING_DIR="$(BASE_DIR)/staging"
>
> ?Nataraj> BR2_PRIMARY_SITE=""
> ?Nataraj> BR2_BACKUP_SITE="http://buildroot.net/downloads/sources/"
> ?Nataraj> BR2_SOURCEFORGE_MIRROR="easynews"
> ?Nataraj> BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
> ?Nataraj> BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
> ?Nataraj> BR2_DEBIAN_MIRROR="http://ftp.debian.org"
> ?Nataraj> BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi"
> ?Nataraj> BR2_JLEVEL=2
> ?Nataraj> BR2_STRIP_strip=y
> ?Nataraj> BR2_OPTIMIZE_S=y
>
> ?Nataraj> BR2_CONFIG_CACHE=y
>
> ?Nataraj> BR2_TOOLCHAIN_BUILDROOT=y
>
> ?Nataraj> BR2_KERNEL_HEADERS_2_6_32=y
> ?Nataraj> BR2_DEFAULT_KERNEL_HEADERS="2.6.32.11"
>
> ?Nataraj> BR2_UCLIBC_VERSION_0_9_31=y
> ?Nataraj> BR2_UCLIBC_VERSION_STRING="0.9.31"
> ?Nataraj> BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config"
>
> ?Nataraj> BR2_BINUTILS_VERSION_2_20=y
> ?Nataraj> BR2_BINUTILS_VERSION="2.20"
> ?Nataraj> BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
>
> ?Nataraj> BR2_GCC_VERSION_4_3_4=y
> ?Nataraj> BR2_GCC_SUPPORTS_SYSROOT=y
> ?Nataraj> BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
> ?Nataraj> BR2_GCC_VERSION="4.3.4"
> ?Nataraj> BR2_TOOLCHAIN_SYSROOT=y
> ?Nataraj> BR2_EXTRA_GCC_CONFIG_OPTIONS=""
> ?Nataraj> BR2_GCC_SHARED_LIBGCC=y
> ?Nataraj> BR2_GCC_ENABLE_TLS=y
>
>
>
>
> ?Nataraj> BR2_ENABLE_LOCALE=y
> ?Nataraj> BR2_ENABLE_LOCALE_PURGE=y
> ?Nataraj> BR2_ENABLE_LOCALE_WHITELIST="C en_US"
> ?Nataraj> BR2_USE_WCHAR=y
> ?Nataraj> BR2_PREFER_SOFT_FLOAT=y
> ?Nataraj> BR2_SOFT_FLOAT=y
> ?Nataraj> BR2_PTHREADS_OLD=y
> ?Nataraj> BR2_TARGET_OPTIMIZATION="-Os -pipe"
> ?Nataraj> BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
>
> ?Nataraj> BR2_PACKAGE_BUSYBOX=y
> ?Nataraj> BR2_BUSYBOX_VERSION_1_16_X=y
> ?Nataraj> BR2_BUSYBOX_VERSION="1.16.1"
> ?Nataraj> BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
> ?Nataraj> BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.16.x.config"
> ?Nataraj> BR2_PACKAGE_BUSYBOX_SKELETON=y
>
> The busybox skeleton is afaik not used much, so that might cause you
> trouble. That said, it does have a ?/proc entry and no reference to
> configfs - Have you changed anything yourself?
>
> --
> Bye, Peter Korsgaard
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] uclibc / glibc rfs issues
  2010-04-23 11:25 ` Peter Korsgaard
       [not found]   ` <w2k630286c71004230440w822541bdqc0bbd128fb4a2e5e@mail.gmail.com>
@ 2010-04-24  7:30   ` Nataraj S Narayan
  1 sibling, 0 replies; 8+ messages in thread
From: Nataraj S Narayan @ 2010-04-24  7:30 UTC (permalink / raw)
  To: buildroot

Hi Jacmet

When I try the external Codesourcery tool chain on * v2010.02 branch, I get

cp -dpRf package/config/buildroot-config
/home/noy/buildroot/output/build/buildroot-config
Checking external toolchain settings
Incorrect selection of the C library
make: *** [/home/noy/buildroot/output/stamps/ext-toolchain-installed] Error 255


Does that mean latest stable won't work for external toolchain?

regards

Nataraj


On Fri, Apr 23, 2010 at 11:25 AM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Nataraj" == Nataraj S Narayan <natarajsn@gmail.com> writes:
>
> ?Nataraj> TCP cubic registered
> ?Nataraj> NET: Registered protocol family 17
> ?Nataraj> VFS: Mounted root (jffs2 filesystem) on device 31:0.
> ?Nataraj> Freeing init memory: 136K
> ?Nataraj> g_ether gadget: full speed config #1: CDC Ethernet (ECM)
> ?Nataraj> mount: mounting none on /proc failed: No such file or directory
>
> Sounds like you don't have a /proc directory in your rootfs.
>
> --
> Bye, Peter Korsgaard
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-04-24  7:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 11:01 [Buildroot] uclibc / glibc rfs issues Nataraj S Narayan
2010-04-23 11:20 ` Nataraj S Narayan
2010-04-23 11:27   ` Peter Korsgaard
2010-04-23 11:25 ` Peter Korsgaard
     [not found]   ` <w2k630286c71004230440w822541bdqc0bbd128fb4a2e5e@mail.gmail.com>
2010-04-23 11:46     ` Peter Korsgaard
     [not found]       ` <k2k630286c71004230507hf51966b6qd1d488ee90570fdb@mail.gmail.com>
2010-04-23 12:20         ` Peter Korsgaard
2010-04-23 12:25           ` Nataraj S Narayan
2010-04-24  7:30   ` Nataraj S Narayan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox