|
|
|
|
| Re: petitboot compiler [message #773 is a reply to message #772] |
Mon, 05 March 2012 21:06   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
How do you propose I do lsmod without a working keyboard? I cannot even select option "Exit to Shell"
Generating index for package ./kmod-hid_3.2.2-1_ps3.ipk
Generating index for package ./kmod-input-core_3.2.2-1_ps3.ipk
Generating index for package ./kmod-input-evdev_3.2.2-1_ps3.ipk
Generating index for package ./kmod-nls-base_3.2.2-1_ps3.ipk
Generating index for package ./kmod-scsi-core_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb-core_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb-hid_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb-ohci_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb-storage-extras_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb-storage_3.2.2-1_ps3.ipk
Generating index for package ./kmod-usb2_3.2.2-1_ps3.ipk
There's the index of kmods it used for compiling.
[Updated on: Mon, 05 March 2012 21:10] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: petitboot compiler [message #781 is a reply to message #780] |
Mon, 05 March 2012 22:16   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Read my HOWTO first. Did you copy patches ?
Linux 3.2.
------------
cd openwrt-dev
cp -r ~/patches-3.2 target/linux/ps3
cp linux-config-3.2.9 target/linux/ps3/config-3.2
patch -p0 < ~/linux-version-3.2.9.patch
patch -p0 < ~/modules.mk.patch
If you did it then try to remove build_dir/linux-ps3_petitboot and compile again.
[Updated on: Mon, 05 March 2012 22:17] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: petitboot compiler [message #804 is a reply to message #799] |
Thu, 08 March 2012 07:22   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
Okay, I completely started from scratch. I recompiled petitboot 3.2.9. I got no errors. Followed instructions to the letter. I flash it to my PS3. It starts up and runs. Keyboard is STILL not working. I have a wireless usb logitech and a generic mini usb keyboard. Neither of them work. Both have worked on my other PS3 in petitboot using your copy glevand.
You said to log in via telnet. I did so, and ran lsmod as root. I so ZERO modules loaded...
root@ps3-linux:~# lsmod
Module Size Used by Not tainted
How is that possible? I ran a default setup with menuconfig and kernel_menuconfig. Could that be why? Anyway, let me know how this is possible and what i can do about it.
Thanks.
If you are curious. I documented my installation in two parts. First part is most of the howto. Last part is whole compile process.
Part 1:
http://www.mediafire.com/?jp639e12e19rog2
Part 2:
http://www.mediafire.com/?o91q2fkabkr2gri
[Updated on: Thu, 08 March 2012 07:36] Report message to a moderator
|
|
|
|
| Re: petitboot compiler [message #807 is a reply to message #804] |
Thu, 08 March 2012 19:03   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Hmm, default config does not select USB drivers i think.
Check your root-ps3/lib/modules dir in your build_dir/target..../. Why did you use default configs ? My configs select the necessary USB drivers.
[Updated on: Thu, 08 March 2012 19:07] Report message to a moderator
|
|
|
|
| Re: petitboot compiler [message #808 is a reply to message #807] |
Thu, 08 March 2012 22:21   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
~/Source/openwrt-dev/build_dir/target-powerpc_uClibc-0.9.33/ root-ps3/lib/modules/3.2.9 $ ls -la
total 776
drwxr-xr-x 2 anonymous anonymous 4096 2012-03-08 00:52 .
drwxr-xr-x 3 anonymous anonymous 4096 2012-03-08 00:46 ..
-rw-r--r-- 1 anonymous anonymous 62088 2012-03-08 00:46 ehci-hcd.ko
-rw-r--r-- 1 anonymous anonymous 125392 2012-03-08 00:46 hid.ko
-rw-r--r-- 1 anonymous anonymous 32904 2012-03-08 00:46 ohci-hcd.ko
-rw-r--r-- 1 anonymous anonymous 17048 2012-03-08 00:46 ums-alauda.ko
-rw-r--r-- 1 anonymous anonymous 8280 2012-03-08 00:46 ums-cypress.ko
-rw-r--r-- 1 anonymous anonymous 13656 2012-03-08 00:46 ums-datafab.ko
-rw-r--r-- 1 anonymous anonymous 8144 2012-03-08 00:46 ums-freecom.ko
-rw-r--r-- 1 anonymous anonymous 12600 2012-03-08 00:46 ums-isd200.ko
-rw-r--r-- 1 anonymous anonymous 11392 2012-03-08 00:46 ums-jumpshot.ko
-rw-r--r-- 1 anonymous anonymous 8008 2012-03-08 00:46 ums-karma.ko
-rw-r--r-- 1 anonymous anonymous 19848 2012-03-08 00:46 ums-sddr09.ko
-rw-r--r-- 1 anonymous anonymous 12728 2012-03-08 00:46 ums-sddr55.ko
-rw-r--r-- 1 anonymous anonymous 18808 2012-03-08 00:46 ums-usbat.ko
-rw-r--r-- 1 anonymous anonymous 3832 2012-03-08 00:46 usb-common.ko
-rw-r--r-- 1 anonymous anonymous 244848 2012-03-08 00:46 usbcore.ko
-rw-r--r-- 1 anonymous anonymous 50944 2012-03-08 00:46 usbhid.ko
-rw-r--r-- 1 anonymous anonymous 101544 2012-03-08 00:46 usb-storage.ko
[Updated on: Thu, 08 March 2012 22:21] Report message to a moderator
|
|
|
|
| Re: petitboot compiler [message #809 is a reply to message #284] |
Fri, 09 March 2012 05:23   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
Okay, I went and installed your petitboot again and saw all of these wonderful modules loaded on boot. And my keyboard worked.
root@ps3-linux:/# lsmod
Module Size Used by Not tainted
usbhid 28468 0
hid 78968 1 usbhid
ums_usbat 10316 0
ums_sddr55 7120 0
ums_sddr09 11899 0
ums_karma 3312 0
ums_jumpshot 6040 0
ums_isd200 7744 0
ums_freecom 3688 0
ums_datafab 7104 0
ums_cypress 3728 0
ums_alauda 10840 0
usb_storage 47936 11 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_i sd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ohci_hcd 23268 0
ps3strgmngr 3880 0
ehci_hcd 41188 0
ps3physmem 3192 0
ps3_disp_manager 3368 0
ps3_jupiter_sta 22320 0
ps3_jupiter 11912 1 ps3_jupiter_sta
ps3nflash 7220 0
ps3flash 8052 3
usbcore 130968 16 usbhid,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpsho t,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda, usb_storage,ohci_hcd,ehci_hcd,ps3_jupiter_sta,ps3_jupiter
usb_common 1056 1 usbcore
root@ps3-linux:/#
Seeing as I have none loaded. Can you add this process to the Howto? Most people do not know how to load modules at boot. I'm going to attempt tonight to see if I can figure it out.
Thanks.
|
|
|
|
|
|
|
|
| Re: petitboot compiler [message #812 is a reply to message #811] |
Fri, 09 March 2012 11:07   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
Found the problem. Your linux-config-3.2.9 has tons of things set to be added as package only "=m" and not "=y" I changed all to "y" and all is WORKING!
CONFIG_USB=m
# CONFIG_USB_ARCH_HAS_XHCI is not set
CONFIG_USB_COMMON=m
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_EHCI_BIG_ENDIAN_MMIO=y
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_HID=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDC_NCM=m
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_STORAGE=m
CONFIG_USB_SUPPORT=y
CONFIG_USB_USBNET=m
CONFIG_USE_GENERIC_SMP_HELPERS=y
!!!! \o\, /o/, \o/ !!!!
So apparently that make menuconfig seems pretty much useless cause it creates a whole config that seems is not used. But maybe i'm wrong.
Thanks for your help Glevand. Be sure to correct that file please!
[Updated on: Fri, 09 March 2012 11:09] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
| Re: petitboot compiler [message #823 is a reply to message #822] |
Sat, 10 March 2012 00:41   |
nikitis
Messages: 58 Registered: July 2011 Location: The Dirty South
|
Gitbrew Member |
|
|
Okay, I have checked build_dir/target-powerpc_uClibc-0.9.33/root-ps3/lib/modules/ Inside is 3.2.9/ dir. Are the modules supposed to be in modules/ or modules/3.2.9/ ?
This is all that's in there now. How do I get what i need in there?
anonymous@ps3mint ~/Source/openwrt-dev/build_dir/target-powerpc_uClibc-0.9.33/ root-ps3/lib/modules/3.2.9 $ ls -la
total 156
drwxr-xr-x 2 anonymous anonymous 4096 2012-03-09 04:59 .
drwxr-xr-x 3 anonymous anonymous 4096 2012-03-09 04:59 ..
-rw-r--r-- 1 anonymous anonymous 17032 2012-03-09 04:56 ums-alauda.ko
-rw-r--r-- 1 anonymous anonymous 8264 2012-03-09 04:56 ums-cypress.ko
-rw-r--r-- 1 anonymous anonymous 13640 2012-03-09 04:56 ums-datafab.ko
-rw-r--r-- 1 anonymous anonymous 8128 2012-03-09 04:56 ums-freecom.ko
-rw-r--r-- 1 anonymous anonymous 12576 2012-03-09 04:56 ums-isd200.ko
-rw-r--r-- 1 anonymous anonymous 11376 2012-03-09 04:56 ums-jumpshot.ko
-rw-r--r-- 1 anonymous anonymous 7992 2012-03-09 04:56 ums-karma.ko
-rw-r--r-- 1 anonymous anonymous 19832 2012-03-09 04:56 ums-sddr09.ko
-rw-r--r-- 1 anonymous anonymous 12704 2012-03-09 04:56 ums-sddr55.ko
-rw-r--r-- 1 anonymous anonymous 18792 2012-03-09 04:56 ums-usbat.ko
Inside modules/3.2.9/ There's none of what you have. Is that what make menuconfig does is put the selected modules into this directory in lib/modules/3.2.9 and then puts them in in /etc/modules.d/ in the dtbImage.ps3.bin?
Also why is it on make V=99 menuconfig when the grey window opens and you select your options, under wireless for kernel modules there is no option for jupiter. I'm not seeing half of the options in it. I can't figure out how to select jupiter for wireless modules.
Though I got my keyboard working, I'd like to be able to understand and set it up correctly.
Thanks for your help.
[Updated on: Sat, 10 March 2012 00:49] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|