Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

Updated Linux Patches
http://www.at91.com/samphpbb/viewtopic.php?f=12&t=19631
Page 1 of 2

Author:  cole [ Wed Oct 13, 2010 8:33 pm ]
Post subject:  Updated Linux Patches

I took the 2.6.33-at91 patch from http://maxim.org.za/at91_26.html and forward-ported it to 2.6.34 and 2.6.35. I hope these patches help somebody.

They are attached to this message.

Thanks,
-Chris

Attachments:
File comment: 2.6.35-at91.patch
2.6.35-at91.patch.bz2 [61.31 KiB]
Downloaded 199 times
File comment: 2.6.34-at91.patch
2.6.34-at91.patch.bz2 [62.22 KiB]
Downloaded 172 times

Author:  cole [ Wed Oct 27, 2010 4:03 am ]
Post subject:  Re: Updated Linux Patches

Adding at91 patch for 2.6.36.

Attachments:
File comment: 2.6.36-at91.patch
2.6.36-at91.patch.bz2 [61.22 KiB]
Downloaded 264 times

Author:  pingswept [ Tue Nov 16, 2010 5:24 pm ]
Post subject:  Re: Updated Linux Patches

Thanks-- I've now got 2.6.36 running. I appreciate the time you put in both porting and posting.

Author:  sirdan [ Mon Dec 27, 2010 11:25 pm ]
Post subject:  Re: Updated Linux Patches

Hello,

Thanks for the AT91 Linux patches. I am having an issue however. I don't know if it is related to the kernel patches or not. It has to do with the USB V4L GSPCA driver.

On version 2.6.32 everything works fine.

On version 2.6.34 and 2.6.35 when plugging in a USB camera the kernel crashes with this error.

gspca camera detected
kernel BUG at arch/arm/mm/dma-mapping.c:409!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
etc. etc.

I have googled around for "kernel BUG at arch/arm/mm/dma-mapping.c:409!" and found a few references to it but no apparent fix or reason why. I have searched the Linux TV.org forum for clues, but found nothing.

Has anyone encountered this error before? Can someone that is using the above patches try enabling the GSPCA drivers and then plugging in a USB web camera or other USB device for a test?

Thanks

Author:  CptTitanic [ Tue Dec 28, 2010 1:57 am ]
Post subject:  Re: Updated Linux Patches

You have the sources, surely you can dig into it, or diff the respective source trees to understand what changed between releases.

__dma_free_buffer(dma_to_page(dev, handle), size);

My guess would be the dev, or handle value are wrong (ie NULL). Some upstream driver code looks to be initializing a structure to zero, but not initializing a pointer.

Sanity check the values of dev, handle, size and dma_to_page(dev, handle)

Author:  cole [ Fri Feb 04, 2011 11:37 pm ]
Post subject:  Re: Updated Linux Patches

Adding at91 patch for 2.6.37.

Attachments:
File comment: at91 patch for 2.6.37.
2.6.37-at91.patch.bz2 [58.99 KiB]
Downloaded 140 times

Author:  cole [ Wed Mar 16, 2011 8:41 pm ]
Post subject:  Re: Updated Linux Patches

Adding at91 patch for 2.6.38.

Attachments:
File comment: at91 patch for 2.6.38.
2.6.38-at91.patch.bz2 [59.01 KiB]
Downloaded 156 times

Author:  cole [ Mon Jun 13, 2011 7:49 pm ]
Post subject:  Re: Updated Linux Patches

Adding at91 patch for 2.6.39.

Attachments:
File comment: Adding at91 patch for 2.6.39.
2.6.39-at91.patch.bz2 [58.9 KiB]
Downloaded 172 times

Author:  MrRossi [ Thu Sep 08, 2011 7:56 am ]
Post subject:  Re: Updated Linux Patches

Some 3.0 Patches?

Author:  cole [ Wed Sep 14, 2011 4:38 pm ]
Post subject:  Re: Updated Linux Patches

Adding patch for v3.0.0.

Do these help anybody? I hope so. I cannot test any other platform than my own, so there may be a few issues with some other boards.

I'm wondering if it might be a good idea to split the board-specific stuff apart from the more core components in this patch... or at least prune off the dead/unmaintained boards. I can test the core stuff, but I can't test the board-specific stuff. As we move to kernel v3.1.0, there is a lot of changes going into the board-*.c files..

-Chris

Attachments:
3.0.0-at91.patch.bz2 [59.03 KiB]
Downloaded 107 times

Author:  nferre [ Wed Sep 14, 2011 5:13 pm ]
Post subject:  Re: Updated Linux Patches

Chris,

I thank you for your continuous effort to port this patch to an up-to-date kernel.

I am sure that it is very useful to many people!

If you plan to submit little chunks of this patch to the upstream Linux kernel, I will be happy to integrate them in our effort to port the most of AT91 support to Mainline Linux. I know that the difficult part is to cut this big patch in single and self contained enhancements.

Best regards,
--
Nicolas Ferre

Author:  cole [ Mon Oct 31, 2011 3:38 pm ]
Post subject:  Re: Updated Linux Patches

Adding at91 patch for 3.1.0.

Attachments:
File comment: at91 patch for 3.1.0.
3.1.0-at91.patch.bz2 [58.57 KiB]
Downloaded 124 times

Author:  cole [ Fri Dec 09, 2011 11:55 pm ]
Post subject:  Re: Updated Linux Patches

File downloads appear to be broken here at at91.com. So, I have hosted the AT91 3.1 patch here:

https://coledd.com/software/linux/patch ... .patch.bz2

Thanks,
-Chris Cole
cole /at/ coledd.com

Author:  selknam [ Wed Jan 04, 2012 4:55 pm ]
Post subject:  Re: Updated Linux Patches

Hi, I wanted to know what's the difference between these patches and the ones that have been included in the upstream kernel since v2.6.30 (in kernel's gitweb you can see that a lot of the original patches have already been merged upstream).

Author:  cole [ Thu Jan 05, 2012 6:28 am ]
Post subject:  Re: Updated Linux Patches

These patches are the stuff that never yet got put into the mainline kernel. it is mostly extra boards support. Also contains some spi driver stuff and some macb driver mods, and a few pm mods. This patch does need broken out and some parts fed upstream, and perhaps some parts dropped. Feel free to help out if you have some spare time ;)

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/