Hi ,
Can Any one help me to get the Kernel source code for i.Mx53 by providing the link below
and the procedure to apply freescale patch.
Thank you,
Deepanraj.A
Solved! Go to Solution.
Hello,
From "i.MX53_START_Linux_BSP_UserGuide.pdf" :
2.1 Setting Up the Linux Host
See “ltib_build_host_setup.pdf” to setup the Linux host server.
2.2 Installing and Building LTIB
To install and build LTIB, follow the steps below:
NOTE
In some Linux systems, the following procedure must be done
with root permissions. However, these instructions are for
performing the procedure “not as root”.
To run LTIB, some host packages are needed. If any error
related to a host package is raised, install the host package.
1. Remove all previously-installed packages in /opt/freescale/pkgs/.
2. Install the LTIB package not as root:
tar zxf <ltib_release>.tar.gz
./<ltib_release>/install
3. Install the patches located in the patches.tar.gz file.
This command installs LTIB to your directory.
4. Build LTIB:
cd <LTIB directory>
./ltib -m config
5. Select platform to Freescale iMX reference boards and exit, saving the changes. At the
next menu, select platform type as imx5x and package profile. Exit and save
changes. Please note that only the profiles of Min profile, FSL gnome release
packages and mfg firmware profile pass build tests.
6. To build U-Boot for MX53 START board, select “Choose your board for u-boot” as
“mx53_loco”. Please note this option is only for U-Boot. For kernel image, current
default kernel configuration can build the same images for all i.MX5x parts boards.
--- Choose your board
board (mx53_loco) --->
7. Run the following command:
./ltib
When this procedure is completed, the kernel image and the U-boot images are located at:
rootfs/boot/
8. Input the following command to get LTIB command help:
./ltib -help
/* Get the source code of one package */
./ltib -m prep -p <package name>
/* Build one package */
./ltib -m scbuild -p <package name>
/* Install one package to rootfs */
./ltib -m scdeploy -p <package name>
NOTE
If your system is not using a touchscreen as a primary device
you should remove touchcreens from the kernel configuration.
• Run ./ltib –m config
• Select Configure the kernel
• Run ./ltib again
• Select Device drivers
• Select Input device support
• Deselect touchscreens
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
From "i.MX53_START_Linux_BSP_UserGuide.pdf" :
2.1 Setting Up the Linux Host
See “ltib_build_host_setup.pdf” to setup the Linux host server.
2.2 Installing and Building LTIB
To install and build LTIB, follow the steps below:
NOTE
In some Linux systems, the following procedure must be done
with root permissions. However, these instructions are for
performing the procedure “not as root”.
To run LTIB, some host packages are needed. If any error
related to a host package is raised, install the host package.
1. Remove all previously-installed packages in /opt/freescale/pkgs/.
2. Install the LTIB package not as root:
tar zxf <ltib_release>.tar.gz
./<ltib_release>/install
3. Install the patches located in the patches.tar.gz file.
This command installs LTIB to your directory.
4. Build LTIB:
cd <LTIB directory>
./ltib -m config
5. Select platform to Freescale iMX reference boards and exit, saving the changes. At the
next menu, select platform type as imx5x and package profile. Exit and save
changes. Please note that only the profiles of Min profile, FSL gnome release
packages and mfg firmware profile pass build tests.
6. To build U-Boot for MX53 START board, select “Choose your board for u-boot” as
“mx53_loco”. Please note this option is only for U-Boot. For kernel image, current
default kernel configuration can build the same images for all i.MX5x parts boards.
--- Choose your board
board (mx53_loco) --->
7. Run the following command:
./ltib
When this procedure is completed, the kernel image and the U-boot images are located at:
rootfs/boot/
8. Input the following command to get LTIB command help:
./ltib -help
/* Get the source code of one package */
./ltib -m prep -p <package name>
/* Build one package */
./ltib -m scbuild -p <package name>
/* Install one package to rootfs */
./ltib -m scdeploy -p <package name>
NOTE
If your system is not using a touchscreen as a primary device
you should remove touchcreens from the kernel configuration.
• Run ./ltib –m config
• Select Configure the kernel
• Run ./ltib again
• Select Device drivers
• Select Input device support
• Deselect touchscreens
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
The procedure u have mentioned above ,will it build Kernel for i.Mx53
Where can i find the Kernel source code after the LTIB has been build
Thank you,
Deepanraj.A
Hi,
To build only the kernel (as one of packages) :
/* Get the source code of one package */
./ltib -m prep -p kernel
/* Build one package */
./ltib -m scbuild -p kernel
/* Install one package to rootfs */
./ltib -m scdeploy -p kernel
Regards,
Yuri.
Hi Yuri,
Thank you for the support,
One more doubt is where can i find the source code for imx-lib in the LTIB
Thank you,
Deepanraj.A
Hello,
According to IPULIB documentation :
"The source codes of the IPU library are located into imx-lib LTIB package [...]
.To get its source code, run ./ltib -m prep -p imx-lib
Then cd rpm/BUILD/imx-lib-<version>/ipu"
Regards,
Yuri.
If you go to the top level NXP i.MX53 Product Page you can see a link to "i.MX53 Current Software Updates and Releases".
That page also has links to the Documentation Bundles.
The git tree is very useful. You can clone and branch from here:
linux-2.6-imx.git - Freescale i.MX Linux Tree
That gets you the full Linux sources with all patches applied, who applied them, where else they were applied and so on. I would suggest you clone that tree to your computer and then start developing on a branch of that. That assumes you know how to set up a compiler and so on.
The "2.6.35_maintain" is the latest branch for the i.MX53.
It may be easier for you to use the Freescale development tools. The packages downloadable from the link above should contain these, but as I'm using a separate build system I don't know for sure. The Development Kits come with CDs of the software.
The last supported release of Linux for the i.MX53 is quite old (2.6.35) and has a lot of bugs in it. I've been posting lists of bugs as I find them and patches to fix them here:
Submit i.MX53 & i.MX28 Linux kernel patches
Tom