Post Created date
AVR32 linux virtual memory layout
The kernel image as well as everything allocated from the page allocator and slab allocator is located in the P1 segment. vmalloc() and vmap() use the P3 segments to set up...
Friday, 17 September 2010 - 11:08
Interrupt questions
If you want to write your own RTC driver, make sure you deselect the existing RTC driver first. The "AT32AP700X series RTC" driver registers an interrupt handler, but it doesn't...
Friday, 17 September 2010 - 11:01
Flash chip for NGW100
Try root=mtd1 or root=mtd: instead of /dev/mtdblock1. The latter doesn't work unless you enable MTD block device interface (and there's usually no other reason why you'd enable...
Friday, 17 September 2010 - 09:33
atmel_mci driver for U-Boot
All MMC/SD cards default to 1-bit data transfer at power-on, so it's not enough to simply write to the SDCR register, you need to tell the card to switch to 4-bit mode as well. I'...
Friday, 20 August 2010 - 04:12
Serial coms using USB on NGW100
The device node on the host should be /dev/ttyACM0 or somthing similar. /dev/ttyS0 is the good old 8250 compatible UART embedded on your mainboard. Also, when using buffered I/O,...
Friday, 20 August 2010 - 04:07
DRAM usage
tmpfs is usually mounted with a size limit, but you can change it by passing size=N as a mount option, defaulting to half the memory if not specified. The memory is not pre-...
Friday, 20 August 2010 - 04:04
Not using it, but it is in buildroot. Also, the syslogd integrated in busybox can rotate logfiles on its own.
Friday, 20 August 2010 - 03:56
adressing i/o with mega chips in assembler - how?
This is not a bug. Please read the section "Accessing 16-bit registers" in the TC1 chapter in the m169 data sheet to understand what's going on. I ran a quick test in sim2, and if...
Monday, 16 August 2010 - 02:19
using sprintf() with avr32-gcc
hce wrote:how wrote:Or remove -nostdlib, which is the reason why it doesn't get linked by default.Yeah, but then you get newlib, which will blow up your flash footprint AFAIK......
Tuesday, 20 July 2010 - 11:55
using sprintf() with avr32-gcc
Or remove -nostdlib, which is the reason why it doesn't get linked by default.
Tuesday, 20 July 2010 - 10:44
sleeping safely
OR the sleep mode with 0x80. That will cause the CPU to atomically enable interrupts and enter sleep. Not all CPUs may support this, but I think all devices except AP7000 and some...
Monday, 28 June 2010 - 13:20
How to read/write USB FIFO
hce wrote:You do not mention which device you are working with... But for AP700X devices you need to setup the DMA descriptors and get those running, you can not read the FIFO...
Wednesday, 18 November 2009 - 09:17