[U-Boot] [PATCH] rockchip: rk3288: sdram: fix DDR address range

Ziyuan Xu xzy.xu at rock-chips.com
Fri Sep 23 04:54:09 CEST 2016


Hi Simon,


On 2016年09月23日 10:39, Simon Glass wrote:
> Hi,
>
> On 4 September 2016 at 19:39, Ziyuan Xu <xzy.xu at rock-chips.com> wrote:
>> The all current Rockchip SoCs supporting 4GB of ram have problems
>> accessing the memory region 0xfe000000~0xff000000. Actually, some IP
>> controller can't address to, so let's limit the available range.
>>
>> This patch fixes a bug which found in miniarm-rk3288-4GB board. The
>> U-Boot was relocated to 0xfef72000, and .bss variants was also
>> relocated, such as do_fat_read_at_block. Once eMMC controller transfer
>> data to do_fat_read_at_block via DMA, DMAC can't access more than
>> 0xfe000000. So that DMAC didn't work sane.
>>
>> Signed-off-by: Ziyuan Xu <xzy.xu at rock-chips.com>
>> ---
>>
>>   arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 7 ++++---
>>   1 file changed, 4 insertions(+), 3 deletions(-)
> No comments on this one?

This patch could fix a bug while booting to kernel, which could be 
reproduce on 4 GB board. I hope someone who has 4 GB board could test it .

>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested on firefly-rk3288:
> Tested-by: Simon Glass <sjg at chromium.org>
>
>
>




More information about the U-Boot mailing list