Correct location of initramfs.cpio file when compiling kernel
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am following this article and generated an initramfs.cpio
file.
Now the tutorial mentions that I have to put this file in build directory:
Finally, you have to rebuild the kernel again:
# 0. Copy the CPIO archive to your kernel build directory:
cp initramfs.cpio .
But I dont see any build directory:
[root@xilinx linux-xlnx]# ls
arch CREDITS drivers include Kbuild lib mm README scripts System.map virt
block crypto firmware init Kconfig MAINTAINERS Module.symvers REPORTING-BUGS security tools vmlinux
COPYING Documentation fs ipc kernel Makefile net samples sound usr vmlinux.o
What is the correct place then?
my board is xilinx Zynq based on ARM
kernel initramfs
add a comment |Â
up vote
1
down vote
favorite
I am following this article and generated an initramfs.cpio
file.
Now the tutorial mentions that I have to put this file in build directory:
Finally, you have to rebuild the kernel again:
# 0. Copy the CPIO archive to your kernel build directory:
cp initramfs.cpio .
But I dont see any build directory:
[root@xilinx linux-xlnx]# ls
arch CREDITS drivers include Kbuild lib mm README scripts System.map virt
block crypto firmware init Kconfig MAINTAINERS Module.symvers REPORTING-BUGS security tools vmlinux
COPYING Documentation fs ipc kernel Makefile net samples sound usr vmlinux.o
What is the correct place then?
my board is xilinx Zynq based on ARM
kernel initramfs
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am following this article and generated an initramfs.cpio
file.
Now the tutorial mentions that I have to put this file in build directory:
Finally, you have to rebuild the kernel again:
# 0. Copy the CPIO archive to your kernel build directory:
cp initramfs.cpio .
But I dont see any build directory:
[root@xilinx linux-xlnx]# ls
arch CREDITS drivers include Kbuild lib mm README scripts System.map virt
block crypto firmware init Kconfig MAINTAINERS Module.symvers REPORTING-BUGS security tools vmlinux
COPYING Documentation fs ipc kernel Makefile net samples sound usr vmlinux.o
What is the correct place then?
my board is xilinx Zynq based on ARM
kernel initramfs
I am following this article and generated an initramfs.cpio
file.
Now the tutorial mentions that I have to put this file in build directory:
Finally, you have to rebuild the kernel again:
# 0. Copy the CPIO archive to your kernel build directory:
cp initramfs.cpio .
But I dont see any build directory:
[root@xilinx linux-xlnx]# ls
arch CREDITS drivers include Kbuild lib mm README scripts System.map virt
block crypto firmware init Kconfig MAINTAINERS Module.symvers REPORTING-BUGS security tools vmlinux
COPYING Documentation fs ipc kernel Makefile net samples sound usr vmlinux.o
What is the correct place then?
my board is xilinx Zynq based on ARM
kernel initramfs
kernel initramfs
edited Sep 3 at 7:40
Mojtaba Ahmadi
12110
12110
asked Apr 12 '14 at 12:45
user2799508
60261736
60261736
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
In the context, kernel build directory doesn't mean the directory named build
in kernel source tree, but rather the directory which holds the sources and where the build is happening. So you want to copy your initramfs to your linux-xlnx
directory.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
In the context, kernel build directory doesn't mean the directory named build
in kernel source tree, but rather the directory which holds the sources and where the build is happening. So you want to copy your initramfs to your linux-xlnx
directory.
add a comment |Â
up vote
0
down vote
In the context, kernel build directory doesn't mean the directory named build
in kernel source tree, but rather the directory which holds the sources and where the build is happening. So you want to copy your initramfs to your linux-xlnx
directory.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
In the context, kernel build directory doesn't mean the directory named build
in kernel source tree, but rather the directory which holds the sources and where the build is happening. So you want to copy your initramfs to your linux-xlnx
directory.
In the context, kernel build directory doesn't mean the directory named build
in kernel source tree, but rather the directory which holds the sources and where the build is happening. So you want to copy your initramfs to your linux-xlnx
directory.
answered Apr 12 '14 at 18:18
dnt
1314
1314
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f124394%2fcorrect-location-of-initramfs-cpio-file-when-compiling-kernel%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password