mangOH Red Getting Started
Rev 2 8/23/17
e. In the terminal window, open the folder and run the file.
(In the command below, replace <file_name> with the actual file name.
e.g. If the file name is "poky-swi-ext-sample-1.7.3.sh", the command would be
"bash poky-swi-ext-sample-1.7.3.sh"):
$ cd ~/Downloads
$ bash <file_name>
f.
When prompted to enter a target directory for the SDK, press Enter to accept
the default (/opt/swi/y17-ext).
g. When prompted to install or (possibly) replace the SDK, type 'Y' and press
Enter.
When finished, installing, the message "SDK has been successfully set up
and is ready to be used." will appear.
h. Configure the toolchain to make it available for use in generating the
mangOH Red platform and the kernel modules that it references:
$ export PATH=$PATH:/opt/swi/y17-ext/sysroots/\
x86_64-pokysdk-linux/usr/bin/\
arm-poky-linux-gnueabi
$ cd /opt/swi/y17-ext/sysroots/\
armv7a-vfp-neon-poky-linux-gnueabi/usr/\
src/kernel
$ sudo chown -R $USER .
$ ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- \
make scripts
$ sudo chown -R root .
20
41110481