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 101: Line 89:


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....
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!
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]]:
btw: it is mentioned to first test all petitboot images from old petitboot-shell with (http://www.ps3devwiki.com/wiki/PS3_OpenWRT):
kexec -l and kexec -e
kexec -l and kexec -e


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)