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

Re: [microblaze-uclinux] Soft reset?



Hi Phillip,

Philipp Hachtmann wrote:

Lesson #1 - use a revision control system, commit early and commit often! :)

For my HDL and software work I always use CVS. And I commit early and often... But I don't know yet which parts of an XPS project directory I would have to check in to correctly cover the whole project...

files: MHS, XMP, MSS,

directories:  data/, etc/, pcores, and any application source code dirs

Pretty much everything else is a generated file/directory

Is it enough to check in the MSS, MHS and XPM files? And... CVS cannot check in my symlink to the edk_user_repository thing containing the PetaLogix BSP script stuff...

We use SVN internally which can handle symlinks. You can always copy the directory inrto your HW project, but there are issuse with that as well.

Another option is to specify a relative path to the edk_user_repository directory - you can set that in the XMP file or via the XPS gui.

That rises another question: Did Xilinx document the BST generation process? I am curious to learn more about doing my own magic... :-)

It's sort of documented, but not completely. Appendix C of est_rm.pdf is the best place to look.

There should be a line like
PARAMETER periph_type_overrides = {Reset_GPIO soft_reset}

inside the OS section of the MSS file. This tells the BSP tools that the peripheral named "Reset_GPIO" should alias as a peripheral of type "soft_reset". That, in turn, lets the kernel code know exactly which device it shold drive to generate reset.

Thank you! Worked immediately :-))
But... where to get to know that magic?

Right here!

We could look at adding some doco here:

http://developer.petalogix.com/wiki/UserGuide/Basics/AutoConfig

it's just a question of time...

Regards,

John
___________________________
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/