Seite 1 von 5
BP 912 Flash image
Verfasst: So 9. Okt 2011, 19:04
von felixka
j00zek hat geschrieben:
felixka hat geschrieben:
Is there a plan to provide a Neutrino Flash image for the 912?
The first experimental (an untested) version for flash was created couple weeks ago. If you like to check if it worsk it's in the downloaddatabase/ufs912 tools.
@j00zek
I tried the flash image, but didnt work. Do I need to change the bootargs?
Board: STx7111-Mboard (MB618) [32-bit mode]
U-Boot 1.3.1 (Nov 30 2009 - 11:46:12) - stm23-2008-06-03
DRAM: 256 MB
NOR: 4 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Serial 3 Intialized
buad = 19200, p2 val = 1109, t = c9, buadrate = 1
buad = 19200, p2 val = 1109, t = c9, buadrate = 3ee
VFD_Driver Init
VFD_Controller Type : NEW Kathrein VFD using PIC
Test Class : GetInstance()
Test Class : GetInstance()
RawBuffer.cpp at RawBuffer ,29
FD = 0
Test Class : GetInstance()
SWRecoveryHandler.cpp at Recover ,56
No Recovery Needed
End of testCpp
Hit any key to stop autoboot: 0
Loading from nand0, offset 0x0
Image Name: Linux-2.6.23.17_stm23_0123
Created: 2011-09-13 14:01:08 UTC
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 1796226 Bytes = 1.7 MB
Load Address: 80801000
Entry Point: 80802000
Original bootargs = console=ttyAS0,115200 root=/dev/mtdblock4 rw rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1
ethaddr = 00:D0:55:0E:61:E1
new Params = console=ttyAS0,115200 root=/dev/mtdblock4 rw rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 stmmaceth=ethaddr:00:D0:55:0E:61:E1
## Booting image at 84000000 ...
Image Name: Linux-2.6.23.17_stm23_0123
Created: 2011-09-13 14:01:08 UTC
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 1796226 Bytes = 1.7 MB
Load Address: 80801000
Entry Point: 80802000
Verifying Checksum ... OK
Uncompressing Kernel Image ... START = 513202
END = 30634
OK
Starting kernel console=ttyAS0,115200 root=/dev/mtdblock4 rw rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 stmmaceth=ethaddr:00:D0:55:0E:61:E1
- 0x00000000 - 0 ...
INIT: version 2.86 booting
Thu Jan 1 12:00:00 UTC 2009
Mount /dev in tmpfs
Copying device nodes to /dev
e2fsck 1.41.14 (22-Dec-2010)
fsck: Superblock invalid, trying backup blocks...
fsck: Bad magic number in super-block while trying to open /dev/mtdblock4
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
copLoadFile (file /boot/video.elf)
[2] cannot open input file /boot/video.elf
copLoadFile (file /boot/audio.elf)
[2] cannot open input file /boot/audio.elf
Mounting local filesystems...
Cleaning /tmp.
Hostname: ufs912.
Starting FTP server: vsftpd.
Interface eth0 nicht gefunden !!!
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 12:52
von j00zek
No
[2] cannot open input file /boot/video.elf
copLoadFile (file /boot/audio.elf)
[2] cannot open input file /boot/audio.elf
Something is wrong with this image, I have to investigate. Thanks for test.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 13:09
von BPanther
I think it's the same problem that i had with the script for the av7500. The *.elf are missing in /boot so that i patched the script. Other users means the script works right, but here not. I can try to change this similar to the av7500 changes and build a test version.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 14:00
von BPanther
I have now build a flash version (rev2893, stm23, p191) with the changed script - UNTESTET, see
HERE.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 16:02
von felixka
BPanther hat geschrieben:I have now build a flash version (rev2893, stm23, p191) with the changed script - UNTESTET, see
HERE.
works fine - great - neutrino on ufs912
I only performed some quick test for now...in general looks stable.
two minor issues I observered so far:
1. I configured standby mode off. When I press shutdown button, on VFD you can see shortly "Box reboot" followed by "Box abschalten", but the Box is rebooting...
2. Einstellungen Netzwerk: First time after flashing there is garbage in the ip settings, but you can enter the correct settings. Network test shows everthing reachable except the own box ip is not reachable...
Thx
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 16:23
von BPanther
Thanks for response. The same script patch for the av7500 works for the ufs912, so I can make also here flash images.
1) Strange, because the exit codes are the same on all images. Maybe a bug in fp_control. Please open Telnet and try
fp_control -e
This should be turn off the box. If this not works, the problem is fp_control itself and I must see why...
2) Maybe the cmdline (bootargs) are different. Please do following at telnet if neutrino running:
cat /proc/cmdline
and write the output here so I can change the rcS to the right positions.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 16:45
von felixka
Code: Alles auswählen
ufs912:~# cat /proc/cmdline
console=ttyAS0,115200 root=/dev/mtdblock4 rw rootfstype=jffs2 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=1 stmmaceth=ethaddr:00:D0:55:0E:61:E1
Code: Alles auswählen
ufs912:~# fp_control -e
fp_control: SW Version 1.00
Model: ufs912
vBoxType: 9
Selected Model: Kathrein UFS912 frontpanel control utility
init
checkConfig
configs: DISPLAY = 1, DISPLAYCUSTOM = 1, CUSTOM = %H:%M:%S
, WAKEUPDECREMENT 300
error reading /etc/enigma2/timers.xml
opening /usr/local/share/config/timerd.conf
recordTime 1349880008
Current Time: 1318257608
16:40:08 10-10-2011
Wakeup Time: 1349880008
16:40:08 10-10-2012
waiting on current time from fp ...
success reading time from fp
MJD = 55844 epoch = 1318257292, time = 14:34:52
fp_curTime = 1318257292
fp_wakeupTime = 1349879692
Set Time (UTC): 14:34:52 10-10-2012
ufs912:~#
fp_control -e rebooted die Box.
Mal ne andere Frage: Wie sieht es bei der 912 mit den swap settings aus. Momentan ist alles auf aus....
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 16:56
von BPanther
Zum Swap: Die Box hatte doch glaube 128MB RAM, oder? Wenn ja, kann man sich die Swap normalerweise sparen, der vorhandene RAM sollte ausreichend sein.
Das mit dem Netzwerk wird dann im nächsten Image gefixt sein, die Auto-Konfig muß ich abschalten, da keine IPs in der cmdline vorhanden sind.
Mit dem Shutdown liegt es wohl wirklich an fp_control, da muß ich mal schauen, ob ich das Problem beheben kann.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 17:00
von Hulkster66
Stimmt die Box hat genug Ram da kann man sich die Swap eigentlich sparen.
mfg.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 17:22
von felixka
BPanther hat geschrieben:Zum Swap: Die Box hatte doch glaube 128MB RAM, oder? Wenn ja, kann man sich die Swap normalerweise sparen, der vorhandene RAM sollte ausreichend sein.
ufs912:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 64.0M 19.4M 44.6M 30% /
/dev/root 64.0M 19.4M 44.6M 30% /dev.static
/dev/mtdblock3 8.0M 2.2M 5.8M 28% /boot
ufs912:~# free
total used free shared buffers
Mem: 116912 43248 73664 0 0
-/+ buffers: 43248 73664
Swap: 0 0 0
[/quote]
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 17:34
von BPanther
Du hast noch ~73MB frei, also mehr als genug RAM. Damit gehts auch ohne extra Swap.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 19:41
von dbox-all
BPanther hat geschrieben:I have now build a flash version (rev2893, stm23, p191) with the changed script - UNTESTET, see
HERE.
Bitte um Hilfe ... ich finde dort die aktuelleste V2853, oder ?
mfg
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 19:51
von BPanther
Die rev2893 ist die Flash (das *.img ganz unten), da war ich durch GIT-Updates schon etwas weiter in der rev-Nummer.
Re: BP 912 Flash image
Verfasst: Mo 10. Okt 2011, 19:55
von dbox-all
BPanther hat geschrieben:Die rev2893 ist die Flash (das *.img ganz unten), da war ich durch GIT-Updates schon etwas weiter in der rev-Nummer.
Oh, entschuldige ...
Thanks
mfg
Re: BP 912 Flash image
Verfasst: Di 11. Okt 2011, 17:24
von felixka
Zusammenfassend: Das BP Neutrino Flash Image läuft auf der 912 sehr stabil, keine Hänger, keine Abstürze, gute Umschaltzeiten, schnelles Booten. Bin sehr zufrieden mit der Performace.
Alles sehr viel flüssiger als mit der 910.
Ein USB Cardreader mit FTDI chip funkt auch.
Aufnehmen hab ich allerdings noch nicht getestet.
Zu den Problemen, die ich gesehen habe:
1. Deep Shutdown: Ich habe nun gesehen, dass Shutdown machmal (ca 1mal bei 20 Versuchen) doch funktioniert. Aber nur wenn ich von einen HD Sender aus abschalte. Könnte damit zusammenhängen, das sectionsd dann manchmal länger braucht um sich zu beenden. Scheint also ein timing Problem zu sein.
2. Eigene IP unreachable: wenn man von der Box per telnet die eigene ip pingen will, hängt der ping., andere IP gehen. Wenn ich vom PC die Box pinge, gehts. ifconfig zeigt richtige IPs.
3. O**am_dvbapi, g**x rennen...nur c***3 macht Probleme, andere hab ich nicht getestet.
4. Diese Fehlermeldung müllt das log total zu. Muß wohl was am 912 VFD Treiber angepasst werden
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
VFD/MICOM: unknown IOCTL 0x5305
5.Broken link:
grep: /var/etc/.version: No such file or directory
Alles in allem ist das 912 BP flash Image fast Wohnzimmertauglich.
Wäre schön, wenn noch jemand anders das Image testen könnte.....