1*4882a593SmuzhiyunArcturus uCLS1012A SoM 2*4882a593Smuzhiyun====================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThis tutorial describes how to use the predefined Buildroot 5*4882a593Smuzhiyunconfiguration for the Arcturus uCLS101A SoM platform. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunAdditional information about the uCLS1012A System on Module can be found at 8*4882a593Smuzhiyunhttps://www.arcturusnetworks.com/products/ucls1012a 9*4882a593Smuzhiyunand product support for registered users at 10*4882a593Smuzhiyunhttps://www.arcturusnetworks.com/support 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunBuilding 13*4882a593Smuzhiyun-------- 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunReturn to the top directory <buildrootdir> and execute the following commands. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun make arcturus_ucls1012a_defconfig 18*4882a593Smuzhiyun make 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunResult of the build 21*4882a593Smuzhiyun------------------- 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunAfter building, you should obtain this tree: 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun output/images/ 26*4882a593Smuzhiyun +-- arc-ucls1012a.dtb 27*4882a593Smuzhiyun +-- Image 28*4882a593Smuzhiyun +-- part0-000000.itb 29*4882a593Smuzhiyun +-- rootfs.cpio 30*4882a593Smuzhiyun +-- rootfs.cpio.gz 31*4882a593Smuzhiyun +-- rootfs.tar 32*4882a593Smuzhiyun +-- u-boot.bin 33*4882a593Smuzhiyun +-- ucls1012a.its 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunFlashing 36*4882a593Smuzhiyun-------- 37*4882a593Smuzhiyun 38*4882a593SmuzhiyunYou'll need to program the image created by buildroot into the SPI NOR flash. 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun1. Reboot your module and via the serial console press <escape> to enter the B$ 41*4882a593Smuzhiyunu-boot shell. 42*4882a593Smuzhiyun From the shell you will need to update four environment variables replacing the 43*4882a593Smuzhiyun IPv4 IP Address with ones that will work with your network and tftp server. 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun B$ setenv ipaddr 192.168.1.81 46*4882a593Smuzhiyun B$ setenv serverip 192.168.1.80 47*4882a593Smuzhiyun B$ setenv gatewayip 192.168.1.1 48*4882a593Smuzhiyun B$ setenv netmask 255.255.255.0 49*4882a593Smuzhiyun B$ saveenv 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun2. Enable tftp server to serve the <buildrootdir>/output/images/ folder. 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun3. Program the new U-Boot binary (optional) 54*4882a593Smuzhiyun If you don't feel confident upgrading your bootloader then don't do it, 55*4882a593Smuzhiyun it's unnecessary most of the time. 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun B$ tftp u-boot.bin 58*4882a593Smuzhiyun B$ run program_uboot 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun4. Program the ITB image (includes Kernel, DTB and Ramdisk) 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun B$ tftp part0-000000.itb 63*4882a593Smuzhiyun B$ run iprogram 64*4882a593Smuzhiyun 65*4882a593Smuzhiyun5. Booting your new system 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun Reboot your system by reset command 68*4882a593Smuzhiyun B$ reset 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun or 71*4882a593Smuzhiyun 72*4882a593Smuzhiyun B$ run bootcmd 73*4882a593Smuzhiyun 74*4882a593SmuzhiyunGood Luck ! 75