heisly hat geschrieben:@Gorcon: Konntest du es mittlerweile auch mal mit meiner modifizierten Version testen?
heisly
So ich habe jetzt mal in eine Philips Box die RTC auf das IDE Interface gebaut.
So richtig funktioniert das ganze leider nicht.
Da ich nur Kabelempfang habe bekommt die Box auch kein DVB Signal um die Uhr zu syncronisieren (logisch) aber die RTC Zeit wird auch nicht verwendet.
Wenn ich die RTC per Telnet stelle und dann die Box neu starte ist die Uhr anschließend wieder auf 01:00.
Hier mal das Log:
Code: Alles auswählen
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-8b.ba.95.07.00.00-c7
debug: HWrev 01 FPrev 0.30
debug: B/Ex/Fl(MB) 32/00/08
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/philips-dbox2/kernel/os in Flash-FS
debug: Got Block #0040
will verify ELF image, start= 0x800000, size= 158020
verify sig: 262
Branching to 0x40000
U-Boot 1.1.4 (Tuxbox) (Aug 7 2006 - 21:15:08)
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: .. done.
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
### FS (squashfs) loading 'vmlinuz' to 0x100000
### FS load complete: 694133 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: 694069 Bytes = 677.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.34.2-dbox2 (vom Jtg-Team) (gcc version 3.4.6) #1 Fr 13. Apr 2
3:00:40 CEST 2007
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 rootfstype=squashfs
Decrementer Frequency = 247500000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2580)
Console: colour dummy device 80x25
Calibrating delay loop... 65.74 BogoMIPS
Memory: 30780k available (1180k kernel code, 348k 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: version 3.0 (2006/03/15) 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:2a:3a:2b
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 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x006a0000 : "root (SquashFS)"
0x006a0000-0x00800000 : "var (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 (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k init
init started: BusyBox v1.5.0 (2007-03-28 20:53:08 CEST) multi-call binary
Starting the automounter
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
dboxide: $Id: main.c,v 1.10 2006/10/04 00:36:41 carjay Exp $
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of DBox2 IDE CPLD is at: 0xc38aa000
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
hdb: no response (status = 0xa1), resetting drive
hdb: no response (status = 0xa1)
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/1768KiB Cache, CHS=38760/16/63
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2
ds1307: $Id: ds1307.c,v 1.1 2005/08/27 01:59:05 chakazulu Exp $
event: $Id: event.c,v 1.12 2003/09/30 05:45:38 obi Exp $
EXT2-fs warning: checktime reached, running e2fsck is recommended
/dev/ide/host0/bus0/target0/lun0/disc:
setting standby to 70 (5 minutes + 50 seconds)
[i2c-8xx]: mpc 8xx i2c init
setting acoustic management to 128ds1307: I2C Real-Time-Clock detected at addr
0x68
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
[i2c-8xx]: adapter: 0
HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error
acoustic = 0 (128=quiet ... 254=fast)
TuxCalD 1.11 started [20.12.1999 - 01:31:04]
$Id: cam.c,v 1.30 2004/01/10 16:36:34 alexw Exp $
$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_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: AVIA500 sptsfix is off
avia_av_core: Starting avia_av_wdt thread.
avia_av_event: $Id: avia_av_event.c,v 1.11 2003/10/26 16:32:51 obi Exp $
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 v00F0
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
jtginfo $Id: jtginfo.c,v 1.7 2006/08/01 22:04:55 jtgriker Exp $
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 $
$Id: sectionsd.cpp,v 1.237 2007/03/29 15:43:32 mws Exp $
[sectionsd] Started with correct system time
[sectionsd] Caching max 6000 events
[sectionsd] Caching 7 days
[sectionsd] Events are old 60min after their end time
/var/tuxbox/config/zapit/epgfilter.xml: No such file or directory
/var/tuxbox/config/mybouquets.xml: No such file or directory
[timeThread] Time is already set by system, trying to sync it via DVB
$Id: zapit.cpp,v 1.395 2007/03/17 21:34:22 houdini Exp $
[zapit] PMT update enabled
[frontend.cpp:CFrontend:50] /dev/dvb/adapter0/frontend0: No such file or directo
ry
/share/tuxbox/satellites.xml: No such file or directory
[getservices] satellites.xml not found.
[getservices] /var/tuxbox/config/zapit/myservices.xml found.
[getservices] dup transponder id 1 onid 85
[getservices] dup transponder id 3 onid 85
[getservices] dup transponder id 2 onid 85
[getservices] dup transponder id 4 onid 85
[getservices] dup transponder id 11 onid 85
[getservices]: removing 'ARD-MHP-Data' (service_id=0x6e5a): FAILED!
[getservices] dup transponder id 42A onid 1
[getservices] dup transponder id 52D onid 52D
[getservices] dup transponder id 75F9 onid 52D
[getservices] dup transponder id 75FA onid 52D
[getservices] dup transponder id 1 onid A044
[getservices]: removing 'DECIMUS_DL' (service_id=0x4e93): FAILED!
[getservices]: removing 'TT STB Update' (service_id=0x4e94): FAILED!
[getservices] dup transponder id 1FA4 onid 13E
/tmp/currentservices.xml: No such file or directory
[camd] ca system id: 1702
neuer Sagem Treiber
rmmod: at76c651: No such file or directory
insmod: warning: kernel-module version mismatch
/var/lib/at76c651.o was compiled for kernel version 2.4.34-dbox2
while this kernel is version 2.4.34.2-dbox2
$Id: controld.cpp,v 1.125 2006/09/24 09:17:10 barf Exp $
[controld] Boxtype detected: (2, Philips D-BOX2)
[controld]: ROUTEVIDEO v1 = 1 a1 = 1 v2 = 1 a2 = 1 v3 = 1 a3 = 1 fblk=1
SET VSW: 0 1
SET VSW: 1 1
SET VSW: 2 1
[controld] setting VideoFormat to auto
[yhttpd] Webserver nhttpd/3.1.3 (yhttpd_core/1.2.0)
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/micron.ttf...OK (Micron/Regular)
[LCDFONT] adding font /share/fonts/micron_bold.ttf...OK (Micron/Bold)
[LCDFONT] adding font /share/fonts/pakenham.ttf...OK (Pakenham/Regular)
[LCDFONT] Intializing font cache...
[yhttpd] Webserver starting...
/bin/neutrino: /lib/libpng12.so.0: no version information available (required by
/bin/neutrino)
TuxCal <Font "/share/fonts/pakenham.ttf" loaded>
TuxCalD <found black at 0, white at 254>
[neutrino] frameBuffer Instance created
812k video mem
avia_gt_gv: set_input_mode (mode=2)
avia_gt_gv: set_input_size (width=720, height=576)
[neutrino] Software update enabled
[neutrino] enable flash
[lcdd] time-skin not found -> using default...
[lcdd] weekday-skin not found -> using default...
[lcdd] date-skin not found -> using default...
[lcdd] month-skin not found -> using default...
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/12.pcf.gz...OK (Fix12/Regular)
[LCDFONT] adding font /share/fonts/14B.pcf.gz...OK (Fix14/Bold)
[LCDFONT] adding font /share/fonts/15B.pcf.gz...OK (Fix15/Bold)
[LCDFONT] Intializing font cache...
[LCDFONT] FTC_Face_Requester (Fix15/Bold)
[LCDFONT] FTC_Face_Requester (Fix14/Bold)
/dev/input/event1: No such file or directory
[neutrino] menue setup
[controld] setting VideoFormat to auto
loading locales: scandir: No such file or directory
/share/tuxbox/satellites.xml: No such file or directory
[CBasicClient] receive failed: /tmp/zapit.sock
[neutrino] received 0 sats
[neutrino] registering as event client
[controld] setting VideoFormat to auto
[neutrino] initialized everything
zap failed!
[sectionsd] getUTC: read: Connection timed out
[timeThread] Time is already set by system, trying to sync it via DVB
Die sectiond habe ich nach /var/bin/ kopiert und ausführbar gemacht. Die start_neutrino habe ich enstsprechend modifiziert (wie es in dem Anhang angegeben war.)
Gruß Gorcon