DSBOX-N Kernel & DeviceTree Update - Forecr.io

DSBOX-N Kernel & DeviceTree Update

Jetson Nano

21 February 2021
WHAT YOU WILL LEARN?

1-Updating the kernel image 

2-Updating the dtb file 

3-Updating all partitions 

ENVIRONMENT

Operating System: Ubuntu 18.04.3 LTS

CPU: AMD Ryzen 9 3900X 12-Core Processor

RAM: 8 GB DDR4 - 3200MHz

In this blog post, we will explain how to update kernel and “.dtb” files for forecr DSBox-N model. Firstly, you must have new binaries which will be updated. For this, you can check out our DSBox Kernel & DeviceTree Development post.

You have your files and you want to install them to DSBox-N? OK, but you have to copy them to JetPack system path to use JetPack system. Before you copy your new files, we recommend to get backup of your original files.

Copy your newly developed kernel Image file to kernel directory inside your JetPack system.




Copy your newly developed device tree binary to dtb directory inside your JetPack system.




Then you can update your image on DSBox-N.


Updating the kernel image 


Update Kernel Image:

Start your DSBox-N on normal mode and connect it to your network. Copy kernel image file to DSBox-N 's /boot folder from your host PC. For this use “scp” command for Linux OS.



Sometimes kernel development could be problematic. If your DSBox-N not booting after kernel update, you should use another way to update kernel image. First connect your DSBox-N 's recovery and debug usb ports to your host PC and start DSBox-N on normal mode.


After power on stop boot process by pressing any key to reach U-Boot console. After reaching console you can connect your board eMMC to the host PC as a set of USB mass storage devices with using "ums" command.



Open file system partition and copy your backup kernel image to /boot directory.


Updating the dtb file 


Update .dtb File:

Connect your DSBox-N to host PC and start it on recovery mode. Use "flash.sh"script to update only device tree binary.


 Updating all partitions


Open a terminal on Jetpack path and use "flash.sh" script for update. This will update everything on your DSBox-N including your file system so be careful.

Disclaimer: After this command you will lose everything inside your file system.



Don't you have JetPack or development environment? No problem, check out our DSBox Kernel & DeviceTree Update Without Using JetPack blog post.

Thank you for reading our blog post.