Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

tftpboot & loadderdev (1 reply)

$
0
0
Here is my latest attempt to boot a recently built version of FreeBSD/ARM for the GoFlex Home using tftpboot:-

Hit any key to stop autoboot:  0 
GoFlexHome> setenv serverip 192.168.1.1
GoFlexHome> tftpboot 900000 gfh2/ubldr.bin
Using egiga0 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.23
Filename 'gfh2/ubldr.bin'.
Load address: 0x900000
Loading: #################
	 4.7 MiB/s
done
Bytes transferred = 244612 (3bb84 hex)
GoFlexHome> go 900000
## Starting application at 0x00900000 ...
Consoles: U-Boot console  
Compatible U-Boot API signature found @0x7b12860

FreeBSD/arm U-Boot loader, Revision 1.2
(Fri Mar 15 10:33:29 UTC 2019 root@Pristine)

DRAM: 128MB
Number of U-Boot devices: 1

U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: net
Booting from net0:
/
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
loader>

This manages to run the FreeBSD boot loader, but I'm missing a couple of steps.

It seems that it is expecting a variable called loaderdev, so maybe I should have setenv loaderdev net0 or somesuch.
Still can't work out how to point ubldr.bin to kernel... would that be via DHCP using the filename and root-path options ?

Viewing all articles
Browse latest Browse all 3178

Trending Articles