Search found 40 matches

by Maximus32
Wed Sep 05, 2007 7:00 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

ok, so I have been trying to figure out the paging errors. As you mentioned it probably being the initialization of hardware before entering the kernel I ran some tests on how the RTE initializes it's registers. I did this by copying the registers as one of the first things in the kernel boot proces...
by Maximus32
Mon Sep 03, 2007 5:56 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Even more good news, I just enabled the ps2 frame buffer in the config and it works! I also added an initrd image. The image gets loaded so the kernel doesn't panic anymore. But when it tries to run something off the initrd it fails. I guess the initrd I am using is no good, but other than that ever...
by Maximus32
Mon Sep 03, 2007 4:36 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

WOW! I got linux running up to the point where it can't continue without a root fs. Giving me the message "<0>Kernel panic: I have no root and I want t...".
Image
Next I need to make an initrd so I can see if it really continues to boot!
by Maximus32
Mon Sep 03, 2007 2:24 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Still isn't working. I'm testing with the included testkernel by the way. I've tried every possible ifcfg string. Isn't the string 3*16 char long? 15 chars plus null for each part of the config? Anyways, I am beginning to get a little confused about all the parameters: 1 - addr of ps2 2 - mask 3 - d...
by Maximus32
Mon Sep 03, 2007 1:25 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Perhaps I am not receiving the broadcast? I've been playing with version 0.1 in the meantime. I added support for on-screen printk by using the prints from the kernel included in version 0.1 of the loader. So currently I am seeing lots of linux messages on screen from the ps2, really cool. It gets t...
by Maximus32
Mon Sep 03, 2007 12:24 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Ok, so I feel a little stupid. Turns out the problem was not ps2link, ps2client or the loader, but my router. It wasn't giving my linux machine an ip address so I was working with a random address. I still don't understand why some applications did load and others didn't, but at least the problem is...
by Maximus32
Sun Sep 02, 2007 10:27 pm
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

When I first tried version 0.2 of the loader I had an old version of ps2link. It didn't work but I could see all the irx files, bsios and kernel being loaded. After that, nothing happened So I thought maybe with a new ps2link it could work, so I compiled the latest ps2link (1.51) in both high and lo...
by Maximus32
Sat Sep 01, 2007 11:52 pm
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Mega Man, I am having some trouble with the kernel loader. First I tried version 0.1 of the loader which loads the test kernel perfectly. The linux kernel however didn't want to run. I think it may have something to do with the load addr of kernelloader since it loads at 3MiB. A Linux kernel can eas...
by Maximus32
Wed Aug 29, 2007 4:56 pm
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Wow! That's really great stuff Mega Man! Nice font by the way ;-). It loads the kernel perfectly, even tries to load initrd.gz or initrd if they exist.

I will give ps2-packer a try, but I prefer to keep the kernel and the loader separated binaries, as kernelloader from Mega Man does.
by Maximus32
Tue Aug 28, 2007 7:54 am
Forum: PS2 Development
Topic: Loading an ELF file above 0x80000000
Replies: 303
Views: 251124

Loading an ELF file above 0x80000000

Hello, I am currently trying to get linux to run from an regular ELF loader instead of from the RTE (Runtime Environment of the PS2 Linux kit from sony). I know that all IOP functionality will not be available since that is what the RTE provides. I've already built custom kernels and am now trying t...