The system hang on "Starting kernel"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The system hang on "Starting kernel"

745 Views
bordonkuo
Contributor II

U-Boot 2015.04-14409-g6cf684a-dirty (Sep 19 2016 - 17:19:58)

CPU: Freescale i.MX6DL rev1.2 at 792 MHz
CPU: Temperature 48 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:1
Net: FEC [PRIME]
Error: FEC address not set.

Normal Boot
Hit any key to stop autoboot: 0
boota mmc1
kernel @ 14008000 (8398664)
ramdisk @ 15000000 (1035019)
fdt @ 14f00000 (44589)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 8202 KiB
Kernel command line: console=ttymxc0,115200n8 earlyprintk init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
## Flattened Device Tree blob at 14f00000
Booting using the fdt blob at 0x14f00000
Loading Kernel Image ... OK
Using Device Tree in place at 14f00000, end 14f0de2c
switch to ldo_bypass mode!

Starting kernel ...

I have some questions about this issue.

1. Is the step going to Kernel or Uboot ?

2. We modify the bootloader

   1) uart1_pads pinmux

       MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
       MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),

    2) DDR 352MHz

         reg 0x020C4018 value  0x000A8324

3. For imx6dl, how can I modify pinmux and DDR clock on Kernel ? 

Labels (1)
0 Kudos
1 Reply

491 Views
igorpadykov
NXP Employee
NXP Employee

Hi bordon

1. one can debug it using AN4553 Using Open Source Debugging Tools

for Linux on i.MX Processors

http://www.nxp.com/files/32bit/doc/app_note/AN4553.pdf 

2. not sure that this will work as linux uses own clock framework

where each clock depends on other, so changing one clock may affect

another. Please check thoroughly all clocks dependecies in

linux/arch/arm/mach-imx/clk-imx6q.c

https://www.kernel.org/doc/Documentation/clk.txt

3. please check

http://elinux.org/images/b/b8/Elc2013_Clement.pdf

http://boundarydevices.com/mx6-device-tree-customization/

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos