I developed my own board from scratch. I have set required OTP bit for booting SD card as MBR. After that, when I power up my board, I get serial the same serial output repeateadly and contiuesly as below :
PowerPrep start initialize power...
Battery Voltage = 1.69V
No battery or bad battery detected!!!.Dis3
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
what can I do to get rid of this problem ? What may cause this problem. May this related to DDR RAM ? What do you recommend ?
So, my imx233 MCUs come from fabric directly. In this case, do I have to set any OTP bit for using this kind of memory ( MT46V32M16P (512Mbit)) ?
I took imx23EVK Linux BSP as reference. I know that imx23EVK is also using the same DDR1(MT46V32M16P (512Mbit)) RAM but two pieces (2xMT46V32M16P) . In this case, do I have to do any settings in Linux BSP to use single DDR1 instead of two ? How can I make these settings If I have to do.Would you give me some recommendation about that ? Thank you for your kind replies.
For using of memory we changed nothing, only for support SD/MMC:
We have single chip DDR1 and we changed nothing in a kernel.
1 Probably loading through mfg-tools will give to more debug information.
2 Try to load this image with sd/mmc http://sasamy.narod.ru/linux.sb
3 Try up supply voltage 5,5 V
I tried to boot my board with linux.sb you recommend. Only diffrence is that I don get repeadetly output any more but only once at powe up like below :
--------------------------------------------------------------------------
Note : with your linux.sb, I get output below only once at power up
PowerPrep start initialize power...
Battery Voltage = 0.58V
No battery or bad battery detected!!!.Dis1
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
--------------------------------------------------------------------------
Note : with my imx233_linux.sb, I get output below repeatedly after power up
PowerPrep start initialize power...
Battery Voltage = 1.69V
No battery or bad battery detected!!!.Dis3
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
You recommended me to up supply voltage to 5.5 V. I dont use battery in my appllication so I did not connect battery input anywhere. It is unconnected. I suply the imx233 only with 5V DC supplyusing supply pin of imx233. In this case, should I also connect battery input to 5V DC even I dont use real battery ?
I suply the imx233 only with 5V DC supplyusing supply pin of imx233. In this case, should I also connect battery input to 5V DC even I dont use real battery ?
Do you have any other recommendation for checking my board ? What do you think about serial output I sent to you. Is this related to DDR RAM ? Do you recommend any clue for understanding ?
How many layer you use in your pcb ? 4-layer or 2-layer ?
Thanks,
Hi
I suply the imx233 only with 5V DC supplyusing supply pin of imx233. In this case, should I also connect battery input to 5V DC even I dont use real battery ?
PowerPrep start initialize power...
Battery Voltage = 0.63V
No battery or bad battery detected!!!.Dis7
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
start test memory accress
Output for the linux_testmem_evk.sb :
PowerPrep start initialize power...
Battery Voltage = 0.64V
No battery or bad battery detected!!!.Dis1
EVK board
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
start test memory accress
It seems board is stucked in DDR phase. What do you say ?
I have good news. I just checked all critical solders on the baord and it worked. I passed the memory check. After that I tried your linux.sb. It seems ok. it prompted me imx233 login and password. May i know login and password for linux.sb ?
Meanwhile, after I retried your linux.sb , I reload my own binary as imx233_linux.sb. There is a kernel panic as below :
..
.....
......
Failed to add route HP MUX->HPR
ALSA device list:
#0: MXS EVK (mxs adc/dac)
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:11 UTC (11)
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
mmcblk0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:2.
Freeing init memory: 136K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
What is wrong with my imx233_linux.sb configuration. What do you think ? Thank you,
It seems board is stucked in DDR phase. What do you say ?