LetuxOS U-Boot

NewCommands

You are looking at an old revision of the page NewCommands. This revision was created by Nikolaus Schaller.

Table of Content

List of new U-Boot commands

new U-Boot commands

These new commands are available in the Beagle/Panda-Hybrid version of U-Boot.

For a listing of all commands, just use the help command of U-Boot.

  • led in[it] - setup GPIOs
  • led ge[t] - get button status
  • led se[t] hh - set LEDs to lower 4 bit
  • led se[t] - increment last state, i.e. make LEDs count
  • led mi[rror] - read button status and mirror to LEDs until a key is pressed
  • led bl[ink] - blink LEDs

  • lcm in[it] - initialize subsystem (DSS, GPIOs etc.)

  • lcm ba[cklight] dd - set backlight level (0..255)
  • lcm po[wer] dd - set power level (0..2)
  • lcm on - set lcm on
  • lcm of[f] - set lcm off

  • tsc init - initialize/enable TSC2007 through I2C2

  • tsc get - read current ADC values (incl. internal temp and AUX/photosensor)
  • tsc lo[op] - read x/y coordinates
  • tsc ch[oose] cols rows - defines receptive fields and waits until touch is pressed
  • tsc choice x - check if choice was x (1..rows*cols)

  • gps in[it] - initialize GPS (GPIOs for control and baud rate 9600 on UART2)

  • gps on | of[f] - control GPS receiver (and initialize UART)
  • gps ec[ho] - read GPS NMEA from UART until a key is pressed

  • halt - write DEVOFF to TPS65950

  • mux - print Pinmux
  • gpio - read/write/change GPIOs