Archives
-
Linux uart driver for AT91SAM9260
Hello everybody
I need to write my own uart driver (kernel module) for AT91SAM9260.
How can I shutdown linux uart driver at the runtime to startup my driver without any collisions?
I wrote kernel module and compiled linux kernel without uart’s supply, but when I allow TXRDY interrupt in US_IER register, linux is hunging for ever. But there is a silence on the uart line.
Maybe I just can run my kernel module instead of module that compilled with kernel and maybe I don’t need to compile kernel without uart’s supply?
Help me please) My major target is to do all uart routines by myself.
Thank you.Related Forum Messages
- AT91SAM9G20: TWI + Linux
- MMC Problem on Linux Kernel 2.6.36
- at91SAM9260 USART 16Bit Oversampling in Linux
- Using KGDB on AT91SAM9261
- OE Angrstom kernel build for at91sam9260
- Patch for latest kernel on kernel.org
- AT91SAM9260 and SSC driver for linux
- Linux Kernel 2.6.23.atmel.5 not displaying during booting(ICnova AP7k)
- PWM with grasshopper
- Running MMU less Linux on Cortex-R4
- Problem connecting MSP430F5438A via USB/serial to Linux
- AT91SAM9260EK with Linux Kernel 2.6.24 -> GPIO KernelDriv
- How to port linux application program to AT91SAM9260-EK???
- Arm not booting in qemu
- Developing and Transferring C program into AT91SAM9260-EK
- PWM/ADC for AT91SAM9260
- AT91SAM9260, Angstrom, Openembedded and kernel hang
- Velbus & Linux
- Custom Linux Kernel on SAM9-L9260 (Olimex)
- Need – iwpriv support in Libertas driver Linux Kernel 2.6.28
Hi, I would like to take advantages of the hardware TWI (I2C) functionality, which is available on the AT91SAM9G20. Therefore, I would like to write a Linux kernel module for it. However, when reading the documentation in the Linux kernel source tree regarding TWI (Linux kernel 2.6.30.9), I see some "worrying" comments. To start with, in the file /linux-2.6.30.9/drivers/i2c/busses/Kconfig, I read the following: Quote:Hello. I'm using an AT91SAM9GS45-EKES board and Linux Kernel 2.6.36. I'm having problems to have the MMC adaptor working on this kernel. The original kernel that came with the board was 2.6.30 and the MMC worked just fine. The reason I changed to 2.6.36 is that I need to use USB Wi-Fi adaptors and the Modules for these adaptors only exists on 2.6.36. I noticed that for this specific board kernel 2.6.33 has been used too. Unfortunately this kernel does not have the modules I need for USB Wi-Fi adaptors. Reading dmesg dump I noticed that MMC won't even be detected. On kernel ...Hi We are using Atmel AT91SAM9260 processor for our development with Angstrom Linux distro. Reading through the datasheet, i noticed it is possible to configure uart to use 16 bit oversampling instead of 8 bit. The setting is in the mode register of the uart. My question is, what is the easiest way to set this bit in the mode register in linux? (we are using 2.6.27 kernel) I looked through the kernel source but didn't find any reference to that register bit being used anywhere, however its defined in linux/include/linux/atmel_serial.h #define ATMEL_US_OVER (1 ltlt 19) /* Oversampling Mode */ I also looked at linux/drivers/serial/atmel_serial.c and though ...Hi friends, I have ported Linux-2.6.30 to AT91SAM9261-EK, I have compiled my kernel with following option enabled 1. in Kernel Hacking sub-menu and select these options: [*] Kernel debugging lt-- not sure about this one [*] Compile the kernel with debug info [*] KGB: kernel debugging with remote gdb ---gt[*] KGDB: use kgdb over the serial console After doing this i have flashed the kernel to SAM board, But after booting no change, My target board is not waiting for GDB connection from Host. Please any one can help me. Is there any KGDB patch for Linux 2.6.30 for AT91SAM9261. Tell me what all the things ...I need to rebuild the linux kernel to include PPP support. My target is a at91sam9260-ek board. I am using OE with the 2009-stable branch. When I bitbake the Angstrom console-image it tries to build a 2.6.20 version kernel which fails to build. How do I get it build a newer version and what is the best way to change the kernel configuration.Hi forum, as a newbie to linux on ARMs I learned a lot about the architecture of raspberrypi over the last few weeks and I'm really looking forward to my first board. While waiting for the board I tried to compile a kernel today and prepare an image. My plan is to start with the "official" kernel from kernel.org, patch it and crosscompile it (all on my Ubuntu system). I got the kernel sources and found a patch for raspberrypi on github. So I copied them via git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitgit clone https://github.com/simoncadman/Raspberry-Pi-Kernel-Patch.git However, when I try to patch the kernel, I get various messages ...Hello Is there any usable SSC driver for linux. any documentation info on how to use it?. When I made the setup for the Kernel compile, I have set the Atmel SSC driver. How can I use that. I tried to search the forum, but I did not find anything useful. Any hints any info are welcome. Best regards RobertI have succesfully built 2.6.23.atmel.5 kernel and it is running well in NGW100. (it is patch with ISI patches from avr32linux.org) But when i used the same linux kernel on AP7000 OEM from ICnova, the uboot is able to read the kernel image, but does not continue to display the booting sequences message. Is there any setting i need to edit? I also curious if the ISI patch is compatible to the current linux kernel. :-SHi there, I want to use the two PWM channels of the Grasshopper. Due to the message during startup (see below) and the directories under /sys the atmel_pwm driver seems to be installed and working. But how can I communicate with the driver? Is there a similiar interface like for the leds or gpios? Probably it is quite simple - if you know what to do. Generally where can I find such information, only in the kernel source, header, document folder or are there other places to look? I am quite new to hardware programming in Linux and have ...I'm using ARM Cortex-R4 for my system. I'm little bit confused about which linux should I go for - Standard Linux Kernel with MMU disabled or uCLinux. On an eval board, I have run the standard kernel compiled with MMU disabled. I used cramfs filesystem which available on the official ARM website. After the kernel boots up, I receive the shell but I couldn't do much experimentation as I found that most of the time, the shell stops responding (particularly when I press for auto-completion). So, I'm still not sure whether MMU less kernel shall run smoothly if I use ...Hi, i'm trying to connect a MSP430F5438A development board via USB/serial to a Linux PC (Ubuntu 11.10, Linux 3.0). The communication is done using UART (9600 8N1). On Linux i'm using the usbserial kernel module, i set the right vendor/product ID and the device is detected as ttyUSB*. But trying to send/receive data with GTKTerm or Minicom fails. Communication with the same UART settings on Windows 7 works, so the error must be somewhere on the host side. Does anybody have experiences with USB communication to Linux and can give me some hints? Thanks, PeterHello, in the Kernel there is a file called gpio.c (/arch/arm/mach-at91/gpio.c) Is this the KernelDriver for the AT91SAM9260 to access the GPIO pins ? How could I enable this driver, and toggle an GPIO Pin ? Thank you very much Best regards M. SahmHi all, How to port sample application program to AT91SAM9260-EK board after porting the linux kernel to it. We have ported linux kernel and its working fine and after that we have built sample hello world application program then afterwards how to compile sample application using linux and run using AT91SAM9260 board reply to above query. Thanks in Advance, Sandeep G Rhello i have compiled a linux kernel for ARM versatile family, but when i am booting with qemu emulator, nothing is displayed after starting the kernel.. like this : - # qemu-system-arm -M versatilepb -m 128M -kernel zImage -nographic Uncompressing Linux... done, booting the kernel. after this nothing is displayed, thanks in advanceHi, I am using AT91SAM9260-EK board, also we have ported the linux kernel to the board now i want to develop a sample C progrm and transfer to the board so that i want to compile the sample program in linux kernel which is ported to AT91SAM9260-EK please anyone could help in this regard. Thanks in Advance, Sandeep G RHi Guys I have recently bought a single board computer that has the atmel AT91SAM9260 core on board and I have a linux file system installed on this. I have updated my kernel to 2.6.30 so that I have the GPIO driver and can now access GPIO from user space. However I would like to get access to the ADC inputs and PWM outputs in a similar way, is this possible? If so could someone point me in a direction on this? If it's not possible could someone suggest ways of doing this? I presume I would have to write my ...I tried to build Angstrom distribution for AT91SAM9260 (MACHINE=at91-l9260). I use a custom board which is a copy of AT91SAM9260EK. OE builds rootfs image and uImage with the kernel. When I try to boot uImage it hangs after "Starting kernel ...". Kernel is not even decompressed. Here is log: Quote:Hey all, I got myself a USB and a 8PB module today and I built myself a little test setup. I would like to get things going under Linux and I will post all my findings in this thread. It seems that I am already off to a good start, since I got basic communication working. You need the USB Serial Device Driver built as a module in your kernel with the Generic Serial Driver option enabled. Then you load it with the following command: Code:Hello All, I am trying to boot a kernel and rootfs build with OpenEmbedded for the SAM9-L9260 (Olimex) board. I was able to get the rootfs working just fine. But I am stuck at trying to get the kernel to work. Currently im trying to load the kernel to the nand off a usb stick then boot. In u-boot I start the usb service and then use "fatload usb 0:1 0x22200000 uimage" then I run "bootm 0x22200000". It seems to start booting and checking the kernel successfully and then it hangs at starting kernel. Results below. Anyone have any ideas? Is there a ...Hi all, I'm working on WiFi bases Open Source Project which requires me to change the MAC address of the SD8686 wifi chip. I am using Linux Kernel 2.6.28(Linux4SAM). And, this Kernel has Libertas driver but it doesn't have support for private ioctl or iwpriv. My host processor is AT91SAM9XE512 and SD8686 chip is interfaced with SDIO. Can any one please suggest me how to change the MAC address of SD8686 chip? Any help is highly appreciable. Regards, Pramod Kumar
