multi-with-fpga.rst 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. Multiple kernels, ramdisks and FDT blobs with FPGA
  3. ==================================================
  4. This example makes use of the 'loadables' field::
  5. /dts-v1/;
  6. / {
  7. description = "Configuration to load fpga before Kernel";
  8. #address-cells = <1>;
  9. images {
  10. fdt-1 {
  11. description = "zc706";
  12. data = /incbin/("/tftpboot/devicetree.dtb");
  13. type = "flat_dt";
  14. arch = "arm";
  15. compression = "none";
  16. load = <0x10000000>;
  17. hash-1 {
  18. algo = "md5";
  19. };
  20. };
  21. fpga {
  22. description = "FPGA";
  23. data = /incbin/("/tftpboot/download.bit");
  24. type = "fpga";
  25. arch = "arm";
  26. compression = "none";
  27. load = <0x30000000>;
  28. compatible = "u-boot,fpga-legacy"
  29. hash-1 {
  30. algo = "md5";
  31. };
  32. };
  33. linux_kernel {
  34. description = "Linux";
  35. data = /incbin/("/tftpboot/zImage");
  36. type = "kernel";
  37. arch = "arm";
  38. os = "linux";
  39. compression = "none";
  40. load = <0x8000>;
  41. entry = <0x8000>;
  42. hash-1 {
  43. algo = "md5";
  44. };
  45. };
  46. };
  47. configurations {
  48. default = "config-2";
  49. config-1 {
  50. description = "Linux";
  51. kernel = "linux_kernel";
  52. fdt = "fdt-1";
  53. };
  54. config-2 {
  55. description = "Linux with fpga";
  56. kernel = "linux_kernel";
  57. fdt = "fdt-1";
  58. loadables = "fpga";
  59. };
  60. };
  61. };