port linux in iMX6 board.

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

port linux in iMX6 board.

4,661 Views
shivamseth85
Contributor I

I am new, i want to port linux in iMX6 board. So please guide me from where i can get the configuration file while will configure kernel according to iMX 6 board.please also guide me for porting.    thank you

0 Kudos
Reply
13 Replies

3,525 Views
LeonardoSandova
Specialist I

Shivam, porting Linux to another board, even if it is similar to MX6, it is not trivial at all. You may need a group/third-party with experience on this area. In the other hand, you also need to port U-boot, which you need a greater understanding of your HW.

Leo

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Thanx leo.

Can u help me to get u-boot for imx6-quad core.

On 19-Nov-2013 8:07 AM, "Leonardo Sandoval Gonzalez" <

0 Kudos
Reply

3,525 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Shivam

     If you are using a different hardware design, I don't think the uboot/kernel can run on your board without code change, so you may need to learn our reference design first, then get our formal release code to run on our reference design. After you all get this through, you need to change our uboot/kernel code according to the difference between your board and our reference design. What board do you have? You design it totally by yourself or refer to anyone of our reference designs, i.MX6 SabreSD or i.MX6 SabreAuto ot i.MX6 SabreLite etc...

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Hi Yongcai Huang

Board is imx6q,which i am using.

On 19-Nov-2013 12:53 PM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply

3,525 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Shivam

     Which kernel version are you planning to use? And which platform do you want to refer to, i.MX6Q/DL or i.MX6SL?

     For v3.0.35, the config file is as below:

     arch/arm/configs/imx6_defconfig  -> i.MX6Q/DL platform.

     arch/arm/configs/imx6s_defconfig -> i.MX6SL platform.

     For v3.10: it is in one config file: arch/arm/configs/imx_v7_defconfig

     And please refer to our BSP release's porting guide, and do changes according to your board design.

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Hello Yongcai Huang,

arch/arm/configs/imx6_defconfig -> i.MX6Q/DL platform.

In the kernel source tree we will get the above?

I am planning to port 3.11.

Can you suggest me which one will be suitable.

On 18-Nov-2013 7:52 AM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply

3,525 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Shivam

     For v3.11, you should use imx_v6_v7_defconfig.

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Hi Yongcai Huang

From where i can get that config.

I have to port on imx6 quad.

On 18-Nov-2013 10:26 AM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply

3,525 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Shivam

     After you get the latest v3.11 kernel repository, you should be able to see that it is in arch/arm/configs/imx_v6_v7_defconfig.

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Thanks Yongcai Huang

After getting the config file we have to configure the kernel and build

uimage.

Is it right?

On 18-Nov-2013 2:12 PM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply

3,525 Views
AnsonHuang
NXP Employee
NXP Employee

Yes, but you said you want to do porting, so you may need to modify such config file according to your platform.

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Hi Yongcai Huang

Yes i want to port. I got imx_v6_v7_deconfig in v3.12 linux kernel.

In this config file is about 200 lines.

So do i apply same config file to configure kernel.

Sorry Yongcai Huang for asking so much silly questions but i am totally

new. And thank for replying and help.

On 19-Nov-2013 7:29 AM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply

3,525 Views
shivamseth85
Contributor I

Thanks Yongcai Huang,

On 18-Nov-2013 7:52 AM, "Yongcai Huang" <admin@community.freescale.com>

0 Kudos
Reply