yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Jetson CUBE case📖
0.ReadMenew
  • ReadMe
1.Assembly Tutorial
  • 1.Installation Video
  • 2.Wiring Instructions
2.Drive Tutorials
  • 1. Install CubeNano driver library
  • 2. OLED display
  • 3. Fan drive
  • 4. RGB Light Bar Driver
  • 5. Setting up boot-up
Download
  • Instruction Manual
  • I2C Protocol
  • Code
  • Drive_ORIN_22.04
  • Drive_JetsonNANO_ORIN_20.04
Download ZIP

Welcome to Jetson CUBE case repository

5. Setting up boot-up

5. Setting up boot-up

Setting up boot-up

Setting up boot-upI. Learning ObjectivesII. Preparing for the experimentIII. Setting up the boot self-start service1. Copy the file2. Managing Configurations3. Managing services4. Run kill_oled.shIV. Experimental phenomena

I. Learning Objectives

  • Understand the basic use of service
  • Setting up a custom bootloader
  • To understand how to add and remove file execution permissions.

To set the status of the OLED display, fan and RGB light bar on the Jetson series motherboards after powering on the system using the relevant files already written, the specific principles are not explained here, read the relevant code by yourself to understand.

II. Preparing for the experiment

Follow the assembly video tutorial to install the Jetson CUBE Nano chassis, or refer to the "Jetson CUBE Nano chassis_hardware wiring" tutorial document for installation, here to show the chassis expansion board and related hardware connections.

image-20230715204505212

Chassis Expansion Board3.3VSDASCLNCGNDNC
OLED screen3.3VSDASCLNCGNDNC

1

Chassis expansion board3 Pin connector2 Pin connector
 RGB light barFan

III. Setting up the boot self-start service

Copy the RGB_Box.zip file in the information to the Home directory in the Jetson motherboard system, after decompressing the file, you need to change the path name within the kill_oled.sh and yahboom_oled.service files according to your own directory; if the paths are different, modify the location of the following figure.

3

1. Copy the file

Copy yahboom_oled.service to the /etc/systemd/system path.

sudo cp yahboom_oled.service /etc/systemd/system

2. Managing Configurations

Use the systemctl tool to load and manage configurations.

xxxxxxxxxx
systemctl daemon-reload 

3. Managing services

Manage the yahboom_oled service.

  • Starting the yahboom_oled service
xxxxxxxxxx
systemctl start yahboom_oled
  • Stop yahboom_oled service.
xxxxxxxxxx
systemctl stop yahboom_oled
  • Restart yahboom_oled service
xxxxxxxxxx
systemctl restart yahboom_oled
  • Setting up the yahboom_oled service to start on boot
xxxxxxxxxx
systemctl enable yahboom_oled
  • Disable yahboom_oled service boot-up self-start
xxxxxxxxxx
systemctl disable yahboom_oled

4

Note: The picture is to demonstrate the effect of each command after running, run the command yourself according to your needs.

4. Run kill_oled.sh

Running the kill_oled.sh file will stop the yahboom_oled service and the yahboom_oled service process, at this time the OLED display will not show anything.

  • Add executable permissions
xxxxxxxxxx
chmod +x kill_oled.sh 
  • Cancellation of executable privileges
RGB Light Bar Driver

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文