[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] New PetaLinux release - call for patches and bug reports
There another problem with a possible patch I would propose.
When reseting the microblaze board, FS-boot does not take the hand and
the mb fall in error state. I did some investigation and I found a
conflict between FS boot and linux.
The FS-boot executable defines the vector table, with reset branching
at address 0x50 (this is the default config for .text in the petalinux
and xilinx gcc packages).
When Linux boot it updates the vector tables with it own vectors, and
in case of reset rebranch towards FS-boot (in file arch/mb/entry.S).
There is two problems:
- the branch to FS-boot is done at address 0x70 instead of 0x50.
brai 0x70; /* Jump back to FS-boot */
- there is an additional vector at address 0x60 which overwrite the
beginning of FS-boot code:
/* Debug traps are like a system call, but entered via brki r14, 0x60
All we need to do is send the SIGTRAP signal to current, ptrace
and do_signal will handle the rest */
I moved this vector in 0x40, and everything seems to work (including
the reset), but I am worried about this "brki r14, 0x60". I searched the
kernel, but I did not find any reference to this vector. Do you have more
info about this?
----- John Williams <john.williams@xxxxxxxxxxxxx> a écrit :
> Hi folks,
> It's time for a new PetaLinux snapshot release - the biggest change will of
> course be the merge of complete MMU support (previously only available
> through the SubVersion repo), but there's a lot of other small additions and
> cleanup in there as well.
> Before we cut the release, I'd like to ask anyone who has any outstanding
> issues with the current SVN head to please let us know quickly! Any
> patches, or bugs you have found but maybe not reported (and maybe even ones
> you have), please tell us so we can try to get them included in the next
> John Williams,
> PetaLogix - Linux Solutions for a Reconfigurable World
> w: www.petalogix.com p: +61-7-30090663 f: +61-7-30090663
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/