0

我想将双启动功能集成到 u-boot 中。在 SPL 执行期间,u-boot.img 得到验证。如果它得到正确的身份验证,Android ICS 就会启动。如果没有,则应启动一个虚拟内核,它只显示一条错误消息(可能作为引导标志)。

因此,我确实面临三个挑战:

  1. 我需要传递 u-boot.img 不同的参数,以根据身份验证过程启动不同的内核映像。
  2. 我需要集成某种虚拟内核,它只显示一个启动屏幕。
  3. 我需要用我自己的版本修改这个启动屏幕。

我知道如何执行最后一步,因为启动屏幕似乎是一个 zip 文件,需要替换。但是,你能给我关于第一个和第二个任务的提示吗?

谢谢,P

4

1 回答 1

1

I think you mean authenticate the kernel. Is that correct? If you want to do that, U-Boot has that capability. You can do all of this in a script that will either boot the authenticated kernel or display a splash screen.

For the splash screen, there are several ways to do it. One way would use a U-Boot command, depending on version, to display a bitmap stored in flash or on an SD card. The other way would require you to convert a bitmap to a header file and rebuild the U-Boot image. I can give you directions for this if you tell me where you want to store the image and what version of U-Boot you are using. Also for rebuilding the image, you will need to know which source you are using, so you can add the header with the bitmap. Also what is the data format for the display (RGB 565, Etc.)?

Where is the kernel going to be stored and by what method are you going to authenticate it?

于 2013-10-07T04:47:41.767 回答