Box bootet nicht (/dev/corcS: applet not found)

Wie blitze ich ein Bild - Permanent Outgoing Incomes
RageForOrder
Beiträge: 2
Registriert: Freitag 26. März 2004, 11:16

Box bootet nicht (/dev/corcS: applet not found)

Beitrag von RageForOrder »

Hallo allerseits,

nachdem ich im Chat schon kurz mein Problem geschildert habe (siehe Betreff), komme ich nun gern der Bitte nach, das zugehörige Flash und Boot Log zu posten. Für jedwelche Tipps wäre ich natürlich sehr dankbar!

Flash Log:

Code: Alles auswählen

Bdebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.2  mID 01
debug: feID dd    gtxID 0b
debug: fpID 5a     dsID 01-62.d0.1c.07.00.00-9e
debug: HWrev 09  FPrev 0.81
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: Got BOOTP reply from Server IP 192.168.1.9, My IP 192.168.1.2
debug: Sending TFTP-request for file C/PROGRAMME/DBOXBOOT/ppcboot_writeflash
will verify ELF image, start= 0x800000, size= 201596
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Apr 11 2002 - 16:10:44)

Initializing...
  CPU:   PPC823ZTnnB2 at 67 MHz: 2 kB I-Cache 1 kB D-Cache
  Board: ### No HW ID - assuming TQM8xxL
  DRAM:  (faked) 32 MB
  Ethernet: 00-50-9c-42-fb-90
  FLASH:  8 MB
  LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.1.9; our IP address is 192.168.1.2
Filename 'C/PROGRAMME/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
  LCD logo at: 0x130000 (0x1F9FFC0 bytes)
BOOTP broadcast 1
TFTP from server 192.168.1.9; our IP address is 192.168.1.2
Filename 'C/PROGRAMME/tftpboot/logo-fb'.
Load address: 0x120000
Loading: #########
done
  FB logo at: 0x0 (0x1FC0000 bytes)
  AVIA Frambuffer
  Input:  serial
  Output: serial


 1: Console on ttyS0
 2: Console on null
 3: Console on framebuffer
Select (1-3), other keys to stop autoboot:  0 
dbox2-ppcboot> bootp 120000 /C/dbox/alexW2xImageV1.7.1.200311041222r.img
BOOTP broadcast 1
TFTP from server 192.168.1.9; our IP address is 192.168.1.2
Filename '/C/dbox/alexW2xImageV1.7.1.200311041222r.img'.
Load address: 0x120000
Loading: #######################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
######################
done

dbox2-ppcboot> protect off 10020000 107fffff
...............................................................
Un-Protected 63 sectors

dbox2-ppcboot> erase 10020000 107fffff
Erase Flash from 0x10020000 to 0x107fffff 
 sector 66 .... done
Erased 63 sectors

dbox2-ppcboot> cp.l 120000 10020000 1F8000
Copy to Flash... done
Boot Log:

Code: Alles auswählen

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.2  mID 01
debug: feID dd    gtxID 0b
debug: fpID 5a     dsID 01-62.d0.1c.07.00.00-9e
debug: HWrev 09  FPrev 0.81
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/nokia-dbox2/kernel/os in Flash-FS
debug: Got Block #0032

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


U-Boot 0.4.0 (TuxBox) (Oct 16 2003 - 18:02:34)

CPU:   PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Nokia, BMon V1.2
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS:  done.
find_inode failed for name=tuxbox
load: Failed to find inode
FB:    ready
LCD:   ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
Scanning JFFS2 FS:  done.
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
Scanning JFFS2 FS:  done.
find_inode failed for name=tuxbox
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:  0 
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS load complete: 590500 bytes loaded to 0x100000
## Booting image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    590436 Bytes = 576.6 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (von alexW) (gcc version 3.2.3) #1 So Nov 2 19:55:35 
CET 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 console=ttyS0
Decrementer Frequency = 251625000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 66.76 BogoMIPS
Memory: 30936k available (1008k kernel code, 364k 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.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications
 AB.
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:42:fb:90
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
 Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Using word write method
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00720000 : "root (cramfs)"
0x00720000-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 (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 60k init
Starting pid 10, console /dev/corcS: applet not found000) multi-c

Please press Enter to activate this console.
Wenn ich an dieser Stelle dann Enter drücke und einfach mal "ls -lR" eingebe, so zeigt sich, dass /var komplett leer ist. Wie kann das sein? Liegt da evtl. ein Hardwaredefekt vor? Das Flash Log sah doch eigentlich i. O. aus, oder nicht?

BTW: Es handelt sich hierbei um eine Nokia-Box. Falls noch weitere Infos fehlen, um das Problem einzukreisen, reiche ich die selbstverfreilich gern nach. :-)

Vielen Dank im Voraus,
Rage
RageForOrder
Beiträge: 2
Registriert: Freitag 26. März 2004, 11:16

Re: Box bootet nicht (/dev/corcS: applet not found)

Beitrag von RageForOrder »

Quoting myself, this way madness lies ...
RageForOrder hat geschrieben:

Code: Alles auswählen

(...)
Starting pid 10, console /dev/corcS: applet not found000) multi-c

Please press Enter to activate this console.
Wenn ich an dieser Stelle dann Enter drücke und einfach mal "ls -lR" eingebe, so zeigt sich, dass /var komplett leer ist. Wie kann das sein? Liegt da evtl. ein Hardwaredefekt vor? Das Flash Log sah doch eigentlich i. O. aus, oder nicht?

BTW: Es handelt sich hierbei um eine Nokia-Box. Falls noch weitere Infos fehlen, um das Problem einzukreisen, reiche ich die selbstverfreilich gern nach. :-)
Ich habe noch ein wenig herumexperimentiert, vielleicht helfen diese zusätzlichen Informationen ja weiter:

Ich habe drei verschiedene Images testweise zuerst geflasht und danach wieder ausgelesen. Anschließend habe ich das geflashte Image mit dem ausgelesenen verglichen. Beide Dateien waren (abzüglich der zusätzlichen 128 MB zu Beginn des ausgelesenen Images) absolut identisch; das Flashen selbst scheint also fehlerfrei zu funktionieren.

Nachdem ich das 1.6.9er-Image geflasht und anschließend gebootet hatte, hörte der Bootvorgang nach "Uncompressing Kernel Image ... OK" auf und kam gar nicht erst bis zu der Stelle in meiner ursprünglichen Mail, wo er zum Drücken von Enter aufforderte, um eine Console zu bekommen. Die Box stand einfach und rührte sich nicht mehr.

Darüber hinaus habe ich die Box mal aufgeschraubt, konnte aber keinerlei "offensichtliche Defekte" erkennen.

Hat jetzt vielleicht irgendjemand eine Ahnung, was das sein mag? Mir fällt nichts mehr ein, was ich noch ausprobieren könnte. :(

Gruß,
Rage