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