Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2012, 05:21 PM   #1
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
U-boot with fastboot support for k3

Hi everyone! I'm trying to port the u-boot found in newer kindles, with fastboot support, to the kindle 3. Next step will be to remove the image size limitation to flash also the system partition.
I've got a first release that compiles fine, but I'm unsure of how to test this.
Source and a binary are attached to this thread, so directions and/or testers are welcome
Attached Files
File Type: gz uboot_kindle3_fastboot.tar.bz2.gz (9.57 MB, 273 views)

Last edited by giorgio130; 11-30-2012 at 05:34 PM.
giorgio130 is offline   Reply With Quote
Old 11-30-2012, 05:49 PM   #2
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by giorgio130 View Post
Hi everyone! I'm trying to port the u-boot found in newer kindles, with fastboot support, to the kindle 3. Next step will be to remove the image size limitation to flash also the system partition.
Size of flashed image in fastboot mode on newer Kindles is limited by RAM size only (minus some MB for U-Boot itself and system buffers). But, for example, KT has 256MB RAM and KT's rootfs on system partition (/dev/mmcblk0p1) is about 340MB: that's why rootfs image can be flashed in fastboot mode only partially. It's understandable limitation inherited from standard fastboot.

So, to clarify things, you can't just "remove" size limitation. You'll need to implement new fastboot command for "chunked" downloading and flashing of "big" images. And change fastboot tool to support this new command.
eureka is offline   Reply With Quote
Advert
Old 11-30-2012, 06:08 PM   #3
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
And while adding features to fastboot protocol, how about adding remote debugging and an mmc hex editor?
geekmaster is offline   Reply With Quote
Old 12-01-2012, 05:43 AM   #4
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by eureka View Post
Size of flashed image in fastboot mode on newer Kindles is limited by RAM size only (minus some MB for U-Boot itself and system buffers). But, for example, KT has 256MB RAM and KT's rootfs on system partition (/dev/mmcblk0p1) is about 340MB: that's why rootfs image can be flashed in fastboot mode only partially. It's understandable limitation inherited from standard fastboot.

So, to clarify things, you can't just "remove" size limitation. You'll need to implement new fastboot command for "chunked" downloading and flashing of "big" images. And change fastboot tool to support this new command.
Thanks for the explanation, I couldn't find the cause anywhere. But I actually think that android phones don't have this kind of limitation... Or maybe they just keep their partition size under the amount of available ram?
I'll do some research. BTW, do you know if the limit of 72 kb for the first-stage u-boot applies even to the kindle 3? I didn't find any reference to a "bist" u-boot on this platform, so I'd assume no...
giorgio130 is offline   Reply With Quote
Old 12-01-2012, 10:34 AM   #5
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by giorgio130 View Post
Thanks for the explanation, I couldn't find the cause anywhere.
It's at include/configs/imx50_yoshi_bist.h:
Code:
#define CONFIG_FASTBOOT_MAX_DOWNLOAD_LEN  ((get_dram_size()) - (2*1024*1024) - (CONFIG_FASTBOOT_TEMP_BUFFER - CONFIG_SYS_SDRAM_BASE))
Quote:
Originally Posted by giorgio130 View Post
But I actually think that android phones don't have this kind of limitation... Or maybe they just keep their partition size under the amount of available ram?
Exactly.

Quote:
Originally Posted by giorgio130 View Post
I'll do some research. BTW, do you know if the limit of 72 kb for the first-stage u-boot applies even to the kindle 3? I didn't find any reference to a "bist" u-boot on this platform, so I'd assume no...
I can't answer, I don't know. 72kb limit was found by reading of Reference Manual for Kindle Touch SoC. I think you should read similar manual for K3 SoC.
eureka is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fastboot GUI hostar Kindle Developer's Corner 53 07-31-2017 10:52 AM
Bricked Kindle Touch; Won't boot into diags/fastboot kerotan Kindle Developer's Corner 3 05-19-2012 11:58 AM
Fastboot not working aditya3098 Kindle Developer's Corner 10 05-12-2012 02:44 PM
Opus cannot boot, stuck on boot screen baloma Bookeen 35 11-13-2010 05:20 AM
Is it possible to support dual boot? harpum iRex 5 07-06-2007 05:55 PM


All times are GMT -4. The time now is 01:13 PM.


MobileRead.com is a privately owned, operated and funded community.