i.MX6 Sabre lite Boot

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

i.MX6 Sabre lite Boot

3,210 Views
nilwij
Contributor II

Hi

This may be a old and simple question, but I wasn't able to find a proper answer although I was surfing the net for days.
Im new to Sabre Lite. I installed LTIB and checked-out the i.MX6 kernel 4.1.0 source and compiled it as pointed out in the following post.
http://boundarydevices.com/cross-compile-i-mx6-kernel-using-ltib-toolchain/
I believe that it went smooth and I got the uImage created under following path
~/linux-imx6/arch/arm/boot/uImage.

following is the last few lines of console output of the compilation

......

  LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gzip
AS arch/arm/boot/compressed/piggy.gzip.o
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
SHIPPED arch/arm/boot/compressed/lib1funcs.S
AS arch/arm/boot/compressed/lib1funcs.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage
Image Name: Linux-3.0.35-g5809938
Created: Wed Sep 18 15:05:21 2013
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3759112 Bytes = 3671.01 kB = 3.58 MB
Load Address: 0×10008000
Entry Point: 0×10008000
Image arch/arm/boot/uImage is ready
Building modules, stage 2.
MODPOST 25 modules
CC crypto/tcrypt.mod.o
LD [M] crypto/tcrypt.ko
CC drivers/gpu/drm/drm.mod.o
LD [M] drivers/gpu/drm/drm.ko
CC drivers/gpu/drm/vivante/vivante.mod.o
LD [M] drivers/gpu/drm/vivante/vivante.ko
CC drivers/i2c/algos/i2c-algo-bit.mod.o
LD [M] drivers/i2c/algos/i2c-algo-bit.ko
CC drivers/media/video/gspca/gspca_main.mod.o
LD [M] drivers/media/video/gspca/gspca_main.ko

........

My problem is What should I do next to put my newly built image in SD card and boot from it.
This is first time Im going to boot my Sabre Lite board.

Labels (2)
0 Kudos
1 Reply

477 Views
VladanJovanovic
NXP Employee
NXP Employee

Download Linux documentation package from Freescale web site from here: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeId=018rH3ZrDRB24A&fpsp=1&t...

In Linux User's Guide there's instructions on how to create SD card that can be booted from. However, Freescale documents refer to SABRE SDB boards, SABRE Lite is different as i.MX 6 boots from SPI flash at first, I believe. Basically for SABRE Lite you can just have fat32 partition on SD card containing uImage and a ext3 partition with the file system you'd like to use. Then modify u-boot script accordingly.

For ease of use, you might look at Yocto: Freescale/fsl-community-bsp-platform · GitHub

Supported boards are listed here: Freescale/fsl-community-bsp-base · GitHub

There's instructions here on i.MX Community as well how to get started with Yocto.

0 Kudos