Scalys TrustBox User Manual Download Page 26

 

 

 

TBOXINDS1 

 User Guide, Rev. 0.4 

 

26 |

 

P a g e

 

 

User Guide 

whole  SD  card  and  transparently  store  all  data  between  device  reboots.  This 

approach requires careful operation in conditions of unstable power source, as the 

system partition can be corrupted during power loss. It is the default organization of 

TrustBox firmware. 

-

 

system is located on the internal QSPI flash on UBIFS partition. As QSPI flash is much 

smaller than SD card, it requires for a stripped Linux build. For this purpose, Yocto-

based BSP can be used. It is available at 

https://github.com/Scalys/bsp-yocto

. Use 

of UBIFS to store system allows to have a persistent system state. This approach is 

also vulnerable to sudden power loss. 

-

 

system is stored either on SD card or on QSPI in a form of itb-image. It can be then 

loaded and used from RAM. Further operation is power safe but saving state between 

reboots should be implemented manually, depending on the intended use case. 

Boot customization 

Listed boot approaches require customization of the boot procedure. It can be done in two 

ways: boot script and u-boot environment customization. 

Boot script 

During  default  boot  procedure  U-Boot  initially  looks  for  a  file  named 

trustbox_boot.scr

  or 

trustbox_recovery.scr

 on the first partition of SD card or USB drive. This file should contain a 

list of commands needed to implement a custom boot. It can include a probe of internal flash 

memory,  loading  of  the  Linux  kernel  or  itb-image  into  RAM,  customization  of  kernel 

command line arguments and other boot parameters. 

Example  of  boot  script  that  loads  kernel  from  server  over  TFTP  and  uses  system  root 

partition from an SD card: 

setenv ipaddr 192.168.1.211 
setenv serverip 192.168.1.101 
tftpboot $kernel_addr_r uImage 
tftpboot $fdt_addr_r trustbox.dtb 
mtdparts 
s

etenv bootargs “console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 lpj=250000 

noinitrd root=/dev/mmcblk0p1 rootfstype=ext4 rw rootwait $mtdparts” 

pfe stop 
bootm $kernel_addr_r - $fdt_addr_r 

To  compile  these  instructions  into  a  boot  script  store  them  in  a  script  file  named 

trustbox_boot.cmd

 and then use 

mkimage

 utility: 

$

  mkimage  -A  arm  -O  linux  -T  script  -C  none  -a  0  -e  0  -

n  “Boot  script” 

-d 

trustbox_boot.cmd trustbox_boot.scr 

If the produced script is put in 

/

 or 

/boot

 of first 

ext4

-formatted partition of the SD card it will 

be used automatically instead of default boot procedure. 

 

 

Summary of Contents for TrustBox

Page 1: ...User Guide TrustBox_IND_S1 Doc User Guide Rev 0 4 Doc ID TBOXINDS1_UG_04...

Page 2: ...TBOXINDS1 User Guide Rev 0 4 2 P a g e User Guide...

Page 3: ...ess otherwise specified Applications and use cases that are described in this user guide are for illustration purposes only Scalys makes no representation or warranty that such application will be sui...

Page 4: ...dequate design and operating safeguards You are solely responsible for compliance with all legal regulatory safety and security related requirements concerning your products You are responsible to ens...

Page 5: ...ys com contact us 5 Product Safety Your Scalys product was developed and tested carefully to provide all features necessary to ensure its compliance with electrical safety requirements It was also des...

Page 6: ...e performing any work on this product 9 ESD Electronic board inside the TrustBox and their components are sensitive to static electricity Therefore care must be taken during all handling operations an...

Page 7: ...technical and specific environmental requirements This also applies to the operational temperature range of the specific board version that must not be exceeded If batteries are present their temperat...

Page 8: ...ACES 15 4 5 RIGHT SIDE INTERFACES 16 5 THERMAL BEHAVIOR OF TRUSTBOX 20 5 1 CONVECTION COOLING METHOD 20 5 2 MAXIMUM OPERATING TEMPERATURE 20 6 INSTALLATION INSTRUCTIONS 21 6 1 SYSTEM MOUNTING 22 7 OPE...

Page 9: ...regulations If a power cable comes with the product only this cable should be used Do not use an extension cable to connect the product To guarantee that enough air circulation is available to cool t...

Page 10: ...ctrostatic sensitive boards in protective packaging or on antistatic mats 1 2 Grounding of the Product By following the guidelines below electrostatic damage to the device can be avoided 1 Always use...

Page 11: ...EMC guidelines EMC Directive 2014 30 EU If the user modifies and or adds to the equipment e g installation of add on cards the prerequisites for the CE conformity declaration safety requirements may n...

Page 12: ...iscard the original packaging Keep it for future relocation 3 Check the delivery for completeness by comparing it with your order 4 Please keep the associated paperwork It contains important informati...

Page 13: ...OXINDS1 User Guide Rev 0 4 13 P a g e User Guide 3 3Type Label and Product Identification The type label product name serial number of your TBOXINDS1 system are located on the bottom side of the devic...

Page 14: ...s a broad range of interfaces which allow a connection on various communication levels For networking functionality it offers two 1 Gb Ethernet connections For local data collection e g link to sensor...

Page 15: ...nt View Figure 3 Scalys TBOXINDS1 front view 4 3 Side Views Figure 4 Scalys TBOXINDS1 left and right side views 4 4 Left Side Interfaces USB 3 0 The TrustBox has 2 USB 3 0 interfaces Gigabit Ethernet...

Page 16: ...vided in the packaging Figure 5 WLAN Wi Fi antenna USB 2 0 to serial I F UART The TrustBox has serial UART interface available through micro USB port Power Jack TrustBox includes a Power Supply includ...

Page 17: ...DS1 User Guide Rev 0 4 17 P a g e User Guide We have 3 add on adaptors available in the box for EU US and UK power connections EU input plug UK input plug US input plug Detailed Characteristics power...

Page 18: ...TBOXINDS1 User Guide Rev 0 4 18 P a g e User Guide...

Page 19: ...TBOXINDS1 User Guide Rev 0 4 19 P a g e User Guide...

Page 20: ...the casing The internal heatsink provides heat dissipation during operation To provide sufficient heat dissipation for the cooling of TrustBox never cover the chassis Do not place any objects on the...

Page 21: ...rt any retrieval device into the device while it is connected to power Scalys rejects all liability for any and all damages resulting from operation of the unit with foreign objects inside the chassis...

Page 22: ...vice we recommend not to mount or operate any other devices within the Restricted Area around the TrustBox IND S1 refer to the red marked area in the following Figures Figure 7 Restricted area for mou...

Page 23: ...TBOXINDS1 User Guide Rev 0 4 23 P a g e User Guide Figure 9 Restricted area for mounting around TBOXINDS1 side view and antenna restrictions...

Page 24: ...ot bootloader along with its environment PFE firmware networking implementation using Packet Forwarding Engine system by NXP PPA Primary Protected Application a software component that is loaded durin...

Page 25: ...ll connman For further configuration refer to connman documentation SSH Once network connection is set up and IP address is acquired interfacing with the device can be performed over ssh To enable it...

Page 26: ...environment customization Boot script During default boot procedure U Boot initially looks for a file named trustbox_boot scr or trustbox_recovery scr on the first partition of SD card or USB drive T...

Page 27: ...and device registered For more information refer to https docs microsoft com en us azure iot edge quickstart Once the device is registered on Azure IoT hub use the allocated connection string as devi...

Page 28: ...or proper operation For light soiling clean the TBOXINDS1 with a dry cloth Carefully remove dust from the surface of the of the chassis using a clean soft brush Stubborn dirt should be removed using a...

Page 29: ...2 0 UART converter Security Secure Boot Boot mode pins Tamper detect Tamper detect pin available in the Box no tamper resistant enclosure Power 9 12V DC 1A EU US UK Power adaptor included Operating Sy...

Page 30: ...30 P a g e User Guide 9 2 Mechanical Specifications Characteristic Value Height 30 mm Width 115 mm length 85 mm Weight 278 g 10 g Table 2 Mechanical specifications 9 3 Wall Mount Specifications Figure...

Reviews: