<<< Previous topic - Next topic >>> |
|
Author |
Message |
Ivunin
Joined: 06 Mar 2007 Posts: 2
|
Posted: 06.03.2007, 16:56 Post subject: "Starting flash" schlägt fehl |
|
|
Hallo,
ich habe die Image Datei mit Linux kernel 2.6.16 von der Internetseite "http://www.dilnetpc.com/dnp0078.htm" runtergeladen und in den Flash des Mikrocontrollers gemäss der Anleitung "How to upgrade to Linux Kernel Version 2.6" geschrieben.
Das Upgrade verlief ohne Problemme.
Jedoch habe ich nun beim Starten des Kernels folge Meldungen:
Code: | ....
fat - vfat - at91_wdt - AT91 Watchdog Timer enabled (5 seconds, nowayout=1)
Starting flash jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000
0000: 0x3931 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x0002 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x0001 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x81a4 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0xa94e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xa94e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xa94e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000030: 0x0108 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000038: 0x02f2 in
stead
Further such events for this erase block will not be printed
Empty flash at 0x000011a8 ends at 0x000011ac
Empty flash at 0x000011b0 ends at 0x000011b4
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x2010 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0x100c in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x1014 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0x3010 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x2010 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x3014 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x0003 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x0002 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x3010 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x2014 in
stead
Further such events for this erase block will not be printed
Empty flash at 0x0002f8e0 ends at 0x0002f8e4
Empty flash at 0x0002fa6c ends at 0x0002fa74
Empty flash at 0x00032200 ends at 0x00032204
Empty flash at 0x000323a4 ends at 0x000323a8
Empty flash at 0x000323ac ends at 0x000323b0
Empty flash at 0x00033f1c ends at 0x00033f20
Empty flash at 0x00033f24 ends at 0x00033f28
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 30, bad_blocks 0, c->nr_blocks 32
mount: /dev/mtdblock2: can't read superblock
Starting autoinit
Starting network Configuring and Starting Network : lo eth0: Link now 100-FullDuplex
.... |
Nach dem vollständigen Booten ist der mtdblock2 nicht gemounted.
Code: |
[root@emblinux /root]$df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 8052 4224 3828 52% / |
Entsprechend ist auch der /flash Ordner leer.
Vielleicht kennt jemand die Lösung des Problems. Danke!
Gruß
Johann |
|
Back to top |
|
 |
Lucky B
Joined: 25 Jul 2006 Posts: 35
|
|
Back to top |
|
 |
Ivunin
Joined: 06 Mar 2007 Posts: 2
|
Posted: 07.03.2007, 11:30 Post subject: |
|
|
Danke für die schnelle Antwort und Lösung des Problems
Gruß
Johann |
|
Back to top |
|
 |
kdw

Joined: 05 May 2006 Posts: 1519
|
Posted: 08.03.2007, 18:13 Post subject: Der Flash und die Linux-Kernelversionen ... |
|
|
Hallo.
Noch mal eine Anmerkung zur Ursache der Meldungen: Im Kernel 2.4 und 2.6 benutzen wir jeweils ein unterschiedliches JFFS. Wurde der Flash unter 2.4 schreibend benutzt (also zum Beispiel Dateien im Verzeichnis /flash abgelegt), ergeben sich beim Booten von 2.6 die Fehlermeldungen, weil das JFFS mit den Strukturen nicht klarkommt.
Durch das Löschen (erase-Kommando) in U-Boot wird der Flasg praktisch wieder neu formatiert.
Gruß
KDW |
|
Back to top |
|
 |
|