Skip to main content

EdgeBox RPi 200 boot From External Media

Edgebox-RPI-200

EdgeBox-RPi-200 series are all-in-one Raspberry Pi-based industrial edge computing controllers, combining multiple industrial purposes. Designed as high-scalability and rugged industrial hardware, mounted with rich IO resources and supported by the great Raspberry Pi industrial software ecosystem, it is an ideal choice for smart automation and Industrial Internet of Things(IIoT) solutions.

Before you Proceed:

Since we have updated the EEPROM of Raspberry Pi Compute Module 4 from the batch released after 30/03/2023, Which the boot order has changed to NVME > USB-MSD > BCM-USB-MSD > SD CARD/eMMC > NETWORK > RESTART, for more information please visit the Update EEPROM for Compute Module 4 page.

If you have purchased the Edgebox-RPI-200 prior than 30/03/2023, and you want to follow the guide to update EEPROM or to Flash Operating System on Edgebox-RPI-200, you will need to get a minimum development board which contains function for selecting the boot mode for Raspberry Pi CM4 which the Dual Gigabit Ethernet NICs Carrier Board is perfect for this.

Therefore, this Guide is only apply to the EdgeBox-RPi-200 released after 30/03/2023, where you can locate this information from the S/N number of the product label sticker the number highlighted in the image below 2312 indicate that 23 is the production year 2023 and 12 is the production week 12 of 2023.

pir

Prerequisites

  • 1 x PC Host computer (Ubuntu OS)
  • 1 x EdgeBox-RPI-200
  • 1x Storage Device:
    • Option 1: 1 x USB storage Drive (16Gb or above)
    • Option 2: 1 x M.2 NVMe Drive
danger

The following steps will wipe out your Storage Device, so please be careful with the Storage Device you are trying to use and make sure it can be formated.

Setup you bootable device

Setup a Bootable USB Device with EdgeBox-RPI-200 factory default OS

note

We have backed-up the original OS image and released file on Sourceforge, you can visit to this page to retrive the image file.

Please follow the steps here on how to setup a Bootable Raspbian OS Device, by using the Raspberry Pi official Imager

Boot From USB

Before you plug-in power to the EdgeBox-RPI-200, you should insert the USB Storage Device you have prepared from above steps.

Then plug in power and wait for the device to boot up.

Now your EdgeBox-RPI-200 should have been booted from USB Storage.

Check the boot media

You can check which media has EdgeBox-RPI-200 been booted by using the lsblk command.

You should output as shown below:

pi@raspberrypi:~ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 7.2G 0 disk
|-sda1 8:1 1 256M 0 part /boot
`-sda2 8:2 1 7G 0 part /
mmcblk0 179:0 0 14.6G 0 disk
|-mmcblk0p1 179:1 0 256M 0 part
`-mmcblk0p2 179:2 0 14.3G 0 part
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk
note

If you see the output as following, which you probably does for the first time boot:

pi@raspberrypi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 7.2G 0 disk
|-sda1 8:1 1 256M 0 part /boot
`-sda2 8:2 1 4.6G 0 part
mmcblk0 179:0 0 14.6G 0 disk
|-mmcblk0p1 179:1 0 256M 0 part
`-mmcblk0p2 179:2 0 14.3G 0 part /
mmcblk0boot0 179:32 0 4M 1 disk
mmcblk0boot1 179:64 0 4M 1 disk

You will need to change the root= in the /boot/cmdline.txt to point to the correct storage device to mount the root directory as root=/dev/sda2, so your /boot/cmdline.txt should looks like this:

console=serial0,115200 console=tty1 root=/dev/sda2 rootfstype=ext4 elevator=deadline 
fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

Then reboot.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...