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