1/1
Bus error on Atlys spartan6 board foropenrisc
by liushengli on Nov 17, 2015 |
liushengli
Posts: 5 Joined: Nov 2, 2015 Last seen: Nov 26, 2015 |
||
hi�I have just build an openrisc linux system on Atlys Spartan-6 board. It seems that the linux os works well. I use Musl-or1k to compile a simple thttpd C-program , it works well on or1ksim , but when I transfer it to the atlys board, the program just prints "Bus error" string and failed. "Bus error" always means that there is something wrong with the access of illegal mem address. For me, things becomes strange. I try many test to find the problem, Sometimes I change some complex struct defintion, Sometimes I delete some lib Function Call(such as free/malloc and etc) in the program, however, Sometimes it works and Sometimes it fails with "Bus error". I wonder if someone has encounted the same problem , please help! Thanks.
|
RE: Bus error on Atlys spartan6 board foropenrisc
by liushengli on Nov 19, 2015 |
liushengli
Posts: 5 Joined: Nov 2, 2015 Last seen: Nov 26, 2015 |
||
I find that msul seems has some problem with memory management�because when I call free function in my program��Buserror � emits.
|
1/1