Build Your Own Arcade Controls Forum

Main => Raspberry Pi & Dev Board => Topic started by: tattooed on August 26, 2013, 10:22:34 am

Title: Beaglebone Black
Post by: tattooed on August 26, 2013, 10:22:34 am
Hi everyone. First let me say thanks for a great resource, I've been lurking for years now. I'm currently working on a small cab for my daughter and I hope to use this Beaglebone Black I have to run MAME for it. I'm new to linux but I've slapped Ubuntu on an old laptop and have mame running just fine.

The Beaglebone Black on the other hand, I have no idea why I can't get it to work. So far I've put Ubuntu 12.04 on an sd card, and have the desktop and everything set up exactly like the laptop. I cannot get it to install sdlmame.

Anyone here have a Beaglebone Black running mame? Any advice?

(http://i6.photobucket.com/albums/y237/tolley/lilyarcade_zps58f8a5f4.jpg)

The little one and I both thank you. Thats her playing on my old converted Double Dragon cab, I figured I'd build her a nice one to play while I take my sweet time finishing mine.
Title: Re: Beaglebone Black
Post by: spoot on August 26, 2013, 12:32:50 pm
How are you installing sdlmame?  sudo apt-get, source, etc?
Title: Re: Beaglebone Black
Post by: tattooed on August 26, 2013, 01:34:42 pm
Yes and each time I use that command it says "unable to locate package".
Title: Re: Beaglebone Black
Post by: General_Faliure on August 26, 2013, 02:25:10 pm
The "mame" package is in the repositories.
Sdlmame is no longer a standalone package, it is merged in the mainline mame.
Title: Re: Beaglebone Black
Post by: tattooed on August 26, 2013, 03:27:10 pm
I believe adding the repository was also giving me an error. Using this

Code: [Select]
sudo add-apt-repository ppa:c.falco/mame
I probably should have waited to post until I had exact issues to mention. Between getting ubuntu and a decent running desktop, I've been going nuts working on this thing.

I'll give it a go tonight and post what happens.
Title: Re: Beaglebone Black
Post by: tattooed on August 26, 2013, 07:12:22 pm
Ok, the add-apt-repository command issue was related to python. I got it to work and added the repository.

When I went to install MAME I got this error: "Package MAME is not available but is referred to by another package. blah blah" It makes mention to something called "mame-extra" but attempting to install that gives an error saying there is no installation candidate.
Title: Re: Beaglebone Black
Post by: tattooed on August 26, 2013, 07:59:31 pm
Do I need to just compile from source?
Title: Re: Beaglebone Black
Post by: tattooed on August 27, 2013, 09:53:57 am
The more I mess with this thing the more I think I should have bought a Pi. At least there's documentation and people actually running mame on it. I never would have guessed this beaglebone would end up being so frustrating.
Title: Re: Beaglebone Black
Post by: General_Faliure on August 29, 2013, 01:31:02 am
Mame is in the standard ubuntu repositories.
The PPA you mention provides a newer version as well as Mess for Ubuntu, i am using it myself.
Mame from the standard repo is also fairly new, so adding the PPA should not be necessary. (at least that is for X86)
Title: Re: Beaglebone Black
Post by: tattooed on August 29, 2013, 09:56:52 am
I've made some progress, at least I can get it to start compiling.

I get this:

Compiling src/emu/cpu/m68000/m68kmake.c...
Compiling src/osd/sdl/strconv.c...
Compiling src/osd/sdl/sdldir.c...
Compiling src/osd/sdl/sdlfile.c...
Compiling src/osd/sdl/sdlmisc_unix.c...
Compiling src/osd/sdl/sdlos_unix.c...
Compiling src/osd/sdl/sdlsync_tc.c...
Compiling src/osd/sdl/sdlwork.c...
src/osd/sdl/sdlwork.c: In function 'int osd_work_queue_wait(osd_work_queue*, osd_ticks_t)':
src/osd/sdl/sdlwork.c:281:26: error: 'osd_yield_processor' was not declared in this scope
src/osd/sdl/sdlwork.c: In function 'int osd_work_item_wait(osd_work_item*, osd_ticks_t)':
src/osd/sdl/sdlwork.c:516:25: error: 'osd_yield_processor' was not declared in this scope
src/osd/sdl/sdlwork.c: In function 'void* worker_thread_entry(void*)':
src/osd/sdl/sdlwork.c:666:27: error: 'osd_yield_processor' was not declared in this scope
make: *** [obj/sdl/mame/osd/sdl/sdlwork.o] Error 1
Title: Beaglebone Black
Post by: monkeychunkuk on August 29, 2013, 10:45:20 am
What design/theme are you going for?


(http://i48.photobucket.com/albums/f225/imlived/podcastlogo_zpsc5a2f0facopy.png) (http://"http://www.customcades.com/")
Title: Re: Beaglebone Black
Post by: tattooed on August 29, 2013, 11:37:09 am
Smaller scale nintendo cab. She loves Wreck It Ralph so it will probably end up along those lines.

If I can't get this beaglebone to some usable state, I have a laptop I can use to get back to Windows where I'm a heck of a lot more comfortable. I just thought these little computers would make super cheap, easy mame machines. I had the cheap part right.
Title: Re: Beaglebone Black
Post by: General_Faliure on September 01, 2013, 05:20:00 am
Maybe you should try a fresh install.
Mame is in the standard repository of Ubuntu, so "sudo apt-get install mame" should work.
Adding the PPA is only necessary if you want to use the Mess emulator.
Title: Re: Beaglebone Black
Post by: tattooed on September 01, 2013, 05:10:18 pm
I've tried fresh installs several times, sudo apt-get mame install gives me the "package cannot be located error"
Title: Re: Beaglebone Black
Post by: General_Faliure on September 02, 2013, 02:20:21 am
make sure you get the syntax right; "sudo apt-get install mame" and not "sudo apt-get mame install"
If that doesn't work it's probably not in the arm repositories, i don't know much about ubuntu on Arm.
Title: Re: Beaglebone Black
Post by: tattooed on September 02, 2013, 12:14:55 pm
I'm guessing its an arm issue. I've asked quite a few people and it all keeps failing. Really should have just bought a Pi.
Title: Re: Beaglebone Black
Post by: tattooed on September 04, 2013, 09:22:42 am
Ok, Debian has a mame package for armhf. It installs but I get a "segmentation fault" error.

Once I finally get this working, I'll post how exactly I did it in case it comes in handy for anyone else out there.
Title: Re: Beaglebone Black
Post by: General_Faliure on September 04, 2013, 11:33:33 am
You installed the debian package onto the ubuntu installment?
armhf means "hard float", so the ubuntu installment has to be hard float as well, or you might install Debian altogether.
Title: Re: Beaglebone Black
Post by: tattooed on September 04, 2013, 01:21:20 pm
No I wiped the sd card running Ubuntu Precise and put Debian Wheezy on it. Then installed the mame package and got the error. Have a friend looking at it now.