We do an out AM3359 board , it reference AM335x EVM.
what difference between TI AM335x EVM and our AM3359 board.
TI AM335x EVM our AM3359 board
ETH may be grmii MII
WIFI wl127x No wifi No BT
Audio McASP1 McASP0
other is same.
And We have run it in linux embeded os.
But when we do android os on our AM3359 board,it can show robot, but can't display other after this.
So I do logcat to an file.
it show many error,such as :
E/BatteryService( 355): Could not open /sys/class/power_supply I/sysproc ( 355): Entered system_init() I/sysproc ( 355): ServiceManager: 0x7cac0 I/SurfaceFlinger( 355): SurfaceFlinger is starting I/SurfaceFlinger( 355): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/FramebufferNativeWindow( 355): couldn't open framebuffer HAL (Bad address)
I think this error may cause no display Android desktop.
I do the filesystem follow TI-Android-GingerBread-2_3_4-DevKit-2_1_1 DeveloperGuide.mht and TI-Android-GingerBread-2_3_4-DevKit-2_1_1 UserGuide.mht
1. download TI_Android_GingerBread_2_3_4_AM335x_Sources.tar.gz
2. cd TI_Android_GingerBread_2_3_4_AM335x_Sources ./.repo/repo/repo sync --local-only
3. make TARGET_PRODUCT=am335xevm OMAPES=4.x -j2
Can you help me , I am very worried. Thank you very much!
Can you try without the SGX components?
Easy way to disable SGX is
1) delete system/bin/sgx/rc.pvr
2) delete /system/lib/hw/gralloc.omap3.so.*
The differences you mentioned could not create boot up problems.
What is your panel size and depth?
If this post answers your query, consider clicking the Verify Answer button.
Could you please check whether pvrsrvkm.ko and omaplfb.ko kernel modules are properly inserted on your platform?
Also there seems to be an issue with the following from the logs, could you please ensure that there are no illegal memory writes -
# devmem2 0x4830A204
/dev/mem opened.[ 108.236082] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40160204
Memory mapped at address 0x40160000.
[ 108.358730] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40160204
 + Stopped (s[ 108.408710] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40160204
ignal) devmem2 0x4830A204
Thank you for your reply.
I have test you suggestion, disable SGX through
Now it can enter android desktop,see follow picture
but this touchscreen is inaccurate ,and response is very slow,
And attach logcat and console log
And you can see touchscreen is init ok in console log and logcat
[ 1.294399] mousedev: PS/2 mouse device common for all mice[ 1.301228] input: ti-tsc-adcc as /devices/platform/tsc/input/input0
I/EventHub( 137): New device: path=/dev/input/event0 name=ti-tsc-adcc id=0x10000 (of 0x1) index=1 fd=83 classes=0x4E/EventHub( 137): could not get driver version for /dev/input/mouse0, Not a typewriter
And in logcat , there are much error about alsa,but I think McASP0 is init ok in console log ,and at android startup ,
i have listen an sound from earphone.
[ 1.470820] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok[ 1.478104] ALSA device list:[ 1.481230] #0: AM335X EVM
so could you help me to analyse those question.
1. touchscreen how to calibrate
2. why it so slow
3. alsa why so much error
Thank you very much!
1.If reserve sgx in filesystem , android will stop here
2.if disable sgx in filesystem ,android enter desktop
The UI response is slow because SGX is disabled on your platform. Can you please re-enable/install SGX and check for the suggestions in my previous post?
Thank your reply!
I have reinstall filesystem,and I found that pvrsrvkm.ko and omaplfb.ko is in follow folder.
After system startup, android stop at robot display.
And when I do devmem2 0x4830A204 command, it show follow
# devmem2 0x4830A204/dev/mem opened.[ 241.581112] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40239204
Memory mapped at address 0x40239000.[ 241.697857] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40239204[ 241.755501] Unhandled fault: external abort on non-linefetch (0x1018) at 0x40239204 Bus error devmem2 0x4830A204
If i don't do this commad,
My panel is 7 inch, 800*480, 16bit RGB depth.
I also saw someone say that bootargs's vram may be cause some problem. Is it bootarg's problem??
First of all, "vram" in bootargs is not applicable to AM335x devices, so doesn't have any meaning here.
Also I did not understand what you want to do with the command "devmem2 0x4830A204"??? Which module are you trying to access here?
Please note that, LCDC module is mapped at 0x4830_E000.
Thanks for your reply!
devmem2 0x4830A204 command, I reference follow web site:
So I unsderstand we can't do this command.
Could you help me analyse those quetion above.
I think you should not run that devmem2 command as above. It was meant to check the silicon rev for Beagle board.
On your platform when you execute "lsmod " do you see the kernel modules (*.kos) as pointed in the above post?
if not please execute the "/system/bin/sgx/rc.pvr", that should initialize your platform and boot.
Could you help answer other quetion above?
Can you check the wiki http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.1_PortingGuides#Touchscreen and follow the section on calibration?
2. why it so slow
Can you check the following
1. Check /proc/interrupts to see you are getting interrupts from the touch screen hardware.
2. See getevent to see you are getting events from the input subsystem, when you are touching
Are you able to here the audio and is it clear?
Audio controls shown in logcat are outdated and can be ignored. AM335X audio device use the default controls.
Thank you all the same!
We have solve this quetion, based the patch in URL:
Now am335x android work very well!
I probably have isolated the problem to the MLO file which is generated at the same time that the u-boot file. If I replace the MLO file from the one who is in the pré-compiled image from TI, the kit starts without problems.
I made a new Android Image and use the MLO and u-boot files from the pré-compiled image from TI, to confirm, and it worked.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.