Can't get kernel Image

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

Can't get kernel Image

Jump to solution
1,807 Views
xiaochao0131
Contributor III

I changed some u-boot variable and get the below error: (Can't get kernel image)

U-Boot 2016.03-20415-ged95621 (Jul 07 2016 - 17:28:42 -0700), Build: jenkins-ub4

                                                                               

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz                                      

Reset cause: POR                                                               

Board: SABRE Lite                                                              

I2C:   ready                                                                   

DRAM:  1 GiB                                                                   

MMC:   FSL_SDHC: 0, FSL_SDHC: 1                                                

SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB

No match, assuming mode_str: hannstar                                          

Display: hdmi:1280x720M@60 (1280x720)                                          

In:    serial                                                                  

Out:   serial                                                                  

Err:   serial                                                                  

Net:   Micrel ksz9021 at 6                                                     

FEC [PRIME]                                                                    

Error: FEC address not set.                                                    

, usb_ether                                                                    

Hit any key to stop autoboot:  0                                               

*** ERROR: `ethaddr' not set                                                   

Wrong Image Format for bootm command                                           

ERROR: can't get kernel image!

Today I made the below action in u-boot command line:

U-Boot > setenv mmc_init 'mmc dev 1'
U-Boot > setenv ext2_load 'ext2load mmc 1:${part} 10800000 /boot/uImage'
U-Boot > setenv bootargs_mmc 'setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait'
U-Boot > setenv bootcmd_mmc 'run mmc_init; run ext2_load; run bootargs_mmc; bootm'
U-Boot > setenv bootcmd 'run bootcmd_mmc'

After reboot , it shows Can't get kernel image.

I re-flashed u-boot, also re-flashed ubuntu Image, the error always appear.

Labels (1)
0 Kudos
1 Solution
950 Views
xiaochao0131
Contributor III

I reset the u-boot environment by the command "env default -a", then "setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,ldb=sin1,1024x768M@60,if=RGB666'", reset the board, it works normally.

View solution in original post

0 Kudos
1 Reply
951 Views
xiaochao0131
Contributor III

I reset the u-boot environment by the command "env default -a", then "setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,ldb=sin1,1024x768M@60,if=RGB666'", reset the board, it works normally.

0 Kudos