lcar

The forum for our foreign guests... Please post in English
ellie1998
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Mittwoch 19. April 2006, 11:28

lcar

Beitrag von ellie1998 »

I have been playing with lcars with no success
Here is a bootlog
can't find attach :(
so will put it all here
------------------------------------------------------------------------------
Node CRC ffffffff != calculated CRC f09e7845 for node at 00553328
?debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-06.d9.58.07.00.00-9c
debug: HWrev 41 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed

Flash-FS bootstrap loader (v1.5)

Found Flash-FS superblock version 3.1
Found file /root/platform/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0008
debug: Got Block #0012
debug: Got Block #0016
debug: Got Block #0020
debug: Got Block #0024
debug: Got Block #0028
debug: Got Block #0032
debug: Got Block #0036
debug: Got Block #0040


will verify ELF image, start= 0x800000, size= 149536
verify sig: 262
Branching to 0x40000


U-Boot 1.1.4 (Tuxbox) (Jun 19 2006 - 01:50:01)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Sagem, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . | / - \ . | / - \ | / - . \ | / . - \ | / - \ | / - \ | / - \ | / done.

find_inode failed for name=boot.conf

load: Failed to find inode

FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
find_inode failed for name=logo-lcd

load: Failed to find inode

ready - can't find logo in flash
find_inode failed for name=logo-fb

load: Failed to find inode

can't find logo in flash

Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 1 0
### FS (jffs2) loading 'vmlinuz' to 0x100000
### FS load complete: 663125 bytes loaded to 0x100000
...............................................................
Un-Protected 63 sectors
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 663061 Bytes = 647.5 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.32-dbox2 (ubuntu@ubuntu) (gcc version 3.4.4) #3 Mon Jun 19 02:15:33 GMT 2006
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/mtdblock2 rw rootfstype=jffs2
Decrementer Frequency = 247500000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.74 BogoMIPS
Memory: 30812k available (1128k kernel code, 368k data, 60k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Squashfs 2.2-r2 (released 2005/09/08) (C) 2002-2005 Phillip Lougher
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:38:34:3c
loop: loaded (max 8 devices)
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Creating 5 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x00800000 : "root (jffs2)"
0x00020000-0x00800000 : "Flash without bootloader"
0x00000000-0x00800000 : "Complete Flash"
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 60k init

init started: BusyBox v1.1.3 (2006.06.19-02:09+0000) multi-call
Starting pid 11, console /dev/console: '/etc/init.d/rcS'
mount: Mounting devpts on /dev/pts failed: No such file or directory
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
Detected STB:
Vendor: Sagem
Model: D-BOX2
[i2c-8xx]: mpc 8xx i2c init
[i2c-8xx]: adapter: 0
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
cam: no firmware file found
$Id: avia_napi.c,v 1.18 2003/11/24 09:53:01 obi Exp $
DVB: registering new adapter (C-Cube AViA GTX/eNX with AViA 500/600).
DVB: registering frontend 0:0 (Atmel AT76C651A with TUA6010XS)...
dvb_i2c_bridge: enabled DVB i2c bridge to PowerPC 8xx I2C adapter
$Id: cam_napi.c,v 1.8 2003/09/30 05:45:34 obi Exp $
avia_av: $Id: avia_av_core.c,v 1.99 2006/01/08 21:36:22 carjay Exp $
avia_av_core.c: avia_av_firmware_read: Unable to load '/var/tuxbox/ucodes/avia600.ux'.
avia_av: microcode not found, setting up dummy
avia_av_proc: $Id: avia_av_proc.c,v 1.14 2004/01/21 20:02:29 carjay Exp $
avia_gt_core: $Id: avia_gt_core.c,v 1.48 2004/12/20 01:01:22 carjay Exp $
avia_gt_core: autodetecting chip type... eNX
avia_gt_enx: $Id: avia_gt_enx.c,v 1.21 2003/09/30 05:45:35 obi Exp $
avia_gt_accel: $Id: avia_gt_accel.c,v 1.19 2003/09/30 05:45:35 obi Exp $
avia_gt_dmx: $Id: avia_gt_dmx.c,v 1.210 2004/06/26 16:08:15 carjay Exp $
avia_gt_ucode: loaded ucode v0014
avia_gt_ucode: ucode section filters enabled.
avia_gt_dmx: warning, misaligned queue 0 (is 0xFD200, size 65536), aligning...
avia_gt_gv: $Id: avia_gt_gv.c,v 1.39 2004/08/28 16:44:56 carjay Exp $
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_pcm: $Id: avia_gt_pcm.c,v 1.29 2004/01/29 19:38:20 zwen Exp $
avia_gt_pcm_set_rate(44100)
avia_gt_capture: $Id: avia_gt_capture.c,v 1.32 2003/09/30 05:45:35 obi Exp $
avia_gt_pig: $Id: avia_gt_pig.c,v 1.40 2003/09/30 05:45:35 obi Exp $
avia_gt_vbi: $Id: avia_gt_vbi.c,v 1.26 2003/08/01 17:31:22 obi Exp $
avia_gt_core: Loaded AViA eNX/GTX driver
avia_av_core: Starting avia_gt_wdt thread.
avia_gt_fb: $Id: avia_gt_fb_core.c,v 1.54 2004/03/17 18:42:18 zwen Exp $
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
Console: switching to colour frame buffer device 82x32
avia_gt_fb: fb0: AViA eNX/GTX Framebuffer frame buffer device
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface
avia_gt_lirc: $Id: avia_gt_lirc.c,v 1.14 2003/09/30 05:45:35 obi Exp $
avia_gt_ir: $Id: avia_gt_ir.c,v 1.30 2003/09/30 05:45:35 obi Exp $
avia_oss: $Id: avia_gt_oss.c,v 1.26 2004/05/31 22:56:02 carjay Exp $
avia_gt_pcm_set_rate(44100)
avia_gt_v4l2: $Id: avia_gt_v4l2.c,v 1.12 2003/09/30 04:54:03 obi Exp $
avia_av_napi.c: $Id: avia_av_napi.c,v 1.33 2004/03/11 15:30:27 derget Exp $
avia_gt_napi: $Id: avia_gt_napi.c,v 1.203 2005/01/05 05:49:56 carjay Exp $
Starting the automounter

Starting pid 98, console /dev/console: '/etc/init.d/start'

Please press Enter to activate this console. CA_SEND_MSG: No such device
--------------------------------------------------------------------------------
after this I IFA :)

Have Fun
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

I'm having the same issue with this, and the null image.
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

Hi , I've manged to get this a bit further, I now get past the flashing cursor, and it trys to channel scan. but fails, I'm currently trying to modify the scan.cpp to scan the uk nit, has anyone please got any hints or a way past the scan to allow me into the gui..??
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

Ok no matter I've done it, and I know my next question wouldnt get answered lol

if anyone wants to know how I did it,, I will reply
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

For the benefit of everybody please post it ;-)
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

ok heres the code from the diff it will only scan 1 uk provider on the 6887 symbol

Code: Alles auswählen


diff -ur tuxbox-cvs/apps/tuxbox/lcars/src/scan.cpp tuxbox-cvs-mod/apps/tuxbox/lcars/src/scan.cpp
--- tuxbox-cvs/apps/tuxbox/lcars/src/scan.cpp	2003-03-08 17:31:18.000000000 +0000
+++ tuxbox-cvs-mod/apps/tuxbox/lcars/src/scan.cpp	2006-10-26 22:48:45.000000000 +0100
@@ -145,14 +145,14 @@
 
 	if (tuner_obj->getType() == FE_QAM)
 	{
-		start_symbol = 6900;
+		start_symbol = 6887;
 		osd_obj->createPerspective();
 
 		if (type == NORMAL || type == FULL)
 		{
 			for (int i = 0; (i < 3) && (tmp_channels.numberTransponders() < 1); i++)
 			{
-				start_frequency = 3460;
+				start_frequency = 1950;
 				if (i == 1)
 				{
 					//std::cout << "Inversion off " << std::endl;
@@ -227,18 +227,18 @@
 			for (int i = 500; i < 8900; i += 80)
 			{
 				char message[100];
-				sprintf(message, "Checking %d - %d", i, 6900);
+				sprintf(message, "Checking %d - %d", i, 6887);
 				osd_obj->setPerspectiveName(message);
 				osd_obj->addCommand("SHOW perspective");
 
-				if (tuner_obj->tune(i, 6900))
+				if (tuner_obj->tune(i, 6887))
 				{
 					if (pat_obj->readPAT())
 					{
 						channels tmp_channels2(setting, pat_obj, pmt_obj);
 						sdt_obj->getChannels(&tmp_channels2);
-						tmp_channels.addTS(pat_obj->getTS(), sdt_obj->getONID(), i, 6900);
-						std::cout << "Found TS: " << pat_obj->getTS() << " " << sdt_obj->getONID() << " " << i << " " << 6900 << std::endl;
+						tmp_channels.addTS(pat_obj->getTS(), sdt_obj->getONID(), i, 6887);
+						std::cout << "Found TS: " << pat_obj->getTS() << " " << sdt_obj->getONID() << " " << i << " " << 6887 << std::endl;
 						osd_obj->setScanTSNumber(tmp_channels.numberTransponders());
 					}
 				}

Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

seems that the cam is hardcoded in the cam.cpp, and hogs the resource, does anyone know of a way to release this,
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

@Renny

any info how you got it going that far anyway ?

I always understood that you had trouble booting at all

Didi you have to modify anything else or did you just get it working via Newmake ?

Just to add to above diffs here the 6952 Version and maybe someone want's to use it for German Cable/Sat

Code: Alles auswählen

diff -ur tuxbox-cvs/apps/tuxbox/lcars/src/scan.cpp tuxbox-cvs-mod/apps/tuxbox/lcars/src/scan.cpp
--- tuxbox-cvs/apps/tuxbox/lcars/src/scan.cpp	2003-03-08 17:31:18.000000000 +0000
+++ tuxbox-cvs-mod/apps/tuxbox/lcars/src/scan.cpp	2006-10-26 22:48:45.000000000 +0100
@@ -145,14 +145,14 @@
if (tuner_obj->getType() == FE_QAM)
{
-		start_symbol = 6900;
+		start_symbol = 6952;
osd_obj->createPerspective();
if (type == NORMAL || type == FULL)
{
for (int i = 0; (i < 3) && (tmp_channels.numberTransponders() < 1); i++)
{
-				start_frequency = 3460;
+				start_frequency = 1950;
if (i == 1)
{
//std::cout << "Inversion off " << std::endl;
@@ -227,18 +227,18 @@
for (int i = 500; i < 8900; i += 80)
{
char message[100];
-				sprintf(message, "Checking %d - %d", i, 6900);
+				sprintf(message, "Checking %d - %d", i, 6952);
osd_obj->setPerspectiveName(message);
osd_obj->addCommand("SHOW perspective");
-				if (tuner_obj->tune(i, 6900))
+				if (tuner_obj->tune(i, 6952))
{
if (pat_obj->readPAT())
{
channels tmp_channels2(setting, pat_obj, pmt_obj);
sdt_obj->getChannels(&tmp_channels2);
-						tmp_channels.addTS(pat_obj->getTS(), sdt_obj->getONID(), i, 6900);
-						std::cout << "Found TS: " << pat_obj->getTS() << " " << sdt_obj->getONID() << " " << i << " " << 6900 << std::endl;
+						tmp_channels.addTS(pat_obj->getTS(), sdt_obj->getONID(), i, 6952);
+						std::cout << "Found TS: " << pat_obj->getTS() << " " << sdt_obj->getONID() << " " << i << " " << 6952 << std::endl;
osd_obj->setScanTSNumber(tmp_channels.numberTransponders());
}
}
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

I put in the

ucodes

2 lib files

I think it was more that the newmake had been fixed to get it to the stage where it wanted to scan, or the correct ucodes were put in
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

Are the Lib files are copy right protected or why are they not inlcuded in the newmake build process ..?
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

Beitrag von Renwich »

no these libs are not part of the newmake, just help other educational things work if you no what I mean
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

OK...I understand