On 21.05.2014 20:41, Peter Maydell wrote: > If we want to have -kernel boot in NS then yes, the bootloader > stub is the place that code should go. > > The difficulty with -kernel being NS is that some guest kernels > for some boards may be assuming that they will run in secure state > and can directly access h/w or registers which aren't accessible > from NS. I guess we need to implement it and then see if any of our > guest images stop working...
Then maybe we can extend arm_boot_info structure to deal with this. Regards, Sergey Fedorov.