博文

目前显示的是 七月, 2017的博文

Enable CFDP protocol transmit on ION-DTN

图片
CFDP (CCSDS File Delivery Protocol), another application-layer service that is not part of the DTN architecture but utilizes underlying DTN protocols. CFDP performs the segmentation, transmission, reception, reassembly, and delivery of files in a delay-tolerant manner. ION’s implementation of CFDP conforms to the “class 1” definition of the protocol in the CFDP standard, utilizing DTN (BP, nominally over LTP) as its “unitdata transport” layer.


That is to say, CFDP is another application layer protocol based on the DTN protocol stack, which is mainly used for file transmission.

So, how to open the protocol transport in ION?
ION gives a test of the demo CFDP, located in the tests/cfdpv1 folder, you can see contains two nodes, that is the point to point to each other, first look at node 1, contains a lot of RC files and some startup files, as shown below:


Among them, we are most concerned about is the ionstart file, because we all know that the DTN protocol is open using the ionstart script …

RTEMS USB support for BBB document

RTEMS-libbsd USB Support For BBB
How to build RSBCreate new foldersandbox="$PWD/sandbox" mkdir sandbox cd "$sandbox"Get RSB source codegit clone git://git.rtems.org/rtems-source-builder.gitCheck the environmentcd "$sandbox"cd rtems-source-builder/source-builder./sb-checkConfigure and build RSBcd ../rtems../source-builder/sb-set-builder --prefix="$sandbox/rtems-4.12" 4.12/rtems-arm


How to build RTEMSGet RTEMS source codegit clone git://git.rtems.org/rtems.gitConfigure and build RTEMS for BBB BSPcd "$sandbox" cd rtems PATH="$sandbox/rtems-4.12/bin:$PATH" ./bootstrap; ./bootstrap -pcd "$sandbox"mkdir BBB_installcd BBB_installPATH="$sandbox/rtems-4.12/bin:$PATH" "$sandbox/rtems/configure" \ --target=arm-rtems4.12 --prefix="$sandbox/rtems-4.12" \ --disable-networking --enable-rtemsbsp=beagleboneblackPATH="$sandbox/rtems-4.12/bin:$PATH" make PATH="$sandbox/rtems-4.12/bin:$PAT…

Implemention of RTEMS-libbsd FDT support for BBB

The previous blog article describes how to implement FDT on RTEMS. This article will show you how to implement FDT support on RTEMS-libbsd.

The implementation of the rtems-libbsd management bus is in the nexus-devices.h file, that is, rtemsbsd/include/bsp/nexus-devices.h
/* * Copyright (c) 2013-2015 embedded brains GmbH.  All rights reserved. * *  embedded brains GmbH *  Dornierstr. 4 *  82178 Puchheim *  Germany *  <rtems@embedded-brains.de> * * Copyright (c) 2016 Chris Johns <chrisj@rtems.org> All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: