Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-01-2015, 10:01 AM   #1
boom1212
Junior Member
boom1212 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2014
Device: Kindle paperwhite2
How to backup u-boot , or modify it ?

Hi everyone! i want to know how to backup the "u-boot" form my KPW2, u-boot mean the bootloader,right? i have the TTL now,but don't know use what command to backup it as a ".bin" file,when it can be backuped,i think we can modify something cool and flash it,let kindle has more function when it boots.
boom1212 is offline   Reply With Quote
Old 12-01-2015, 10:11 AM   #2
knc1
Ex-Helpdesk Addict
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 12,238
Karma: 12451893
Join Date: Feb 2012
Location: Central Texas
Device: No PW2, KV, KOA
Quote:
Originally Posted by boom1212 View Post
Hi everyone! i want to know how to backup the "u-boot" form my KPW2,

u-boot mean the bootloader,right?

i have the TTL now,but don't know use what command to backup it as a ".bin" file,

when it can be backuped,i think we can modify something cool and flash it,let kindle has more function when it boots.
Not easily, it is in protected storage.
For details, see the Amazon u-boot source code, start with the implementation of "Erase All" command.

What you can do is copy the image running in memory.
Which is what "Erase All" copies to the protected area of flash.

Yes, u-boot is the bootloader used in the Amazon builds.

You need to be more clear **which** copy of u-boot you are writing about (there are two, the first that runs and bist, which runs on command).

= = = =

What do you mean by: "modify something cool" ?

And why do you need to work with the binary image rather than build from the Amazon posted source code?

= = = =

Note: You should be able to find posts here from people who **have** re-built u-boot with added features.
knc1 is offline   Reply With Quote
Old 12-01-2015, 10:46 AM   #3
boom1212
Junior Member
boom1212 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2014
Device: Kindle paperwhite2
Quote:
Originally Posted by knc1 View Post
Not easily, it is in protected storage.
For details, see the Amazon u-boot source code, start with the implementation of "Erase All" command.

What you can do is copy the image running in memory.
Which is what "Erase All" copies to the protected area of flash.

Yes, u-boot is the bootloader used in the Amazon builds.

You need to be more clear **which** copy of u-boot you are writing about (there are two, the first that runs and bist, which runs on command).

= = = =

What do you mean by: "modify something cool" ?

And why do you need to work with the binary image rather than build from the Amazon posted source code?

= = = =

Note: You should be able to find posts here from people who **have** re-built u-boot with added features.
Well,i think the bootloader in KPW2 is not locked,so,when we in fastboot mode, we can use the command to reflash it:"fastboot flash bootloader uboot.bin".But first, we should have the "uboot.bin" which is backuped.
As we know,the "fastboot mode" doesn't like the big file for some reason,but if the device be recognize as "Android Bootloader Interface",it can be flashed big file like mmcblk0p1.img,so we can flash system using fastboot command directly.
In my opinion,now has two questions:
1.how to backup the u-boot as a ".bin" file which can be flash by fastboot command;
2.modify it(add the "Android Bootloader Interface" mode when the device boots)
boom1212 is offline   Reply With Quote
Old 12-01-2015, 12:17 PM   #4
knc1
Ex-Helpdesk Addict
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 12,238
Karma: 12451893
Join Date: Feb 2012
Location: Central Texas
Device: No PW2, KV, KOA
Sorry, not enough ram to support the "Android Bootloader Interface".
That is the reason for the Amazon (grayscale) Kindle specific fastboot.

And you don't backup u-boot.
You load a newly created binary that you built from Amazon's (special) source code.
knc1 is offline   Reply With Quote
Old 03-01-2016, 03:49 PM   #5
KindleAndroidMan
Junior Member
KindleAndroidMan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Kindle Touch2
@boom1212
You have the same problem?!
KindleAndroidMan is offline   Reply With Quote
Old 03-01-2016, 03:49 PM   #6
KindleAndroidMan
Junior Member
KindleAndroidMan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2016
Device: Kindle Touch2
@boom1212

@zxczxc and i are talking about this. I speak Chinese. You can send your QQ WeChat or email to my email"KindleAndroidMan@yopmail.com". We can talk it together!
KindleAndroidMan is offline   Reply With Quote
Old 03-07-2016, 02:28 AM   #7
zephray
Junior Member
zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.
 
Posts: 4
Karma: 605754
Join Date: Mar 2016
Location: China
Device: Kindle Paperwhite 2
Actually, you can access the uboot area with DIAGS! Just login to console and you would be able to backup the uboot with dd if=/dev/mmcblk0boot0 of=/file/name/of/backup. To flash new uboot, just enter bist fastboot in uboot and use fastboot tool to flash your new uboot to prod area.
zephray is offline   Reply With Quote
Old 03-07-2016, 06:12 AM   #8
knc1
Ex-Helpdesk Addict
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 12,238
Karma: 12451893
Join Date: Feb 2012
Location: Central Texas
Device: No PW2, KV, KOA
Quote:
Originally Posted by zephray View Post
Actually, you can access the uboot area with DIAGS! Just login to console and you would be able to backup the uboot with dd if=/dev/mmcblk0boot0 of=/file/name/of/backup. To flash new uboot, just enter bist fastboot in uboot and use fastboot tool to flash your new uboot to prod area.
That is only available with the most recent 5.6.x/5.7.y versions of the firmware.
knc1 is offline   Reply With Quote
Old 03-07-2016, 07:11 AM   #9
zephray
Junior Member
zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.zephray ought to be getting tired of karma fortunes by now.
 
Posts: 4
Karma: 605754
Join Date: Mar 2016
Location: China
Device: Kindle Paperwhite 2
Quote:
Originally Posted by knc1 View Post
That is only available with the most recent 5.6.x/5.7.y versions of the firmware.
I'm sorry cuz I'm using 5.6. However, one can also build your own uboot easily! In my post http://www.mobileread.com/forums/sho...d.php?t=271750 I have mentioned how to build a full set of uboot as well as flash them into kindle.
zephray is offline   Reply With Quote
Old 03-07-2016, 08:34 AM   #10
knc1
Ex-Helpdesk Addict
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 12,238
Karma: 12451893
Join Date: Feb 2012
Location: Central Texas
Device: No PW2, KV, KOA
Quote:
Originally Posted by zephray View Post
I'm sorry cuz I'm using 5.6. However, one can also build your own uboot easily! In my post http://www.mobileread.com/forums/sho...d.php?t=271750 I have mentioned how to build a full set of uboot as well as flash them into kindle.
Yes, indeed.
That is what I have been recommending -> build it yourself
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura HD How to modify the header? PeterOnne Kobo Developer's Corner 13 06-01-2014 12:01 AM
K3 How to show kernel boot information instead Amazon boot picture? madtrapper Kindle Developer's Corner 8 01-04-2013 09:51 AM
Can I modify the name of a custom column? lunixer Calibre 3 05-30-2011 02:20 PM
Can I modify the dictionary? youngsmoke Fictionwise eBookwise 0 11-30-2010 05:48 PM
Opus cannot boot, stuck on boot screen baloma Bookeen 35 11-13-2010 05:20 AM


All times are GMT -4. The time now is 01:00 AM.


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