481
edits
mNo edit summary |
|||
Line 49: | Line 49: | ||
Before flashing check if your board is running '''U-Boot version 2018.07'''. This version is required for booting Ubuntu. | Before flashing check if your board is running '''U-Boot version 2018.07'''. This version is required for booting Ubuntu. | ||
The U-Boot version can be checked if you use a serial cable and a terminal with minicom. | |||
After powering up the board, the first line in the serial terminal will display the U-Boot installed in your board. | |||
<pre> | |||
U-Boot 2018.07-35581-gb89789f (May 13 2019 - 17:05:20 -0700), Build: jenkins-uboot_v2018.07-71 | |||
</pre> | |||
===Updating U-Boot=== | |||
If you need to upgrade your U-Boot, please follow the instructions below: | |||
* Download U-Boot and upgrade script from [https://boundarydevices.com/u-boot-v2018-07/ | here]. | |||
* Save required files (u-boot.nitrogen8m and upgrade.scr) into a USB (FAT format) in the root. | |||
* Plug int the USB in the Nitrogen8m. | |||
* Use a serial cable to enable a terminal using minicom. | |||
* Power up the board and hit any key to enter the U-Boot console. | |||
* Run the next command to upgrade U-Boot | |||
<pre> | |||
run upgradeu | |||
</pre> | |||
* After flashing, reset the board with the reset button. | |||
===Host Machine configuration=== | |||
Install the following packages before flashing the board: | Install the following packages before flashing the board: | ||
Line 57: | Line 84: | ||
</pre> | </pre> | ||
Now, enable fastboot mode in the board by pushing the green button labeled as fastboot and connect the Nitrogen8M to a host machine. | Now, enable fastboot mode in the board by pushing the green button labeled as fastboot and connect the Nitrogen8M to a host machine using the OTG port, an USB 2.0 cable is recommended to enable the connection without issues. | ||
The fastboot mode can also be enabled from U-Boot, follow instructions below: | |||
* Connect the Nitrogen8m to a host machine using a serial cable. | |||
* Enable a serial connection, with minicom as example. | |||
* Power up the board and press any key to enter the U-Boot terminal. | |||
* Enable fastboot mode by running the following command | |||
<pre> | |||
fastboot 0 | |||
</pre> | |||
Test the fastboot mode with the next command, the board's MAC address should be displayed. | Test the fastboot mode with the next command, the board's MAC address should be displayed. | ||
Line 63: | Line 100: | ||
<pre> | <pre> | ||
sudo fastboot devices -l | sudo fastboot devices -l | ||
0019b805f1a8 fastboot usb:3-3 | |||
</pre> | </pre> | ||
===Flashing Image=== | |||
Finally, flash the image with the following commands: | Finally, flash the image with the following commands: |
edits