Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-13 Thread Andre Przywara
Hi, We are able to figure out the issue. PERIPHBASE returned on ARNDALE board was 0x1050 and adding GIC offset was creating an incorrect address. please see: https://github.com/apritzel/u-boot-hypmode/commit/5d9c4209907c6d67dadd033887a30c2f10efeb4c Setting CONFIG_ARM_GIC_BASE_ADDRESS as

Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-13 Thread armdev
Dear Andre, Thanks for replying. On 13-Mar-2014, at 3:11 pm, Andre Przywara wrote: > Hi, > >> We are able to figure out the issue. PERIPHBASE returned on ARNDALE >> board was 0x1050 and adding GIC offset was creating an incorrect >> address. > > please see: > https://github.com/apritzel

Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-12 Thread armdev
Hi Christoffer / uboot, We are able to figure out the issue. PERIPHBASE returned on ARNDALE board was 0x1050 and adding GIC offset was creating an incorrect address. Setting CONFIG_ARM_GIC_BASE_ADDRESS as 0x1048 in arndale.h solves the issue. The u-boot code needs to be fixed for arnda

Re: [U-Boot] ref: virt-v7.c switching to non_secure mode

2014-03-12 Thread armdev
Got a mail that Andre is not with linaro, Adding Christoffer Dall On 13-Mar-2014, at 11:17 am, armdev wrote: > Hi Andrey , > > This is wrt your patch set which enabled the switch to non-sec and hip mode > in armv7. > We have a small piece of code which we run in hypmode using the bootm comman