Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Didj Common Commands"

From eLinux.org
Jump to: navigation, search
(Created page with 'This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the [h…')
 
m (Manufacture's Partition)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the [http://www.elinux.org/Didj#Tutorials.2FHow_To.27s Tutorials/How To's]section of the Didj Wiki main page.
+
This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the [[Didj#Tutorials.2FHow_To.27s Tutorials|How To's]]section of the Didj Wiki main page.
  
 
== AppManager ==
 
== AppManager ==
  
''Shutdown or Start up AppManger''
+
==== Stop Start Restart ====
 +
 
 +
/etc/init.d/lightning (start | stop | restart)
 +
 
 +
==== Permanently Prevent Starting ====
 +
First, make the root partition mountable.
 +
 
 +
In the /etc/rc.d folder, remove these files, or back them up to a different folder.
 +
 
 +
rm K50example
 +
rm S50example
 +
rm K51lightning
 +
rm S51lightning
  
/etc/init.d/lightning (start | stop | restart)
 
  
 
== USB ==
 
== USB ==
  
'''mass_storage'''
+
==== USB File Storage ====
 +
The USB mass_storage driver on the stock Didj, requires a few commands be run after its been connected to a host PC, before it will mount like a normal USB drive.
  
''enable/disable''
+
'' On Didj ''
  
usbctl -d mass_storage -a enable
+
''' Mount on Host '''
  
usbctl -d mass_storage -a disable
+
usbctl -d mass_storage -a enable
 +
usbctl -d mass_storage -a unlock
  
''unlock''
+
''' Mount on Didj '''
  
usbctl -d mass_storage -a unlock
+
usbctl -d mass_storage -a disable
 +
usbctl -d mass_storage -a lock
  
Use enable and unlock to make USB drive accessible from host computer.
 
  
== Mounting Commands in Didj ==
+
''' Normal Mount Command '''
  
(note) NAND partitions can not be shared by USB host and device simultaneously.
+
Mount the /Didj file system
Developers should use the usbctl command judiciously to avoid corrupting NAND.
+
mount -t vfat -o async,noatime /dev/mtdblock9 /Didj
  
  
''Mount the Manufacturers partition''
+
== Make Root Partition Writable ==
 +
 
 +
(note) NAND partitions can not be shared by USB host and device simultaneously.
 +
Developers should use the usbctl command judiciously to avoid corrupting NAND.
  
mount -t jffs2 $mfgdatamnt /mnt2/mfg
+
'' On Didj ''
 +
mount -o remount, rw /
  
 +
== Manufacturer's Partition ==
  
''Remount the Manufactures partition as RW''
+
''Mount Partition''
 +
mount -t jffs2 $mfgdatamnt /mnt2/mfgfg
  
mount -o remount,rw /mfgdata
+
'' Make Writable ''
 +
mount -o remount,rw /mfgdata
  
 +
== Display Commands ==
  
''Remount the root fs as R''W
+
''Power off the screen''
 +
 +
mlc-control /dev/mlc s enable off
  
mount -o remount, rw /
 
  
-or-
 
  
mount /dev/root / -o remount,rw
+
[[Category:Didj]]
 +
[[Category:LeapFrog Pollux Platform]]

Latest revision as of 09:09, 15 July 2011

This is a collection of useful commands to have when accessing your Didj from the command prompt. Its meant as a quick reference guide, for more complex procedures look in the How To'ssection of the Didj Wiki main page.

AppManager

Stop Start Restart

/etc/init.d/lightning (start | stop | restart)

Permanently Prevent Starting

First, make the root partition mountable.

In the /etc/rc.d folder, remove these files, or back them up to a different folder.

rm K50example
rm S50example
rm K51lightning
rm S51lightning


USB

USB File Storage

The USB mass_storage driver on the stock Didj, requires a few commands be run after its been connected to a host PC, before it will mount like a normal USB drive.

On Didj

Mount on Host

usbctl -d mass_storage -a enable
usbctl -d mass_storage -a unlock

Mount on Didj

usbctl -d mass_storage -a disable
usbctl -d mass_storage -a lock


Normal Mount Command

Mount the /Didj file system

mount -t vfat -o async,noatime /dev/mtdblock9 /Didj


Make Root Partition Writable

(note) NAND partitions can not be shared by USB host and device simultaneously. Developers should use the usbctl command judiciously to avoid corrupting NAND.

On Didj

mount -o remount, rw /

Manufacturer's Partition

Mount Partition

mount -t jffs2 $mfgdatamnt /mnt2/mfgfg

Make Writable

mount -o remount,rw /mfgdata

Display Commands

Power off the screen

mlc-control /dev/mlc s enable off