arm - Boot Linux in Normal World -


i exploring trustzone (the arm security extension) on i.mx53 quick starting board. succeeded make bare-metal system : secure world image , normal world image. load 2 images in ram u-boot , boot secure world who initializes monitor system , gives hand normal world image.

i want use same system. time instead of using normal world basic image, use linux kernel image. did configurations found in i.mx53 reference manual , i.mx53 security reference manual when in secure world. configurations :

  • configure csu : csl0-31 0x00ff_00ff

  • configure tzic (interrupts) tzic_intsec0-3 0xffff_ffff, tzic_priority0-31 0x1f1f_1f1f , tzic_intctrl 0x8001_0001

  • configure secure configuration register : ns=0 irq=0 fiq=0 ea=0 fw=1 aw=1 => 0x30

when give hand linux kernel, boot process starts, here part of output :

regulator: core version 0.5

net: registered protocol family 16

i.mx iram pool: 128 kb@0xec840000

failed release iram partition

cpu i.mx0 revision 0.0

unhandled fault: external abort on non-linefetch (0x1008) @ 0xec82c00c

internal error: : 1008 [#1] preempt

last sysfs file:

modules linked in:

cpu: 0 not tainted (2.6.35.3 #1)

pc @ mxc_cpu_lp_set+0x1c/0x16c

lr @ arch_idle+0x60/0x294

pc : [<8003a958>] lr : [<8003ab08>] psr: 60000093

sp : 80835f78 ip : 00000003 fp : 8088fb68

....

as can notice in output, there problem iram (because diplays iram ready) , there data abort. after displays related these errors, linux kernel boot process stops.

any ideas of how solve ? missing configuration ? thank you

have seen this post on freescale forum?

it seems exact same problem you're having. basically, trying access register, @ 0xec82c00c virtual address, configured default non-accessible normal world.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -