EdgeRouter Lite boot command

Good evening. I have an EdgeRouter Lite 3. I ran OpenBSD on for a while. Unfortunately I forgot to back up the old boot command. Does anyone have an EdgeRouter Lite and could they post the proper boot string?

I’ve never gone off-roading with my Ubiquiti hardware so I don’t know exactly how it stores it’s firmware, but have you tried doing the hardware factory reset?

How was BSD on it?

Not bad.
https://flak.tedunangst.com/post/OpenBSD-on-ERL
https://www.daemonology.net/blog/2016-01-10-FreeBSD-EdgeRouter-Lite.html

1 Like

Here’s my printenv:
Octeon ubnt_e100# printenv
baudrate=115200
download_baudrate=115200
nuke_env=protect off (env_addr) +(env_size);erase (env_addr) +(env_size)
autoload=n
ethact=octeth0
bootdelay=5
boot_cmd_openbsd=fatload usb 0 ${loadaddr} bsd; bootoctlinux rootdev=sd0 coremask=0x3
boot_freebsd=fatload usb 0 $loadaddr kernel/kernel; bootoctlinux loadaddr core,ask=0x3 bootcmd=fatload usb 0 {loadaddr} vmlinuz.64; bootoctlinux
loadaddr=0x9f00000
numcores=2
stdin=serial
stdout=serial
stderr=serial
env_addr=0x1fbfe000
env_size=0x2000
flash_base_addr=0x1f800000
flash_size=0x400000
uboot_flash_addr=0x1f880000
uboot_flash_size=0x70000
flash_unused_addr=0x1f8f0000
flash_unused_size=0x310000
bootloader_flash_update=bootloaderupdate

Environment size: 753/8188 bytes
It’s the bootcmd line that I can’t seem to get right.

The manual contains a whole list of CLI commands. The only one pertaining to boot that I found, was the reboot command.

Yeah it’s a Uboot thing.