I am working on NXP LS2088A RDB. The RDB comes pre-loaded with software. The software is loaded in NOR flash on the RDB. When the power button on the front of the chassis is pressed the U-boot loader automatically runs and then loads and starts Linux using images located in vbank0 of the RDB's NOR flash. Following are the details of the default Linux:
:~# uname -r
4.1.8-rt8+gca03abf
:~# cat /etc/version
20161221131900
The /boot directory is empty.
Now, the RDB provides an option of booting using an SD card linux. I have a bootable SD card with Linux kernel 4.1.8-rt8+g9873f6b (created using YOCTO images and bitbake). I followed the instructions in the manual and booted the RDB with this SD card. I executed the commands mentioned above. Following are the details:
:~# uname -r
4.1.8-rt8+gca03abf
:~# cat /etc/version
20170727103535
The /boot directory contains the file Image-4.1.8-rt8+g9873f6b (i.e the kernel image in the SD card) along with other dtb and link files. I am unable to understand why the uname -r is still showing the default RDB kernel version? Why is the SD card kernel image not used by the RDB although it is using the file system?