26 lines
964 B
Bash
26 lines
964 B
Bash
#!/bin/sh
|
|
|
|
echo "boot: boot [-m <mode>] [-k <kernel_option>] [-r <rootfs_option>] [-i <ip_mode>] [-o <oftree_option]"
|
|
echo ""
|
|
echo "options"
|
|
echo " - kernel nand, nor, nfs, tftp, disk"
|
|
echo " - oftree nand, nor, nfs, tftp, disk or empty"
|
|
echo " - rootfs nand, nor, net, disk"
|
|
echo " - ip dhcp, dhcp-barebox none, empty"
|
|
echo ""
|
|
echo "mode option"
|
|
echo " mode kernel rootfs"
|
|
echo " nand nand nand"
|
|
echo " nor nor nor"
|
|
echo " nfs nfs net"
|
|
echo " tftp fttp net"
|
|
echo " disk disk disk"
|
|
echo ""
|
|
echo "ip option"
|
|
echo " dhcp barebox and kernel will use DHCP"
|
|
echo " dhcp-barebox barebox will use DHCP and pass the result to the kernel"
|
|
echo " none do not pass ip parameter to the kernel and set it to none"
|
|
echo " empty pass ip parameter to the kernel"
|
|
echo ""
|
|
echo "default mode are used from the /env/config"
|