Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - heimi666

1
I finally
- compiled a 2.6 kernel
- added loader
but without success, my kernel won't boot and usb didn't work either. (coprocessor error)
So I decompresses the provided kernel compressed it again and added the loader. Booting was successfull, no usb but nfs was possible.
The coprocessor problem was fixed by building vmlinux.bin not vmlinux which was ELf (silly me).
After applying ltrace (patched to mips by freetz.org guys) to a programm called usb_enable in my rom firmware I could extract the sequence to enable usb on my plattform, but I also found out that this could be managed directly in YAMON with appropriate gw32 commands, but now I'm able to build a loader with usb enabled.
2
I tried the loader and I found some solutions:

- To get around an
"unrecognized opcode `__asm__" Problem im e.g. asm/hazards.h:172
add "-D __ASSEMBLY__" to Make Rules

- The
"Warning: Writing section xxx to huge"
can be prevented by changing
*(.rodata)
to:
*(.rodata) *(.rodata.*)
in the linker script (lzma.lds.in)

3
Linux / Re: Toolchain Build probleme
14. Sep 2011, 18:18

ah jetzt ja oh man hab den wald vor lauter bäumen nicht mehr gesehen Danke war wol dch nen bissel spät gestern

hier noch was könnte am GCC4.1 liegen welches ich benutze

Code: [Select]
touch -c /home/x300/rootfs-2.7.127.0/build_mipsel/root/usr/bin/ldd
RMCFLAGS="-DEM86XX_CHIP=EM86XX_CHIPID_TANGO2 -DEM86XX_MODE=EM86XX_MODEID_STANDAL                                                                             ONE" make -j1 -C /home/x300/rootfs-2.7.127.0/package/boot_auth boot_auth
make[1]: Entering directory `/home/X300/rootfs-2.7.127.0/package/boot_auth'
cc -O2 -U__mips__  -g   -c -o sha1.o sha1.c
cc -O2 -U__mips__  -g   -c -o rsa_enc_dec.o rsa_enc_dec.c
rsa_enc_dec.c: In function 'rsa_enc_dec':
rsa_enc_dec.c:51: error: invalid storage class for function 'mul'
rsa_enc_dec.c:136: error: invalid storage class for function 'modmul'
make[1]: *** [rsa_enc_dec.o] Fehler 1
make[1]: Leaving directory `/home/X300/rootfs-2.7.127.0/package/boot_auth'
make: *** [/home/x300/rootfs-2.7.127.0/package/boot_auth/boot_auth] Fehler 2


nutze Debian Etch

gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

EDIT: ES LAG AM GCC nach installation des3.4er ging es




das liegt leider am source, der gcc 3.1 schluckt das, ein 4.x nicht. Die statisches Methoden müssen aus dem Funktionsrumpf raus. Google nach dem rsa_enc_dec.c brachte auch bereinigte Sourcen ans Licht