Précédent   Forum des professionnels en informatique > Systèmes > Linux > Système
Système Vos questions autour de l'administration système
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 07/07/2006, 14h55   #1
Candidat au titre de Membre du Club
 
Inscription : juillet 2006
Messages : 53
Détails du profil
Informations forums :
Inscription : juillet 2006
Messages : 53
Points : 10
Points : 10
Par défaut Problème d'execution du noyau linux sur 1 carte

bonjour tt le monde,
j ai un projet sur linux, mon probleme est le suivant en fait g telecharger le noyau linux sur la memoire flash d 1 carte smart box (roteur),et je vx charger ce noyau de la memoire flash vers la memoir RAM et l executer mais pendant la phase d execution il m envoi 1 message erreur sous minicom, voici la ligne de commande avec le message erreur:

RedBoot> fis load -b 0x1600000 linux
** Warning - checksum failure. stored: 0x528baf74, computed: 0xa0806f00
RedBoot> exec -b 0x01600000 -l 0x0100000 -c"console=ttyS0,115200 rootfstype=jffs2 root=/dev/mtdblock2"
Can't execute Linux - invalid entry address

j espere que qlq1 sait où il est le probleme et merci d avance
Djo00 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/07/2006, 15h17   #2
Membre du Club
 
Avatar de Menthe_a_l_eau
 
Inscription : janvier 2006
Messages : 47
Détails du profil
Informations personnelles :
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : janvier 2006
Messages : 47
Points : 40
Points : 40
Salut !

As tu pensé à bien mapper dans ta flash ton image lorsque tu l'a cross compilee ??
Menthe_a_l_eau est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 10/07/2006, 11h48   #3
Candidat au titre de Membre du Club
 
Inscription : juillet 2006
Messages : 53
Détails du profil
Informations forums :
Inscription : juillet 2006
Messages : 53
Points : 10
Points : 10
Par défaut encore

je crois pas alors comment on fait pour mapper??
Djo00 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 10h58   #4
Membre du Club
 
Avatar de Menthe_a_l_eau
 
Inscription : janvier 2006
Messages : 47
Détails du profil
Informations personnelles :
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : janvier 2006
Messages : 47
Points : 40
Points : 40
salut, bon desole pr le retard ...... jespere que cela te sera utile :



°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Ran into another snag along the way. Wanted to post it just in case someone else runs into a similar problem.

Quote:
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .

formatted okay..
Quote:
RedBoot> load -r -b 0x01600000 zImage
Using default protocol (TFTP)
Raw file loaded 0x01600000-0x016c850b, assumed entry at 0x01600000
loaded image off tftp machine okay..
Quote:

RedBoot> fis create -b 0x01600000 -f 0x5008000 -l 0x0100000 -r 0x01600000 zimage

Invalid FLASH address 0x05008000: Invalid FLASH address
valid range is 0x50000000-0x50ffffff
RedBoot>


When I reset the unit this is what I get for the Compact flash drive.
Quote:

RAM: 0x00000000-0x04000000, [0x000298b0-0x03fc1000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.


SOLUTION
for some reason this worked - not sure if it's correct though
Quote:
fis create -b 0x01600000 -f 0x050080000 -l 0x00100000 -r 0x01600000 zimage
... Erase from 0x50080000-0x50180000: ........
... Program from 0x01600000-0x01700000 at 0x50080000: ........
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000:.
RedBoot>


Quote:
RedBoot> fis create -b 0x01600000 -f 0x050080000 -l 0x00100000 -r 0x01600000 zim
age
... Erase from 0x50080000-0x50180000: ........
... Program from 0x01600000-0x01700000 at 0x50080000: ........
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot> load -r -b 0x00800000 squashfs.img
Using default protocol (TFTP)
Raw file loaded 0x00800000-0x00ad1fff, assumed entry at 0x00800000
RedBoot> fis create -b 0x00800000 -f 0x050180000 -l 0x00500000 ramdisk
... Erase from 0x50180000-0x50680000: ........................................
... Program from 0x00800000-0x00d00000 at 0x50180000: ..........................
..............
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot>

Quote:
RedBoot> fis create -b 0x00000000 -f 0x050680000 -l 0x00080000 -n cfg
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot>

When I first tried to create the filesystem it balked at me and complained. I had the part that reads '0x008e0000' as '0x008E0000', but I changed to a small e and it worked.

Quote:
RedBoot> fis create -b 0x00000000 -f 0x050700000 -l 0x008e0000 -n etc
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot>
Menthe_a_l_eau est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 12/07/2006, 12h34   #5
Candidat au titre de Membre du Club
 
Inscription : juillet 2006
Messages : 53
Détails du profil
Informations forums :
Inscription : juillet 2006
Messages : 53
Points : 10
Points : 10
j ai tjrs meme probleme cette solution n a rien changé
Djo00 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 10h19.


 
 
 
 
Partenaires

Hébergement Web