Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Boa under Linux w/ MMU

I have used this w/o issues on uClinux w/ no mmu, but have not been

able to get this running on the Linux w/ MMU.

The main problem is that when I execute, I get the following error:

"fault during user misaligned fixup @ 0x83e8; isn=99000017

addr=0x00000004 sp=0x7fc217ec pid=974

SEGV"

The distribution seems to put the boa.conf into /etc, but boa expects

it in /etc/boa, so there is an error there that is quickly fixable.

However, after it is able to read the boa.conf file, it immediately

fails with the above error.

TIA for any suggestions or guidance.

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can specify boa's configuration file with the -f option:

    /bin/boa -f /etc/boa.conf

    I don't know about your actual problem though. Are you up to date in uClinux-dist trunk?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My distro is up to date.

    I guess my real question is - has anyone gotten this to work on Linux w/MMU? I see boa posts here and there, but they seem to be running uClinux.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have boa running on Linux w/MMU. Using boa-0.9.14rc21 from uClinux-dist trunk and Linux 2.6.37.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I notice nios2mmu branch is only at 2.6.35. This means you are using the unstable branch?

    Related question - the unstable branch appears to have no /arch/nios2/boards folder when I check it out, fresh, after an update. I can compile, but not run, using the Device Tree Wiki information. I assume some addresses are incorrect. I am able get an error message over the RS232 console. Do I need files in the .../boards folder - DTS_Generic perhaps? Any more (better) info here than the Device Tree wiki page? I am running (or trying to...) on a 2C35.

    Thanks,