hola, Quiero preguntarte en que estas queriendo hacer?
Gente,Estoy tratando de bootear la flash de CDR1000 en qemu.El mtd0 tiene el kernel y el mtd1 initrd y demas.El mtd0 es una imagen de u-boot.Por alguna razaon el mkimage de uboot no la reconoce como tal pero mirando el header parece valido.De hecho compile un uboot para arm y los junte con el mtd0 en una sola imagen:cat uboot.bin mtd0.bin > flash.biny despues inicie el qemu :qemu-system-arm -M versatilepb -m 64M -nographic -kernel flash.bininicia bien el bootloader :U-Boot 2010.03 (Jan 13 2011 - 16:59:28)DRAM: 0 kB## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MBFlash: 0 kB*** Warning - bad CRC, using default environmentIn: serialOut: serialErr: serialNet: SMC91111-0Hit any key to stop autoboot: 0Wrong Image Format for bootm commandERROR: can't get kernel image!VersatilePB #No encuentra la imagen de una porque queda pegada en cualquier lado, si hacemos los calculos basados en el tamañodel uboot da 0x25190. (Si alguien lo quiere probar va a tener que calcular esto de nuevo).y el uboot reconoce la imagen:VersatilePB # imi 0x25190## Checking Image at 00025190 ...Legacy image foundImage Name: Linux-2.6.12.5Image Type: ARM Linux Kernel Image (uncompressed)Data Size: 1594348 Bytes = 1.5 MBLoad Address: 00008000Entry Point: 00008000Verifying Checksum ... OKTodo valido, cuando me dispongo a bootear:VersatilePB # bootm 0x25190## Booting kernel from Legacy Image at 00025190 ...Image Name: Linux-2.6.12.5Image Type: ARM Linux Kernel Image (uncompressed)Data Size: 1594348 Bytes = 1.5 MBLoad Address: 00008000Entry Point: 00008000Loading Kernel Image ... OKOKStarting kernel ...Uqemu: hardware error: pl011_read: Bad offset 14CPU #0:R00=0000afc8 R01=101f1014 R02=00000055 R03=101f1000R04=00008000 R05=001a6824 R06=41069265 R07=00000183R08=00000000 R09=10000000 R10=0018d380 R11=0019680cR12=00196810 R13=00196800 R14=0000ac3c R15=000084d8PSR=200001d3 --C- A svc32AbortedAlguien tuvo mejor suerte con esto???Me imagino que el board no es exactamente igual, pero pense que el kernel tendria que al menos bootear en parte.Saludos,Hernan.
--
--
"There must be some way out of here"
said the joker to the thief
_______________________________________________
Ginga-hackers mailing list
Ginga-hackers@lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers