developerbox.rst 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. Introduction
  3. ============
  4. DeveloperBox is a certified 96boards Enterprise Edition board. The board/SoC has: -
  5. * Socionext SC2A11 24-cores ARM Cortex-A53 on tbe Mini-ATX form factor motherboard
  6. * 4 DIMM slots (4GB DDR4-2400 UDIMM shipped by default)
  7. * 1 4xPCIe Gen2 slot and 2 1xPCIe Gen2 slots
  8. (1x slots are connected via PCIe bridge chip)
  9. * 4 USB-3.0 ports
  10. * 2 SATA ports
  11. * 1 GbE network port
  12. * 1 USB-UART serial port (micro USB)
  13. * 64MB SPI NOR Flash
  14. * 8GB eMMC Flash Storage
  15. * 96boards LS connector
  16. The DeveloperBox schematic can be found here: -
  17. https://www.96boards.org/documentation/enterprise/developerbox/hardware-docs/mzsc2am_v03_20180115_a.pdf
  18. And the other documents can be found here: -
  19. https://www.96boards.org/documentation/enterprise/developerbox/
  20. Currently, the U-Boot port supports: -
  21. * USB
  22. * eMMC
  23. * SPI-NOR
  24. * SATA
  25. * GbE
  26. The DeveloperBox boots the TF-A and EDK2 as a main bootloader by default.
  27. The DeveloperBox U-Boot port will replace the EDK2 and boot from TF-A as
  28. BL33, but no need to combine with it.
  29. Compile from source
  30. ===================
  31. You can build U-Boot without any additinal source code.::
  32. cd u-boot
  33. export ARCH=arm64
  34. export CROSS_COMPILE=aarch64-linux-gnu-
  35. make SynQuacer_defconfig
  36. make -j `noproc`
  37. Then, expand the binary to 1MB for preparing flash.::
  38. cp u-boot.bin SPI_NOR_UBOOT.fd
  39. truncate -s 1M SPI_NOR_UBOOT.fd
  40. Installation
  41. ============
  42. You can install the SNI_NOR_UBOOT.fd via NOR flash writer.
  43. Flashing the U-Boot image on DeveloperBox requires a 96boards UART mezzanine or other mezzanine which can connect to LS-UART0 port.
  44. Connect USB cable from host to the LS-UART0 and set DSW2-7 to ON, and turn the board on again. The flash writer program will be started automatically; don’t forget to turn the DSW2-7 off again after flashing.
  45. *!!CAUTION!! If you failed to write the U-Boot image on wrong address, the board can be bricked. See below page if you need to recover the bricked board. See the following page for more detail*
  46. https://www.96boards.org/documentation/enterprise/developerbox/installation/board-recovery.md.html
  47. When the serial flasher is running correctly is will show the following boot messages shown via LS-UART0::
  48. /*------------------------------------------*/
  49. /* SC2A11 "SynQuacer" series Flash writer */
  50. /* */
  51. /* Version: cd254ac */
  52. /* Build: 12/15/17 11:25:45 */
  53. /*------------------------------------------*/
  54. Command Input >
  55. Once the flasher tool is running we are ready flash the UEFI image::
  56. flash rawwrite 200000 100000
  57. >> Send SPI_NOR_UBOOT.fd via XMODEM (Control-A S in minicom) <<
  58. *!!NOTE!! The flasher command parameter is different from the command for board recovery. U-Boot uses the offset 200000 (2-five-0, 2M in hex) and the size 100000 (1-five-0, 1M in hex).*
  59. After transferring the SPI_NOR_UBOOT.fd, turn off the DSW2-7 and reset the board.