Hi Misc,
I have an Ubiquiti ER-X which I'm trying to install OpenBSD current on it. I'm serving bsd.rd which I downloaded from shapshots/octeon. (via TFTP) When I try to booting device with bsd.rd, I'm getting an error like "Bad Magic Number,7F454C46" Getting bsd.rd; MT7621 # tftpboot 0 bsd.rd Trying Eth0 (10/100-M) ETH_STATE_ACTIVE!! TFTP from server 10.10.12.37; our IP address is 10.10.12.146 Filename 'bsd.rd'. TIMEOUT_COUNT=10,Load address: 0x0 Loading: Got ARP REPLY, set server/gtwy eth addr (00:30:18:cf:6f:b8) Got it ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################## done Bytes transferred = 8865181 (87459d hex) NetBootFileXferSize= 0087459d MT7621 # Booting from bsd.rd; MT7621 # bootm ## Booting image at 00000000 ... Bad Magic Number,7F454C46 --- Device has U-Boot 1.1.3. MT7621 # version U-Boot 1.1.3 (UBNT Build Version: e50_001_1e49c) (Jul 27 2018 - 04:44:52) MT7621 # Env. Variables; MT7621 # printenv bootcmd=tftp bootdelay=1 baudrate=57600 BootType=3 autostart=no bootfile=vme50 stdin=serial stdout=serial stderr=serial ethaddr=18:e8:29:2f:59:76 bootargs=console=ttyS1,57600n8 ubi.mtd=7 root=ubi0_0 rootfstype=ubifs rootsqimg=squashfs.img rootsqwdir=w rw filesize=87459d fileaddr=0 gatewayip=10.10.12.1 netmask=255.255.255.0 ipaddr=10.10.12.146 serverip=10.10.12.37 Environment size: 366/4092 bytes MT7621 # Available commands; MT7621 # ? ? - alias for 'help' bootm - boot application image from memory cp - memory copy erase - erase SPI FLASH memory go - start application at address 'addr' help - print online help i2ccmd - read/write data to eeprom via I2C Interface loadb - load binary file over serial line (kermit mode) md - memory display mdio - Ralink PHY register R/W command !! mm - memory modify (auto-incrementing) nand - nand command nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables reset - Perform RESET of the CPU saveenv - save environment variables to persistent storage setenv - set environment variables spi - spi command tftpboot- boot image via network using TFTP protocol ubntw - ubntw command urescue - start TFTP server and wait for firmware version - print monitor version MT7621 # |
On Tue, Feb 23, 2021 at 06:31:19AM +0000, Conrad Douglas wrote:
> Hi Misc, > > I have an Ubiquiti ER-X which I'm trying to install OpenBSD current on it. > > I'm serving bsd.rd which I downloaded from shapshots/octeon. (via TFTP) > > When I try to booting device with bsd.rd, I'm getting an error like "Bad Magic Number,7F454C46" The ER-X is not an octeon based machine, so this won't work. MT7621 is a 32 bit mips cpu. |
Free forum by Nabble | Edit this page |