View Single Post
Old 01-04-2016, 03:38 PM   #38
nigredo
Member
nigredo began at the beginning.
 
nigredo's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2015
Location: italy
Device: k4nt, voyage
Finally some light... inclusive about why I got so confused.

The famous USB boot mode happens at reset, so we are with a cpu uninitialized, no dreams.
In this case: upload a uboot, upload a kernel+initramfs, run uboot that run the kernel.

At this point some people change the protocol from Serial Download Protocol to Updater Transport Protocol (the one used by utp_com, but mfgtool use too), but having a kernel there are more options.

UTP is based on SCSI messages, freescale has a kernel module that create a /dev/something.
Then a userspace daemon/program can commmunicate and handle the (few) commands, erase, flash etc. and can pass the commands to the shell too, or whatever.

UTP can be used on a normal running system (having the module), but I don't know if lab126 implemented it. I'll try to modify utp_com and see if there are answers when kindle is in normal state.

Update: I checked the kernel config, the module is disabled...

Last edited by nigredo; 01-04-2016 at 03:50 PM.
nigredo is offline   Reply With Quote