Hi,
I am using a Uboot to boot Linux (Debian) on a Beagle Bone Black.
During the boot stage, I want to output some data on SPI2.
However I am unable to read or write to the SPI2 address space (0x481A0110).
I have tried calling my function at different stages of the u-boot process and have no luck.
Iam using the readl and writel functions (in omap3_spi) and direct access. When I try to access this memory area, the processor hangs and I get the following returned:
READING from 481a0110
data abort
pc : [<9ff6a744>] lr : [<9ff6a738>]
reloc pc : [<80832744>] lr : [<80832738>]
sp : 9ef17e50 ip : 0000000f fp : 00000001
r10: 00000000 r9 : 9ef17ed8 r8 : 4030cdcc
r7 : 9ff9ca6c r6 : 9ff9c9e4 r5 : 0000000a r4 : 9ef1aaf8
r3 : 481a0000 r2 : 0000000d r1 : 00000000 r0 : 00000016
Flags: nZCv IRQs off FIQs on Mode SVC_32
Resetting CPU ...
If I try to access SPI1 (0x48030110), I can happily send data.
Does anybody have any ideas of what I can try?
Regards,
Steve.