TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
"Starting flash" schlägt fehl

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
Ivunin



Joined: 06 Mar 2007
Posts: 2

PostPosted: 06.03.2007, 16:56    Post subject: "Starting flash" schlägt fehl Reply with quote

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
View user's profile Send private message
Lucky B



Joined: 25 Jul 2006
Posts: 35

PostPosted: 07.03.2007, 08:17    Post subject: Re: "Starting flash" schlägt fehl Reply with quote

Hallo,

sieh mal hier nach:
https://ssv-comm.de/forum/viewtopic.php?t=51


Gruß
Björn
Back to top
View user's profile Send private message
Ivunin



Joined: 06 Mar 2007
Posts: 2

PostPosted: 07.03.2007, 11:30    Post subject: Reply with quote

Danke für die schnelle Antwort und Lösung des Problems

Gruß
Johann
Back to top
View user's profile Send private message
kdw



Joined: 05 May 2006
Posts: 1519

PostPosted: 08.03.2007, 18:13    Post subject: Der Flash und die Linux-Kernelversionen ... Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015