[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Accessing RAM from userspace



>>> On 07 October 2009 at 09:21, in message
<78bd500b0910070121y6c92ce03o16647574bf1b20dc@xxxxxxxxxxxxxx>, Chris Enrique
<microdevel@xxxxxxxxxxxxxx> wrote:
> Hello,
> first of all, i am totally aware that my intention is not state of the art,
> it's just for testing:
> 
> i am trying to access a status register of some modified uart directly from
> userspace. register is located at : 0xc6400000 (base) 0xc6400020 (high).
> is it possible to read the data via some userspace application? it would be
> a lot easier to have a small testing application than always recompiling
> kernel with a special driver module and rebooting...

Not answering your actual query, but if you have telnetd and ftpd running on your embedded system, you can just rmmod the module, ftp a new one to the ramdisk and insmod it. All from the comfort of your desk :)

Would that help?

Cheers,
Martin
-- 

Martin Thompson CEng MIET
TRW Conekt, Stratford Road, Solihull, B90 4GW. UK
+44 (0)121-627-3569 : martin.j.thompson@xxxxxxx
http://www.conekt.net/

Conekt is a trading division of TRW Limited 
Registered in England, No. 872948 
Registered Office Address: Stratford Road, Solihull B90 4AX

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/