If somebody wants to build a linux kernel image for an i.MX53 board, do you know what is the simplest way to do the job ? TLIB, LINARO, other ? and on which Linux environment (distribution, version) ? If you have successfully experimented kernel build, please provide informations on that discussion.
Hi,
I have to admit your reasoning is clean and clear, no kidding. Though i hope some day you'll discover the joy of working directly with upstream, communicating with the fine folks who actually develop all that wonderful stuff, contributing to the kernel etc. Have a nice weekend too, and good luck with your projects! :)
Well, it looks like you have no clue whatsoever about real low level development with GNU/Linux systems, i'm sorry to say that. Do you have any kernel commits upstream even? How do you compare OE with that ltib thing? Isn't it the OE that contributes most fixes for cross-compiling numerous software? How many different programs can you cross-build with ltib? How old are the versions you can build? Where's the ltib git tree, eh?a real professional environment...vmware ubuntu image with ltib...ltib with vmware image coming from Freescale
And if you're building a whole distro, then i can recommend OE (for pda-like devices) or OpenWrt (for more constrained devices), they're both great.
And of course there's always an option of native compilation, you can do that with Debian or (afaik) RedHat, and just build whatever you need natively or on another arm device (e.g. sheevaplug).I installed all the requested packages. ltib didn't compile immediately on my linux distributions (I tried with opensuse and ubuntu). I had to fix some compilation problems in order to get the smallest profiles working fine ( "preconfig (Min Profile)", "Minimum bootable root filesystem"). But unfortunately, those profiles do not contain enough binaries for what I am looking for my business (JAVA environment, network access, package installation). So I tried to build "FSL gnome release package" and it failed. I get some blocking compilation problem in ORBIt2. I don't know how to fix it and I can't remove it from "FSL gnome release package" profile in order to go further. So at that time I need help. I opened a new discussion on that topic concerning ORBIt2 compilation problem.
I am wondering why all the default environments proposed by Freescale are not fully tested ? Is it too complex ? and therefore, I am still wondering if ltib is the best environment to work with.
No, I meant IMX53_1105_LINUXDOCS_BUNDLE that you can download from:
Look into the archive for document called: i.MX53_START_Linux_BSP_UserGuide.pdf
Plenty of other very useful documents in that package as well...
philippe cavenel said:
OK, I agree. So I just found that presentation on the net in http://ltib.org/pages/LTIB_generic_v1.4_-_version_6.4.1.pdf ? is it up to date according to you ? Is it the user's guide you are talking about ?
When you run ./ltib itself you will get message that .......these packages have to be installed.
You can use Synaptic PM or sudo apt.....commands, or other process to download and install packages.
You mentioned a link .... http://ltib.org/pages/LTIB_generic_v1.4_-_version_6.4.1.pdf , that you can refer after installing all the supporting packages
OK, so problem probably isn't to build the image, but to flash it properly. That's another thing.
1. follow instructions in START User's Guide from Linux documentation package to program bootloader (located in rootfs/boot/ folder of your LTIB build) to SD card. This is quite simple and should always boot.
2. try to start the bootloader from SD card. Does it show anything on serial port? If yes, go step 3, otherwise back to step 1 :-)
3. Follow instructions in user's guide to program kernel image.
4. Boot into uboot, interrupt the boot process and set up boot parameters according to user's guide. Save boot parameters and reboot. Does kernel start to execute after uboot? If yes then 5...
5. Set up file system parameters to kernel (either through NFS or format SD card and set params accordingly...)
One step at a time and you can get this to work quite easily...
If the Kernel did not boot properly then you might have got an error in the report, just see through.........
I know that LTIB functioned well on 11.04, but I have not checked on 11.10.