Uncompressing Linux... done, booting the kernel. stoped after this.

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

Uncompressing Linux... done, booting the kernel. stoped after this.

2,618 Views
sagarojha
Contributor I

I am trying to boot the kernel through sd card, and sticking into following problem:

MX6Q CAMARO U-Boot > source boot
## Executing script at 0000000b
data abort

MAYBE you should read doc/README.arm-unaligned-accesses

pc : [<2ff8faac>] lr : [<2ff88fac>]
sp : 2fcffe10 ip : 00000000 fp : 2fd00dd8
r10: 2ffbab1c r9 : 00000002 r8 : 2fcfff38
r7 : 2fd00de8 r6 : 00000000 r5 : ffffffff r4 : 0000000b
r3 : 00000001 r2 : 00000003 r1 : 00000080 r0 : 0000000b
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ...


U-Boot 2013.07 (Oct 07 2015 - 09:37:17)

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Board: MX6Q-Camaro
DRAM: 512 MiB
Failed to probe i2c
failed to read lcd board ID
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected S25FL512SA with page size 64 KiB, total 64 MiB
Display: OT43 (480x800)
Loading splashimage into 0x13000000...
** File not found splash.bmp **
** File not found splash.bmp **
Framebuffer at 0x2fd43698
Error: no valid bmp image at 13000000
In: serial
Out: serial
Err: serial
SF: Detected S25FL512SA with page size 64 KiB, total 64 MiB
bootAttempts=4
Net: FEC
Warning: failed to set MAC address

Hit any key to stop autoboot: 0
mmc0 is current device
mmc0 is current device
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
3576968 bytes read in 314 ms (10.9 MiB/s)
Booting from mmc ...
## Booting kernel from Legacy Image at 80800000 ...
Image Name: Linux-3.0.35
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3576904 Bytes = 3.4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

The u-boot environment parameters are as follows:

MX6Q CAMARO U-Boot > printenv
baudrate=115200
bootAttempts=5
bootargs=console=ttymxc1,115200 root=/dev/nfs ip=dhcp nfsroot=:,v3,tcp
bootcmd=mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot;fi;fi;fi
bootdelay=3
bootdelay3
bootscript=echo Running bootscript from mmc ...; source
clearnenv=sf probe; sf erase 0x100000 0x140000
console=ttymxc1
cpuId=1
cpuRevision=2
ethact=FEC
fdt_high=0xffffffff
filesize=369488
findTag=for part in 0 1;do ext2load mmc 0:${part} 80008000 thermoboot&& source 80008000; done
flash_uboot=echo flashing U-Boot from ${loadaddr}...; sf probe; sf erase 0 0x40000; sf write ${loadaddr} 0x400 0x40000
initaddr=0x11000000
initrd_high=0xffffffff
kernel=uImage
lcdId=0
lcdRevision=0
load_splashimage=echo Loading splashimage into ${splashimage}...; mmc rescan; if ext2load mmc 0:2 ${splashimage} splash.bmp; then echo "------ loaded splash from normal partition"; else;ext2load mmc 0:1 ${splashimage} splash.bmp; fi
load_uboot=echo loading U-Boot to ${loadaddr} from mmc...; mmc rescan; ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} u-boot.imx
loadaddr=0x80800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loaduimage=run findTag;ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
mmcargs=setenv bootargs console=ttymxc1,115200 consoleblank=0 root=/dev/mmcblk0p1 rootwait rw xl4
mmcboot=echo Booting from mmc ...; run mmcargs; bootm
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p1 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; dhcp ${uimage}; bootm
part=0
platId=0
recovery_mode=1
script=boot.scr
splashimage=0x13000000
stderr=serial
stdin=serial
stdout=serial
uimage=boot/uImage
upgrade_uboot=run load_uboot flash_uboot
video=mxcfb0:dev=lcd,OT27,if=RGB666 video=mxcfb1:off

Environment size: 2020/262140 bytes
MX6Q CAMARO U-Boot >

is there any mistake in u-boot environment setting, or something else??

0 Kudos
1 Reply

1,170 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sagar

Uncompressing Linux... hanging may mean ddr errors, so one can try ddr test

https://community.freescale.com/docs/DOC-105652 

and rebuild uboot with new calibration coefficients placed in uboot/../mx6qsabresd/*.cfg file.

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

0 Kudos