Unable to modify from U-Boot to Qi.

ramsarvan pl_ram2003 at yahoo.com
Fri Jan 16 17:30:29 CET 2009


Hi Andy,

Thank you for the imediate reply.

I flashed the Qi image using the following command:
[By booting GTA02 device in NOR flash mode]

sudo dfu-util -a u-boot -R -U qi-s3c2442-master_a2d11c4dd18c9517.udfu 
[sudo] password for ram: 
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x0000:0x0000...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=105, cfg=0, intf=0, alt=1,
name="u-boot"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
Resetting USB to switch back to runtime mode

Thanks,
Ram.

Andy Green wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | 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!
> 
> This can be caused if the kernel is bigger than 2MBytes, the U-Boot env
> var than does the load and boot defaults to ending there.
> 
> | 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?
> 
> Right, no, as you suspect Qi would replace NAND U-Boot so you don't see
> that any more.  What dfu-util commandline did you use for this flashing
> action, I guess the problem is there.
> 
> You're definitely still running U-Boot above not Qi.
> 
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAklws4wACgkQOjLpvpq7dMpJfQCeO7Vp4h0cNN8QfmTyNz/QBgl7
> f4YAn1EgIqOWEJQoBgoY6yONvh9urXHX
> =VWdG
> -----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.-tp2168838p2169129.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.




More information about the devel mailing list