{"action":"created","issue":{"url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/6","repository_url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi","labels_url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/6/comments","events_url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/6/events","html_url":"https://github.com/BrianSidebotham/arm-tutorial-rpi/issues/6","id":134238857,"node_id":"MDU6SXNzdWUxMzQyMzg4NTc=","number":6,"title":"Problem with interrupts on the Pi2","user":{"login":"StuartCartmill","id":4071412,"node_id":"MDQ6VXNlcjQwNzE0MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4071412?v=4","gravatar_id":"","url":"https://api.github.com/users/StuartCartmill","html_url":"https://github.com/StuartCartmill","followers_url":"https://api.github.com/users/StuartCartmill/followers","following_url":"https://api.github.com/users/StuartCartmill/following{/other_user}","gists_url":"https://api.github.com/users/StuartCartmill/gists{/gist_id}","starred_url":"https://api.github.com/users/StuartCartmill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StuartCartmill/subscriptions","organizations_url":"https://api.github.com/users/StuartCartmill/orgs","repos_url":"https://api.github.com/users/StuartCartmill/repos","events_url":"https://api.github.com/users/StuartCartmill/events{/privacy}","received_events_url":"https://api.github.com/users/StuartCartmill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-02-17T10:16:48Z","updated_at":"2018-12-19T07:15:26Z","closed_at":null,"author_association":"NONE","body":"I am having a problem with interrupts on the Pi2. It appears that the first interrupt causes execution to jump to somewhere and not return. I have checked the disassembly listing and the vector table looks ok.Has anyone had this problem and fixed it?\n"},"comment":{"url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/comments/448493294","html_url":"https://github.com/BrianSidebotham/arm-tutorial-rpi/issues/6#issuecomment-448493294","issue_url":"https://api.github.com/repos/BrianSidebotham/arm-tutorial-rpi/issues/6","id":448493294,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODQ5MzI5NA==","user":{"login":"sergio-uma","id":26603742,"node_id":"MDQ6VXNlcjI2NjAzNzQy","avatar_url":"https://avatars0.githubusercontent.com/u/26603742?v=4","gravatar_id":"","url":"https://api.github.com/users/sergio-uma","html_url":"https://github.com/sergio-uma","followers_url":"https://api.github.com/users/sergio-uma/followers","following_url":"https://api.github.com/users/sergio-uma/following{/other_user}","gists_url":"https://api.github.com/users/sergio-uma/gists{/gist_id}","starred_url":"https://api.github.com/users/sergio-uma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergio-uma/subscriptions","organizations_url":"https://api.github.com/users/sergio-uma/orgs","repos_url":"https://api.github.com/users/sergio-uma/repos","events_url":"https://api.github.com/users/sergio-uma/events{/privacy}","received_events_url":"https://api.github.com/users/sergio-uma/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T07:15:26Z","updated_at":"2018-12-19T07:15:26Z","author_association":"NONE","body":"I had the same issue because I updated the firmware (bootcode.bin & start.elf) and from that moment my RPi 2 model B (v1.1) goes to hypervisor mode (0x1A). I put this code just before IVT copy:\r\n```\r\n.arch_extension sec\r\n.arch_extension virt\r\n\tmrs\t\tr0, cpsr\r\n\tand\t\tr0, r0, #0x1F\r\n\tcmp\t\tr0, #CPSR_MODE_SVR\r\n\tbeq\t\tsvc_mode\r\n\tmov\t\tr0, #CPSR_MODE_SVR\r\n\tmsr\t\tspsr_cxsf, r0\r\n\tadd\t\tr0, pc, #4\r\n\tmsr\t\tELR_hyp, r0\r\n\teret\r\nsvc_mode:\r\n```\r\nAnd now it is working properly."}}
{"actor":{"display_login":"sergio-uma"}}