Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
221 user(s) are online (139 user(s) are browsing Forums)

Members: 0
Guests: 221

more...

Headlines

Forum Index


Board index » All Posts (afxgroup)




Re: can anybody explain about current situation with BREL Relocations ?
Amigans Defender
Amigans Defender


We are trying to fix everything. More people help us, faster we can have a working gcc suite..

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Thanks mate! Replied!

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


I'm trying to run an e500v2 machine. Not Mc, not M1. A v2 because I need to test math library under linux
I've also found a powerpc spe freebsd version but same result

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Well, don't you think i've tried lot of distros without results?
I've donwloaded ubuntu-14.04-server-powerpc.iso, extracted vmlinux and initrd.gz, downloaded a file called wirtio-win.iso from a fedora web site.. and then nothing happens when I run the command. qemu seems stuck.
Not only. Not all distro has the same kernel file. For example freebsd has a file called KERNEL but not initrd.gz.
That's why I'm asking for something ready that is working for someone. Is it so hard to share two files?

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


I need your files because I don't have any of them. No kernel, no initrd and so on. I have only the iso files and of course you don't have to give me them. Just the minimum to make the machine work correctly like yours

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Well,
Can you please send me everything?
I mean vmlinux and so on?

Thanks

i'm really tired...
Go to top


Re: Libraries: GLEW / GLFW
Amigans Defender
Amigans Defender


@MartinW

https://gist.github.com/afxgroup/864bf7d87e96ee0e2be25295f52a4a86

Of course it is a dirty toolchain file i'm using. And sometime I play with it but it should work for any project

i'm really tired...
Go to top


Re: Libraries: GLEW / GLFW
Amigans Defender
Amigans Defender


Did you see -L/opt/code/ogles2/local/newlib/lib?
You are pointing to newlib lib folder and not clib2 one and you have the error:

/opt/code/ogles2/local/newlib/lib/libogles2.a(Clear.o): In function `glClear':

That show you are using newlib version

i'm really tired...
Go to top


Re: Libraries: GLEW / GLFW
Amigans Defender
Amigans Defender


Great. Of course if you fix problems or add something feel free to push your changes

i'm really tired...
Go to top


Re: Libraries: GLEW / GLFW
Amigans Defender
Amigans Defender


You are using newlib. I've compiled it using my clib2 version. However with some small changes it must work also with newlib since most of the code is OS4 code.

I've cross compiled it using gcc11 and cmake as usual.
I've created in my machine a tool chain file that I use every time I want to use cmake so I have less ptoblems

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Because it isn't working. Why don't you try to run it? I've tried several ppc iso and uboot doesn't boot anyone of them. Using virtio I can see the HD and the cd using virtio scan and info. If I add an ahci controller I can see it in pci list but none of them it is booting. If you find an iso that is working please tell me please where I can download it and give me the exact command line that works with e500

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Ok. That's fine. But except for the Linux iso. I don't have the kernel, initrd and so on. Do I have to compile it? Or it is possible to download them somewhere?

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


The only devices that seems usable are virtio-blk. And reading the second link you gave me there is also an example. But there is no way to make it work..

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


@balaton
Quote:

You have two machine options in that command line (-M is synonym for -machine). I wonder why it did not give an error but one of those should be enough.

Yes I saw this. But this isn't the problem. The problem is that with shipped uboot e500 version I can't manage to add any drive. In any way.

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


Yes. It is that one I want to run. But no ide or scsi devices are recognized. I've tried several ways. Tomorrow I will try on Linux x86

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


It seems you are running it on Linux (PPC) and not on Windows (or lunux x86) for example. However where I can find all I need? I mean uboot and the kernel?
Thank you

i'm really tired...
Go to top


Re: QEMU, e500 and Linux
Amigans Defender
Amigans Defender


I've tried with:

qemu-system-ppc -machine ppce500 -m 1024 -device virtio-scsi-pci -drive if=none,id=hda,file=D:\LinuxE500\e500.img,format=qcow2 -device scsi-hd,drive=hda,bus=scsi.0 -g 1024x768x32 -monitor stdio


But it doesn't work. U-boot starts but no ide/scsi devices are found and so the autoboot fail

i'm really tired...
Go to top


Re: floating-point exception mode register
Amigans Defender
Amigans Defender


Thanks joerg

i'm really tired...
Go to top


QEMU, e500 and Linux
Amigans Defender
Amigans Defender


since there are a lot of people that is using QEMU. Can anyone has tried version 8.1 with e500v2 and PPC Linux? Is there a way to use ide bus? Because it seems it doesn't have any ide or scsi bus available.
Any hint?

i'm really tired...
Go to top


floating-point exception mode register
Amigans Defender
Amigans Defender


I need to get (and set) the floating-point exception mode.
I’ve seen that in exec/interrupts.h there are:

float64 fpr[32];  /* Floating point registers */
    
uint64  fpscr;    /* Floating point control and status register */


That should be get and set via ReadTaskContext/WriteTaskContext. Now my question is. Is the only way to get that register? Is it the correct way? Is there a #define to get only the bit I need?

Thanks

i'm really tired...
Go to top



TopTop
« 1 2 (3) 4 5 6 ... 54 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project