p The .Nm bootloader can be loaded anywhere by .Tn U-Boot , although care should be taken that the bootloader can load the .Nx kernel without overwriting itself. The kernel is, by default, made to be loaded at 0x30200000. The recommended location for .Nm is 0x30A00000.
p .Nm takes a number of arguments, which all are optional: .Dl Ar mac=xx:xx:xx:xx:xx:xx Ar opt1 ... Ar optN Ar bootname l -tag -width xx t Va mac= is used to set the MAC-address of the on-board DM9000 Ethernet chip. As Mini2440 has no EEPROM to store DM9000 MAC-address, this is necessary in order to have a working Ethernet controller. If this argument is left unspecified, a default value of 08:08:11:18:12:27 is used. t Va opt1 ... Va optN is one of single, kdb, ask, quiet, or verbose. Their meaning is described in .Xr boothowto 9 . t Va bootname is one of the following:
p .Dl net: Ns Ar ip Ns : Ns Ar filename .Dl net: Ns Ar filename .Dl net: .Dl tftp: Ns Ar filename .Dl tftp: .Dl ld0 Ns Ar p : Ns Ar filename .Dl ld0 Ns Ar p :
p l -tag -width xx t net: Ns Va ip Ns : Ns Va filename use .Tn DHCP to determine own IP-address and load kernel specified by .Ar filename from the server specified by .Ar ip using .Tn NFS . t net: Ns Ar filename use .Tn DHCP to determine own IP-address and server IP-address. Load kernel specified by .Ar filename from the server using .Tn NFS . t net: use .Tn DHCP to determine own IP-address, server IP-address, and kernel to load. Load the kernel using .Tn NFS . t tftp: Ns Ar filename use .Tn DHCP to determine own IP-address and server IP-address. Load kernel specified by .Ar filename from the server using .Tn TFTP . t tftp: use .Tn DHCP to determine own IP-address, server IP-address, and kernel to load. Load kernel using .Tn TFTP . t ld0 Ns Va p : Ns Va filename load kernel from an SD card. The kernel specified by .Ar filename is attempted loaded on the partition given by .Ar p . t ld0 Ns Va p : load kernel from an SD card. The kernel will be loaded from the file .Dq Pa netbsd on the partition specified by .Ar p . .El .El .Sh EXAMPLES .Ss Loading Nm Use .Tn U-Boot to load .Nm at 0x30A00000 from an .Tn NFS share: .Dl Uboot> nfs 30A00000 10.0.0.1:/srv/mini2440/bootmini2440 .Ss Booting Nx Load the kernel from an .Tn NFS share, overwriting the default MAC-address, and booting into single user-mode: .Dl Uboot> go 30A00000 single mac=08:08:11:20:22:30 net:10.0.0.1:/srv/mini2440/netbsd
p Load the kernel from an SD card, overwriting the default MAC-address, and booting into single user-mode: .Dl Uboot> go 30A00000 single mac=08:08:11:20:22:30 ld0a:netbsd .Sh SEE ALSO .Xr dhcpd 8 , .Xr diskless 8 , .Xr nfsd 8 , .Xr tftpd 8 , .Xr boothowto 9 .Sh HISTORY The .Nx Ns Tn /evbarm .Nm first appeared in .Nx 6.0 . .Sh BUGS .Nm cannot currently function properly without .Tn U-Boot (or equivalent). Although it performs clock and .Tn UART configuration, it cannot bootstrap itself from .Tn NAND flash.