IMX287: supported linux versions

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

IMX287: supported linux versions

2,322 Views
BrilliantovKiri
Senior Contributor I

Hello!

Now I use linux-2.6.35 and gcc-4.4.4 from LTIB (L2.6.35_1.1.0_130130_source.tar.gz), unfortunately current linux not supported some devices and I think use another version.

 

I clone linux-3.10.53 from /git.freescale.com/git/cgit.cgi/imx:

$ git clone -b imx_3.10.53_1.1.0_ga http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git linux-3.10.53

Unfortunately git protocol not work:

$ git clone --depth=1 -b imx_3.10.53_1.1.0_ga git://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git linux-3.10.53_2

Cloning into 'linux-3.10.53_2'...

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

 

For test I use default configuration:

$ cd linux-3.10.53/

$ make ARCH=arm mxs_defconfig

$ make -j5 ARCH=arm CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-

I patch net/core/tso.c for fix build error, please see attache:

net/core/tso.c:16: error: implicit declaration of function 'tcp_hdrlen'

net/core/tso.c:24: error: dereferencing pointer to incomplete type

net/core/tso.c:29: error: dereferencing pointer to incomplete type

net/core/tso.c:30: error: dereferencing pointer to incomplete type

net/core/tso.c:31: error: dereferencing pointer to incomplete type

net/core/tso.c: In function 'tso_start':

net/core/tso.c:57: error: implicit declaration of function 'tcp_hdr'

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

net/core/tso.c:57: error: invalid type argument of '->' (have 'int')

make[2]: *** [net/core/tso.o] Error 1

 

Unfortunately I can't buil linux:

drivers/built-in.o: In function `mxsfb_dispdrv_init':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/video/mxsfb.c:1202: undefined reference to `mxc_dispdrv_gethandle'

drivers/built-in.o: In function `regulator_disable':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/regulator/core.c:1787: undefined reference to `set_cpufreq_lock'

drivers/built-in.o: In function `rdev_get_name':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/regulator/core.c:122: undefined reference to `set_cpufreq_lock'

drivers/built-in.o: In function `mxs_phy_probe':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/phy/phy-mxs-usb.c:600: undefined reference to `syscon_regmap_lookup_by_phandle'

drivers/built-in.o: In function `imx_controller_resume':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:526: undefined reference to `request_bus_freq'

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:568: undefined reference to `release_bus_freq'

drivers/built-in.o: In function `imx_controller_suspend':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:508: undefined reference to `release_bus_freq'

drivers/built-in.o: In function `ci_hdrc_imx_remove':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:480: undefined reference to `release_bus_freq'

drivers/built-in.o: In function `ci_hdrc_imx_probe':

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:314: undefined reference to `request_bus_freq'

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:317: undefined reference to `release_bus_freq'

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:374: undefined reference to `syscon_regmap_lookup_by_phandle'

/home/kirill/Projects/IMX287/linux-3.10.53/drivers/usb/chipidea/ci_hdrc_imx.c:465: undefined reference to `release_bus_freq'

make: *** [vmlinux] Error 1

 

Questions:

- how can I solve errors?

- what linux versions FreeScale support for iMX287?

 

Thank you and excuse my bad english.

Original Attachment has been moved to: 0001-net-core-tso.c-implicit-declaration-of-function-tcp_.patch.zip

Labels (2)
0 Kudos
2 Replies

720 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kirill

one can look at i.MX28 EVK demo images

Public images - fsl-community-bsp/master/440/framebuffer

also please look below

Re: difference between Yocto Community BSP and Freescale BSP Release

Best regards

igor

0 Kudos

720 Views
BrilliantovKiri
Senior Contributor I

Hello, Igor!

Thank you, this is very intersing, but not contained answer on my questions.

>

>

>

0 Kudos