AnsweredAssumed Answered

boot linux manually on IMX6 - SL

Question asked by Norrathep Rattanavipanon on Jul 25, 2016
Latest reply on Jul 25, 2016 by igorpadykov


Hi,

so I've been messing around u-boot and its environments to run a custom OS.

Now, I want to run the default linux on Sabre Lite but I saw that bootcmd along with other env are overwritten.

so the board doesnt boot into linux automatically anymore.

How do I boot linux (uImage) manually on uboot?

 

Here's what I did and didnt work.

 

ERTOS MX6Q SABRELITE U-Boot > fatls mmc 1     //the following are the default files that come with micro sd

     1465   6x_upgrade

    49901   imx6q-nitrogen6_max.dtb

    45086   imx6dl-nit6xlite.dtb

     5547   6x_bootscript

    49935   imx6dl-nitrogen6x.dtb

  4533456   uimage

    50616   imx6q-nitrogen6x.dtb

    49216   imx6dl-nitrogen6_max.dtb

    49581   imx6q-sabrelite.dtb

     5475   6x_bootscript.txt

   197512   u-boot.bin

ERTOS MX6Q SABRELITE U-Boot > fatload mmc 1 10800000 uimage

reading uimage

 

4533456 bytes read

ERTOS MX6Q SABRELITE U-Boot > bootm 10800000

Wrong Image Format for bootm command

ERROR: can't get kernel image!

 

Also try with :

ERTOS MX6Q SABRELITE U-Boot > fatload mmc 1 10800000 uimage

reading uimage

 

 

4533456 bytes read

ERTOS MX6Q SABRELITE U-Boot > fatload mmc 1 12800000 imx6q-sabrelite.dtb

reading imx6q-sabrelite.dtb

 

 

49581 bytes read

ERTOS MX6Q SABRELITE U-Boot > bootm 10800000 - 12800000

Wrong Image Format for bootm command

ERROR: can't get kernel image!

 

Any idea how to do this?

 

Thanks

Outcomes