Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

How to replace old kernel with new #160

Open
pankajjoshi347 opened this issue Jul 27, 2020 · 0 comments
Open

How to replace old kernel with new #160

pankajjoshi347 opened this issue Jul 27, 2020 · 0 comments

Comments

@pankajjoshi347
Copy link

I am trying to replace my existing kernel image which was 5.5.6 built using openembedded-core to the 5.7.2 but this time i want build it natively on u540.

i have tried to build the kernel 5.7.2 natively ,i was able to build the kernel successfully and in my /boot folder i am able to see vmlinux-5.7.2 but now i want to install this image.
i have followed the following steps to build kernel
$make menuconfig ARCH=riscv64
$make -j4
$make modules_install
$make install ,i am attaching the output of this
/usr/ksrc# make install
make: Warning: File '.vmlinux.cmd' has modification time 2585 s in the future
make[1]: Warning: File 'arch/riscv/boot/.Image.cmd' has modification time 2585 s in the future
sh ./arch/riscv/boot/install.sh 5.5.7
arch/riscv/boot/Image System.map "/boot"
Installing normal kernel

Can someone help me out how i can replace my kernel to 5.5.7 since the the method what i have followed did not worked, i am doing something wrong??
Kindly suggest how i can boot from the newly installed kernel since i am not able to get that kernel since when i rebooted my system i am getting the same old kernel only.
When i built the kernel on x86 with the $make install and reboot i am able to install the new kernel but it doesn’t seems to be same here.
Kindly suggest

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant