Editing Talk:PS3 OpenWRT

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
* NAND can kexec -l huge_elfs, to load some stuff if needed.
* NAND can kexec -l huge_elfs, to load some stuff if needed.
Can't flash but can load, we can store an elf on HDD and maybe add an entry to kboot.conf
Can't flash but can load, we can store an elf on HDD and maybe add an entry to kboot.conf
Precompiled images around vanishes with time, here a fresh one built with 3.10.26 linux kernel, just transfer to ps3, load and execute with kexec<br>
[http://www.mediafire.com/download/8gdctx8tw32v3rs/ps3-petitboot-vmlinux-initramfs-3.10.26.elf ps3-petitboot-vmlinux-initramfs-3.10.26.elf] (md5sum: 8554e2e82d201534e7efb12771dcf55f)
It has all needed new drivers and tools, sshd is default over telnetd, can kexec another kernel.


== Paralel compilation ==
== Paralel compilation ==
Line 39: Line 35:
  # kexec -e
  # kexec -e


Using current version of petitboot-huge, downloaded from [[PS3 OpenWRT]], "kexec -l /root/openwrt-ps3-petitboot-vmlinux.elf" gives:
Using current version of petitboot-huge, downloaded from http://www.ps3devwiki.com/wiki/PS3_OpenWRT, "kexec -l /root/openwrt-ps3-petitboot-vmlinux.elf" gives:


"Warning: append= option is not passed. Using the first kernel root partition
"Warning: append= option is not passed. Using the first kernel root partition
Line 57: Line 53:
Made sure that you have an official flashed to kexec whatever.  
Made sure that you have an official flashed to kexec whatever.  


That's the point. I'm trying to kexec official elf form psdevwiki and petitboot freezes. Possibly current version of kexec doesn't work at powerpc properly.
That's the point. I'm trying to kexec official elf form ps3devwiki and petitboot freezes. Possibly current version of kexec doesn't work at powerpc properly.


cnpym
cnpym
Line 67: Line 63:
"- init -
"- init -
/usr/sbin/petitboot: can't load library 'libps3-utils.so.2'"
/usr/sbin/petitboot: can't load library 'libps3-utils.so.2'"
cnpym
During build time observing following error: "sed: can't read ./staging_dir/target-powerpc_uClibc-0.9.33.2/pkginfo/argp-standalone.default.install: No such file or directory". Could someone explain is it harmful or not? Thanks.
cnpym
Just had compiled petitboot with all new patches and 3.9 kernel. All functions just fine! Many thanks Glevand!


cnpym
cnpym
Line 85: Line 73:


How do I get rid of it?
How do I get rid of it?
== self build petitboot cannot kexec another kernel ==
I followed your build instruction (http://gitorious.ps3dev.net/ps3openwrt/patches/blobs/master/HOWTO) to create an own petitboot image for my ps3 with the help of the openWRT cross-toolchain. I've tried so far the version based on the 2.x Kernel, the 3.3.x and the 3.7.x Kernel. Unfortunately all my attempts didn't work quite well.
The problem is on the one hand, that all my self-build versions didn't reboot correctly. If I choose "Exit to shell" in petitboot and just hit "reboot", all my versions just hang and didn't force the ps3 to reboot the system. On the other hand a "reboot -f" just give me a blinking cursor which is floating the console.
The other problem is, that I can't kexec another kernel....If I choose (live cd red ribbon or live cd ps3 freebsd) to boot from a live-cd, the system hangs and didn't change the kernel correctly. Maybe it's related to the problem, that the ps3 didn't reboot correctly, cause the kexec will force this command at the end of the kernel change.
I've also found a NAND and NOR version of an offical petitboot image in the Inet....with this image (Kernel 2.x) the system reboots correctly and also kexec to another kernel works quite well.....
I decided to build my own petitboot, cause I like to install freebsd in order to test the new graphic driver under XServer....therefore I need a petitboot version which is able to mount my freebsd partition....all the new versions of petitboot I build so far are able to mount the freebsd partition with udev. From this side I have an kboot-entry in the petitboot UI directly after boot of petitboot.....
but unfortunately all of my attempts fail to kexec another kernel with my own petitboots....
Maybe someone could give me a hint, how to configure openwrt-toolchain correctly in order to get a petitboot image able to kexec another kernel....
You have to include
Thanks for this!
<pre>
ps3@blackstar ~/openwrt-dev $ grep KEXEC bin/ps3/config.openwrt
CONFIG_KERNEL_KEXEC=y
CONFIG_KEXEC_TOOLS_TARGET_NAME="powerpc64"
# CONFIG_KEXEC_TOOLS_kdump is not set
CONFIG_KEXEC_ZLIB=y
ps3@blackstar ~/openwrt-dev $ grep KEXEC bin/ps3/config.kernel
CONFIG_KEXEC=y
</pre>
btw: it is mentioned to first test all petitboot images from old petitboot-shell with [[PS3 OpenWRT]]:
kexec -l and kexec -e
just to let you know....even with a working "offical" petitboot image, the method mentioned in the ps3 wiki isn't able to load any petitboot image...so, at this point I can confirm the problem discussed above.
regards,
Kontr-Olli
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)