AnsweredAssumed Answered

Can't get kernel Image

Question asked by 超超 徐 on Aug 2, 2016
Latest reply on Aug 3, 2016 by 超超 徐

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.

Outcomes