Closed thanius closed 10 years ago
you can check out the kernel settings by doing make linux-menuconfig. There should be a tab that says drivers. Check in there. Right now I am working on configuring my xbox controller properly. I am working on the blinking light issue atm and will work on button presses later. I updated the firmware because the new rpi-firmware as a newer xpad driver. I will see if that works today. Let me know if you got your joystick working. What NES system did you add? Nestopia? I was going to add that one but now that you have already done it I do not have to! Make sure you send a pull request to add the NES to the master!
I added the emulators after building the root, so no packages yet. I'll try to fiddle with some configs though as this seems like fun.
2014-08-20 0:14 GMT+02:00 Nicholas notifications@github.com:
you can check out the kernel settings by doing make linux-menuconfig. There should be a tab that says drivers. Check in there. Right now I am working on configuring my xbox controller properly. I am working on the blinking light issue atm and will work on button presses later. I updated the firmware because the new rpi-firmware as a newer xpad driver. I will see if that works today. Let me know if you got your joystick working. What NES system did you add? Nestopia? I was going to add that one but now that you have already done it I do not have to! Make sure you send a pull request to add the NES to the master!
— Reply to this email directly or view it on GitHub https://github.com/rmaz/rpi-emulator-buildroot/issues/5#issuecomment-52707163 .
Just build a new image but the kernel just freezes before loading (color splash freeze). Using same config from previous build (zcat /proc/config.gz), only adding joydev static support. Any ideas?
Not sure I follow here, the joydev driver is included in the default kernel config. If you boot into a version 0.2 image, kill emulation station (F4 I think?) then do cat /dev/input/js0
and press a few buttons on the joypad, do you see anything?
js0 doesn't even appear. The kernel recognizes the gamepad and reads its meta, but no driver gets loaded. The config doesn't have joydev included as I could see, I could be wrong though.
2014-08-20 22:29 GMT+02:00 Richard Howell notifications@github.com:
Not sure I follow here, the joydev driver is included in the default kernel config. If you boot into a version 0.2 image, kill emulation station (F4 I think?) then do cat /dev/input/js0 and press a few buttons on the joypad, do you see anything?
— Reply to this email directly or view it on GitHub https://github.com/rmaz/rpi-emulator-buildroot/issues/5#issuecomment-52838979 .
Mind you, that this is the prebuilt image we're talking about now. Haven't gotten the buildroot to actually boot yet. Freezes on the color splash screen, guessing the kernelconfig is wrong somewhere. Using cross-compilation I can compile on my Linux box RPi compatible binaries, but when using buildroot nothing seems to boot (of the two minimal buildroot toolchains I've tried out so far.)
Having the all basic stuff installed on host compiler, I should only have to do this, right:
cd rpi-emulator-buildroot make linux-menuconfig Select joystick support static (joydev.ko) Save and exit make Copy over kernel (no modules) and rpi firmware to boot, rootfs to root Boot
Right?
2014-08-20 22:34 GMT+02:00 Tobias Hellgren hellgren.tobias@gmail.com:
js0 doesn't even appear. The kernel recognizes the gamepad and reads its meta, but no driver gets loaded. The config doesn't have joydev included as I could see, I could be wrong though.
2014-08-20 22:29 GMT+02:00 Richard Howell notifications@github.com:
Not sure I follow here, the joydev driver is included in the default
kernel config. If you boot into a version 0.2 image, kill emulation station (F4 I think?) then do cat /dev/input/js0 and press a few buttons on the joypad, do you see anything?
— Reply to this email directly or view it on GitHub https://github.com/rmaz/rpi-emulator-buildroot/issues/5#issuecomment-52838979 .
What do you see if you do a zcat /proc/config.gz | grep JOYDEV
? the default image shows me:
CONFIG_INPUT_JOYDEV=y
this creates the /dev/input/js0
node when a supported device is attached, works well for a couple of joypads I have lying around. could you post the relevant section of your dmesg
so I can see what device it is trying to attach?
to customise the kernel your above summary is correct, although i am not sure how you are selecting static joystick support when it is already selected? the kernel is only using static drivers, there are no modules.
Hi, great package! Tried it out and after a while I managed to get an image (after shoving in some NES roms and configuring a new system). However, I can't seem to get my joypad working. It's a generic joystick that uses joydev as driver, but it doesn't seem to be included. I'm checking out the buildroot right now, I'm not that familiar with cross-compiling so this ought to be fun. Will try to compile a new kernel and include it statically. Hopefully Retropie will use this new buildroot instead of Raspbian in the future!