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 - roleo

1
Maybe I have the solution.
Look at the x.ds variable:
x.ds 0x00010080 ---> d0=128MB, d1=64MB
x.ds 0x00020080 ---> d0=128MB, d1=128MB

But I think you should also change the x.d1.cfg
A wrong value for this variable could brick the decoder.

Bye
2
Linux / Re: How to load ucodes
20. Jan 2010, 18:42
Thanks so much for your explanation :)

roleo
3
Linux / How to load ucodes
11. Jan 2010, 13:53
Hi @all.

I would like to understand how the loading of ucodes works.
I have a Pirelli HY100, now I'm using the azbox porting from mce2222 that works properly with llad.ko and em8xxx.ko.

I would like to understand:
1 - Why I can't use the original Pirelli modules (llad and em8xxx) rather than azbox?
If I use the Pirelli modules, the insmod operation completes successfully but the GUI doesn't appear (via scart).

2 - Why I can't load Pirelli xrpc files extracted from /dev/mtd*?
The irq_handler works but all other modules return a RM_BUSY error.
I tried with xrpc command (only llad.ko insmodded and /dev/em8xxx0 absent) and with ruaxrpc command (both llad.ko and em8xxx.ko insmodded).

3 - The loading procedure of xrpc files before the kernel start is only used to load the boot splash? Or is it mandatory for the audio/video decoding during the normal operations?

Thank you.

roleo
4

update for SMP863x Rev C 

now USB ports are correctly enabled !


It's working properly for me!!!
Thank you to mce2222 and Hoernchen :):):)
5

How big is your vmlinux.lzma ?


1165596

Could you explain me the meaning of the number 0xC in the following code

Code: [Select]

gpiodir = ((( 0xc & 0xffff) << 16) | 0xffff);
gpiodata = (( 0xc & 0xffff) << 16);
gbus_writel(0x10500, gpiodir);
gbus_writel(0x10504, gpiodata);


I'm trying to compare it with the commands inside a shell script in the pirelli original fw:

Code: [Select]

/bin/gpiotest WRITE 5 1 # usb reset high
/bin/gpiotest WRITE 2 0 # usbA enable (bottom USB slot on HY100 STB)
/bin/gpiotest WRITE 3 1 # usbB disable


but I can't understand.
Thank you for your support.

roleo
6
Hi,
I'm trying to use your sources but when I run the last make I have the followinfg error:

Code: [Select]

mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x92000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x90020000 -D_LZMA_IN_CB -c start.S -o start.o
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x92000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x90020000 -D_LZMA_IN_CB -c decompress.c -o decompress.o
decompress.c: In function `entry':
decompress.c:173: warning: assignment from incompatible pointer type
decompress.c:139: warning: unused variable `props'
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x92000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x90020000 -D_LZMA_IN_CB -c LzmaDecode.c -o LzmaDecode.o
sed -e 's,@LOADADDR@,0x91400000,g' -e 's,@ENTRY@,_start,g' lzma.lds.in >lzma.lds
mipsel-linux-uclibc-ld -r -b binary --oformat elf32-tradlittlemips -o kernel.o vmlinux.lzma
mipsel-linux-uclibc-gcc -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=0x92000000 -DRAMSIZE=0x00100000 -DKERNEL_ENTRY=0x90020000 -D_LZMA_IN_CB -c uart.c -o uart.o
mipsel-linux-uclibc-ld -Map lzma.elf.map -s -Tlzma.lds -o lzma.elf start.o decompress.o LzmaDecode.o kernel.o uart.o
mipsel-linux-uclibc-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S lzma.elf lzma.bin
BFD: Warning: Writing section `.text' to huge (ie negative) file offset 0x91400000.
BFD: Warning: Writing section `.text.read_byte' to huge (ie negative) file offset 0x9151cdb4.
BFD: Warning: Writing section `.text.LzmaDecode' to huge (ie negative) file offset 0x9151cddc.
BFD: Warning: Writing section `.text.set_remap' to huge (ie negative) file offset 0x9151dd24.
BFD: Warning: Writing section `.text.gbus_readl' to huge (ie negative) file offset 0x9151dd5c.
BFD: Warning: Writing section `.text.gbus_writel' to huge (ie negative) file offset 0x9151ddf4.
BFD: Warning: Writing section `.text.uart_init_port' to huge (ie negative) file offset 0x9151de98.
BFD: Warning: Writing section `.text.uart_putc' to huge (ie negative) file offset 0x9151df44.
BFD: Warning: Writing section `.text.uart_puts' to huge (ie negative) file offset 0x9151dffc.
BFD: Warning: Writing section `.text.convert' to huge (ie negative) file offset 0x9151e03c.
BFD: Warning: Writing section `.text.myprintf' to huge (ie negative) file offset 0x9151e088.
BFD: Warning: Writing section `.reginfo' to huge (ie negative) file offset 0x9151e1f8.
BFD: Warning: Writing section `.data' to huge (ie negative) file offset 0x9151e250.
mipsel-linux-uclibc-objcopy: lzma.bin: File truncated


Ideas?
Thank you.

--- EDIT ---

Partially solved.
Using a toolchain with gcc 4.0.4 works correctly.
Using a toolchain with gcc 3.4.2 doesn't work.

roleo