View previous topic :: View next topic |
Author |
Message |
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Tue Jan 15, 2008 5:34 pm Post subject: |
|
|
Moved from Gentoo on Alternative Architectures to Gentoo on PPC. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Wed Jan 16, 2008 12:56 pm Post subject: |
|
|
one note to be aware of
I think the default ps3_defconfig defaults to a 64bit setup
so there may be some options to be changed under "make menuconfig" if using under 32bit |
|
Back to top |
|
|
styggentorsken n00b
Joined: 05 Jul 2007 Posts: 22
|
|
Back to top |
|
|
styggentorsken n00b
Joined: 05 Jul 2007 Posts: 22
|
|
Back to top |
|
|
shazow Apprentice
Joined: 11 Dec 2003 Posts: 176 Location: Canada, Ontario
|
Posted: Sun Jan 20, 2008 7:10 pm Post subject: Re: Sixaxis as mouse |
|
|
styggentorsken wrote: | And I have the same problem in snes9x too... since snes9x-1.50 doesn't allow button remapping, just some stupid default |
Try using Mednafen. It's the more active NES emulator around, and I got button mapping worked out perfectly. Check this thread for instructions and my sample config at the bottom.
- shazow |
|
Back to top |
|
|
Smeagel n00b
Joined: 09 Apr 2007 Posts: 13
|
Posted: Mon Jan 28, 2008 11:41 pm Post subject: Another kernel build option.. |
|
|
For anyone who is looking for more kernel building stuff...
http://gentoo-wiki.com/HOWTO_Make_a_kernel_on_playstation3
This also tells you how to install the new kernel directly to your PS3 flash, so you don't have to mess with kboot anymore.
If you use git sources, bluetooth now installs by default FWIW. I used this to build a new kernel compatible with the new PS3 bios... _________________ Redhat? Really? Sigh. |
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Mon Feb 04, 2008 12:06 am Post subject: |
|
|
That's quite interesting, I've been looking for a way to create a new kboot image, as the existing premade ones from the cell source CD don't seem to work too well with Gentoo (still using 2.6.16 within kexec / otheros)
still if you get one thing wrong then you won't be able to boot back into linux, without re-flashing the otheros area within the PS3 menu from a memory stick
I think it's always best to test a newly built kernel via a menu system of some form (in the case of x86 Grub, or for the PS3 petitboot)
that way you can always revert to an older version to recompile if something goes wrong and it doesn't boot
also you may be limited in what can be included directly into the kernel (I think the otheros area is limited in size but I'm not sure what to)
the general idea is to have a stripped down kernel with an initramfs image attached to the back of it, that has a couple of tools in (e.g. busybox) to get the disks recognized / to find any kernels on the disk / show this via a menu (e.g. petitboot) then switch across to one of these with the kexec tool
the assumption being the kernel within the otheros will always work, but the ones on the disk don't need to, if you can pick more than one from a menu and you know at least one works on the menu
(also it saves a bit of wear and tear on the flash memory, if your writing new ones to the disk instead)
Edit assuming you can get snes9x to compile
button remapping should be possible by placing a file into ~/.snes9x/snes9x.conf
(e.g. if logged in as root /root/.snes9x/snes9x.conf
or I think /etc/snes9x/snes9x.conf will work globaly as well)
there's an example file in the overaly directory which should remap things for the controller called snes9x.conf.ps3
(if you have trouble finding it, just try cd /usr && find -iname 'snes9x.conf.ps3' |
|
Back to top |
|
|
styggentorsken n00b
Joined: 05 Jul 2007 Posts: 22
|
Posted: Thu Feb 07, 2008 1:42 am Post subject: |
|
|
You're the best garlicbread. Finaly I can play snes9x on my ps3 with both good sound and joystick
I had to call snes9x with the -conf (specifying config file path) flag, but afterall it worked !!!
I also deleted most of the options in that config file, because I like to have a little bit more control.
The d-pad sometimes get a little bit stuck, but I think it's an emulation issue, and not a sixaxis issue.
The left analog stick always works though.
Thanks again for that last little hint |
|
Back to top |
|
|
h41cyon n00b
Joined: 13 Apr 2004 Posts: 26
|
|
Back to top |
|
|
h41cyon n00b
Joined: 13 Apr 2004 Posts: 26
|
Posted: Wed Feb 13, 2008 6:27 am Post subject: |
|
|
Please? anyone?.... I could always use Swiss Army Knife to gain access to my blu-ray disks, but I REALLY wanted to get this to work...... please? I'll pay someone. |
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Sat Feb 16, 2008 6:01 pm Post subject: |
|
|
you've not said where these kernels have come from
you've mentioned an old 2.6.23-ps3 kernel and a new 2.6.23-ps3 kernel
is the new one the one out of the overlay I've setup? (where's the old 2.6.23 from?)
the kernel sources on they're own won't work and still need special patches for this to work on the PS3
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=summary
at the moment the layman overlay I've got going has an ebuild for a 2.6.23, and a git version which should pull the latest 2.6.24 from the above git link (although I can't say how well the latest git will be) |
|
Back to top |
|
|
h41cyon n00b
Joined: 13 Apr 2004 Posts: 26
|
Posted: Tue Feb 19, 2008 9:24 am Post subject: |
|
|
garlicbread wrote: | you've not said where these kernels have come from
you've mentioned an old 2.6.23-ps3 kernel and a new 2.6.23-ps3 kernel
is the new one the one out of the overlay I've setup? (where's the old 2.6.23 from?)
the kernel sources on they're own won't work and still need special patches for this to work on the PS3
http://git.kernel.org/?p=linux/kernel/git/geoff/ps3-linux.git;a=summary
at the moment the layman overlay I've got going has an ebuild for a 2.6.23, and a git version which should pull the latest 2.6.24 from the above git link (although I can't say how well the latest git will be) |
The old kernel was the one that came straight from the live-cd.
The new kernel was obtained by using the following:
Code: | localhost ~ # emerge -u ps3-garlicbread-sources -a
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-util/dtc-1.0.0
[ebuild U ] sys-libs/ncurses-5.6-r2 [5.6-r1] USE="-profile%"
[ebuild N ] sys-kernel/ps3-garlicbread-sources-2.6.23 USE="-build -symlink"
Would you like to merge these packages? [Yes/No] Yes
localhost boot # cd /usr/src/linux-2.6.23-ps3/
localhost linux-2.6.23-ps3 # make ps3_defconfig
localhost linux-2.6.23-ps3 # make vmlinux modules modules_install
localhost src # vim /usr/share/genkernel/ppc/modules_load
localhost src # genkernel initrd |
Are you saying I need to add patches to this kernel to get it to work? |
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Tue Feb 19, 2008 12:19 pm Post subject: |
|
|
just noticed the documentation for the install has been updated
http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3
it looks as if the livecd is now using 2.6.23 which is probably the old kernel
if you manage to get a kboot: prompt where you can type something into
or if you can still boot the old kernel (by hitting tab at the prompt to cycle through the entry's in kboot.conf)
then there shouldn't be a problem with kboot
I'm not sure if your using 32bit or 64bit userland, but this has only been tried with 64bit
make ps3_defconfig should default to a 64bit config for the kernel
but if your using 32bit I think further changes have to be made within "make menuconfig"
to switch some of the 64bit options off (I've not tried this myself)
if your using 64bit userland
another possibility is that it's not finding the initrd or kernel image specified within kboot.conf
assuming you've copied the kernel (vmlinux) somewhere to /boot/
and the generkernel command should have created a file within /boot/
all I can suggest is to check your kboot.conf file and avoid any dashes "-" in the names of files (kboot doesn't like this) |
|
Back to top |
|
|
bleep n00b
Joined: 08 Mar 2008 Posts: 2
|
Posted: Sat Mar 08, 2008 9:08 pm Post subject: |
|
|
h41cyon wrote: | After following the first page of this thread, I tried booting to my new kernel 2.6.23-ps3.
It boots then gets to the following line:
"ps3-ehci-driver sb_05: USB Bus 1 deregistered"
and freezes.
I tried flipping back to my old kernel (2.6.23) and that still boots just fine.
Any ideas? |
I've got this same problem. Did you ever find a solution? I'm using 64-bit, so that shouldn't be the issue. |
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Sun Mar 09, 2008 10:51 pm Post subject: |
|
|
I've just noticed your using kboot direct from the cell sources
For some reason and I'm not sure why, the last time I tried that flavor of kboot image it didn't seem to work
(although it's likely it's been updated since then), I was never sure if something needed to be added to the image to get it to work
I'm still using one of the old 2.6.16 kboot based images at the moment (petitboot)
to chain boot across to the 2.6.23 kernel on the disk
I'm aware that there's the original Yellow Dog kboot image which was based on a 2.6.16 version of the cell sources kboot
(although was modified in some way, not sure how)
and there's petitboot (http://ozlabs.org/~jk/projects/petitboot/) which is also still based on 2.6.16 for the initial kboot image
saying that, if the kernel that comes with gentoo on the Live CD etc works, then I can't see a reason why this wouldn't
I'll need to have another look at the kboot image from the Cell sources, as it should be much more uptodate |
|
Back to top |
|
|
bleep n00b
Joined: 08 Mar 2008 Posts: 2
|
Posted: Mon Mar 10, 2008 1:00 am Post subject: |
|
|
Great stuff btw garlicbread. Many thanks to you.
I tried petitboot and it hangs as well when I try to load the new kernel. I'll keep it around, though, because it looks a lot nicer than the clunky kboot I had before. |
|
Back to top |
|
|
themenace n00b
Joined: 20 Mar 2008 Posts: 1
|
Posted: Thu Mar 20, 2008 1:41 am Post subject: |
|
|
I'm having some trouble getting dtc installed so I can build a kernel. Here are the messages from portage. Any help would be greatly appreciated.
Code: | lanfear src # emerge -v ps3-git-sources -p
These are the packages that would be merged, in order:
Calculating dependencies \
!!! All ebuilds that could satisfy ">=dev-util/dtc-1.0.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/dtc-20060419 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-9999 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-1.0.0 (masked by: invalid: SLOT is undefined)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-kernel/ps3-git-sources-2.6.23.8" [ebuild])
lanfear src # man emerge
lanfear src # emerge dtc -p
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/dtc-1.0.0
lanfear src # emerge -v ps3-garlicbread-sources -p
These are the packages that would be merged, in order:
Calculating dependencies \
!!! All ebuilds that could satisfy ">=dev-util/dtc-1.0.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/dtc-20060419 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-9999 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-1.0.0 (masked by: invalid: SLOT is undefined)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-kernel/ps3-garlicbread-sources-2.6.23" [ebuild])
lanfear src # emerge -v dev-util/dtc -p
These are the packages that would be merged, in order:
Calculating dependencies \
!!! All ebuilds that could satisfy "dev-util/dtc" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/dtc-20060419 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-9999 (masked by: invalid: SLOT is undefined)
- dev-util/dtc-1.0.0 (masked by: invalid: SLOT is undefined)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
|
|
|
Back to top |
|
|
garlicbread Apprentice
Joined: 06 Mar 2004 Posts: 182
|
Posted: Thu Mar 20, 2008 9:38 pm Post subject: |
|
|
it looks like they may have updated something in portage
I think I'll just need to update a couple of the ebuilds to include a slot setting |
|
Back to top |
|
|
pesche n00b
Joined: 08 Feb 2005 Posts: 21 Location: Berne, Switzerland
|
Posted: Sat Jun 21, 2008 3:18 pm Post subject: |
|
|
Any updated on this? _________________ "The significant problems we have cannot be solved at the same level of thinking with which we created them."
Albert Einstein (1879 - 1955) |
|
Back to top |
|
|
Pseudonimo Guru
Joined: 10 Mar 2007 Posts: 393
|
Posted: Fri Aug 01, 2008 9:01 am Post subject: |
|
|
You don't need dtc anymore. recent kernel versions of vanilla or gentoo sources in portage should work. _________________ Please search *well* before posting, look for bugs (check all status), use google syntax and *please* read the man pages and think. All obvious steps, frequently ignored. Add [solved] when finished. |
|
Back to top |
|
|
|