readme.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Aspeed AST2500 EVB
  2. Introduction
  3. ============
  4. The AST2500 EVB is an evaluation board for the AST2500 SoC, most
  5. commonly used as a Server Management Processor. It includes an 800MHz
  6. ARM11 processor with DDR3 or DDR4 SDRAM (up to 1GB), SPI flash memory
  7. devices for BMC and host firmwares and numerous controllers to drive
  8. the server board.
  9. https://www.aspeedtech.com/server_ast2500/
  10. How to build it
  11. ===============
  12. Configure buildroot:
  13. $ make aspeed_ast2500evb_defconfig
  14. Compile everything and build the rootfs image:
  15. $ make
  16. Result of the build
  17. ===================
  18. After building, the output/images directory contains:
  19. output/images/
  20. ├── aspeed-ast2500-evb.dtb
  21. ├── flash.img
  22. ├── image.itb
  23. ├── rootfs.cpio
  24. ├── rootfs.cpio.xz
  25. ├── rootfs.tar
  26. ├── u-boot.bin
  27. └── zImage
  28. Flashing the image
  29. ==================
  30. To update the contents of the first flash device, copy flash.img :
  31. $ flashcp flash.img /dev/mtd0
  32. or simply the boot loader:
  33. $ flashcp u-boot.bin /dev/mtd1
  34. Preparing the board
  35. ===================
  36. * Connect a serial line to the board
  37. * Power-up the board
  38. Booting the board
  39. =================
  40. The AST2500 EVB boots from the SPI flash device directly and loads a
  41. first bootloader (usually U-Boot). U-Boot will attempt to load a Linux
  42. kernel from the same flash device by default but other storage could
  43. be used.
  44. * from U-Boot
  45. The FIT image image.itb can be used to boot the board from U-Boot
  46. using tftp
  47. * with QEMU
  48. $ qemu-system-arm -M ast2500-evb \
  49. -drive file=output/images/flash.img,format=raw,if=mtd \
  50. -nographic
  51. $ qemu-system-arm -M ast2500-evb \
  52. -kernel output/images/zImage \
  53. -initrd output/images/rootfs.cpio \
  54. -dtb output/images/aspeed-ast2500-evb.dtb \
  55. -nographic