boot linux manually on IMX6 - SL

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

boot linux manually on IMX6 - SL

636 Views
norratheprattan
Contributor I


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

Labels (1)
0 Kudos
1 Reply

404 Views
igorpadykov
NXP Employee
NXP Employee

Hi Norrathep

for i.MX6-SL software one can look at

https://boundarydevices.com/blog/

every linux version is linked to own uboot version and

strictly speaking may not work with other versions of linux.

Also it may be suggested to post on uboot mail list to know about

linux booting details

U-Boot Info Page

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos