Custom Software Loadable

To release software on an aircraft, developers can create, release and deliver custom software loadables for portals.

The makeloadpl tool allows builds of two types of software loadable components:

  • Single Software Binary Loadable Component: contains only one embedded binary image (cram/loop/kernel)
  • Multiple Software Binaries Loadable Components: contains two or more embedded binary images.

Note: If creating a portal content loadable for a NEXT system, please use Unity CLM. In addition, Unity CLM should be used to create content loadables for Interactives. The application has built in NBD manifest registration and auto signs certs for NEXT systems.

Requirements

  • Portal Content Loadable Part Number -- For additional information on obtaining a content loadable part number, please contact your Panasonic focal.
  • Operating Systems
  • Perl version 5.18.2
  • Ubuntu Linux versions 14.04, 16.04 or 18.04
  • Portal Content Loadable Script -- For the additional information on the makeloadpl tool, please contact your Panasonic focal.

Install Makeloadpl Perl Package

Follow these steps:

  1. Install cpan (Comprehensive Perl Archive Network)

  2.   $ sudo yum install cpan
    
  3. To install or upgrade the necessary packages, run the following as root

  4.   # cpan DBI XML::DOM Config::INI Archive::Tar Getopt::Std
    
  • Install the following on Perl
  libxml-dom-perl libconfig-ini-perl php5-gmp php5-curl
  libdbi-perl
  libdbd-mysql-perl
  perl-XML-RegExp-0.03-7.el6.noarch
  perl-DBD-MySQL-4.013-3.el6.x86_64

  $ sudo yum install perl-DBD-mysql
  • Install the following on Ubuntu:
  $ sudo apt-get install libdbd-mysql-perl

Build Software Loadable

To begin:

  1. Run the following:
  yum install libxml2 xmlstarlet

Create Software Loadable

The makeloadpl tool allows builds of two types of software loadable components:

  • Single Software Binary Loadable Component: contains only one embedded binary image (cram/loop/kernel)
  • Multiple Software Binaries Loadable Components: contains two or more embedded binary images

Single Binary Builds

To create a single software binary component loadable that contains only one embedded binary image (cram/loop/kernel), follow these steps:

  1. Specify the sample command parameters and VERSION.TXT component configuration file:

VERSION.TXT
  prefix=thirdpartyApp
  version=01.02.0.0
  partnumber=00000888
  stage=3
  download_id=4
  reboot=No
  command=NONE
  lru=196,1,/usr/app2:196,0,/usr/app
  1. Run the makeloadpl command:
 make_load.pl -v VERSION.TXT -l -f test.loop

Multiple Binaries Builds

Multiple software binaries loadable components contain two or more embedded binary images.

As needed, this software multi-binaries component may contain an associated binary image for the parent component.

All child components require an associated binary image.

Follow these steps:

  1. Specify the sample command parameters and VERSION.TXT and UID.TXT component configuration files:

  2. VERSION.TXT
      prefix=thirdpartyApp
      version=01.01.0.0
      partnumber=00000001
      multibinaries=000001FW,test1.loop:000001FY,test2.loop
    
    UID.TXT
      [000001FW]
      prefix=iXplor
      stage=3
      reboot=No
      command=NONE
      download_id=3
      lru=196,1,/usr/app2:196,0,/usr/app
    
    [000001FY]
      prefix=iXplor2
      stage=3
      reboot=Yes
      download_id=3
      lru=196,1,/usr/app2:196,0,/usr/app
    
  3. Run the makeloadpl command:
 make_load.pl -v VERSION.TXT -u UID.TXT -l