Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Boa under Linux w/ MMU

Altera_Forum
Honored Contributor II
1,004 Views

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.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
270 Views

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?
0 Kudos
Altera_Forum
Honored Contributor II
270 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
270 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
270 Views

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,
0 Kudos
Reply