edit

Boot NVIDIA JetPack OS from SD card for J101 Carrier Board

The method is flashing NVIDIA JetPack OS to the SD card on J101 Carrier Board which is operated on the reComputer J1010. So Flash JetPack OS into reComputer J1010 first is required.

Driver Configuration

At the beginning, we need to power on the reComputer and go to the desktop like below:

Step 1 . Clone the repo

Right click and open the Terminal, and then execute the command below to download the relevant code:

git clone https://github.com/Seeed-Studio/seeed-linux-dtoverlays.git

Step 2. Compile jetson-sdmmc-overlay

Access to the workspace location:

cd seeed-linux-dtoverlays

For J101 Carrier board , We need to change the "compatible" value in this file "overlays\jetsonnano\jetson-sdmmc-overlay.dts".

sed -i '17s#JETSON_COMPATIBLE#\"nvidia,p3449-0000-b00+p3448-0002-b00\"\, \"nvidia\,jetson-nano\"\, \"nvidia\,tegra210\"#' overlays/jetsonnano/jetson-sdmmc-overlay.dts

And then we compile the file we changed to make sure they are correctly modified.

make overlays/jetsonnano/jetson-sdmmc-overlay.dtbo

Step 3. Make sure the sd card can be recognized

Insert the SD card to the J101 Carrier board.

sudo cp overlays/jetsonnano/jetson-sdmmc-overlay.dtbo /boot/
cd /boot/
sudo /opt/nvidia/jetson-io/config-by-hardware.py -l

After executing these command above, we should get the output similar to the following and we know the SD card have been regognized:

    Header 1 [default]: Jetson 40pin Header
    Available hardware modules:
    1. Adafruit SPH0645LM4H
    2. Adafruit UDA1334A
    3. FE-PI Audio V1 and Z V2
    4. MCP251x CAN Controller
    5. ReSpeaker 4 Mic Array
    6. ReSpeaker 4 Mic Linear Array
    7. reComputer sdmmc
    Header 2: Jetson Nano CSI Connector


    Available hardware modules:
    1. Camera IMX219 Dual
    2. Camera IMX477 Dual
    3. Camera IMX477-A and IMX219-B
    Header 3: Jetson M.2 Key E Slot
    No hardware configurations found!

Step 4. Name our device and Finish driver installation

sudo /opt/nvidia/jetson-io/config-by-hardware.py -n "reComputer sdmmc"

Note

You may need to reboot to run jtop after completing the installation for the first time.

Move system to SD card

First, we need to clone the script include the tools we need.

git clone https://github.com/limengdu/bootFromUSB

Second , We need to make sure the sd card is in ext4 format, which can be seen visually in the "disk" tool, if it is not ext4 we need to format it and change it to ext4 format.

And then , go to the script directory , execute the following command like this

cd bootFromUSB
./copyRootToUSB.sh -p /dev/mmcblk1p1

Wait a while, only until it finishes automatically, if no error is reported, the burning is done

Boot Configuration

Once the driver has been successfully installed and configured,we can simply view it via the command like "lsblk" or view device in "/dev".

Change boot device

We are supposed to change the configuration in "/boot/extlinux/extlinux.conf".

  • Boot from sd card

    After we boot from the emmc on the carrier board, we want to modify it to boot from the SD card. We need to make sure that the previous process, including the system burn to the sd card, and the sd card drivers are installed properly. Modify the parameters after root to the address of the device we are booting from. When we have completed our changes, reboot the system.

    Before reboot Modify "/boot/extlinux/extlinux.conf" After reboot view "/media/seeed/{xxx-xxx}/boot/extlinux/extlinux.conf"

    Note

    Our configuration file after booting the system from the sd card is "/media/seeed/{xxx-xxx}/boot/extlinux/extlinux.conf" and the configuration file after booting the system from the onboard emmc is in "/boot/extlinux/extlinux.conf" . They are the same files from which the device reads the configuration and chooses where to boot the system after power-up, and the relative paths change when the system has finished booting.

  • Boot from board emmc

    We want to change back to booting from emmc after booting from an SD card or we need to change the SD card for some purpose. Then we need to change the device back to boot from emmc first. We should make the following changes.

    Before reboot Modify "/media/seeed/{xxx-xxx}/boot/extlinux/extlinux.conf" After reboot view "/boot/extlinux/extlinux.conf"

Finally, we find it really works well.

  • Boot from emmc

  • Boot from sd card

More

Change SD card I/O speed

We provide SD card function on reComputer J101 carrier board, which supports CLK Frequency 48MHz. The CLK here is designed to achieve certificates (such as CE/FCC). If you want to increase CLK by yourself, you can use the instruction below.

  • Step 1. Clone this repository and modify the the code below.

    git clone https://github.com/Seeed-Studio/seeed-linux-dtoverlays
    
  • Step 2. Modify and Compile max-clk-limit value

    cd seeed-linux-dtoverlays
    sed -i '10s#48000000#208000000#' overlays/jetsonnano/jetson-sdmmc-overlay.dts
    make overlays/jetsonnano/jetson-sdmmc-overlay.dtbo
    sudo cp overlays/jetsonnano/jetson-sdmmc-overlay.dtbo /boot/
    sudo /opt/nvidia/jetson-io/config-by-hardware.py -n "reComputer sdmmc"
    
  • Step 3. Reboot

    reboot
    

Tech Support

Please do not hesitate to submit the issue into our forum.