lima-memtester icon indicating copy to clipboard operation
lima-memtester copied to clipboard

Support for more than 1GB DRAM on H3?

Open ThomasKaiser opened this issue 9 years ago • 2 comments

Just a small reminder: We still have issues on Plus 2/2E to run memtester: http://forum.armbian.com/index.php/topic/1834-repository-management/page-2

Did you had time to look into already? :)

Providing new test images including jemk's patch would be interesting.

ThomasKaiser avatar Aug 25 '16 05:08 ThomasKaiser

Thanks for submitting it as a github tracker issue. I'll try to find some time for this.

ssvb avatar Aug 26 '16 12:08 ssvb

Just to save you some testing time, I did some tests on this issue.

I used mali driver compiled with extra debug messages enabled, Armbian image and "test" application from sunxi-mali repository. For the reference driver is r3p0 with PHYS_OFFSET / cpu_usage_adjust patch already applied and with extra sun8i compatibility patch on top.

  • Both X11 and framebuffer configurations are affected, compared to ssvb/xf86-video-fbturbo/issues/27
  • Running test/test application on Orange Pi Plus 2e (2GB RAM) differs from running on boards with lower RAM size: calling mali_gp_job_start()
Mali<3>: Mali GP: Starting job (0xedaf1e40) on core Mali-400 GP with command 0x00000003
Mali<6>: register_write_relaxed for core Mali-400 GP, relative addr=0x0020, val=0x00000003

immediately results in page fault interrupt

Mali<2>: Mali MMU: Page fault detected at 0x40006180 from bus id 7 of type read on Mali-400 MMU for GP

followed by failing MMU stall rquests

  • Limiting memory size to 512MB with kernel option CONFIG_MEM_512M_DEBUG "Force dram size to 512M(only for debug)" "solves" the issue on Orange Pi Plus 2e

dmesg logs (loading mali module and starting "test" application: Orange Pi One, 512MB RAM, working Orange Pi PC Plus, 1GB RAM, working Orange Pi Plus 2e, 2GB RAM, not working Orange Pi Plus 2e, forced down to 512MB RAM, working

zador-blood-stained avatar Sep 02 '16 12:09 zador-blood-stained