BOOTMINI2440(8) | System Manager's Manual (evbarm) | BOOTMINI2440(8) |
bootmini2440
—
bootloader for FriendlyARM MINI2440 evaluation
board
bootmini2440
is a program to load ELF
NetBSD kernel, which works on top of U-Boot. It
loads and executes a kernel from an SD memory card, or over the network
using the NFS/TFTP protocol.
The bootmini2440
bootloader can be loaded
anywhere by U-Boot, although care should be taken that the bootloader can
load the NetBSD kernel without overwriting itself.
The kernel is, by default, made to be loaded at 0x30200000. The recommended
location for bootmini2440
is 0x30A00000.
bootmini2440
takes a number of arguments,
which all are optional:
mac=xx:xx:xx:xx:xx:xx
opt1 ... optN
bootname
net:ip:filename
net:filename
net:
tftp:filename
tftp:
ld0p:filename
ld0p
bootmini2440
Use U-Boot to load bootmini2440
at
0x30A00000 from an NFS share:
Uboot> nfs 30A00000
10.0.0.1:/srv/mini2440/bootmini2440
Load the kernel from an NFS share, overwriting the default MAC-address, and booting into single user-mode:
Uboot> go 30A00000 single
mac=08:08:11:20:22:30 net:10.0.0.1:/srv/mini2440/netbsd
Load the kernel from an SD card, overwriting the default MAC-address, and booting into single user-mode:
Uboot> go 30A00000 single
mac=08:08:11:20:22:30 ld0a:netbsd
The NetBSD/evbarm
bootmini2440
first appeared in
NetBSD 6.0.
bootmini2440
cannot currently function
properly without U-Boot (or equivalent). Although it performs clock and UART
configuration, it cannot bootstrap itself from NAND flash.
January 31, 2012 | NetBSD 10.99 |