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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2012, 02:59 PM   #1
Ginnder
Junior Member
Ginnder began at the beginning.
 
Posts: 4
Karma: 44
Join Date: Oct 2012
Device: Kobo Glo
Getting into trouble: Providing the Glo OS partitions for USB mounting

Edit: Bah! ignore my ramblings... George T set me straight quickly.
If you do this, there is no sync between the flash and the file-system. (writing from you computer probably won't line up with what the Kobo writes.)

*************************************

So, you want to mount the Glo's OS partition as well as the FAT drive?
(mostly for linux users because the OS is an ext4 partition)

*** BE VERY CAREFUL ***
If you mount the root or backup partitions and delete or edit the wrong files, you may brick your device.
This will also expose the production data at the start of the flash memory...



After you add telnet, ftp or dropbear (http://www.mobileread.com/forums/sho...d.php?t=141388), you'll have scripts that run at startup, something like /etc/init.d/rcS2, or /mnt/onboard/run.sh depending on the guide you used.

Add these lines to the startup script:

insmod /drivers/ntx508/usb/gadget/arcotg_udc.ko
insmod /drivers/ntx508/usb/gadget/g_file_storage.ko file=/dev/mmcblk0 stall=0

When you plug your device into your computer select "Cancel" on the "Computer Detected" popup because the devices are already set up for mounting.

The FAT partition still mounts in Windows.

I'm not sure if this drains the battery any faster. Kobo didn't use the drivers like this for *some* reason

The rootfs (generally the partition currently running) is the first partition, the second is the recoveryfs, and the third is the FAT drive.

Last edited by Ginnder; 10-18-2012 at 04:52 PM.
Ginnder is offline   Reply With Quote
Old 10-18-2012, 04:32 PM   #2
george.talusan
Kobo Developer Intern
george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.george.talusan ought to be getting tired of karma fortunes by now.
 
george.talusan's Avatar
 
Posts: 80
Karma: 216303
Join Date: Apr 2010
Location: Toronto, ON
Device: Kobo Touch, Kobo Mini, Kobo Glo
You really don't want to do this.

If the Kobo application writes to the partition while it's mounted over USB gadget then you'll run into big problems.
george.talusan is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Skip Read-Only partitions rstolli Devices 0 02-21-2012 03:56 PM
After burning image, should there be 2 partitions? SCION Nook Developer's Corner 2 01-09-2011 05:24 PM
PRS-505 Trouble transferring ebooks via USB Annetteg Sony Reader 9 06-02-2010 06:57 AM
Edge not mounting via mini USB on a Linux system. kenjennings enTourage Archive 5 04-09-2010 01:07 PM
USB Mounting on OS X ig88 iRex 4 07-21-2007 01:13 AM


All times are GMT -4. The time now is 06:24 AM.


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