View Single Post
Old 01-02-2012, 03:15 AM   #281
FDD
Connoisseur
FDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheeseFDD can extract oil from cheese
 
Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
M92 firmware update process

Quote:
Originally Posted by peterx View Post
lunohod said that you can flash a custom firmware, but it is not documented anywhere how this should be done.
This is a bit off-topic, but...
The firmware update for M92 is similar to the one for previous devices (e.g. M90) but since it has an internal SD card instead of a plain flash, there are differences; it uses ext4 as a filesystem for the internal partition instead of YAFFS2, and the upgrade file is a password protected zip (Google doesn't know the password, but it can be recovered with some effort... zip files aren't that good) instead of a aes-encrypted image of the root filesystem. The initramdisk checks if there is any update-XXXXXXXX.zip (X=digit) on the external sd card, if so it erases the root file system and extracts the zip file there. If there are files in the /boot directory they are flashed accordingly (they are: boot/boot-splash, boot/uImage, boot/uImage-initramfs); the whole boot directory is erased and the device is rebooted.
What happens now depends on the new firmware, usually /etc/appstart.sh is executed and if /etc/firstboot.sh exists it is executed and removed. Hope this clears things up a bit.

Last edited by FDD; 01-02-2012 at 03:26 AM. Reason: Typos
FDD is offline   Reply With Quote