AnsweredAssumed Answered

Linux porting on imx6q sabresd

Question asked by chandrasekhar mattaparthy on May 17, 2016
Latest reply on May 19, 2016 by chandrasekhar mattaparthy

Hi all,

 

I followed the below two links to port linux on imx6q sabresd board

1. uboot (u-boot.imx)

2. kernel (uImage)

 

u-boot on the i.MX6 sabre sd platform in a few commands

Linux on the i.MX6 sabre sd platform in a few commands

 

But I got some issues while building uboot.git and linux.git. I will share these issues with you, please help me if you get solution.

1. uboot issues

   -> Unable to find u-boot configuration file for imx6 sabre sd board in u-boot.git source code mx6qsabresd_config

    -> u-boot.bin generated successfully using different configuration file mx6q_sabresd_config but unable to find      u-boot.imx

2. kernel issues

     -> Unable to build using this configuration imx_v6_v7_defconfig

     -> I changed configuration file to imx_v7_defconfig and kernel successfully build and uImage generated but unable to generate imx6q-sabresd.dtb

Finally I tried some thing which are working fine below as shown

 

1. sudo dd if=u-boot.bin of=/dev/sdc bs=1k seek=1 ; sync

 

Above command working fine and able to get u-boot prompt from my sabresd board platform but one message i painted with blue colour for your reference. So will you please guide me whether i am using correct configuration file or not in uboot level or Is this ok?

 

U-Boot 2009.08 (May 17 2016 - 12:29:51)

 

CPU:   Freescale i.MX 6 family 0.2V at 792 MHz

Temperature:   23 C, calibration data 0x5914d67d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 264000000Hz

emi_slow clock: 29333333Hz

ddr clock     : 528000000Hz

usdhc1 clock  : 200000000Hz

usdhc2 clock  : 200000000Hz

usdhc3 clock  : 200000000Hz

usdhc4 clock  : 200000000Hz

nfc clock     : 24000000Hz

Board: i.MX6Q-SABRESD: unknown-board Board: 0x63002 [POR ]

Boot Device: SD

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

*** Warning - bad CRC or MMC, using default environment

 

In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:04:9f:03:cd:0f

FEC0 [PRIME]

Hit any key to stop autoboot:  0

MX6Q SABRESD U-Boot >

MX6Q SABRESD U-Boot >

MX6Q SABRESD U-Boot >

 

 

 

 

2. Big problem how to partition sdcard for booting linux on sabresd imx6q board? Is there any script file?

 

So, hope you guys understand my issues.

 

Please help me and start discussion thanks in advance

Outcomes