User manual
U-Boot for MPL SBC
User Manual
2003 by MPL AG
32
MEH-10082-002 Rev. D
High-Tech • Made in Switzerland
3.5.3.2 Working with an USB Keyboard
To use an USB keyboard you have to start the USB Sub-system first. To start this automatically on start-up, you have to
set the environment variable preboot:
=> setenv preboot usb start
=> setenv stdin usbkbd
=> saveenv
Saving Environment to EEPROM...
=>
Warning: Please make sure to stop the USB subsystem before booting an OS. This can be done by
adding the command usb stop to the variable bootcmd:
=> setenv bootcmd usb stop\; diskboot 400000 0:1\; bootm
=> saveenv
Saving Environment to EEPROM...
=> printenv bootcmd
bootcmd=usb stop; diskboot 400000 0:1; bootm
=>