I am trying to boot my custom imx233 board https://github.com/samarjit/MyIMX233.
I have not burnt HW_OCOTP_ROM0::SD_MBR_BOOT yet so I am using BCB. I have been trying to run with 8GB SD card. I downloaded bootstream_make_bootable.pl, write_bootstream.pl from https://groups.google.com/forum/#!topic/rockboxplayer/CtLFCED9wWM.
I got u-boot.sb from http://os.archlinuxarm.org/os/armv5te/boot/olinuxino/u-boot.sb
Ran the below command to load onto SD card
For 8GB card I needed to modify bootstream_make_bootable.pl slightly to locate boot signature correctly.
This creates a BCB which point to MBR of u-boot.sb.
After this I get HTLC<0>HTLC<0>... repeatedly. I guess it is rebooting. I am stuck at how to debug any further.
Is there a way I can use bootlets instead of u-boot.sb using BCB?
Or, is it better to burn the otp HW_OCOTP_ROM0::SD_MBR_BOOT to install bootlets?
Board is powered by USB and UART is used to get the logs.
Hi igor, I finally gave up the idea of debugging further with BCB and decided to take risk and burn the OTP.
Now I flashed the SD card with image from https://www.olimex.com/wiki/IMX233 which provides the link to https://www.olimex.com/wiki/images/6/6d/Imx233_kernel_2.6_ARCH_FS_WIFI_release_5.torrent. I didn't create any partition for u-boot. dd if=imx233_kernel_2.6_ARCH_FS_WIFI_release_5.img of=/dev/mmcblk0
If I try to measure the voltages using multimeter they are fluctuating a lot.
I can measure these voltages 3.3v, 1.2v,1v, 4p2 they are also going up and down in a cycle. I cannot see if this cycle is matching with rebooting time.
But 2.5v I cannot even see on multimeter, it is just fluctuating around 0-300mv.
HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC
PowerPrep start initialize power...
Battery Voltage = 2.91V
Chargeable battery detected but the voltage is too low for battery powered operation.Booting from 5V power source.
LLCJun 14 201614:59:00
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
LLLLLLLFCLJ
Data Abort
r14_<0>HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC
PowerPrep start initialize power...
Battery Voltage = 2.91V
Chargeable battery detected but the voltage is too low for battery powered operation.Booting from 5V power source.
LLCJun 14 201614:59:00
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
LLLLLLLFCLJ
Data Abort
r14_<0>HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC
PowerPrep start initialize power...
Battery Voltage = 2.90V
Chargeable battery detected but the voltage is too low for battery powered operation.Booting from 5V power source.
LLCJun 14 201614:59:00
EMI_CTRL 0x1C084040
FRAC 0x92926192
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926192
start change cpu freq
hbus 0x00000003
cpu 0x00010001
LLLLLLLFCLJ
HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFC
PowerPrep start initialize power...
Battery Voltage = 2.90V...
What could be wrong now?
Finally linux got loaded and booted.
In 128LQFP
DCDC_BATT - pin 100
BATT - pin 103
I was working with 5v only circuit as per i.mx23_reference_sch_revc.pdf where BATT & DCDC_BATT were connected via 1K resistors to VDD_4p2 rail.
DCDC_BATT had 1uf cap. But BATT pin had 47uf cap ceramic. When I added 100uf elecrolytic caps in BATT I got this below error plus sometimes SD card general failure 0x8020A023, 0x8020A00E .
LLLLLLLFCLJ
Data Abort
r14_HTLC.....
But finally I shorted both DCDC_BATT and BATT and grounded by capacitors 1uf and 47uf ceramic which stabilized power supply I guess. I am not fully sure why it worked.
Hi samarjit
please check
https://community.nxp.com/message/394276?commentID=394276#comment-394276
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------