Did you tested it by your own hands or you saying me it as "in theory"?
I tested Debian 5 and it was running and working from the internal HDD without initrd. I don't have seen any erroneous behaviour in Debian 5 since a long time.
Originally Posted by archicharmer
Where are the location of your Fedora mips64el files? I mean, in loop or on HDD? How YOU do tests of N32 ps2linux?
I installed the Fedora 12 ABI n32 files on the internal HDD of a SCPH-50004. It is directly started with parameter root=/dev/hda4.
It was possible to "chroot" from Fedora 12 to Debian 5 (tested).
It was possible to "chroot" from Debian 5 to Fedora 12 (tested).
I use "chroot" sometimes for testing, because Debian 5 is stable.
The file vmlinux2.6_v9.gz and all previous files are not stable when using n32. Only compiling the version from CVS will work. This also builds the toolchain. Custom toolchains may introduce errors.
Seems, what there is no way to run qemu's debian on ps2. Fedora can be. Debian can not be. Have to use debian-lenny-mipsel-v1.tgz
Mega Man, do you have same as i - screen in terminal is stretched a little and rotated 1° clockwise? That's provide a first and last symbol losing from sight. At least while RGB or usual cable using; can't say about VGA.
----------------------------------------------------------------------------
I can't compiling o32 and 64 bit versions of mips64el-glibc for mips64el-toolchain! By default mips64el-toolchain builds N32 glibc.
Gcc can be compiled with multilib with N32, 32, 64 and all of it installs like this: N32 - /usr/local/lib/gcc/mips64el-...-gnu/version/ 32 - $N32/32 64 - $N32/64
I do not know option for glibc (and possible for binutils) for compiling additional 32 and 64 versions of it and to install them to /usr/local/mips64el-...-gnu/{lib32,lib64}
Anyone else except me did an experiments with toolchains?!
----------------------------------------------------------------------------
Finally, i could to hear music! I did reinstall of debian from debian-lenny-mipsel-v1.tgz (and note for myself, what debian for ps2 can't be loaded in qemu and on the contrary qemu's debian can't be loaded on ps2 - no logger invitation). Did a setup of alsa sound and mpg321. Tried to play some music and i heard noise pieces of it. But i was loaded from usb!
Next i did a try of mpg321 launching in fedora through ethrenet-cable. And two composicies at once of 192kb/s 44100Hz plays PERFECT!!!
In both linuxes i saw a lot of alsa errors while launching mpg321 -o alsa XXX.mp3 But it did not disturb music.
So, Mega Man - again, you mega man))
Mega Man, I want to ask. When you loading Fedora, which init-scripts are loads well, and which you have to Alt+SysRq+e ???
I have to kill first init-script - starting udev logger, messege bus, avahi-daemon - Ok;
have to kill HAL-daemon
- and than logger invitation.
--------------------------------------------------------------------
I found one more broken command in N32 linux - exec
exec any_work_bin
- terminated and it do return to logger invitation
Last edited by archicharmer; 08-27-2012 at 01:21 PM.
Installing of RPM packages is now working in Fedora 12. yum seems to work, but the configuration is recalcitrant.
The program "script" doesn't had problems. The "exec" command is working in the new version. Currently it seems to be stable.
chroot from n32 to o32 is currently a problem, but chroot from n32 to o32 is working without problems. The "uname -m" command now prints different system types:
- for n32 it is mips64
- for o32 it is mips
The program "script" now do not have problems. The "exec" command is worked and in older version - my fault. exec any_binaryfile
- way to kill terminal. It is not ps2linux or n32 fault. exec /sbin/bash - prove for it.
udev can be started while startup init-scripts if to mount swap before. It starts long enough ~1-2mins.
You have swap partition on your hdd, but i am, as the slim owner, have to load swap-in-loop file.
There are two ways of it:
Add swapfile while initrd loading;
Add swapfile while startup init-scripts loading.
I had no success to losetup swapfile in both cases because it write me: /dev/loop1 - no such file or directory.
loops are absent in /dev/ until system will be loaded.
Any ideas to trick?
Note: /etc/rc - script for starting from "Welcome to Fedora" to logger-init-script,
/etc/rc.sysinit - script for starting from logger-init-script to logger invitation.
/etc/init.d/haldaemon - script for HAL daemon. Can start|stop|restart|condrestart
When start - FAILED
while startup init-scripts system just freezes on it sometimes.
I guess you do not want to install Fedora in mips64el qemu) Now you have working yum. Did you have a try to yum install xorg-x11-server and etc and launch Xes? I did not because i have installed XFree86-3.3.6 from blackrhino and i'm sometimes trying to launch it.
Last edited by archicharmer; 08-31-2012 at 01:27 PM.
Is it possible to create such thing-----"Automated sequence of software combined together in order to launch web-browser"?
I am asking because of this----I talked to developers of NetSurf on IRC and they told me that framebuffer version of Netsurf must be extended by surface handlers from sdl for linux----the easiest way.
I know if start to build NetSurf as APP-which can be executed as usual elf-file is difficult task--because it is require somehow extending "Netsurf Framebuffer libnsfb" with clean surface interfaces related to ps2.
So I have got idea. we need to run NetSurf on top of Linux Kernel.
It has to be not Linux distribution-----it has to be--Folder created by user. Inside folder is Kloader, Linux Kernel 2.4, Initrd.gz , special script and the most important-----build version of NetSurf---I do not know --framebufffer version or the one used with GTK for Linux,whatever...
So idea is so:
User launches ulaunchELF----from here we launch KloaderELF which launches Linux Kernel+Initrd----which Launches Linux version of NetSurf. So , when everything is launched we get in nice, quick and user friendly interface of NetSurf.
So it will be like automated system which based on Linux for PS2 for Browsing web-sites....
To compile NetSurf I think is possible----the only thing is how to automate the whole process, from start of kloader and until web-browser will be ready already to browse web.
We can also configure Kloader to save config file in different folder on memory card----so nothing is mixed up for usual ps2 Linux users.
What do you think about this idea? Can you help us with DoctorXYZ at least in such way to make the project work?
Also we can ask Berion, of course if he has time, to create for us nice "LOGO" which will indicate something like---" NetSurf for PlayStation 2---based on Kloader and Linux Kernel from MegaMan and Deba5er".....
Actually it is possible to try NetSurf on Ubuntu if to follow this link: https://apps.ubuntu.com/cat/applications/natty/netsurf/
@archicharmer: You can copy the device nodes from /dev to a different place (e.g. /seconddev/), then the device nodes can be usable before device nodes in /dev are created. I recommend to use a swap partition on a USB memory stick. No /dev/loop* will be needed for this.
HAL daemon seems to run with the new kernel.
NetworkManager is still crashing at startup, but can be started later and seems to work.
I installed xorg-x11-server-Xorg and xterm and started Xorg and xterm. It was working, but no window manager was running. I didn't find any small window manager. There is only gnome which could be unusable at 32MByte.
I do not want to install it until i prove, what XFree86's gsx is (maybe not) working in N32 Linux. Did you a try to launch blackrhino with vmlinux2.6? Can Xgsx be launched on it? I tried it and i had no success. Is there a module for gsx driver?
No matter where i do launch of startx - in blackrhino or in Fedora. While loading XGSConfig file - Segmentation Fault happens.
Need i tap smth another startx?
Last edited by archicharmer; 09-01-2012 at 07:13 AM.
I didn't tried to run blackrhino with Linux 2.6. I don't think that this is a good combination.
As I already said before, we need a test suite for gcc and binutils. The changes in the compiler must be non-intrusive. The compiler needs to stay compatible with the normal mipsel and mips64el stuff. If you run stuff which can't be debugged, you are lost in nowhere.
Please, write here when you try to launch Xes with fluxbox - speed (in seconds) of starting x from terminal to desktop, and screenshot of launched X.
And the command what you enter for it.
I noticed module request: runaway loop
About XFree86-gsx: it successfully launched when i load blackrhino with kernel2.6 (ls not work. whatever). At once. Even if i'd load Fedora, mount loop with blackrhino and chroot to it - even here Xes can be loaded!
Xes can be started from terminal by the command:
startx -- -screen 0 pal (or ntsc,vesa)
Xgsx -screen 0 pal
Now, on ps2 in fedora i see "Bus error". While in qemu "Illegal Instruction", so it PS2's business.
Can i debug/do something, what is the way not only to message "Bus error"?
Last edited by archicharmer; 09-02-2012 at 05:56 AM.
You can debug the program with gdb.
The program is started with "run".
When it stops with an error, you can enter the commands:
info registers
bt
disass