{"comment":{"url":"https://api.github.com/repos/vchong/arm-trusted-firmware/comments/10277737","html_url":"https://github.com/vchong/arm-trusted-firmware/commit/a4888e93ac9a348f30e9c31073cb62fa31208ec8#commitcomment-10277737","id":10277737,"user":{"login":"vchong","id":7334750,"avatar_url":"https://avatars.githubusercontent.com/u/7334750?v=3","gravatar_id":"","url":"https://api.github.com/users/vchong","html_url":"https://github.com/vchong","followers_url":"https://api.github.com/users/vchong/followers","following_url":"https://api.github.com/users/vchong/following{/other_user}","gists_url":"https://api.github.com/users/vchong/gists{/gist_id}","starred_url":"https://api.github.com/users/vchong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchong/subscriptions","organizations_url":"https://api.github.com/users/vchong/orgs","repos_url":"https://api.github.com/users/vchong/repos","events_url":"https://api.github.com/users/vchong/events{/privacy}","received_events_url":"https://api.github.com/users/vchong/received_events","type":"User","site_admin":false},"position":11,"line":142,"path":"plat/hikey/include/platform_def.h","commit_id":"a4888e93ac9a348f30e9c31073cb62fa31208ec8","created_at":"2015-03-19T02:27:07Z","updated_at":"2015-03-19T02:27:07Z","body":"hzhuang1:\r\nYou can enlarge BL32_LIMIT, and keep it below than XG2RAM0_BASE + XG2RAM0_SIZE.\r\n\r\nvchong:\r\nThat's what I'm saying. If I set BL32_LIMIT = XG2RAM0_BASE + XG2RAM0_SIZE and BL32_BASE = BL31_LIMIT, that's only 160KB and not enough to store bl32.bin. I also cannot reduce BL32_BASE since it's already at BL31_LIMIT.\r\n\r\nhzhuang1:\r\nI set XG2RAM0_SIZE as 4MB, [0xf980_0000 - 0xf9bf_ffff]. And BL31_LIMIT is 0xf989_8000.\r\nSo there should be enough space for BL32.\r\n\r\nvchong:\r\nYou're right. I used 0xf98c0000 instead of 0xf9c00000 for XG2RAM0_LIMIT.\r\nSorry. Too many numbers. :((\r\nI will set BL32_LIMIT as BL32_BASE + 0x01000000 as in DRAM case."}}