[Ginga-hackers] Bootear flash de CDR1000 en qemu
Marcelo Gutierrez
websyscomm at gmail.com
Fri Jan 21 18:51:42 CET 2011
hola, Quiero preguntarte en que estas queriendo hacer?
El 13 de enero de 2011 18:33, Hernan Gips <gipshm at gmail.com> escribió:
> 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.bin
>
> y despues inicie el qemu :
>
> qemu-system-arm -M versatilepb -m 64M -nographic -kernel flash.bin
>
> inicia bien el bootloader :
>
> U-Boot 2010.03 (Jan 13 2011 - 16:59:28)
>
> DRAM: 0 kB
> ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
> Flash: 0 kB
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: serial
> Err: serial
> Net: SMC91111-0
> Hit any key to stop autoboot: 0
> Wrong Image Format for bootm command
> ERROR: 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ño
> del 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 found
> Image Name: Linux-2.6.12.5
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1594348 Bytes = 1.5 MB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... OK
>
> Todo valido, cuando me dispongo a bootear:
>
> VersatilePB # bootm 0x25190
> ## Booting kernel from Legacy Image at 00025190 ...
> Image Name: Linux-2.6.12.5
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1594348 Bytes = 1.5 MB
> Load Address: 00008000
> Entry Point: 00008000
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uqemu: hardware error: pl011_read: Bad offset 14
>
> CPU #0:
> R00=0000afc8 R01=101f1014 R02=00000055 R03=101f1000
> R04=00008000 R05=001a6824 R06=41069265 R07=00000183
> R08=00000000 R09=10000000 R10=0018d380 R11=0019680c
> R12=00196810 R13=00196800 R14=0000ac3c R15=000084d8
> PSR=200001d3 --C- A svc32
> Aborted
>
>
>
>
> Alguien 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 at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/ginga-hackers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-hackers/attachments/20110121/9ea18fff/attachment.htm
More information about the Ginga-hackers
mailing list