我正在使用U-Boot和两个内核Image(uImage)。我想在U-Boot中添加一些代码,它将根据时间戳选择内核。 我正在使用MIPS架构。 这两个内核处于不同的MTD分区。
例如: -
If kernel-1 is new, U-Boot will boot Kernel-1. and leave kernel-2 as it is.
If kernel-2 is new, U-Boot will boot kernel-2. and leave kernel-2 as it is.
问题: -
Is it possible to do so?
How can I add such functionality in U-boot?
Where to chage the code for the same?