How to disable memory channel 2?

69 views
Skip to first unread message

CY C

unread,
Aug 26, 2013, 10:19:11 PM8/26/13
to android...@googlegroups.com
Hello All,
 
I want to disbable memory channel 2 (emif2), I have tried to modify emif.h(/android3.0/arch/arm/mach-omp2/include/mach),but it can't work properly.
Any one can tell me how to configuration?
 
Platform : TI Pandaboard 4460
software : 4AI.1.7 OMAP4 Icecream Sandwich
 
Regards
CYC

alexandre bailon

unread,
Aug 28, 2013, 1:57:14 AM8/28/13
to android...@googlegroups.com
Hello

I'm not sure you can do it in kernel (by default, interleaving is enabled). I think you must do it in bootloader. 
In u-boot (2013.04), you must do it in arch/arm/cpu/armv7/omap-common/emif-common.c.

Regards,
Alexandre Bailon

CY C

unread,
Aug 29, 2013, 4:33:50 AM8/29/13
to android...@googlegroups.com
Hello Alexandre Bailon,
 
In u-boot, I have modified interleaving mode and platform can boot correctly.
But when Android system is initialized, the initialization message always indicates system reboot.
So, I think maybe Android also need to be modified EMIF configuration.
 
Regards
CYC

 

 
 
 
 

在 2013年8月28日星期三UTC+8下午1时57分14秒,alexandre bailon写道:

alexandr...@gmail.com

unread,
Aug 29, 2013, 10:55:18 AM8/29/13
to android...@googlegroups.com
But when Android system is initialized, the initialization message always indicates system reboot.
Can you send the logs ??
> So, I think maybe Android also need to be modified EMIF configuration.
Android (and kernel) should not be aware about interleaving. 
Have you only disable interleaving or have you also disable channel ?
The kernel should expect your board have 1GB of memory. But if channel is disabled, only 512MB are available.
u-boot can provide memory using atags, or it may be defined in kernel command line.
May be you have to update mapping in DMM? By default, there is 2 section of 512MB. I don't remember how DMM is working but I think it map ARM memory address to EMIF1 and EMIF2 memory address. If channel two is disabled, it can make problem.

regards


2013/8/29 CY C <chiou.c...@gmail.com>

--
--
unsubscribe: android-kerne...@googlegroups.com
website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to a topic in the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-kernel/Clb-YNb4XjM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-kerne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages