Comments (13)
So, this is a bit of a task: petitboot provides a bit of infrastructure for booting from one Linux instance to another; the dtbImage.ps3.bin
/ otheros.bld
also includes all the other components of that first Linux instance: the kernel, a minimal userspace, and petitboot.
So, the (very) general build process is:
- build a minimal userspace that includes the petitboot application. We used to use OpenWRT for this, but buildroot would be a good option now. This would give you a rootfs.
- build a Linux kernel for the ps3 platform, using that rootfs as a built-in initramfs (check out
CONFIG_INITRAMFS_SOURCE
for this)
For (1), you'd need a few (relatively) minor changes to buildroot to add a petitboot "package". There's an example here if you're keen!
I'd write up some more detailed instructions, but it has been a loooong time since I've had access to ps3 hardware that could run Linux, so I'd have no way to actually verify those.
from petitboot.
So, this is a bit of a task: petitboot provides a bit of infrastructure for booting from one Linux instance to another; the
dtbImage.ps3.bin
/otheros.bld
also includes all the other components of that first Linux instance: the kernel, a minimal userspace, and petitboot.So, the (very) general build process is:
1. build a minimal userspace that includes the petitboot application. We used to use OpenWRT for this, but [buildroot](https://buildroot.org) would be a good option now. This would give you a rootfs. 2. build a Linux kernel for the ps3 platform, using that rootfs as a built-in initramfs (check out `CONFIG_INITRAMFS_SOURCE` for this)
For (1), you'd need a few (relatively) minor changes to buildroot to add a petitboot "package". There's an example here if you're keen!
I'd write up some more detailed instructions, but it has been a loooong time since I've had access to ps3 hardware that could run Linux, so I'd have no way to actually verify those.
ah. i dont want to compile EVERYTHING myself, could i use the example files to build a new dtbimage?
from petitboot.
ah. i dont want to compile EVERYTHING myself, could i use the example files to build a new dtbimage?
If you're updating petitboot, then you'll need to create a new rootfs to install that into (matching all the existing library versioning), and then build that into a new kernel.
Consuming existing binary files (and getting the ABI versioning right) is just going to be more trouble than rebuilding the whole set.
from petitboot.
I wasnt directly involved but still the stuff from psx place discord
Playstation Homebrew?
yeah.. i dont remember. if you're referring to me getting banned, i have a new server now
https://discord.gg/Z6TBvQVHJa
from petitboot.
did you succeed ? as I too got some intrest in getting a relativly recent Linux going on my spare PS3. Rene from T2 does still work on his distro, might look into that. altho playing with Buildroot also sounds fun (and get my own "distro" going)
to be honest, kinda gave up. as of right now my main focuses in the PS3 scene are modding GH:WoR and getting Gentoo working correctly in OtherOS. might also make my own distro, who knows. wanna get fan speed and temp reading working in Linux, too.
from petitboot.
you
then you
then when its done you
from petitboot.
nah but can someone help this man
from petitboot.
Currently trying the same, already compiled the kernel. I was wondering what this config might be https://kernel.googlesource.com/pub/scm/linux/kernel/git/geoff/ps3-linux/+/refs/heads/master/arch/powerpc/configs/ps3_petitboot_defconfig
Thats geoff levlands ps3 linux kernel source. when compiling it, it outputs a dtbimage, but i tried flashing it and it didnt work.
Also makes sense as thats a kernel not petitboot/initrd
from petitboot.
Also hi james, long time no see;)
from petitboot.
Also the guy from t2 did something with petitboot, i think he build some type of initrd/kernel with kexec to boot on a ps3 but im not sure if he went through with it:
https://www.youtube.com/live/st70bZaliMM?feature=share
from petitboot.
Also hi james, long time no see;)
lol i dont actually remember you
from petitboot.
I wasnt directly involved but still the stuff from psx place discord
from petitboot.
did you succeed ? as I too got some intrest in getting a relativly recent Linux going on my spare PS3. Rene from T2 does still work on his distro, might look into that. altho playing with Buildroot also sounds fun (and get my own "distro" going)
from petitboot.
Related Issues (20)
- The petitboot system information interface refreshes and shows chaos.
- petitboot should not clear terminal scrollback HOT 1
- language translation fix HOT 9
- Device tree framebuffer address is wrong HOT 1
- Where can I find the configuration documentation? HOT 1
- ANSI coloured text?
- BootLoader Spec Support HOT 3
- kexec_file_load support for device-tree blobs HOT 1
- Can not get the same file from git source with petitboot-1.8.0.tar.gz HOT 1
- The link to http://git.ozlabs.org/?p=petitboot might be confusing HOT 3
- Adding "inst.dd" boot argument to install OS, causes the system interface to get stuck
- Setting a directory path for a dtb file does not seem to fail any validation checks HOT 1
- pb-discover crashes with a malformed DHCP URL for the pxeconffile HOT 1
- Force HTTP protocol in pxelinux-style configuration auto-discovery HOT 5
- [Feature Request]: Add licence HOT 3
- Petitboot not parsing/executing boot.scr HOT 3
- There is no v1.14 release HOT 3
- petitboot doesn't build against ncurses with NCURSES_OPAQUE_MENU
- Petitboot: v1.15: No video output after kexec HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from petitboot.