[RFA] [PATCH] mips*el support for RTEMS

高高峰 gf91597 at gmail.com
Fri Dec 7 02:43:11 UTC 2012


Hi all,

2012/12/7 高高峰 <gf91597 at gmail.com>:
> Hi all,
>
> This patch add RTEMS mips little endian support, check mips*-*rtems*, chose
> mips as CPU.
> Jia Liu asked me to use the patch of the following link to test,
> and I tested it ok.
> Here is the link.
> http://sourceware.org/ml/binutils/2012-10/msg00460.html
>

This is the binutils patch, please test.

> And Here is the test log.
> This is the little endian log:
> gaofeng at gaofeng-K43SM:~/rtems/el_build$ ../configure
> --target=mipsel-rtems4.11 --enable-posix --enable-networking
> --enable-cxx --enable-rtemsbsp="malta"
> --prefix=/home/gaofeng/install-el
>
> gaofeng at gaofeng-K43SM:~/rtems_example/hello/hello_world_c$ export
> RTEMS_MAKEFILE_PATH=/home/gaofeng/install-el/mipsel-rtems4.11/malta/
>
> gaofeng at gaofeng-K43SM:~/rtems_example/hello/hello_world_c/o-optimize$
> ~/qemu-1.1.1/build/mipsel-softmmu/qemu-system-mipsel -kernel hello.exe
> -M malta -nographic
> *** BARs for slot=11 func=0
> *** PCI DEVICE BAR0: 0x1
> *** PCI DEVICE BAR1: 0x0
> *** PCI DEVICE BAR2: 0x0
> *** PCI DEVICE BAR3: 0x0
> *** PCI DEVICE BAR4: 0x0
> *** PCI DEVICE BAR5: 0x0
> *** BARs for slot=11 func=0
> *** PCI DEVICE BAR0: 0x1041
> *** PCI DEVICE BAR1: 0x12011020
> *** PCI DEVICE BAR2: 0x0
> *** PCI DEVICE BAR3: 0x0
> *** PCI DEVICE BAR4: 0x0
> *** PCI DEVICE BAR5: 0x0
>
>
> *** HELLO WORLD TEST ***
> Hello World
> *** END OF HELLO WORLD TEST ***
> QEMU: Terminated
>
> ---------------------------------------------------------------
>
> This is the big endian log:
> gaofeng at gaofeng-K43SM:~/rtems/eb_build$ ../configure
> --target=mips-rtems4.11 --enable-posix --enable-networking
> --enable-cxx --enable-rtemsbsp="malta"
> --prefix=/home/gaofeng/install-eb
>
> gaofeng at gaofeng-K43SM:~/rtems_example/hello/hello_world_c/o-optimize$
> export RTEMS_MAKEFILE_PATH=/home/gaofeng/install-eb/mips-rtems4.11/malta/
>
> gaofeng at gaofeng-K43SM:~/rtems_example/hello/hello_world_c/o-optimize$
> ~/qemu-1.1.1/build/mips-softmmu/qemu-system-mips -kernel hello.exe -M
> malta -nographic
> *** BARs for slot=11 func=0
> *** PCI DEVICE BAR0: 0x1
> *** PCI DEVICE BAR1: 0x0
> *** PCI DEVICE BAR2: 0x0
> *** PCI DEVICE BAR3: 0x0
> *** PCI DEVICE BAR4: 0x0
> *** PCI DEVICE BAR5: 0x0
> *** BARs for slot=11 func=0
> *** PCI DEVICE BAR0: 0x1041
> *** PCI DEVICE BAR1: 0x12011020
> *** PCI DEVICE BAR2: 0x0
> *** PCI DEVICE BAR3: 0x0
> *** PCI DEVICE BAR4: 0x0
> *** PCI DEVICE BAR5: 0x0
>
>
> *** HELLO WORLD TEST ***
> Hello World
> *** END OF HELLO WORLD TEST ***
> QEMU: Terminated
>
> it running ok.
>
>
>
> Thanks,
> Feng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MIPS-Add-mips-el-rtems-stubs.patch
Type: application/octet-stream
Size: 2860 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20121207/e1a2a1cb/attachment.obj>


More information about the devel mailing list