Unable to modify from U-Boot to Qi.

ramsarvan pl_ram2003 at yahoo.com
Fri Jan 16 17:12:44 CET 2009


Hi Andy,

Sorry for not making it clear.

Actually what happens is:

1) When I try booting 
(after flashing Qi into NAND from NOR flash mode and inserting SD card 
with ext3 partition containing Android images) by pressing the
Power button for 10 secs, the device stops at the splash screen.
Then I did cu to check what happened, I got the following:

NAND read: device 0 offset 0x880000, size 0x5000
 20480 bytes read: OK
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x80000, size 0x200000
 2097152 bytes read: OK
## Booting kernel from Legacy Image at 32000000 ...
   Image Name:   OM GTA02 android_458301db547e537
   Created:      2009-01-09  15:30:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2538032 Bytes =  2.4 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!

GTA02v6 # mmcinit
cmd 0x8, arg 0x1aa flags 0x75
Error after cmd: 0xfffffffc
Card Type:          SD
Manufacturer:       0x1b, OEM "SM"
Product name:       "SMI  ", revision 1.0
Serial number:      155843909
Manufacturing date: 11/2007
MMC/SD size:        497MiB

GTA02v6 # ext2ls mmc 1:1 /boot
<DIR>       1024 .
<DIR>       1024 ..
              36 append-GTA02
         2533736 uImage-GTA02.bin

It reads from NAND flash and not from SD card.
So it fails to read from SD and tries reading
from NAND. I dont know why.

2) After flashing QI, NAND menu should not occur
as per wiki, but i see NAND menu when I press 
Power first aux next. I dont know why? Dont know
whether I have flashed Qi or not?

Thanks
Ram


Andy Green wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | Hi All,
> |
> | I tried modifying the bootloader from u-boot to Qi
> | for booting Android from SD card. I booted the phone
> | in NOR mode (aux first, power next) and then flashed the
> | Qi bootloader using dfu-util u-boot option. As per
> | the wiki, the Qi will replace the NAND menu (with NOR menu
> | existing) and straight away boot from the SD cards if
> | available. But I still see the NAND menu when I press
> | power first and aux next.
> |
> | I have a SD with ext3 partition containing the files required
> | for booting from Android and I can see them using ext2ls.
> |
> | Image used for Qi: qi-s3c2442-master_a2d11c4dd18c9517.udfu
> | Device: Freerunner.
> |
> | Can anyone please tell me what i am missing?
> 
> Not completely certain about the problem, it is that you only have a
> problem if you press AUX during boot with Qi?  Qi is looking at AUX to
> see if it should skip booting the "current" kernel.  Can that explain it?
> 
> If I got the wrong idea, check that /boot/uImage-GTA02 exists on that
> ext3 partition.
> 
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAklwrnkACgkQOjLpvpq7dMqN9wCfSS1/53Bx1Uwk8eyaJjo8hdNt
> GywAoIn+ANRN8qBjqej3y9lfoKWt9P6t
> =sEoq
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> devel mailing list
> devel at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/devel
> 
> 

-- 
View this message in context: http://n2.nabble.com/Unable-to-modify-from-U-Boot-to-Qi.-tp2168838p2168988.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.




More information about the devel mailing list