The default image on the application dev kit here seems to have a number of applications that we won’t want to use on our application, and the image takes up so much memory that I’m concerned as to if there will be room to deploy and debug our application on the device hardware directly.
Is there any documentation on deploying a changed image with some of the built in applications and features removed? The Email application and the File browser are two that we not only won’t need, but don’t want the users to utilize on the system, and I’m sure there are some other features of the system we won’t be using. The 18 megabytes remaining seem like they would run out quickly as our application is barely started and is already taking 1 megabyte.
Alternately, is there any way to have the ADB deploy and debug the application directly in the SD Card file system instead of trying to utilize the small amount of internal flash storage? This would allow us to utilize significantly more space.
Kazriko,
what product are you working with? CC3G?
what development kit do you have? NETOS? linux?
keith
Hello Kazriko,
As you say, the default image includes several default applications with it. If you want to remove them, you can do it by several ways:
1.- Disable those applications in the sources and rebuild the image. To do so, you will need to uncompress the sources, modify these makefiles:
build/target/product/core.mk
build/target/product/generic.mk
And the perform a full build.
2.- Remove the applications from the file system directly (brute force). To do it this way, you only need to open the serial connection with the device, navigate to /system/app/ and remove the applications you don’t want.
There is also the possibility of installing your application in the SD Card. To do so, you will need to include a new parameter in your application Manifest.xml file. In the root element, you have to include the android:installLocation attribute. This attribute has 3 possible values:
-
internalOnly: This is the default one. Means that the application cannot be installed in the SD Card.
-
preferExternal: Means that the application would like to be installed on the SD Card.
-
auto: Means that the application can be installed in either location.
If you use preferExternal, then your application will be initially installed on the SD Card in most cases. Android reserves the right to still install your application in the internal storage in cases where that makes too much sense (for example when there is not SD card installed). Here is an example of the manifest header:
If your application is already installed, you have the option to “manually” move it to the SD Card. To do so, open the Settings application, navigate to the Applications option, click on Manage Applications, select your application and in the new window click on Move to SD Card (The option will be enabled only if you specified the installLocation parameter with preferExternal or Auto values).
Hope that helps,
Kind regards.
I also think you can increase Internal storage of the module.
Hello Kazriko, I think you can increase Internal storage of the module. To do this ,modify the partition table using the command “flpart”, i do not know exactly it is recommended one or not. for more information directly check with digi tech support @ this mail id : support.wizards@digi.com.
Hello Kazriko, I think you can increase Internal storage of the module. To do this ,modify the partition table using the command “flpart”, i do not know exactly it is recommended one or not. for more information directly check with digi tech support @ this mail id : support.wizards@digi.com.
Ok, if I can’t figure it out while compiling the new image, I’ll send them an email.
Thanks for that help descalon. That should be almost everything I need.
Are there any instructions around for replacing the image on the controller?
The link you have provided doesn’t work. Send another link.
Hello , If you are uisng the CCWi-i.MX53 512/512 variants , The below link will be useful to increase internal storage memory
http://www.digi.com/support/kbase/kbaseresultdetl?id=3304
This thread helps me so much so solving my problems. Thanks share more information.