|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Candidat au titre de Membre du Club
![]() Inscription : juillet 2006 Messages : 53 ![]() |
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 |
|
|
00
|
|
|
#2 |
|
Membre du Club
![]() Inscription : janvier 2006 Messages : 47 ![]() |
Salut !
As tu pensé à bien mapper dans ta flash ton image lorsque tu l'a cross compilee ?? |
|
|
00
|
|
|
#3 |
|
Candidat au titre de Membre du Club
![]() Inscription : juillet 2006 Messages : 53 ![]() |
je crois pas alors comment on fait pour mapper??
|
|
|
00
|
|
|
#4 |
|
Membre du Club
![]() Inscription : janvier 2006 Messages : 47 ![]() |
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> |
|
|
00
|
|
|
#5 |
|
Candidat au titre de Membre du Club
![]() Inscription : juillet 2006 Messages : 53 ![]() |
j ai tjrs meme probleme cette solution n a rien changé
|
|
|
00
|
Copyright © 2000-2012 - www.developpez.com