background image

ADLINK

Tec

hnology

Inc.

Confiden

tial.

2021-03-18

ROScube Pico BSP

Quick Start Guide

Document Generated Date : 2021-03-18

Document Released for: copyright

More information are available at

ADLINK Technology Inc. Advanced Robotic Platform Group

Summary of Contents for ROScube Pico BSP

Page 1: ...n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP Quick Start Guide Document Generated Date 2021 03 18 Document Released for copyright More information are available at ADLINK Technology In...

Page 2: ...the product or documentation even if advised of the possibility of such damages Environmental Responsibility ADLINK is committed to fulfill its social responsibility to global environmental preservat...

Page 3: ...co image 5 2 1 Prerequisite 5 2 2 Board Level ROScube Pico Flashing Image 5 2 2 1 1 Set ROScube Pico into recovery mode 5 2 2 2 2 Connect Host PC and ROScube Pico with micro usb cable 10 2 2 3 3 Prepa...

Page 4: ...System Image to Target Machine 23 4 3 Prepare a Bootable Disk 23 4 4 Boot from the Bootable Disk 24 5 Nvidia Jetson Software Stack 25 5 1 Version Table 25 5 2 JetPack SDK Installation 25 5 3 JetPack...

Page 5: ...ing rule mfi_ model name _ filesystem and distro type _ L4T version Kernel kernel version tbz2 For example mfi_npn2_nvidia ubuntu rootfs bionic_L4T 32 4 4 Kernel 1 0 7 tbz2 1 1 1 Model Name npn1 ROScu...

Page 6: ...o NX Bring up ROScube Pico Pinmux generial I Os Add FAN and GPIO TachoMeter driver and device tree Add CanBus device tree Add Tegra GPIO device tree Set up Tegra internal ethernet device tree Set up U...

Page 7: ...Scube Pico Nano First release ROScube Pico Nano NPN2 ROScube Pico NX Add OTA server for future use 1 2 8 L4T 32 4 3 Kernel v1 0 7 NPN1 ROScube Pico Nano Drive all external GPIO and PWM pins to 0 Enabl...

Page 8: ...c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 1 2 9 L4T 32 4 4 Kernel v1 0 7 NPN1 ROScube Pico Nano Upgrade to Nvidia L4T 32 4 4 NPN2 ROScube Pico A...

Page 9: ...thout chassis 2 System level ROScube Pico With chassis 2 1 Prerequisite Before flashing image to ROScube Pico you should prepare the following items Host PC with Ubuntu 18 04 or 20 04 operating system...

Page 10: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 2 Power on ROScube Pico Press power button 6...

Page 11: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 3 Short Pin 09 and Pin 10 and hold short status 7...

Page 12: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 4 Hold Pin 09 and Pin 10 short status and press Reset button 8...

Page 13: ...K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 5 Release Short pins and pull out short pins Now ROScube Pico is in recover...

Page 14: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 2 2 2 2 Connect Host PC and ROScube Pico with micro usb cable 10...

Page 15: ...le rootfs_L4T 32 4 3 Kernel 1 0 6 tbz2 Un archive this file first tar xvf mfi_npn2_nvidia sample rootfs_L4T 32 4 3 Kernel 1 0 6 tbz2 Then use BSP internal tool nvmflash sh to run the flashing procedur...

Page 16: ...ico BSP version Release l4t 32 4 4 kernel 1 0 7 2 3 System Level ROScube Pico Flashing Image 2 3 1 1 Set ROScube Pico into recovery mode 1 Connect power cable to ROScube Pico 3 Short Pin 03 and Pin 04...

Page 17: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 5 Release Short pins and pull out cable 13...

Page 18: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 Now ROScube Pico is in recovery mode 14...

Page 19: ...A D L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 2 3 2 2 Connect Host PC and ROScube Pico with micro usb cable 15...

Page 20: ...le rootfs_L4T 32 4 3 Kernel 1 0 6 tbz2 Un archive this file first tar xvf mfi_npn2_nvidia sample rootfs_L4T 32 4 3 Kernel 1 0 6 tbz2 Then use BSP internal tool nvmflash sh to run the flashing procedur...

Page 21: ...l 1 0 7 2 4 Massive Flashing nvmflash sh supports massive flashing which means you can attach multiple ROScube Pico and run nvmflash sh to flash the image to multiple boards at the same time Warning P...

Page 22: ...cat etc nv_tegra_release To check kernel version please use the following command uname a 3 3 Hardware Monitor Since generic x86 computer with Nvidia GPU PCIe card under linux has a tool nvidia smi to...

Page 23: ...n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 Overall Hardware Monitor Screenshoot GPU RealTime Monitor Screenshoot CPU RealTime Mon...

Page 24: ...L I N K T e c h n o l o g y I n c C o n fi d e n t i a l 2 0 2 1 0 3 1 8 ROScube Pico BSP version Release l4t 32 4 4 kernel 1 0 7 Note Before using jetson stats you should install nvidia jetpack first...

Page 25: ...to create a board specific image base on several rootfs selection here s what we support 1 nvidia_sample_rootfs Nvidia provided sample file system Please download the correct L4T version from https de...

Page 26: ...m and install packages or put files to filesystem That allows user to put their software and configurations into rootfs Mount host environment to filesystem sudo apt update qemu user static cd driver...

Page 27: ...ep customize rootfs You can use flash sh tool to flash image to target machine Remember to put machine into recovery mode before flashing Put machine into recovery mode first sudo flash sh target name...

Page 28: ...d card sudo dd if sd blob img of dev mmcblk0p1 bs 1M oflag direct 4 4 Boot from the Bootable Disk Modify extlinux conf in the target machine extlinux conf is located at boot extlinux extlinux conf Fin...

Page 29: ...hat users can download Nvidia JetPack from Nvidia s official APT repository For ROScube Pico users you can use apt to install Nvidia JetPack com poments e g tensorrt cuda Before installing JetPack SDK...

Page 30: ...xport PATH CUDA_HOME bin PATH export LD_LIBRARY_PATH CUDA_HOME lib64 LD_LIBRARY_PATH 2 Check nvcc is workable nvcc version nvcc NVIDIA R Cuda compiler driver Copyright c 2005 2019 NVIDIA Corporation 3...

Page 31: ...pStream SDK occupy 17GB which might not sufficient for ROScube Pico s internal eMMC storage space User might con sider a larger space SD Card and use it as a bootable disk 5 5 DeepStream SDK Example U...

Reviews: