custom ps3 bootloader with vfat support (0.1.2-20090917)

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

custom ps3 bootloader with vfat support (0.1.2-20090917)

Post by sashz »

This bootloader includes pdaXrom-ng base and ps3 GUI shell created from scratch :)

Changes:
* Hypervisor bug fixed.

Supported boot devices are the following:
* Internal harddrive, CD/DVD, cardreader
* External USB sticks, hardrives, CD/DVD

Supported filesystems are:
* vfat (no more problems with long file names on FAT formatted media)
* ext2
* ext3
* iso9660
* udf

USB keyboard and joystick (USB and BT modes) are supported. Screen mode is autodetected by default. To select preferred mode use keyboard or ps3 controller. Your selected video mode will be stored to a bootloader configuration. During startup press and hold right shift on the keyboard to safe video mode.

Keys: 0,1,2,3,4,5,6,7,8,9 - video modes: 0,3,4,5,131,132,133,11,12,13
Controller dpad: L1,R1,L2,R2 - video modes: 0,3,4,5
Keys/Buttons: left,right,up,down to navigate devices and configurations
Enter: boot selected configuration.
Space: simple cmdline editor for selected boot confguration.

Download

Bootloader is available on http://mail.pdaxrom.org/downloads/PS3/bootloader/

ps3boot source svn repository is on https://pdaxrom.svn.sourceforge.net/svn ... k/ps3boot/

To build ps3boot install libjpg, libpng and freetype.

Installation

* Download bootloader 'pdaXrom-ng-otheros.bld', rename it to 'otheros.bld'.
* On your USB stick or CD create the directory /PS3/otheros/ and copy 'otheros.bld' file to it.
* Insert CD or a plug USB stick into PS3 and go to System->System Settings->Install Other OS. PS3 should find and install bootloader.
* Go to System->System Settings->Set Default OS->OtherOS to boot up with pdaXrom-ng bootloader.

Image
Last edited by sashz on Fri Sep 18, 2009 8:45 pm, edited 7 times in total.
jonathan
Posts: 23
Joined: Fri Sep 21, 2007 12:18 pm
Location: Tasmania, Australia

Post by jonathan »

[nevermind]
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

excellent work !

do you think spufs could be added to the base system ? if so, your bootloader could be a basis for distributing ps3 homebrew on vfat-based removable media (ie, without having to install a fully functional GNU/Linux system).

other question : could bluetooh support be added aswell ? at least the necessary files for handling the wireless controllers.
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

ouasse wrote:do you think spufs could be added to the base system ? could bluetooh support be added aswell ? at least the necessary files for handling the wireless controllers.
yes, for spufs - enable it in the kernel config. For bluetooth - i will add bluez.
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

Hi sashz,

This sounds really, really good to me.

I would like to modify and test the petitboot and/or the ps3boot programs, and generate my own bootloaders.
Could you please provide a link to some documentation to build an up-and-running bootloader from the pdaXrom and kernel sources ?

Thank you in advance.
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

ouasse wrote: Could you please provide a link to some documentation to build an up-and-running bootloader from the pdaXrom and kernel sources ?
To compile this stuff you need linux host (native or installed in vmware emulator or similar) or Apple OSX with darwinports installed. I use Ubuntu 8.10 and OSX 10.5.6.

Preparing build host

Install the next packages for linux (ubuntu,debian) host (for rpm based linux, check for similar packets):

Code: Select all

sudo aptitude install autoconf automake bison build-essential cmake flex gperf intltool libbz2-dev libcap-dev libglib2.0-dev libxml-simple-perl libxml2-dev lzma m4 rpm subversion xmlto zlib1g-dev
To use Darwin (OSX) host, install the next packets from darwin ports:

Code: Select all

sudo port install autoconf automake bison bzip2 cmake coreutils cpio flex glib2 gmake gperf intltool libxml2 lzma m4 p5-xml-simple rpm subversion wget xmlto zlib
Getting the build system components

Get the build system from svn:

Code: Select all

svn co http://pdaxrom.svn.sourceforge.net/svnroot/pdaxrom/branches/pdaXrom-ng
Goto in working directory:

Code: Select all

cd pdaXrom-ng
Build cross toolchain

Code: Select all

sudo ./build-crosstools.sh powerpc-linux-uclibc
Clean the system after a build is finished:

Code: Select all

sudo ./build-crosstools.sh clean
The best idea is compile all stuff with normal user. Create the toolchain directory with user permission, /opt/powerpc-linux-uclibc:

Code: Select all

sudo mkdir -p /opt/powerpc-linux-uclibc
sudo chown myuser:mygroup /opt/powerpc-linux-uclibc
Run the build scripts without sudo to compile or cleanup.

Target system build

Build ps3boot image:

Code: Select all

./build-ps3-boot.sh
Find otheros.bld file in images/ directory after compilation is finished.

Build petitboot image:

Code: Select all

./build-ps3-petitboot.sh
Don't forget clean the build system before any new build for different targets or configurations.

http://wiki.pdaxrom.org/index.php/Main_Page
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

thank you for your precious help. I managed to build my own otheros images with the help you provided.

I have successfully added spufs at bootloader execution. This enabled me to run statically linked Cell programs with embedded SPU code directly from the bootloader. This works even when the executable and data files are on a USB stick.

Here is a patch file with my modifications.
dumfadog
Posts: 2
Joined: Sun Aug 17, 2008 6:20 pm

Post by dumfadog »

ouasse wrote:...
other question : could bluetooh support be added aswell ? at least the necessary files for handling the wireless controllers.
Hey ouasse how's that bluetooth support going??
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

I haven't found the time for bluetooth testing. For the moment I use the controller in USB mode.

Bluetooth support definitely looks possible on this bootloader. I'll try to do something as soon as I find the time for it.
dumfadog
Posts: 2
Joined: Sun Aug 17, 2008 6:20 pm

Post by dumfadog »

ouasse wrote:I haven't found the time for bluetooth testing. For the moment I use the controller in USB mode.

Bluetooth support definitely looks possible on this bootloader. I'll try to do something as soon as I find the time for it.
Excellent - let us know how you go as this would make the bootloader killer.
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

Hi sashz, thank you for your excelent bootloader, i had successfully booted a live mame cd, i tried to boot the new YDL 6.1 but it doesn´t recognize it, do you know what could be the reason?
With the otheros.bld included in the distribution it boots, and also with petitboot, (but petitboot doesnt boot mame live cd and others) i like your loader more, how could i look into what went wrong?
could hpfs filesystem be implemented?

I hope you got time for the bluez addition update.
Thanks Again.
caviar44
Posts: 7
Joined: Mon Jan 28, 2008 2:59 am

Post by caviar44 »

Hi speedxl,

What is the name and the version of your Mame Live cd version you tried ?
Is it your own build or another one?

Could you please supply us a link to find it ?
thanks
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

Of course!
Its not my build it is from a nice guy named Phil, he worked in this sometime ago, now it appears he will find sometime to update it to the latest version, currently with this boot loader, and this live cd, you dont need to partition the internal hdd, and dont need a keyboard or mouse in all the process, because both support the sixaxis, although only by usb.

If phil updates the live cd to YDL 6.1 it will support bluetooth probably.

here is the link to the iso. It has no ROMS except one for testing (Robby Roto) but this game has been made free to use by his autor so i hope there are no problems to post the link.

http://rosemary.dyndns.org/software/ps3 ... est.iso.gz
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

Now ps3boot includes only kboot parser, without yaboot parser. I guess YDL uses yaboot config file.

I have added bluez build script to trunk sources. New ps3boot and beta live cd are coming on the next week.
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

Indeed the YDL 6.1 dvd uses yaboot.conf, i hope it could be added in the future (i guess petitboot sources could be helpful for this), i will be waiting for your new ps3boot as its very useful, its NICE that you managed to add bluez!
Thank You!!!
ps3fanboy
Posts: 66
Joined: Sun Jul 06, 2008 2:03 am

Post by ps3fanboy »

fedora also uses yaboot.
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

Hi sashz, did you manage to update ps3boot binary? i have been by your site but it seems the same version.

Thank you.
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

speedxl wrote:Hi sashz, did you manage to update ps3boot binary? i have been by your site but it seems the same version.
Hi, i made update to 0.1.1 - http://wiki.pdaxrom.org/downloads/PS3/b ... -0.1.1.bld and sources http://wiki.pdaxrom.org/downloads/PS3/b ... .1.tar.bz2

it includes yaboot parser, and also simple ps3boot config parser.

ps3boot parser enables execute binaries/scripts from removable storage:

<storage>/ps3boot.conf (ps3boot.cnf/ps3boot.cfg):

Code: Select all

message="Hello! Hello!"
default=mygame

label=game1
     exec=game1.sh

label=mygame
    exec=bin/mygame
it will execute script <storage>/game1.sh for game1 label or <storage>/bin/mygame for mygame

In next update i want add loadable modules support to bootloader kernel. If applications will need sound, bluetooth etc, they will able load it itself.
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

Nice! Im downloading it right now, will use the new features, yaboot parser, bluez, thank you!!
speedxl
Posts: 24
Joined: Thu Aug 07, 2008 5:39 am

Post by speedxl »

I did try the new version and it works now with YDL, and noticed that it boots to the menu a lot faster, bluez isnt implemented yet, i guess it will come as a loadable module option in next version... Thanks again.
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

Hello,

I tried compiling a bootloader with bluez support. This induces a lot of dependencies, including glib2 and dbus. Glib2 complains about missing iconv library, which is included in glibc but not uClibc. I am afraid building the bluez 4.29 binaries for the embedded bootloader system is out of reach.

Maybe using bluez-utils and bluez-libs version 3.36 would be a solution, since the 3.x series of bluez were using an internal implementation of glib (called "eglib").

I definitley have no time for further checking. If somebody experiments anything, please keep us informed about this.
mgillespie
Posts: 20
Joined: Sun Jul 04, 2004 10:36 pm

Post by mgillespie »

Hi, fancied building a boot cd with some emulator stuff in, but having trouble.

Building on a PC, running Debian in VirtualBox.

My first bit of confiusion:

sudo ./build-crosstools.sh i686-linux

or

sudo ./build-crosstools.sh powerpc-linux

PS3 is PowerPC, but my build PC is i686. Should I select the correct item for the BUILD PC or the TARGET PC???

When I originally read this, I chose PowerPC, an when it comes to building the image, I get this error:

Code: Select all

root@debian&#58;~/pdaXrom-ng# ./build-linux-ps3.sh 
target arch powerpc-linux
build  arch i686-unknown-linux

*********************************************************************************
Build linux-2.6.29-rc7.tar.bz2

Downloading linux-2.6.29-rc7.tar.bz2
Patching linux-2.6.29-rc7
~/pdaXrom-ng ~/pdaXrom-ng
./rules/core.sh&#58; line 209&#58; cd&#58; /root/pdaXrom-ng/build/linux-2.6.29-rc7&#58; No such file or directory
*** /root/pdaXrom-ng/patches/linux-2.6.29-rc7/linux-2.6.27-apple.patch  patch -p1
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was&#58;
--------------------------
|diff -Nur linux-2.6.27/arch/powerpc/boot/mktree.c linux-2.6.27-new/arch/powerpc/boot/mktree.c
|--- linux-2.6.27/arch/powerpc/boot/mktree.c	2008-10-10 05&#58;13&#58;53.000000000 +0700
|+++ linux-2.6.27-new/arch/powerpc/boot/mktree.c	2008-11-23 23&#58;56&#58;45.000000000 +0600
--------------------------
File to patch&#58; 

sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

mgillespie wrote:Hi, fancied building a boot cd with some emulator stuff in, but having trouble.

Building on a PC, running Debian in VirtualBox.

[/code]
Hello,

you need build powerpc-linux toolchains for build ps3 live cd, or powerpc-linux-uclibc for ps3boot:

Code: Select all

sudo ./build-crosstools.sh  powerpc-linux
clean build system from old sources:

Code: Select all

sudo ./build-crosstools.sh clean
okay, powerpc-linux crosscompiler ready, build livecd:

Code: Select all

./build-linux-ps3.sh
Get iso file in images/ directory after compilation is finished.
mgillespie
Posts: 20
Joined: Sun Jul 04, 2004 10:36 pm

Post by mgillespie »

Still having problems. There are some additional dependancies that need installing:

zip, libgtk2.0-dev

which Firefox and Xchat fell over on.

However now it's complaining at curl..

Code: Select all

configure&#58; WARNING&#58; This libcurl built is probably not ABI compatible with previous
configure&#58; WARNING&#58; builds! You MUST read lib/README.curl_off_t to figure it out.
checking for long long... no
checking for ssize_t... no
checking for bool... no
checking for socklen_t... no
checking for socklen_t equivalent... unknown
configure&#58; error&#58; Cannot find a type to use in place of socklen_t
ERROR&#58; 
ERROR&#58; configure
mgillespie
Posts: 20
Joined: Sun Jul 04, 2004 10:36 pm

Post by mgillespie »

Never managed to fix that problem, seems like a problem with Debian 5. Moved my build to a different PC, that's got Ubuntu on it (64bit), and it sailed past the curl part without any problems...

However it's now stuck on lxde-lxpanel...

Code: Select all

target arch powerpc-linux
build  arch x86_64-unknown-linux

*********************************************************************************
Build lxde-lxpanel

Downloading lxpanel-0.3.99.tar.gz
/home/mark/pdaXrom-ng /home/mark/pdaXrom-ng
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $&#40;MAKE&#41;... yes
checking for powerpc-linux-strip... powerpc-linux-strip
checking for powerpc-linux-gcc... powerpc-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-linux-gcc accepts -g... yes
checking for powerpc-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc-linux-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether NLS is requested... yes
checking for intltool-update... /home/mark/pdaXrom-ng/host/bin/intltool-update
checking for intltool-merge... /home/mark/pdaXrom-ng/host/bin/intltool-merge
checking for intltool-extract... /home/mark/pdaXrom-ng/host/bin/intltool-extract
checking for xgettext... /home/mark/pdaXrom-ng/host/bin/xgettext
checking for msgmerge... /home/mark/pdaXrom-ng/host/bin/msgmerge
checking for msgfmt... /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for gmsgfmt... /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for perl... /usr/bin/perl
checking for powerpc-linux-pkg-config... no
checking for pkg-config... /home/mark/pdaXrom-ng/host/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for MENU_CACHE... yes
checking for LIBSN... yes
checking whether  accepts --as-needed... no
checking whether  accepts -O1... no
checking whether  accepts -Bsymbolic-functions... no
checking whether  accepts --sort-common... no
checking how to run the C preprocessor... powerpc-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_seq_open in -lasound... yes
checking iwlib.h usability... yes
checking iwlib.h presence... yes
checking for iwlib.h... yes
checking for iw_sockets_open in -liw... yes
checking which plugins should be built dynamically... all
checking for X... libraries /home/mark/pdaXrom-ng/target/lib, headers /home/mark/pdaXrom-ng/target/include
checking for ANSI C header files... &#40;cached&#41; yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... &#40;cached&#41; yes
checking for string.h... &#40;cached&#41; yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... &#40;cached&#41; yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... &#40;cached&#41; yes
checking for GNU libc compatible malloc... &#40;cached&#41; yes
checking for working memcmp... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... yes
checking for strftime... yes
checking for bzero... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strchr... yes
checking for locale.h... &#40;cached&#41; yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... &#40;cached&#41; /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for dcgettext... &#40;cached&#41; yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... &#40;cached&#41; /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for xgettext... &#40;cached&#41; /home/mark/pdaXrom-ng/host/bin/xgettext
checking for catalogs to be installed...  zh_TW ko hu sk pl fr pt_BR fi de es zh_CN
configure&#58; creating ./config.status
config.status&#58; creating lxpanel.pc
config.status&#58; creating Makefile
config.status&#58; creating src/Makefile
config.status&#58; creating src/plugins/Makefile
config.status&#58; creating src/plugins/netstatus/Makefile
config.status&#58; creating src/plugins/netstat/Makefile
config.status&#58; creating src/plugins/volume/Makefile
config.status&#58; creating src/plugins/volumealsa/Makefile
config.status&#58; creating src/plugins/cpu/Makefile
config.status&#58; creating src/plugins/deskno/Makefile
config.status&#58; creating src/plugins/batt/Makefile
config.status&#58; creating src/plugins/kbled/Makefile
config.status&#58; creating src/plugins/xkb/Makefile
config.status&#58; creating src/plugins/thermal/Makefile
config.status&#58; creating po/Makefile.in
config.status&#58; creating data/Makefile
config.status&#58; creating data/default/panels/panel
config.status&#58; creating man/Makefile
config.status&#58; creating config.h
config.status&#58; config.h is unchanged
config.status&#58; executing depfiles commands
config.status&#58; executing default-1 commands
config.status&#58; executing po/stamp-it commands
# INTLTOOL_MAKEFILE

lxpanel ......................... &#58; Version 0.3.99

Prefix........................... &#58; /usr
Building dynamic plugins&#58;
    netstatus - Monitor networking status
    netstat - Monitor networking status &#40;Linux Only&#41;
    volumealsa - Display and adjust volume of sound card for ALSA
    cpu - Display CPU loading
    deskno - Display desktop number
    batt - Monitor battery status
    kbled - Indicator for CapsLock, NumLock, and ScrLock
    thermal - Temperature monitor

LXPanel requires menu-cache and lxmenu-data packages since
version 0.4.0. Please make sure they are correctly installed.
Otherwise, you will not be able to use applications menu.

 cd . && /bin/bash /home/mark/pdaXrom-ng/build/lxpanel-0.3.99/missing --run automake-1.10 --gnu 
ERROR&#58; 
src/plugins/Makefile.am&#58;12&#58;   to `configure.ac' and run `autoconf' again.
src/plugins/batt/Makefile.am&#58;7&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/batt/Makefile.am&#58;7&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/batt/Makefile.am&#58;7&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/batt/Makefile.am&#58;7&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/batt/Makefile.am&#58;7&#58;   its definition is in aclocal's search path.
src/plugins/cpu/Makefile.am&#58;7&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/cpu/Makefile.am&#58;7&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/cpu/Makefile.am&#58;7&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/cpu/Makefile.am&#58;7&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/cpu/Makefile.am&#58;7&#58;   its definition is in aclocal's search path.
src/plugins/deskno/Makefile.am&#58;7&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/deskno/Makefile.am&#58;7&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/deskno/Makefile.am&#58;7&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/deskno/Makefile.am&#58;7&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/deskno/Makefile.am&#58;7&#58;   its definition is in aclocal's search path.
src/plugins/kbled/Makefile.am&#58;8&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/kbled/Makefile.am&#58;8&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/kbled/Makefile.am&#58;8&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/kbled/Makefile.am&#58;8&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/kbled/Makefile.am&#58;8&#58;   its definition is in aclocal's search path.
src/plugins/netstat/Makefile.am&#58;10&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/netstat/Makefile.am&#58;10&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/netstat/Makefile.am&#58;10&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/netstat/Makefile.am&#58;10&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/netstat/Makefile.am&#58;10&#58;   its definition is in aclocal's search path.
src/plugins/netstatus/Makefile.am&#58;7&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/netstatus/Makefile.am&#58;7&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/netstatus/Makefile.am&#58;7&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/netstatus/Makefile.am&#58;7&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/netstatus/Makefile.am&#58;7&#58;   its definition is in aclocal's search path.
src/plugins/thermal/Makefile.am&#58;7&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/thermal/Makefile.am&#58;7&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/thermal/Makefile.am&#58;7&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/thermal/Makefile.am&#58;7&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/thermal/Makefile.am&#58;7&#58;   its definition is in aclocal's search path.
src/plugins/volume/Makefile.am&#58;9&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/volume/Makefile.am&#58;9&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/volume/Makefile.am&#58;9&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/volume/Makefile.am&#58;9&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/volume/Makefile.am&#58;9&#58;   its definition is in aclocal's search path.
src/plugins/volumealsa/Makefile.am&#58;10&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/volumealsa/Makefile.am&#58;10&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/volumealsa/Makefile.am&#58;10&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/volumealsa/Makefile.am&#58;10&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/volumealsa/Makefile.am&#58;10&#58;   its definition is in aclocal's search path.
src/plugins/xkb/Makefile.am&#58;8&#58; Libtool library used but `LIBTOOL' is undefined
src/plugins/xkb/Makefile.am&#58;8&#58;   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/xkb/Makefile.am&#58;8&#58;   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/xkb/Makefile.am&#58;8&#58;   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/xkb/Makefile.am&#58;8&#58;   its definition is in aclocal's search path.
make&#58; *** &#91;Makefile.in&#93; Error 1
ERROR&#58; 
root@linux-desktop&#58;/home/mark/pdaXrom-ng# 
sashz
Posts: 33
Joined: Thu Feb 23, 2006 1:48 am
Contact:

Post by sashz »

mgillespie wrote:Still having problems. There are some additional dependancies that need installing:

zip, libgtk2.0-dev

which Firefox and Xchat fell over on.

However now it's complaining at curl..
i have added curl patch, please update svn sources and run compilaton again:

Code: Select all

svn update
rm state/curl-7.extracted 
rm build/curl-7.19.4 -rf
./build-linux-ps3.sh
Dependencies - install next packages, it must be enought

Code: Select all

sudo aptitude install autoconf automake bison build-essential cmake flex gawk gperf intltool libbz2-dev \
libcap-dev libglib2.0-dev libxml-simple-perl libxml2-dev lzma m4 rpm subversion \
texinfo x11-xkb-utils xmlto zlib1g-dev
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

ouasse wrote:Hello,

I tried compiling a bootloader with bluez support. This induces a lot of dependencies, including glib2 and dbus. Glib2 complains about missing iconv library, which is included in glibc but not uClibc. I am afraid building the bluez 4.29 binaries for the embedded bootloader system is out of reach.
If all you want is to use the wireless controller, bluez is probably overkill anyway. All you really need to do is listen for two L2CAP connections and a tiny program could probably be written to do that directly. I might play with this if I get the time..
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Here's a simple server that will open some Bluetooth sockets, listen for connections from paired Sixaxis controllers, enable reporting and set the LEDs, and display the raw data stream:
http://ps3.jim.sh/sixaxis/bt/server.tar.gz
It doesn't need bluez libraries, so it should be good for a bootloader.
mgillespie
Posts: 20
Joined: Sun Jul 04, 2004 10:36 pm

Post by mgillespie »

My problems with lxpanel were caused by missing libtool..

I hope you don't mind, I have added the missing dependancies to the Wiki:

http://wiki.pdaxrom.org/index.php/Getti ... ents#Linux
mgillespie
Posts: 20
Joined: Sun Jul 04, 2004 10:36 pm

Post by mgillespie »

Can I assume that because the emulators include is commented out, that it's because there is currently no patch for sdl?

UPDATE: Everything compiles, and for the moment, I have included the binary version of SDLMAME in the image, and lo and behold, I can boot PDAXROM and run FIREFOX and SDLMAME (only tried robby.zip so far).

Sweet...

Many thanks for providing such a smart set of tools. My next task is to include mkextfs so I can format a Linux partition and install the stuff to the HDD so it boots a tad quicker....
Post Reply