1*4882a593SmuzhiyunSummary 2*4882a593Smuzhiyun======= 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThis document covers various features of the 'am335x_shc' build. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunHardware 7*4882a593Smuzhiyun======== 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunAM335X based board: 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunI2C: ready 12*4882a593SmuzhiyunDRAM: 512 MiB 13*4882a593SmuzhiyunEnabling the D-Cache 14*4882a593SmuzhiyunMMC: OMAP SD/MMC: 0 @ 26 MHz, OMAP SD/MMC: 1 @ 26 MHz 15*4882a593SmuzhiyunNet: cpsw 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunFollowing boot options are possible: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun2 Jumpers: 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunJumper 1 Jumper 2 Bootmode 22*4882a593Smuzhiyunoff off eMMC boot 23*4882a593Smuzhiyunon off SD boot 24*4882a593Smuzhiyunoff on Net boot 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunCompiling 27*4882a593Smuzhiyun========= 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun$ make am335x_shc_defconfig 30*4882a593Smuzhiyun HOSTCC scripts/basic/fixdep 31*4882a593Smuzhiyun HOSTCC scripts/kconfig/conf.o 32*4882a593Smuzhiyun SHIPPED scripts/kconfig/zconf.tab.c 33*4882a593Smuzhiyun SHIPPED scripts/kconfig/zconf.lex.c 34*4882a593Smuzhiyun SHIPPED scripts/kconfig/zconf.hash.c 35*4882a593Smuzhiyun HOSTCC scripts/kconfig/zconf.tab.o 36*4882a593Smuzhiyun HOSTLD scripts/kconfig/conf 37*4882a593Smuzhiyun# 38*4882a593Smuzhiyun# configuration written to .config 39*4882a593Smuzhiyun# 40*4882a593Smuzhiyun$ make -s all 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun-> now you have the MLO and the u-boot.img file, you can put 43*4882a593Smuzhiyunon your SD card or eMMC. 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunConfiguring 46*4882a593Smuzhiyun=========== 47*4882a593Smuzhiyun 48*4882a593SmuzhiyunThere are a lot of board versions and boot configurations, which 49*4882a593Smuzhiyuncan be selected through "make menuconfig" 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunARM architecture ---> 52*4882a593Smuzhiyun enable different boot versions for the shc board (enable eMMC) ---> 53*4882a593Smuzhiyun (X) enable eMMC 54*4882a593Smuzhiyun ( ) enable ICT 55*4882a593Smuzhiyun ( ) enable NETBOOT 56*4882a593Smuzhiyun ( ) enable SDBOOT 57*4882a593Smuzhiyun 58*4882a593Smuzhiyun enable different board versions for the shc board (C3 Sample board version) ---> 59*4882a593Smuzhiyun ( ) B Sample board version 60*4882a593Smuzhiyun ( ) B2 Sample board version 61*4882a593Smuzhiyun ( ) C Sample board version 62*4882a593Smuzhiyun ( ) C2 Sample board version 63*4882a593Smuzhiyun (X) C3 Sample board version 64*4882a593Smuzhiyun ( ) Series board version 65*4882a593Smuzhiyun 66*4882a593SmuzhiyunNetboot 67*4882a593Smuzhiyun======= 68*4882a593Smuzhiyun- see also doc/SPL/README.am335x-network 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun- set the jumper into netboot mode 71*4882a593Smuzhiyun- compile the U-boot sources with: 72*4882a593Smuzhiyun make am335x_shc_netboot_defconfig 73*4882a593Smuzhiyun make all 74*4882a593Smuzhiyun- copy the images into your tftp boot directory 75*4882a593Smuzhiyun cp spl/u-boot-spl.bin /tftpboot/.../u-boot-spl-restore.bin 76*4882a593Smuzhiyun cp u-boot.img /tftpboot/.../u-boot-restore.img 77*4882a593Smuzhiyun- power on the board, and you should get something like this: 78*4882a593Smuzhiyun 79*4882a593SmuzhiyunU-Boot SPL 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18) 80*4882a593Smuzhiyun#### NETBOOT #### 81*4882a593SmuzhiyunSHC 82*4882a593SmuzhiyunMPU reference clock runs at 6 MHz 83*4882a593SmuzhiyunSetting MPU clock to 594 MHz 84*4882a593SmuzhiyunEnabling Spread Spectrum of 18 permille for MPU 85*4882a593SmuzhiyunTrying to boot from net 86*4882a593SmuzhiyunUsing default environment 87*4882a593Smuzhiyun 88*4882a593Smuzhiyun<ethaddr> not set. Validating first E-fuse MAC 89*4882a593Smuzhiyuncpsw 90*4882a593Smuzhiyuncpsw Waiting for PHY auto negotiation to complete... done 91*4882a593Smuzhiyunlink up on port 0, speed 100, full duplex 92*4882a593SmuzhiyunBOOTP broadcast 1 93*4882a593SmuzhiyunBOOTP broadcast 2 94*4882a593SmuzhiyunDHCP client bound to address 192.168.20.91 (258 ms) 95*4882a593SmuzhiyunUsing cpsw device 96*4882a593SmuzhiyunTFTP from server 192.168.1.1; our IP address is 192.168.20.91 97*4882a593SmuzhiyunFilename 'shc/u-boot-restore.img'. 98*4882a593SmuzhiyunLoad address: 0x807fffc0 99*4882a593SmuzhiyunLoading: ################## 100*4882a593Smuzhiyun 1.2 MiB/s 101*4882a593Smuzhiyundone 102*4882a593SmuzhiyunBytes transferred = 262480 (40150 hex) 103*4882a593Smuzhiyun 104*4882a593Smuzhiyun 105*4882a593SmuzhiyunU-Boot 2016.05-rc2-00016-gf23b960-dirty (Apr 26 2016 - 09:02:18 +0200) 106*4882a593Smuzhiyun 107*4882a593Smuzhiyun Watchdog enabled 108*4882a593SmuzhiyunI2C: ready 109*4882a593SmuzhiyunDRAM: 512 MiB 110*4882a593SmuzhiyunMMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 111*4882a593Smuzhiyun*** Warning - bad CRC, using default environment 112*4882a593Smuzhiyun 113*4882a593SmuzhiyunNet: cpsw 114*4882a593Smuzhiyunswitch to partitions #0, OK 115