Files:
http://ge.tt/8bd9NXU/v/1 &
http://ge.tt/8bd9NXU/v/0
Resources:
https://github.com/aditya3098/imx_usb_loader
Simple linux fastboot installing command:
https://www.mobileread.com/forums/sho...80&postcount=1
Get files
Install fastboot if we need to ON THE PC
sudo wget http://www.sudoforlunch.org/fastboot -O /usr/bin/fastboot && sudo chmod -cvR a+x /usr/bin/fastboot
(also you can read
for reference:
https://www.mobileread.com/forums/sho...&postcount=225)
Device K4 Silver:
Do Magic Key reboot. Pwr + Dwn
(choose fastboot ON THE PC)
sudo ./imx_gui
do the kernel remotely while we have the connetion ON THE PC
me@dev ~/GIT/imx $
sudo fastboot flash kernel /home/me/K4IMAGES/main_kernel
Quote:
downloading 'kernel'...
OKAY [ 0.150s]
writing 'kernel'...
OKAY [ 0.603s]
finished. total time: 0.753s
|
reboot to diags to do the main image: ON THE PC
me@dev ~/GIT/imx $
sudo fastboot setvar bootmode diags
Quote:
setting 'bootmode' to 'diags'...
bootmode diags:
finished. total time: 0.150s
|
ON THE PC
me@dev ~/GIT/imx $
sudo fastboot reboot
In the Kindle Diags screen:
Enable Usb Network:
Quote:
N misc
U Utilities
Z usbnet
X continue
Left <
|
Hookup your machine in whatever way your OS needs.
For me an ifconfig of the usb port would do it. Then selecting that as the main network before I try to ssh...or scp... Some fiddling with host files may be required. it's not that tough to get past this section whatever your OS but is a popular stumbling place.
Put our files on if we didn't already...: ON THE PC
scp ./mmcblk0p1.img root@ktdb:/mnt/us/
Quote:
root@ktdb's password:
mmcblk0p1.img 100% 350MB 1.9MB/s 03:05
|
(you could export ktdb=192.168.15.244 or use a hosts file, or refer by IP, etc...)
ON THE PC
me@dev ~/GIT/imx $
ssh root@192.168.15.244 \
dd if=/mnt/us/mmcblk0p1.img \
of=/dev/mmcblk0p1 bs=1024
Quote:
358400+0 records in
358400+0 records out
367001600 bytes (350.0MB) copied, 305.112103 seconds, 1.1MB/s
|
Reboot, exit Diags with export to xml if you want to be extra thorough, or just set the mode or whatever to main.
K4 debrick. chalk it up.
Huge thanks to Knc1, Geekmaster, Eureka, Ixtab, aditya3098, Silver18, qlob, duckieTigger, Yifan and everyone else along the way