Flash a NOR with Bootable SD Card For Rugged Board A5d2x
Objective:
This guide describes a method of flashing an SD card with a bootable images for the Rugged Board A5d2x then flashing the NOR images to NOR flash from sdcard. The demonstration image file is a customized Linux® distribution created using the Yocto project. This article assumes a Linux Ubuntu-based host, though the steps are similar for Windows®, macOS® and most Linux distributions.
Materials:
Hardware:
You will need an SD card reader/writer for your PC
SD card
Software:
Ubuntu 16.04
Files:
Use your own binary images or choose an appropriate binary images from this link with the below name.
BOOT.BIN
u-boot.bin
a5d2x-rugged_board.dtb
zImage
rb-nor-core-image-minimal-rugged-board-a5d2x.squashfs
data-image-rootfs.jffs2
Connection Diagram:
Procedure:
Create the bootable sdcard and copy the files in boot partition as follows → Create the bootable sdcard for Rugged Board A5d2x from Flash a Bootable SD Card for the Rugged Board A5d2x → Get the mentioned files from above for NOR from this link and copy the all NOR based images to boot partition of sdcard.
Insert the sdcard to Rugged Board A5d2x sdcard slot and give the power supply by connecting the usb cable between your PC and Board.
Open minicom and Boot the Board by pressing the RESET button and stop at bootloader level by pressing any key on keyboard as below
Enter the below commands to flash entire NOR flash images
Now remove the sdcard from the Rugged Board A5d2x sdcard slot and reset the board. Output of flashing the NOR images shown below:
Also we can flash the single images by using below commands
bootstrap:
Output of flashing the BOOT.BIN shown below:
u-boot:
Output of flashing the u-boot.bin shown below:
oftree:
Output of flashing the a5d2x-rugged_board.dtb shown below:
zImage:
Output of flashing the zImage shown below:
rootfs:
Output of flashing the rb-nor-core-image-minimal-rugged-board-a5d2x.squashfs shown below:
data-image:
Output of flashing the data-image-rootfs.jffs2 shown below:
RESET the Rugged Board A5d2x. Your Board is READY to use.
Last updated