NAND and Partition Setup
The default MMB Reference Image is designed to use an A | B partition scheme, meaning there will always be a valid working copy on board to fail back to in case of failure. The Root File System (including libraries, and language run times) is on a separate partition from Customer Applications. Because of this, you can upgrade your application, the Root File System, or both. You can choose whether to use an MMB-provided Root File System with your Application or develop both pieces to meet your own requirements.
On request, this layout can be changed to support your needs. Alternatively, you can make this change on your own by editing the sources.
Partition Layout
Partition | Name: | Approximate Size |
---|---|---|
1 | reserved | ~10 MB |
2 | rootfs1 | ~270 MB |
3 | app1 | ~147 MB |
4 | rootfs2 | ~270 MB |
5 | app2 | ~147 MB |
6 | data | ~116 MB |
Descriptions
Root File System Partitions ( rootfs1 & rootfs2 )
Contains all libraries and run times needed. For instance, the Java JVM and full server class library are located here, so as to not impact available disk space for your applications. This partition is customizable to add or remove libraries according to your needs.
Application ( app1 & app2 )
Partition to contain all customer application code. This is currently mounted to /home/mmb/
Data ( data )
Gateway systems, and customers can use this region to store data that must persist after an upgrade of the Gateway Root File System, or Application partitions. Examples include: Wifi commissioning data, Cloud commissioning data, Error logs, Customer Databases
systemcfg ( systemcfg )
Used for storing unique Gateway data from the factory. In production is Read Only, but read/ writable on development units. Things like device serial number, mac address, manufacturing date code are all stored here.
Legal Notices
Copyright © 2020 MMB Networks, Inc. All rights reserved.
Confidential materials prepared and delivered by MMB Networks for receipt and review only by any partner subject to a valid and enforceable MMB Networks confidentiality agreement. Any receipt, review, or misuse of any of the content exchanged hereunder by any party not a party to this confidential exchange shall be subject to any and all rights available under the law. All rights, title and interest to the materials shall remain with MMB Networks.
Any suggestions provided to MMB Networks with respect to MMB Networks' products or services shall be collectively deemed “Feedback.” You, on behalf of yourself, or if you are providing Feedback on behalf of your employer or another entity, represent and warrant that you have full legal authority to bind such entity to these terms, agree to grant and hereby grant to MMB Networks a nonexclusive, perpetual, irrevocable, royalty free, worldwide license to use and otherwise exploit such Feedback within any MMB Networks products and services.