dell_rbu.txt 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Purpose:
  2. Demonstrate the usage of the new open sourced rbu (Remote BIOS Update) driver
  3. for updating BIOS images on Dell servers and desktops.
  4. Scope:
  5. This document discusses the functionality of the rbu driver only.
  6. It does not cover the support needed from aplications to enable the BIOS to
  7. update itself with the image downloaded in to the memory.
  8. Overview:
  9. This driver works with Dell OpenManage or Dell Update Packages for updating
  10. the BIOS on Dell servers (starting from servers sold since 1999), desktops
  11. and notebooks (starting from those sold in 2005).
  12. Please go to http://support.dell.com register and you can find info on
  13. OpenManage and Dell Update packages (DUP).
  14. Dell_RBU driver supports BIOS update using the monilothic image and packetized
  15. image methods. In case of moniolithic the driver allocates a contiguous chunk
  16. of physical pages having the BIOS image. In case of packetized the app
  17. using the driver breaks the image in to packets of fixed sizes and the driver
  18. would place each packet in contiguous physical memory. The driver also
  19. maintains a link list of packets for reading them back.
  20. If the dell_rbu driver is unloaded all the allocated memory is freed.
  21. The rbu driver needs to have an application which will inform the BIOS to
  22. enable the update in the next system reboot.
  23. The user should not unload the rbu driver after downloading the BIOS image
  24. or updating.
  25. The driver load creates the following directories under the /sys file system.
  26. /sys/class/firmware/dell_rbu/loading
  27. /sys/class/firmware/dell_rbu/data
  28. /sys/devices/platform/dell_rbu/image_type
  29. /sys/devices/platform/dell_rbu/data
  30. The driver supports two types of update mechanism; monolithic and packetized.
  31. These update mechanism depends upon the BIOS currently running on the system.
  32. Most of the Dell systems support a monolithic update where the BIOS image is
  33. copied to a single contiguous block of physical memory.
  34. In case of packet mechanism the single memory can be broken in smaller chuks
  35. of contiguous memory and the BIOS image is scattered in these packets.
  36. By default the driver uses monolithic memory for the update type. This can be
  37. changed to contiguous during the driver load time by specifying the load
  38. parameter image_type=packet. This can also be changed later as below
  39. echo packet > /sys/devices/platform/dell_rbu/image_type
  40. Do the steps below to download the BIOS image.
  41. 1) echo 1 > /sys/class/firmware/dell_rbu/loading
  42. 2) cp bios_image.hdr /sys/class/firmware/dell_rbu/data
  43. 3) echo 0 > /sys/class/firmware/dell_rbu/loading
  44. The /sys/class/firmware/dell_rbu/ entries will remain till the following is
  45. done.
  46. echo -1 > /sys/class/firmware/dell_rbu/loading
  47. Until this step is completed the drivr cannot be unloaded.
  48. Also the driver provides /sys/devices/platform/dell_rbu/data readonly file to
  49. read back the image downloaded. This is useful in case of packet update
  50. mechanism where the above steps 1,2,3 will repeated for every packet.
  51. By reading the /sys/devices/platform/dell_rbu/data file all packet data
  52. downloaded can be verified in a single file.
  53. The packets are arranged in this file one after the other in a FIFO order.
  54. NOTE:
  55. This driver requires a patch for firmware_class.c which has the addition
  56. of request_firmware_nowait_nohotplug function to wortk
  57. Also after updating the BIOS image an user mdoe application neeeds to execute
  58. code which message the BIOS update request to the BIOS. So on the next reboot
  59. the BIOS knows about the new image downloaded and it updates it self.
  60. Also don't unload the rbu drive if the image has to be updated.