Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AT91RM9200 (2.6) Linux patches

Status
Not open for further replies.

elcielo

Full Member level 6
Joined
Jun 13, 2002
Messages
383
Helped
15
Reputation
30
Reaction score
8
Trophy points
1,298
Activity points
3,250
linux 2.6.13 at91_set_gpio_direction include

2.6.13 patch for AT91RM9200 (01/09/2005)


AT91RM9200 support updated for 2.6.13.
- USB Host: Do not take controller out of reset in at91_start_hc() [Eric Benard]
- Moved at91_spi.h to include/asm-arm/arch-at91rm9200/
- Changes proposed by Alexey Dobriyan:
+ Space before star, when using pointers.
+ Order in structures
+ C99-style initializers (spidev, dataflash, nand, i2c)
+ Replace BYTE_SWAP4() with swab32() [David Brownell]
- PCMCIA: Fixed order of calls in at91_cf_remove() [Steven Scholz]
- GPIO: at91_set_gpio_direction() replaced with at91_set_gpio_input() and at91_set_gpio_output().
- Ethernet: Converted to ethtool_ops [Eric Benard]
- Fix definition of __io() and __mem_pci [Steven Scholz]
- Support for KwikByte's KB9202 board [kb9200_dev <at> kwikbyte.com]
- Support for NAND flash with 2K page-sizes (eg Samsung K9F1G08U0A) [Zhang Qian]
- at91rm9200_irq_type() can set edge/level-triggering for FIQ [Karl Olsen]
- I2C: Set adapter.class to I2C_CLASS_HWMON [Mike Crowe]
- USB Device: USB_GADGET_SELECTED should be selected in Kconfig [Tom Rathbone]
- Definition of AT91C_SMC2_DBW was incorrect [Steven Scholz]
- Serial: uart_handle_dcd_change() and uart_handle_cts_change() already increment the port->icount counters [Russell King]
- Ethernet: Support for Altima AC101L Ethernet PHY [Andrew Lewis]
- Ethernet: Don't run MDIO interface faster than IEEE maximum of 2.5 MHz. Also removed special handling of the Intel, Realtek, and Broadcom PHY's [Karl Olsen]
- DataFlash: Different partitioning for 2M, 4M and 8M devices, taking into account the sector boundaries.
- Serial: Select between ttySx and ttyATx for the device names of the internal serial ports. [Karl Olsen]
 

linux & usb & swab32

We're trying to upgrage from 2.4.19 to 2.6.13. Everything is work fine except frame buffer driver. We uses S1D13506 on our board. The kernel stop booting when load frame buffer driver.

It seems that 2.6.13 for AT91RM9200-DK designed to S1D13806.
Any suggestion to make it work with S1D13506?

Below is boot message from our board

Linux version 2.6.13 (???@???) (gcc version 3.4.2) .......
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: console=ttyS0,115200 mem=32M root=/dev/ram rw initrd=0x2100
0000,2M
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 27904KB available (1962K code, 398K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2048K
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
Epson S1D13XXX FB Driver => it stoped at this line!


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
./drivers/video/s1d13xxxfb.c, line 79

static inline u8
s1d13xxxfb_readreg(struct s1d13xxxfb_par *par, u16 regno)
{
#if defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_OPSPUT) || defined(CONFIG_PLAT_MAPPI3)
regno=((regno & 1) ? (regno & ~1L) : (regno + 1));
#endif
return readb(par->regs + regno); // <= it stoped when call this function!
}
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 

linux patch at91rm9200

hi all;
i use finge print evaluation board of atme at91rm9200 with arm linux kernel 2.4.19-rmk7 i want to upgrad the kernel to 2.6.15 how i can do this plz any help?
thx you
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top