Why kernel name does not change after sync & reboot commands?
Good evening,
I am using stm32mp157F-DK-2 board. And I want to update the kernel from old 5.4.31 to 5.10.10.
I was following step-by-step "Modify, rebuild and reload the Linux® kernel" on the "https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel#Build_the_Linux-C2-AE_kernel_source_code_for_the_first_time".
Only strange thing the command: >> /sbin/depmod -a - does not return any success/failure info. No errors appeared so I used >> sync and >>reboot.
After reboot I see that both old and new kernel modules are present:
>> ls /lib/modules
5.10.10 5.4.31
When i try to check current kernel version :
>> uname -a
Linux stm32mp1 5.4.31 #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020 armv7l armv7l armv7l GNU/Linux
Have I missed something? Does the old kernel module should be removed entirely?
I have tried re-flashing the board and repeating procedure multiple times. Thanks for any information!
