sergey suprun

iMX233 DCDC powerUp problem

Discussion created by sergey suprun on Dec 13, 2011
Latest reply on Dec 14, 2011 by danix

Good day dear coforumer! I have a my own board based on iMX233 processor. I want to power up onboard DCDC, as more effective than linregulators.  Bootlets source code has been corrected  in  the way which errata recommends. So, my board is bootable now, but it's work unstable,a lot of times it stops on the linux boot stage. And another one it doesn't work on frequencies higher than 320 Mhz (((.  My current bootlets version is 10.12.01. Any suggestion. Thanks a lot, earlier))  

 Linux BootLog

PowerPrep start initialize power...

Configured for 5v only power source. Battery powered operation disabled.

--------------POWER---------------------

HW_POWER_CTRL 0x00019024

HW_POWER_5VCTRL 0x0003F003

HW_POWER_MINPWR 0x00000020

HW_POWER_CHARGE 0x00410000

HW_POWER_VDDDCTRL 0x00020710

HW_POWER_VDDACTRL 0x0000270A

HW_POWER_VDDIOCTRL 0x00002614

HW_POWER_VDDMEMCTRL 0x0000020C

HW_POWER_DCDC4P2 0xC0C00000

HW_POWER_MISC 0x00000000

HW_POWER_DCLIMITS 0x0000305F

HW_POWER_LOOPCTRL 0x00167021

HW_POWER_STS 0x20038A2E

HW_POWER_SPEED 0x00F40000

HW_POWER_BATTMONITOR 0x0000060F

HW_POWER_RESET 0x3E770000

HW_POWER_DEBUG 0x00000000

HW_POWER_SPECIAL 0x00000000

HW_POWER_VERSION 0x03010000

------------------------------------------

----------------LRADC-------------------

HW_LRADC_CTRL0 0x00000000

HW_LRADC_CTRL1 0x00000080

HW_LRADC_CTRL2 0x00008000

HW_LRADC_CTRL3 0x00000000

HW_LRADC_CTRL4 0x76543210

HW_LRADC_STATUS 0x07FF0000

HW_LRADC_CH6 0x00000000

HW_LRADC_CH7 0x000007AB

HW_LRADC_DELAY0 0x00000000

HW_LRADC_DELAY1 0x00000000

HW_LRADC_DELAY2 0x00000000

HW_LRADC_DELAY3 0x80180064

HW_LRADC_CONVERSION 0x000201C1

------------------------------------------

-------------CLK-----------------------

HW_CLKCTRL_PLLCTRL0 0x00000000

HW_CLKCTRL_PLLCTRL1 0x00000000

HW_CLKCTRL_CPU 0x00010001

HW_CLKCTRL_HBUS 0x00000001

HW_CLKCTRL_XBUS 0x00000001

HW_CLKCTRL_XTAL 0x70000001

HW_CLKCTRL_SSP 0x00000001

HW_CLKCTRL_GPMI 0x80000001

HW_CLKCTRL_EMI 0x80000101

HW_CLKCTRL_SAIF 0x80000001

HW_CLKCTRL_FRAC 0x92929292

HW_CLKCTRL_FRAC1 0x80000000

HW_CLKCTRL_CLKSEQ 0x000001FB

HW_CLKCTRL_RESET 0x00000000

HW_CLKCTRL_STATUS 0x00000000

HW_CLKCTRL_VERSION 0x04000000

------------------------------------------

LLCDec 13 201107:32:16

EMI_CTRL 0x1C084040

FRAC 0x92926192

init_ddr_mt46v32m16_133Mhz

power 0x00020710

Frac 0x92926192

start change cpu freq

hbus 0x00000003

cpu 0x00010001

LLLLLLLFCLJUncompressing Linux... done, booting the kernel.

Linux version 2.6.35.3 (root@abk-d23) (gcc version 4.3.3 (GCC) ) #3 PREEMPT Thu Nov 17 10:15:06 EET 2011

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

CPU: VIVT data cache, VIVT instruction cache

Machine: Freescale MX23EVK board

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256

Kernel command line: console=ttyAM0,115200 ssp1=spi1 ssp2=mmc root=/dev/mmcblk0p2 rootwait

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory: 64MB = 64MB total

Memory: 60864k/60864k available, 4672k reserved, 0K highmem

Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)

fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

DMA : 0xfde00000 - 0xffe00000 ( 32 MB)

vmalloc : 0xc4800000 - 0xf0000000 ( 696 MB)

lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)

modules : 0xbf000000 - 0xc0000000 ( 16 MB)

.init : 0xc0008000 - 0xc0026000 ( 120 kB)

.text : 0xc0026000 - 0xc03bf000 (3684 kB)

.data : 0xc03c0000 - 0xc03ecb00 ( 179 kB)

SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Hierarchical RCU implementation.

RCU-based detection of stalled CPUs is disabled.

Verbose stalled-CPUs detection is disabled.

NR_IRQS:224

Console: colour dummy device 80x30

console [ttyAM0] enabled

Calibrating delay loop... 143.36 BogoMIPS (lpj=716800)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

regulator: core version 0.5

regulator: dummy:

NET: Registered protocol family 16

regulator: vddd: 800 <--> 1575 mV at 1550 mV fast normal

regulator: vdddbo: 800 <--> 1575 mV fast normal

regulator: vdda: 1500 <--> 2275 mV at 1750 mV fast normal

regulator: vddio: 2800 <--> 3575 mV at 3300 mV fast normal

regulator: overall_current: fast normal

regulator: mxs-duart-1: fast normal

regulator: mxs-bl-1: fast normal

regulator: mxs-i2c-1: fast normal

regulator: mmc_ssp-1: fast normal

regulator: mmc_ssp-2: fast normal

regulator: charger-1: fast normal

regulator: power-test-1: fast normal

regulator: cpufreq-1: fast normal

i.MX IRAM pool: 28 KB@0xc4808000

bio: create slab <bio-0> at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Advanced Linux Sound Architecture Driver Version 1.0.23.

Switching to clocksource mxs clock source

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

Bus freq driver module loaded

WARNING : No battery connected !

Aborting power driver initialization

mxs-battery: probe of mxs-battery.0 failed with error 1

mxs_cpu_init: cpufreq init finished

msgmni has been set to 118

alg: No test for stdrng (krng)

cryptodev: driver loaded.

io scheduler noop registered

io scheduler cfq registered (default)

Console: switching to colour frame buffer device 90x30

mxs-duart.0: ttyAM0 at MMIO 0x80070000 (irq = 0) is a DebugUART

brd: module loaded

loop: module loaded

ssp_set_rate: error -110

mxs-spi mxs-spi.0: Max possible speed 96000 = 96000000/2 kHz

mxs-spi mxs-spi.0: at 0x80010000 mapped to 0xF0010000, irq=14, bus 1, DMA ver_major 3

ks8851 spi1.0: message enable is 0

ks8851 spi1.0: eth0: revision 1, MAC 72:db:d7:5d:8c:cf, IRQ 195

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci: irq 11, io base 0x80080000

fsl-ehci fsl-ehci: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

i2c /dev entries driver

Linux video capture interface: v2.00

mxs-pxp mxs-pxp.0: initialized

usbcore: registered new interface driver uvcvideo

USB Video Class driver (v0.1.0)

mxs watchdog: initialized, heartbeat 19 sec

mxs-mmc: MXS SSP Controller MMC Interface driver

mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 20 ERRIRQ 15

dcp dcp.0: DCP crypto enabled.!

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

mxs-adc-audio mxs-adc-audio.0: MXS ADC/DAC Audio Codec

No device for DAI mxs adc/dac

No device for DAI mxs adc/dac

asoc: mxs adc/dac <-> mxs adc/dac mapping ok

ALSA device list:

#0: MXS EVK (mxs adc/dac)

IPv4 over IPv4 tunneling driver

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

Waiting for root device /dev/mmcblk0p2...

mmc0: new high speed SD card at address 0002

mmcblk0: mmc0:0002 00000 954 MiB

mmcblk0: p1 p2

EXT2-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended

VFS: Mounted root (ext2 filesystem) on device 179:2.

Freeing init memory: 120K

EXT2-fs (mmcblk0p2): error: ext2_check_page: bad#7521: : rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0

Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

Backtrace:

[<c002a2dc>] (dump_backtrace+0x0/0x10c) from [<c02e9c48>] (dump_stack+0x18/0x1c)

r7:00000013 r6:c0043150 r5:c0021900 r4:c03ed6c0

[<c02e9c30>] (dump_stack+0x0/0x1c) from [<c02e9cb4>] (panic+0x68/0xec)

[<c02e9c4c>] (panic+0x0/0xec) from [<c0026628>] (init_post+0x124/0x15c)

r3:c3f96900 r2:00000000 r1:c04822c0 r0:c0367442

[<c0026504>] (init_post+0x0/0x15c) from [<c00084f8>] (kernel_init+0x128/0x16c)

r4:c03ecb98

[<c00083d0>] (kernel_init+0x0/0x16c) from [<c0043150>] (do_exit+0x0/0x664)

r5:c00083d0 r4:00000000

Outcomes