BOOTMINI2440(8)

NAME
bootmini2440 - bootloader for FriendlyARM MINI2440 evaluation board

DESCRIPTION
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

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.

opt1 ... optN
    is one of single, kdb, ask, quiet, or verbose. Their meaning is described in boothowto(9).

bootname
    is one of the following:

        net:ip:filename
        net:filename
        net:
        tftp:filename
        tftp:
        ld0p:filename
        ld0p:

    net:ip:filename
        use DHCP to determine own IP-address and load kernel specified by filename from the server specified by ip using NFS.

    net:filename
        use DHCP to determine own IP-address and server IP-address. Load kernel specified by filename from the server using NFS.

    net:
        use DHCP to determine own IP-address, server IP-address, and kernel to load. Load the kernel using NFS.

    tftp:filename
        use DHCP to determine own IP-address and server IP-address. Load kernel specified by filename from the server using TFTP.

    tftp:
        use DHCP to determine own IP-address, server IP-address, and kernel to load. Load kernel using TFTP.

    ld0p:filename
        load kernel from an SD card. The kernel specified by filename is attempted loaded on the partition given by p.

    ld0p:
        load kernel from an SD card. The kernel will be loaded from the file “netbsd” on the partition specified by p.

EXAMPLES

  Loading
Use U-Boot to load bootmini2440 at 0x30A00000 from an NFS share:
    Uboot> nfs 30A00000 10.0.0.1:/srv/mini2440/bootmini2440

  Booting
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

SEE ALSO
dhcpd(8), diskless(8), nfsd(8), tftpd(8), boothowto(9)

HISTORY
The NetBSD/evbarm bootmini2440 first appeared in NetBSD 6.0.

BUGS
bootmini2440 cannot currently function properly without U-Boot (or equivalent). Although it performs clock and UART configuration, it cannot bootstrap itself from NAND flash.