<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi, <br><br>I am trying to build petitboot on ps3. First I need to build OpenWRT. I downloaded the source (version 7.09) from <a target="_blank" href="http://downloads.openwrt.org/kamikaze/">[0]</a> , and the patches on the page from <a target="_blank" href="http://ozlabs.org/%7Ejk/projects/petitboot/">[1]</a>. However, I got some errors when applying some of the patches (The errors and output are at the end of this email.). <br><br>I ignored the errors, and use the provided config (openwrt-config) to make OpenWRT. The build succeeded after a long time (maybe 30 minutes?). I saw a bunch of *.bin files in bin directory, such as openwrt-wr850g-squashfs.bin. <br><br>Now now questions what is next? How to I
generate otheros.bld from the binary petitiboot (and its other files) using openwrt? The instruction on [1] is not detailed enough. <br><br>Please help. Best regards.<br><br>Jiafu<br><br>[0] <a target="_blank" href="http://downloads.openwrt.org/kamikaze/">http://downloads.openwrt.org/kamikaze/</a> <br>[1] <a target="_blank" href="http://ozlabs.org/%7Ejk/projects/petitboot/">http://ozlabs.org/~jk/projects/petitboot</a><br><br>=========================================<br>The patch errors:<br>$ patch -p1 < add-udev-utils.patch<br>patching file package/udev/Makefile<br>Hunk #1 succeeded at 38 with fuzz 2 (offset 3 lines).<br>Hunk #2 succeeded at 58 (offset 3 lines).<br><br>$ patch -p1 < cleaner-biarch-specification.patch<br>patching file toolchain/Config.in<br>patching file toolchain/gcc/files/alternate-arch-cc.in<br>patching file toolchain/gcc/Makefile<br>Hunk #1 succeeded at 47 with fuzz 2
(offset 7 lines).<br>Hunk #2 FAILED at 69.<br>Hunk #3 FAILED at 102.<br>Hunk #4 FAILED at 111.<br>Hunk #5 succeeded at 129 (offset -2 lines).<br>3 out of 5 hunks FAILED -- saving rejects to file toolchain/gcc/Makefile.rej<br>patching file toolchain/binutils/Makefile<br>Hunk #2 FAILED at 35.<br>1 out of 2 hunks FAILED -- saving rejects to file toolchain/binutils/Makefile.rej<br><br>$ patch -p1 < use-new-kexec-tools.patch<br>patching file package/kexec-tools/Makefile<br>Hunk #1 FAILED at 9.<br>1 out of 1 hunk FAILED -- saving rejects to file package/kexec-tools/Makefile.rej<br><br>$ patch -p1 < bump-ps3-version-to-2.6.24-rc7.patch<br>patching file target/linux/generic-2.6/patches-2.6.24/001-ps3fb-prevent-use-after-free-of-fb_info.patch<br>patching file target/linux/generic-2.6/patches-2.6.24/002-ps3fb-fix-deadlock-on-kexec.patch<br>can't find file to patch at input line 138<br>Perhaps you used the wrong -p or --strip option?<br>The text leading up
to this was:<br>--------------------------<br>|Index: kamikaze/target/linux/ps3/Makefile<br>|===================================================================<br>|--- kamikaze.orig/target/linux/ps3/Makefile<br>|+++ kamikaze/target/linux/ps3/Makefile<br>--------------------------<br>File to patch:<br><br>$ patch -p1 < udev-group-input-devices.patch<br>patching file package/udev/Makefile<br>Hunk #1 FAILED at 60.<br>1 out of 1 hunk FAILED -- saving rejects to file package/udev/Makefile.rej<br>patching file package/udev/files/20-input-grouping.rules<br><br><br></div></div></div><br>
</body></html>