Bug 563 - compiling Linux 2.30.2 for ARM with Atmel support
Summary: compiling Linux 2.30.2 for ARM with Atmel support
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Outdated package (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 major
Target Milestone: ---
Assignee: Ulf Samuelsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 13:46 UTC by Olivier Duclos
Modified: 2009-08-12 10:26 UTC (History)
1 user (show)

See Also:
Host: Mandriva Linux 32bit
Target: arm_generic
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duclos 2009-08-11 13:46:54 UTC
I tried to compile Linux 2.30.2 for ARM with the Atmel devices support but it failed.

The patch "linux-2.6.28-at91.patch.bz2" only works with linux 2.6.28 and should not be used with other kernels.
Comment 1 Thomas Petazzoni 2009-08-11 19:45:20 UTC
I'm not sure how to handle this bug. For sure, a patch designed to be applied on a particular kernel version will only apply on this particular version. And it seems that in Buildroot, Atmel patches are only available up to 2.6.28. Which means that newer kernels have not been integrated yet. What behaviour would you expect from Buildroot here ?

I'm assigning the bug to Ulf Samuelsson, who usually handle Atmel-specific issues in Buildroot.
Comment 2 Ulf Samuelsson 2009-08-11 21:10:37 UTC
You need to check my personal git, where there is support for:

linux-2.6.30.2
u-boot-2009.08-rc1
at91bootstrap-2.12 (soon 2.13-rc1)

Bootstrap compiles on all supported boards.
Only loaded to a SAM9263EK booting from dataflash.

U_boot has been compiled on the SAM9263/SAM9G10/SAM9G45,
but only loaded to a SAM9263EK

Linux has been compiled for SAM9263/SAM9G10/SAM9G45,
but again only loaded to a SAM9263.

After some hassle I have gotten mplayer to play mp3 files
and I can also display jpeg pictures, although
the BGR LCD controller is not supported.
(mplayer assumes RGB)

I have added all the patches I have found on the linux arm mailing
list, except the MCI patches, but I hope to add them later.

It obviously needs more testing, but thats why we are working
in a collaborative project, right.



Personal gits are available at http://git.buildroot.net/

The git in question is:

git://git.busybox.net/~ulf/git/atmel-2009-08-rc2
Comment 3 Olivier Duclos 2009-08-12 10:26:41 UTC
Thanks. Will the content of this it repo be included in the next stable release ?

If you ask, I think buildroot should at least print an error message when detecting such incompatibilities.

I've been waisting a lot of time these past few days trying to generate an image as I want, but there are so much of bugs and incompatibilities !