readme.txt 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ARM Juno r1/r0
  2. Intro
  3. =====
  4. These instructions apply to all models of the ARM Juno:
  5. - Juno r0 (does not support PCIe)
  6. - Juno r1 (supports PCIe)
  7. - Juno r2 (Big Cluster with A72)
  8. Buildroot will generate the kernel image, device tree blob, bootloader binaries
  9. and a minimal root filesystem.
  10. How to build it
  11. ===============
  12. Configure Buildroot
  13. -------------------
  14. Configuring Buildroot is pretty simple, just execute:
  15. $ make arm_juno_defconfig
  16. Build the rootfs, kernel and DTB
  17. --------------------------------
  18. Note: you will need to have access to the network, since Buildroot will
  19. download the packages' sources.
  20. You may now build your rootfs with:
  21. $ make
  22. (This may take a while)
  23. Result of the build
  24. -------------------
  25. After building, you should obtain this tree:
  26. output/images/
  27. +-- rootfs.tar
  28. +-- juno.dtb (if Juno r0 is used)
  29. +-- juno-r1.dtb (if Juno r1 is used)
  30. +-- juno-r2.dtb (if Juno r2 is used)
  31. +-- Image
  32. +-- bl1.bin
  33. +-- bl2.bin
  34. +-- bl2u.bin
  35. +-- bl31.bin
  36. +-- fip.bin
  37. +-- scp-fw.bin
  38. +-- u-boot.bin
  39. Preparing your rootfs
  40. ======================
  41. Format your pen drive as a ext3 filesystem by executing:
  42. $ mkfs.ext3 /dev/<your device>
  43. Preparing your rootfs
  44. ======================
  45. Format your pen drive as a ext3 filesystem by executing:
  46. $ mkfs.ext3 /dev/<your device>
  47. Installing your rootfs
  48. ======================
  49. After mounting the pen drive please execute the following:
  50. $ sudo tar -xvf output/images/rootfs.tar -C <pen drive mount path>
  51. When completed make sure to unmount the device:
  52. $ umount <pen drive mount path>
  53. Insert the pen drive in one of the ARM Juno' USB type A connectors.
  54. Configure *.dtb in the boot configuration for Juno r0
  55. =====================================================
  56. SITE1/HBI0262B/images.txt
  57. .....
  58. NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
  59. NOR3ADDRESS: 0x00C00000 ;Image Flash Address
  60. NOR3FILE: \SOFTWARE\juno.dtb ;Image File Name
  61. NOR3NAME: board.dtb ;Specify Image name to preserve file extension
  62. NOR3LOAD: 00000000 ;Image Load Address
  63. NOR3ENTRY: 00000000 ;Image Entry Point
  64. ......
  65. Configure *.dtb in the boot configuration for Juno r1
  66. =====================================================
  67. SITE1/HBI0262C/images.txt
  68. ......
  69. NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
  70. NOR3ADDRESS: 0x00C00000 ;Image Flash Address
  71. NOR3FILE: \SOFTWARE\juno-r1.dtb ;Image File Name
  72. NOR3NAME: board.dtb ;Specify target filename to preserve file extension
  73. NOR3LOAD: 00000000 ;Image Load Address
  74. NOR3ENTRY: 00000000 ;Image Entry Point
  75. ......
  76. Configure *.dtb in the boot configuration for Juno r2
  77. =====================================================
  78. SITE1/HBI0262D/images.txt
  79. ......
  80. NOR3UPDATE: AUTO ;Image Update:NONE/AUTO/FORCE
  81. NOR3ADDRESS: 0x02000000 ;Image Flash Address
  82. NOR3FILE: \SOFTWARE\juno-r2.dtb ;Image File Name
  83. NOR3NAME: board.dtb ;Specify target filename to preserve file extension
  84. NOR3LOAD: 00000000 ;Image Load Address
  85. NOR3ENTRY: 00000000 ;Image Entry Point
  86. ......
  87. Installing kernel image and DTB
  88. ===============================
  89. 1. Connect to the ARM Juno UART0 and execute USB_ON in the terminal
  90. 2. Connect a USB cable between your PC and ARM Juno USB type B connector
  91. A mass storage device should appear in your desktop.
  92. 3. Open the software/ folder
  93. 4. Copy the 'Image' file to software/
  94. 5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
  95. 6. Copy the bootloader binaries (bl1.bin and fip.bin) to software/
  96. 7. Press the red button in the front pannel of ARM Juno
  97. At this time, the board will erase the Flash entry for each new item and
  98. replace it with the lastest ones.