Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0005564]: Removing initramfs has not complete support
Date: Wed, 22 Oct 2008 03:29:19 -0700	[thread overview]
Message-ID: <3c0427afb034012810ed0e299ed9e831@busybox.net> (raw)


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=5564 
====================================================================== 
Reported By:                robang74
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   5564
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-19-2008 03:38 PDT
Last Modified:              10-22-2008 03:29 PDT
====================================================================== 
Summary:                    Removing initramfs has not complete support
Description: 
After initramfs has been enabled (BR2_TARGET_ROOTFS_INITRAMFS=y) 'make'
recompile the entire kernel properly. Deletion of binaries/$project does
not hurt anything because 'make' redo all files in that directory. 

After initramfs has been disabled (# BR2_TARGET_ROOTFS_INITRAMFS is not
set) clear the binaries/$project directory still does not hurt because
there will be no any kernel recompilation until 'make linux26-menuconfig'
take place and then:

/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=i386
CFLAGS_KERNEL="-Os
-I/home/roberto/gles/buildroot/build_i586/staging_dir/usr/include
-I/home/roberto/gles/buildroot/build_i586/staging_dir/include
--sysroot=/home/roberto/gles/buildroot/build_i586/staging_dir/ -isysroot
/home/roberto/gles/buildroot/build_i586/staging_dir -mtune=i586
-march=i586 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64"
INSTALL_MOD_PATH=/home/roberto/gles/buildroot/project_build_i586/ugles/root
CROSS_COMPILE=/home/roberto/gles/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-
LDFLAGS="-L/home/roberto/gles/buildroot/build_i586/staging_dir/lib
-L/home/roberto/gles/buildroot/build_i586/staging_dir/usr/lib
--sysroot=/home/roberto/gles/buildroot/build_i586/staging_dir/"
LZMA="/home/roberto/gles/buildroot/toolchain_build_i586/bin/lzma" -C
/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7
prepare
make[1]: Entering directory
`/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
make[1]: Leaving directory
`/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7'
touch
/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7/.depend_done
/usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=i386
CFLAGS_KERNEL="-Os
-I/home/roberto/gles/buildroot/build_i586/staging_dir/usr/include
-I/home/roberto/gles/buildroot/build_i586/staging_dir/include
--sysroot=/home/roberto/gles/buildroot/build_i586/staging_dir/ -isysroot
/home/roberto/gles/buildroot/build_i586/staging_dir -mtune=i586
-march=i586 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64"
INSTALL_MOD_PATH=/home/roberto/gles/buildroot/project_build_i586/ugles/root
CROSS_COMPILE=/home/roberto/gles/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-
LDFLAGS="-L/home/roberto/gles/buildroot/build_i586/staging_dir/lib
-L/home/roberto/gles/buildroot/build_i586/staging_dir/usr/lib
--sysroot=/home/roberto/gles/buildroot/build_i586/staging_dir/"
LZMA="/home/roberto/gles/buildroot/toolchain_build_i586/bin/lzma" \
		-C /home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7
bzImage
make[1]: Entering directory
`/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7'
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
 
/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7/scripts/gen_initramfs_list.sh:
Cannot open
'/home/roberto/gles/buildroot/binaries/ugles/rootfs.i586.initramfs_list'
make[2]: *** [usr/initramfs_data.cpio.gz] Error 1
make[1]: *** [usr] Error 2
make[1]: Leaving directory
`/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7'
make: ***
[/home/roberto/gles/buildroot/project_build_i586/ugles/linux-2.6.21.7/arch/i386/boot/bzImage]
Error 2



====================================================================== 

---------------------------------------------------------------------- 
 robang74 - 10-22-08 03:29  
---------------------------------------------------------------------- 
Proposed solution: 

  linux CONFIG_INITRAMFS_SOURCE should be reset to "" void value

in order to trigger the reset event 

 1) make should verify the previous .config values which has been changed
and acts accordingly

 2) make should save the current .config into a
project_build_$ARCH/$project/previous.config 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-19-08 03:38  robang74       New Issue                                    
10-19-08 03:38  robang74       Status                   new => assigned     
10-19-08 03:38  robang74       Assigned To               => buildroot       
10-19-08 03:39  robang74       Issue Monitored: robang74                    
10-22-08 03:29  robang74       Note Added: 0013964                          
======================================================================

             reply	other threads:[~2008-10-22 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 10:29 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-22 14:05 [Buildroot] [buildroot 0005564]: Removing initramfs has not complete support bugs at busybox.net
2008-10-22 14:01 bugs at busybox.net
2008-10-19 10:38 bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c0427afb034012810ed0e299ed9e831@busybox.net \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox