forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

custom ps3 bootloader with vfat support (0.1.2-20090917)
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development
View previous topic :: View next topic  
Author Message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Fri Jan 16, 2009 8:03 pm    Post subject: custom ps3 bootloader with vfat support (0.1.2-20090917) Reply with quote

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/svnroot/pdaxrom/trunk/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.



Last edited by sashz on Fri Sep 18, 2009 8:45 pm; edited 7 times in total
Back to top
View user's profile Send private message Visit poster's website
jonathan



Joined: 21 Sep 2007
Posts: 23
Location: Tasmania, Australia

PostPosted: Sat Jan 17, 2009 2:30 pm    Post subject: Reply with quote

[nevermind]
Back to top
View user's profile Send private message
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Mon Jan 19, 2009 8:08 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Wed Jan 21, 2009 1:20 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Wed Jan 21, 2009 3:15 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Wed Jan 21, 2009 5:16 pm    Post subject: Reply with quote

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:
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:
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:
svn co http://pdaxrom.svn.sourceforge.net/svnroot/pdaxrom/branches/pdaXrom-ng


Goto in working directory:
Code:
cd pdaXrom-ng


Build cross toolchain

Code:
sudo ./build-crosstools.sh powerpc-linux-uclibc


Clean the system after a build is finished:

Code:
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:
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:
./build-ps3-boot.sh


Find otheros.bld file in images/ directory after compilation is finished.

Build petitboot image:
Code:
./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
Back to top
View user's profile Send private message Visit poster's website
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Fri Jan 23, 2009 12:43 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dumfadog



Joined: 17 Aug 2008
Posts: 2

PostPosted: Tue Feb 03, 2009 5:17 pm    Post subject: Reply with quote

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??
Back to top
View user's profile Send private message
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Thu Feb 05, 2009 1:03 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dumfadog



Joined: 17 Aug 2008
Posts: 2

PostPosted: Thu Feb 05, 2009 11:06 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Tue Feb 10, 2009 1:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
caviar44



Joined: 28 Jan 2008
Posts: 7

PostPosted: Wed Feb 11, 2009 7:21 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Wed Feb 11, 2009 1:54 pm    Post subject: Reply with quote

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-mame-cdr-test.iso.gz
Back to top
View user's profile Send private message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Fri Feb 13, 2009 10:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Mon Feb 16, 2009 3:43 pm    Post subject: Reply with quote

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!!!
Back to top
View user's profile Send private message
ps3fanboy



Joined: 06 Jul 2008
Posts: 66

PostPosted: Mon Feb 16, 2009 7:44 pm    Post subject: Reply with quote

fedora also uses yaboot.
_________________
http://playstation3-homebrew-multimedia.blogspot.com/
Back to top
View user's profile Send private message
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Wed Mar 04, 2009 11:57 pm    Post subject: Reply with quote

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

Thank you.
Back to top
View user's profile Send private message
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Fri Mar 06, 2009 9:25 pm    Post subject: Reply with quote

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/bootloader/pdaXrom-ng-otheros-0.1.1.bld and sources http://wiki.pdaxrom.org/downloads/PS3/bootloader/src/ps3boot-0.1.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:
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.
Back to top
View user's profile Send private message Visit poster's website
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Sat Mar 07, 2009 12:49 am    Post subject: Reply with quote

Nice! Im downloading it right now, will use the new features, yaboot parser, bluez, thank you!!
Back to top
View user's profile Send private message
speedxl



Joined: 07 Aug 2008
Posts: 26

PostPosted: Mon Mar 09, 2009 2:21 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Tue Mar 10, 2009 11:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mgillespie



Joined: 04 Jul 2004
Posts: 20

PostPosted: Sat Mar 14, 2009 11:04 pm    Post subject: Reply with quote

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:
root@debian:~/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: line 209: cd: /root/pdaXrom-ng/build/linux-2.6.29-rc7: 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:
--------------------------
|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:13:53.000000000 +0700
|+++ linux-2.6.27-new/arch/powerpc/boot/mktree.c   2008-11-23 23:56:45.000000000 +0600
--------------------------
File to patch:

Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Sun Mar 15, 2009 12:52 am    Post subject: Reply with quote

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:
sudo ./build-crosstools.sh  powerpc-linux


clean build system from old sources:

Code:
sudo ./build-crosstools.sh clean


okay, powerpc-linux crosscompiler ready, build livecd:

Code:
./build-linux-ps3.sh


Get iso file in images/ directory after compilation is finished.
Back to top
View user's profile Send private message Visit poster's website
mgillespie



Joined: 04 Jul 2004
Posts: 20

PostPosted: Sun Mar 15, 2009 9:47 pm    Post subject: Reply with quote

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:

configure: WARNING: This libcurl built is probably not ABI compatible with previous
configure: WARNING: 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: error: Cannot find a type to use in place of socklen_t
ERROR:
ERROR: configure
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
mgillespie



Joined: 04 Jul 2004
Posts: 20

PostPosted: Mon Mar 16, 2009 5:49 pm    Post subject: Reply with quote

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:

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 $(MAKE)... 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... (cached) 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... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) 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... (cached) yes
checking for GNU libc compatible malloc... (cached) 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... (cached) 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... (cached) /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for dcgettext... (cached) yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /home/mark/pdaXrom-ng/host/bin/msgfmt
checking for xgettext... (cached) /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: creating ./config.status
config.status: creating lxpanel.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/plugins/netstatus/Makefile
config.status: creating src/plugins/netstat/Makefile
config.status: creating src/plugins/volume/Makefile
config.status: creating src/plugins/volumealsa/Makefile
config.status: creating src/plugins/cpu/Makefile
config.status: creating src/plugins/deskno/Makefile
config.status: creating src/plugins/batt/Makefile
config.status: creating src/plugins/kbled/Makefile
config.status: creating src/plugins/xkb/Makefile
config.status: creating src/plugins/thermal/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/default/panels/panel
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE

lxpanel ......................... : Version 0.3.99

Prefix........................... : /usr
Building dynamic plugins:
    netstatus - Monitor networking status
    netstat - Monitor networking status (Linux Only)
    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:
src/plugins/Makefile.am:12:   to `configure.ac' and run `autoconf' again.
src/plugins/batt/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/plugins/batt/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/batt/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/batt/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/batt/Makefile.am:7:   its definition is in aclocal's search path.
src/plugins/cpu/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/plugins/cpu/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/cpu/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/cpu/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/cpu/Makefile.am:7:   its definition is in aclocal's search path.
src/plugins/deskno/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/plugins/deskno/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/deskno/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/deskno/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/deskno/Makefile.am:7:   its definition is in aclocal's search path.
src/plugins/kbled/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/plugins/kbled/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/kbled/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/kbled/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/kbled/Makefile.am:8:   its definition is in aclocal's search path.
src/plugins/netstat/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/plugins/netstat/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/netstat/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/netstat/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/netstat/Makefile.am:10:   its definition is in aclocal's search path.
src/plugins/netstatus/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/plugins/netstatus/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/netstatus/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/netstatus/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/netstatus/Makefile.am:7:   its definition is in aclocal's search path.
src/plugins/thermal/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/plugins/thermal/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/thermal/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/thermal/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/thermal/Makefile.am:7:   its definition is in aclocal's search path.
src/plugins/volume/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/plugins/volume/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/volume/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/volume/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/volume/Makefile.am:9:   its definition is in aclocal's search path.
src/plugins/volumealsa/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/plugins/volumealsa/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/volumealsa/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/volumealsa/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/volumealsa/Makefile.am:10:   its definition is in aclocal's search path.
src/plugins/xkb/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/plugins/xkb/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/xkb/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/plugins/xkb/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/plugins/xkb/Makefile.am:8:   its definition is in aclocal's search path.
make: *** [Makefile.in] Error 1
ERROR:
root@linux-desktop:/home/mark/pdaXrom-ng#
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
sashz



Joined: 23 Feb 2006
Posts: 33

PostPosted: Mon Mar 16, 2009 5:53 pm    Post subject: Reply with quote

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:

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:
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
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Mar 17, 2009 12:29 am    Post subject: Reply with quote

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..
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Mar 17, 2009 3:30 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
mgillespie



Joined: 04 Jul 2004
Posts: 20

PostPosted: Tue Mar 17, 2009 5:28 am    Post subject: Reply with quote

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/Getting_the_build_system_components#Linux
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
mgillespie



Joined: 04 Jul 2004
Posts: 20

PostPosted: Tue Mar 17, 2009 7:01 am    Post subject: Reply with quote

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....
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux Development All times are GMT + 10 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group